| Commit message (Expand) | Author | Files | Lines |
2014-11-06 | Remove dicttool dependency to NativeSuggestOptions•••Bug: 18108776
Change-Id: I0f57594617f8d5080aea9002b2356d18bfe97043
|  Jean Chalard | 2 | -75/+4 |
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 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 | 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 |
2014-10-30 | Import translations. DO NOT MERGE•••Change-Id: I6427702f2022b2423ef102b00edff0a7ffe5122a
Auto-generated-cl: translation import
|  Baligh Uddin | 6 | -1/+121 |
2014-10-30 | Import translations. DO NOT MERGE•••Change-Id: I5a18946cc2b568f649028a1bc50a4f78e6aad0af
Auto-generated-cl: translation import
|  Baligh Uddin | 58 | -8/+47666 |
2014-10-30 | Import translations. DO NOT MERGE•••Change-Id: I19b5c3a4956bbf3e22566cce7f74791a98869727
Auto-generated-cl: translation import
|  Baligh Uddin | 2 | -2/+2 |
2014-10-30 | Enable count based dynamic ngram language model for v403.•••Bug: 14425059
Change-Id: Icc15e14cfd77d37cd75f75318fd0fa36f9ca7a5b
|  Keisuke Kuroyanagi | 7 | -128/+168 |
2014-10-30 | Add DynamicLanguageModelProbabilityUtils.•••Bug: 14425059
Change-Id: Ia58ab3f0ead02798046d182a9464dcbd95f086bc
|  Keisuke Kuroyanagi | 3 | -0/+152 |
2014-10-30 | Make DrawingProxy and TimerProxy as a top-level interface•••Change-Id: Ia425f341255595f8f80c13b2aa409249f9ce4202
|  Tadashi G. Takaoka | 5 | -76/+221 |
2014-10-30 | Consolidate TimerHandler.Callbacks with PointerTracker.DrawingProxy•••Change-Id: I654f7483d1c013ac2685a45af4eb2af15fa219ad
|  Tadashi G. Takaoka | 4 | -52/+57 |
2014-10-30 | Add method to encode probability.•••Bug: 14425059
Change-Id: I3e5d359ba5fa38f1669f0e98dfae792ff53efbf8
|  Keisuke Kuroyanagi | 4 | -0/+73 |
2014-10-30 | Add a preference to resize the keyboard height.•••The keyboard height is controlled by a slider in the debug preferences.
Without access to debug preferences, this change is a no-op.
Bug: 6867494
Change-Id: I984064ed1cab752876615f5ed582818474d6041b
|  Andy Wang | 9 | -1/+91 |
2014-10-30 | Fix dismiss key preview bug introduced by I658a5b16cc•••Change-Id: I5248374dfe0504f6e64cc5d994e275d80364ec9d
|  Tadashi G. Takaoka | 1 | -2/+2 |
2014-10-30 | Consolidate similar methods•••This CL consolidates similar methods in MainKeyboardView.
- startWhileTypingFadeinAnimation and startWhileTypingFadeoutAnimation
- showSlidingKeyInputPreview and dismissSlidingKeyInputPreview
Change-Id: I607ab74683820de2456af3e75663cf8cf358ab38
|  Tadashi G. Takaoka | 5 | -37/+50 |
2014-10-29 | Import translations. DO NOT MERGE•••Change-Id: I3643a631ae94f295bdcd4cf4427fd4bcfef00a17
Auto-generated-cl: translation import
|  Geoff Mendal | 73 | -2/+127 |
2014-10-30 | Fix: TRT and ime-simulator bulid.•••Change-Id: I1697a907562d1ed6aff2b001763d1594263ba0d3
|  Keisuke Kuroyanagi | 1 | -0/+2 |
2014-10-29 | Add a class to have global counters for LanguageModelDictContent.•••Bug: 14425059
Change-Id: I08ec19903432356b6028853fd73b4eefce20218e
|  Keisuke Kuroyanagi | 8 | -7/+209 |