| Commit message (Expand) | Author | Files | Lines |
2014-11-07 | Remove a deprecated constructor to SuggestedWords•••Change-Id: If4d358b3a11fb25fc214c728269519d8c25f9adc
|  Jean Chalard | 2 | -13/+7 |
2014-11-07 | Fix restore from keyboard•••The keyboard starts up before the restore process and the default shared
preferences are cached and used even after the restore.
Bug: 17837918
Change-Id: I2669e377b6e95813657fd6a80fbff4472330e3aa
(cherry picked from commit e9d814674b9c94d61b474f58633a75afb7d2a616)
|  Sandeep Siddhartha | 1 | -1/+0 |
2014-11-06 | Move current subtype management code to RichInputMethodManager•••Change-Id: I82d5a17a5ec96f26047d29e79f3f28850fc5b3bb
|  Tadashi G. Takaoka | 6 | -47/+51 |
2014-11-06 | Move shorcut IME related code from SubtypeSwitcher to RichInputMethodManager•••Change-Id: I0f95f603d80570c937e8c38ded88df341c11795e
|  Tadashi G. Takaoka | 6 | -133/+121 |
2014-11-06 | Move some methods out from SubtypeSwitcher•••Change-Id: I89aaf87d7d0cc204b0ca0f61c2f64d15e2df848e
|  Tadashi G. Takaoka | 9 | -126/+174 |
2014-11-06 | Import translations. DO NOT MERGE•••Change-Id: I4b38b31403db1ee5b5bab7a6328db1919d822d20
Auto-generated-cl: translation import
|  Baligh Uddin | 1 | -1/+1 |
2014-11-06 | Import translations. DO NOT MERGE•••Change-Id: Ib227ef25b8d0eef2f1b83bddfadde5c1a6d93cd8
Auto-generated-cl: translation import
|  Baligh Uddin | 22 | -22/+22 |
2014-11-06 | Fix the build : move offdevice tests in an off device file•••Also fix a failing test
Change-Id: I280aa6b5836c7332da08a88f1258546edeb25a37
|  Jean Chalard | 2 | -62/+92 |
2014-11-06 | Remove a useless method.•••Yay for cleanup
Bug: 18108776
Change-Id: I13f4066cd54f294377fdcf375a69350c44d4a32a
|  Jean Chalard | 1 | -17/+0 |
2014-11-06 | Remove dicttool dependency to NativeSuggestOptions•••Bug: 18108776
Change-Id: I0f57594617f8d5080aea9002b2356d18bfe97043
|  Jean Chalard | 3 | -6/+10 |
2014-11-06 | Add a header command to dicttool.•••This will allow to greatly improve the performance of the
metadata-generating files, as they won't have to wait for
the info command to read the entire dictionary when the
header is all we need.
Also add tests, and while we're at it, use the seed as
intended to enable reproducible tests.
Change-Id: I0ba79ef62f0292b23e63aed57ff565bb102281a2
|  Jean Chalard | 4 | -17/+162 |
2014-11-06 | Add a *FAST* dictionary header reader.•••It's still unused as of this change but the next change will use it
As a reference point, generating the metadata for Bayo takes
3'02" on my machine with the info command; it's down to 16" if
made to use this instead. The gains increases with the number
of dictionaries obviously.
Change-Id: I0eeea2d8f81bb74b0d1570af658e91b56f7c2b79
|  Jean Chalard | 2 | -0/+95 |
2014-11-06 | Genericize getting a raw dictionary•••This will allow for not copying the whole dictionary when only
the header is needed.
Change-Id: Ie4a649b507ccd4a430201824ed87b8b8bbf55e9f
|  Jean Chalard | 3 | -48/+71 |
2014-11-05 | Fix restore from keyboard•••The keyboard starts up before the restore process and the default shared
preferences are cached and used even after the restore.
Bug: 17837918
Change-Id: I2669e377b6e95813657fd6a80fbff4472330e3aa
|  Sandeep Siddhartha | 1 | -1/+0 |
2014-11-06 | Clean up KeyboardLayoutSet a bit•••This CL moves getScriptId() from KeyboardLayoutSet.Builder to
KeyboardLayoutSet.
Change-Id: I13588467e3d03abb92120acb367f021ee3490a50
|  Tadashi G. Takaoka | 1 | -28/+19 |
2014-11-05 | Fix a bug where LatinIME would recorrect with no input view•••Bug: 18071127
Change-Id: I634d1f63f7d5c5b7453ed7559f9b65fa0433dcd8
|  Jean Chalard | 1 | -4/+5 |
2014-11-05 | Large simplification in obtaining a raw dictionary•••That is where the last refactorings were leading. This code is
simpler, but it's far more flexible. Importantly, it only makes
a single copy instead of making a full disk copy for every
intermediate step.
Next we're going to make the "copy" part modular for processes
that don't need to copy the whole file.
Change-Id: Ief32ac665d804b9b20c44f443a9c87452ceb367a
|  Jean Chalard | 2 | -89/+61 |
2014-11-04 | Fix EmojiPageKeyboardView onPress bug•••Change-Id: I110f36e0547be4957656217c42a8dafd9359b700
|  Tadashi G. Takaoka | 1 | -1/+1 |
2014-11-04 | Fix Emoji key feedback•••Bug: 18166905
Change-Id: I629eab41b78810325710ce024068b86a157186b4
|  Tadashi G. Takaoka | 7 | -7/+7 |
2014-11-04 | Revert "Fix Emoji key feedback"•••This reverts commit 953858d6153d844226e4b8352a63193c29606dd7.
The original CL should be split into two.
Change-Id: Ic1d032e2964a1b9bb44d98bdb8573c6cb47a865c
|  Tadashi G. Takaoka | 8 | -8/+8 |
2014-11-04 | Fix missing ZWNJ key of BengaliAkhhor keyboard•••This CL also fixes the wrong script of Bengali Akkhor.
Change-Id: Id4af2ea160b4ef3cfd40ffc5984354bc60f0b7b7
|  Tadashi G. Takaoka | 5 | -19/+12 |
2014-11-04 | Fix Emoji key feedback•••Bug: 18166905
Change-Id: I3c3296cabeed31e1250ff0753ea94576b494b96a
|  Tadashi G. Takaoka | 8 | -8/+8 |
2014-11-04 | Fix symbol letter size of phone/number layout•••This CL
- decreases the size of symbols letter on number and phone layout.
- increases the size of "Pause" and "Wait" label.
- fixes "Pause" and "Wait" label for no language keyboard
Bug: 18179572
Change-Id: I6e8b4a8e07d805c3da0558b4832291ce41ad3db0
|  Tadashi G. Takaoka | 6 | -60/+67 |
2014-11-04 | Fix number and phone keyboard visual glitches•••Bug: 18179572
Change-Id: I387b965ed4f7adc5a34b63e622520e3c88ffd5ca
|  Tadashi G. Takaoka | 4 | -6/+8 |
2014-11-04 | Fix MainKeyboardView visibility must be aligned with main keyboard frame•••Bug: 18105755
Change-Id: Ifdcaded538d0eac3b100486ddf27ae4314293792
|  Tadashi G. Takaoka | 2 | -4/+12 |
2014-11-04 | Fix a wrong indent•••Change-Id: Iaee83be85bb52c350dd08e4497732927b92eabcd
|  Ken Wakasa | 1 | -1/+1 |
2014-11-03 | Import translations. DO NOT MERGE•••Change-Id: I3e67ed5ff3bbdbc372dfd1b3b408ac2c095fe6d6
Auto-generated-cl: translation import
|  Geoff Mendal | 51 | -102/+51 |
2014-11-03 | Import translations. DO NOT MERGE•••Change-Id: I4a4f46a2e3aa848ba9ac47300815f6ccf8af808b
Auto-generated-cl: translation import
|  Geoff Mendal | 15 | -15/+15 |
2014-11-02 | Small comment fixes•••Change-Id: Iecb432c414eadf13ee6a57fb21fc02d1c27e777f
|  Ken Wakasa | 1 | -3/+3 |
2014-11-02 | Add debug logging•••Change-Id: I38bf53a0b5ea5064462b8eb5d99b7247ff8bddc4
|  Tadashi G. Takaoka | 2 | -76/+121 |
2014-11-02 | Add null analysis annotations to latinime-common•••Change-Id: I06eedd9ab85e5a8890e6809bbf9e88e5b8c14e38
|  Tadashi G. Takaoka | 5 | -19/+50 |
2014-11-01 | Fix: BoS prediction after inputting just once.•••Change-Id: Ib69569ab6b6edfcc8c1d2c621b95de4127789ab6
|  Keisuke Kuroyanagi | 1 | -2/+10 |
2014-10-31 | Initial commit for native dicttoolkit.•••Bug: 10059681
Change-Id: Ib730af8ebc944e08aaada869c0626724a499747c
|  Keisuke Kuroyanagi | 9 | -0/+285 |
2014-10-31 | Remove some dicttool dependencies•••Bug: 18108776
Change-Id: Ic81c5df2a685160c249021ff4cfe41553dbdeebe
|  Jean Chalard | 2 | -56/+0 |
2014-10-31 | Update v4 format version from 402 to 403.•••Without personalization:
Total words: 1134774, Success Num: 899230, Success Percentage: 79.243%
Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1871, Bad Failure Percentage: 0.165%
Failures, with auto-correction (F-C): 29084, F-C Percentage: 2.563%
Max Keystrokes: 6072959, Min Keystrokes: 4436090, Keystroke Saving Percentage:26.953%
Before:
Total words: 1134646, Success Num: 925194, Success Percentage: 81.540%
Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1316, Bad Failure Percentage: 0.116%
Failures, with auto-correction (F-C): 28288, F-C Percentage: 2.493%
Max Keystrokes: 6072831, Min Keystrokes: 3946188, Keystroke Saving Percentage:35.019%
After
Total words: 1134659, Success Num: 944746, Success Percentage: 83.263%
Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1258, Bad Failure Percentage: 0.111%
Failures, with auto-correction (F-C): 28016, F-C Percentage: 2.469%
Max Keystrokes: 6072844, Min Keystrokes: 3387333, Keystroke Saving Percentage:44.222%
Change-Id: I3af42ec37a11847c0429c28616e726f6a339247f
|  Keisuke Kuroyanagi | 11 | -112/+73 |
2014-10-31 | Add hacks for better handling count value during migration.•••Bug: 14425059
Change-Id: Ib050574aa7c4babd4285322a11c3af9be9fbab1e
|  Keisuke Kuroyanagi | 2 | -1/+4 |
2014-10-31 | Change v403 historical info format.•••count -> 2B, level -> 0B.
Change-Id: I3b241126f56eb33cdf09cb1ebfed04f534e4ec48
|  Keisuke Kuroyanagi | 6 | -11/+9 |
2014-10-31 | Add helper methods to convert flags to readable text•••Change-Id: I23608927cef8a897ff4ad8c938560cc78093ddac
|  Tadashi G. Takaoka | 2 | -0/+39 |
2014-10-31 | Further fixes to treat 0-frequency words•••Previously, when both legitimate 0-frequency words (such as
distracters) and offensive words were encoded in the same
way, distracters would never show up when the user blocked
offensive words (the default setting, as well as the setting
for regression tests).
When b/11031090 was fixed and a separate encoding was used
for offensive words, 0-frequency words would no longer be
blocked when they were an "exact match" (where case
mismatches and accent mismatches would be considered an
"exact match"). The exact match boosting functionality meant
that, for example, when the user typed "mt" they would be
suggested the word "Mt", although they most probably meant
to type "my".
For this reason, we introduced this change, which does the
following:
* Defines the "perfect match" as a really exact match, with
no room for case or accent mismatches
* When the target word has probability zero (as "Mt" does,
because it is a distracter), ONLY boost its score if it is a
perfect match.
By doing this, when the user types "mt", the word "Mt" will
NOT be boosted, and they will get "my". However, if the user
makes an explicit effort to type "Mt", we do boost the word
"Mt" so that the user's input is not autocorrected to "My".
Bug: 11031090
Change-Id: I92ee1b4e742645d52e2f7f8c4390920481e8fff0
|  Adrian Velicu | 7 | -12/+47 |
2014-10-31 | Block offensive words in multi-word suggestions•••If the user has chosen to block offensive words and types
"aaaxbb", where "aaa" is an offensive word and "bb" is not,
we should not suggest "aaa bb".
Bug: 11031090
Change-Id: Ie23b8dd5d347bc26b1c046c3f5e8dfbc259bf528
|  Adrian Velicu | 3 | -13/+65 |
2014-10-31 | Add documentation for CollectionUtils#arrayAsList•••(This is a cherrypick of http://ag/576739)
Also, modify the IllegalArgumentException to capture the
values passed for start, end, and array.length to make
debugging easier in the unlikely event that it is thrown.
Add corresponding tests for the exceptions.
Tested:
tapas LatinImeGoogle LatinImeGoogleTests userdebug
make -j30 && \
adb install -r \
out/target/product/generic/data/app/LatinImeGoogleTests/LatinImeGoogleTests.apk && \
adb install -r \
out/target/product/generic/system/app/LatinImeGoogle/LatinImeGoogle.apk && \
adb shell am instrument -w -e class \
com.android.inputmethod.latin.utils.CollectionUtilsTests \
com.google.android.inputmethod.latin.tests/android.support.test.runner.AndroidJUnitRunner
Change-Id: I0c579ca4f4f2a9b2575aa6f8fa75e3ee4a21cf8a |  David Faden | 2 | -2/+44 |
2014-10-31 | Update unit tests for new static dict version.•••Bug: 11031090
Change-Id: Ifd7b241f1a0a30678ca7de97cc6e96927a9b5c8f
|  Adrian Velicu | 4 | -29/+36 |
2014-10-31 | Update dictionaries (possibly_offensive flag)•••Correctly encoding possibly offensive words with their correct
frequency and the possibly_offensive flag set.
Continuing to encode with zero frequency only distracters or
words that should never come up.
https://paste.googleplex.com/5167060875214848
Bug: 11031090
Change-Id: Ia394b1827f292ff8d4791cc2f3e6e50b5aff4cbe
|  Adrian Velicu | 21 | -0/+0 |
2014-10-31 | Using "blacklist" flag as "possibly offensive"•••Bug: 11031090
Change-Id: I5cc0d006ab003656498eb82b0875eb9c051d331e
|  Adrian Velicu | 14 | -53/+72 |
2014-10-31 | Remove deprecated Canvas.clipRegion(Region) call•••Change-Id: I88e0a8d327c17bf4bafbe44cdfa265f5d0acb879
|  Tadashi G. Takaoka | 1 | -56/+58 |
2014-10-31 | Fix: native unit test build.•••Change-Id: Id2bd4b60d6a4023815a630ebb3059a435b72c193
|  Keisuke Kuroyanagi | 1 | -2/+2 |
2014-10-30 | Import translations. DO NOT MERGE•••Change-Id: I7e725d123380b47feb9f3442cf5ac4299997d1a9
Auto-generated-cl: translation import
|  Baligh Uddin | 14 | -612/+312 |
2014-10-30 | Import translations. DO NOT MERGE•••Change-Id: I7db7b88569ffbe44449f97950cb337ea2f3b1761
Auto-generated-cl: translation import
|  Baligh Uddin | 73 | -3760/+1519 |
2014-10-30 | Import translations. DO NOT MERGE•••Change-Id: I58e9e2b6fbeea9369903208642f548dcd60db631
Auto-generated-cl: translation import
|  Baligh Uddin | 4 | -0/+108 |
2014-10-30 | Import translations. DO NOT MERGE•••Change-Id: I2c081d71d715a47d2baabd8069d6cdf28ca03cdc
Auto-generated-cl: translation import
|  Baligh Uddin | 10 | -76/+41 |