| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| | |
Change-Id: I666308ada968ee7993235ad98b92f2ad522af122
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When there isn't a close word in another language of the
current multi-language set, we allow whitelist entries
to take force even if we are not confident in the current
language.
Bug: 18063142
Bug: 18130489
Bug: 18132240
Bug: 18136721
Bug: 18200415
Change-Id: I044674ba7b70aa86ab2a48d2e4d53a1c8007b62c
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
With this the most obvious problem is fixed. However there
are two remaining items : we should still enforce whitelist
when there are no close candidates at all, and we should
start in confident mode when pressing the globe key.
Bug: 18063142
Bug: 18130489
Bug: 18132240
Bug: 18136721
Bug: 18200415
Change-Id: Ibc0571ae35fc28f8d13760aa86b25db1163d3e31
|
|/
|
|
|
|
|
|
|
| |
Bug: 18063142
Bug: 18130489
Bug: 18132240
Bug: 18136721
Bug: 18200415
Change-Id: Ica09d11cb95308dd014c4e4e0d99a30dd66bfea9
|
|
|
|
| |
Change-Id: Ib34931836a617d0dc049fb3c9ae6686374ec8c12
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
...when applicable of course. This will allow for informing the
language switching authorities that the typed word was a
specific language, instead of leaving them in the dark.
Bug: 18063142
Bug: 18130489
Bug: 18132240
Bug: 18136721
Bug: 18200415
Change-Id: Ice3e7026a68c3018f54d730ec84f6762bf55899b
|
|
|
|
| |
Change-Id: Ie5ab5cc716ef1211eb9ad76baa0467455e1f1a71
|
|\ |
|
| |
| |
| |
| |
| | |
Bug: 18451316
Change-Id: Ia20bf388471f84c963354df050182e722d966a02
|
|/
|
|
|
|
|
|
| |
That allows to carry the language information in an
accurate manner.
Bug: 18063142
Change-Id: I0bca8981372ae10648274095b18b26a3686b762b
|
|\ |
|
| |
| |
| |
| |
| | |
Bug: 18181427
Change-Id: Ib4dd62037b1f7b2d10496ee3e45b4a138e29f90a
|
|\ \ |
|
| |/
| |
| |
| | |
Change-Id: Ied821df01e032ebc913d2f15dffdf41a51372ea4
|
| |
| |
| |
| | |
Change-Id: Ic5cb55e24a2d843027ccc4e8e5d6954f9391c125
|
|/
|
|
|
|
|
| |
...and fix a bug that happened because of it.
Bug: 18417740
Change-Id: I7a33780adcb8f4e2625abcd3eec906dfee1f5dcf
|
|
|
|
|
|
| |
Also added toString for AssetFileAddress for easier debugging.
Change-Id: Ie5d15d12bae46c31b28d8c67002e627f4c6690e3
|
|\ |
|
| |
| |
| |
| | |
Change-Id: Ib61a5005a82927f5e12a19c9c14f20d46572cf31
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
UserHistoryDictionary currently uses locale to determine the
UserHistoryDictionary on the filesystem. With this change we
use the account name as well. Thus each UserHistoryDictionary
would following the following spec:
UserHistoryDictionary.<locale>.<account>.dict.
In case no account is selected, we default to the existing
spec:
UserHistoryDictionary.<locale>.dict
Example
UserHistoryDictionary.en_US.testaccount@example.com.dict
Bug: 18104749
Change-Id: Iab031e166b55cf2ded68275a7e9be22475737b37
|
| | |
| | |
| | |
| | | |
Change-Id: I485a076b81927fed0da593216fea2c740449ef4c
|
|\ \ \ |
|
| | |/
| |/|
| | |
| | | |
Change-Id: I90cc74ee882e8aa2b243885d3b994223ca3b6f44
|
|/ /
| |
| |
| | |
Change-Id: If8b981715983e3a12867c9b7c53bfa5effaddd39
|
|/
|
|
| |
Change-Id: Ib9dbbb4bd4e35c15fd752c364d3012e8a7da2410
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I82d5a17a5ec96f26047d29e79f3f28850fc5b3bb
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Also why did we have two copies of LocaleUtils >.>
Bug: 18108776
Change-Id: I03b4403dfd51934e66b567f2f8b87da419cfb3ab
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | | |
Change-Id: If4d358b3a11fb25fc214c728269519d8c25f9adc
|
|\ \ \
| | |/
| |/|
| | | |
RichInputMethodManager"
|
| |/
| |
| |
| | |
Change-Id: I0f95f603d80570c937e8c38ded88df341c11795e
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| | |
Bug: 18108776
Change-Id: I0f57594617f8d5080aea9002b2356d18bfe97043
|
|/
|
|
| |
Change-Id: I89aaf87d7d0cc204b0ca0f61c2f64d15e2df848e
|
|
|
|
|
| |
Bug: 18071127
Change-Id: I634d1f63f7d5c5b7453ed7559f9b65fa0433dcd8
|
|
|
|
|
| |
Bug: 18105755
Change-Id: Ifdcaded538d0eac3b100486ddf27ae4314293792
|
|
|
|
| |
Change-Id: Iecb432c414eadf13ee6a57fb21fc02d1c27e777f
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/
|/| |
|
| |
| |
| |
| | |
Change-Id: I23608927cef8a897ff4ad8c938560cc78093ddac
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
Bug: 18108776
Change-Id: I9b399a44241e05a7add9bb8094263aa76de37880
|
|\ \ \ |
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
(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
|
| | |
| | |
| | |
| | |
| | | |
Bug: 11031090
Change-Id: Ifd7b241f1a0a30678ca7de97cc6e96927a9b5c8f
|