| Commit message (Collapse) | Author | Files | Lines |
|
Also why did we have two copies of LocaleUtils >.>
Bug: 18108776
Change-Id: I03b4403dfd51934e66b567f2f8b87da419cfb3ab
|
|
Change-Id: If4d358b3a11fb25fc214c728269519d8c25f9adc
|
|
Change-Id: I0f95f603d80570c937e8c38ded88df341c11795e
|
|
Change-Id: I89aaf87d7d0cc204b0ca0f61c2f64d15e2df848e
|
|
Change-Id: I8b8e17a01b4080e4d18f5961364ef7e4e7ed8649
Auto-generated-cl: translation import
|
|
Also fix a failing test
Change-Id: I280aa6b5836c7332da08a88f1258546edeb25a37
|
|
Yay for cleanup
Bug: 18108776
Change-Id: I13f4066cd54f294377fdcf375a69350c44d4a32a
|
|
Bug: 18108776
Change-Id: I0f57594617f8d5080aea9002b2356d18bfe97043
|
|
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
|
|
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
|
|
This will allow for not copying the whole dictionary when only
the header is needed.
Change-Id: Ie4a649b507ccd4a430201824ed87b8b8bbf55e9f
|
|
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
|
|
Bug: 18071127
Change-Id: I634d1f63f7d5c5b7453ed7559f9b65fa0433dcd8
|
|
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
|
|
Change-Id: I110f36e0547be4957656217c42a8dafd9359b700
|
|
Bug: 18166905
Change-Id: I629eab41b78810325710ce024068b86a157186b4
|
|
This reverts commit 953858d6153d844226e4b8352a63193c29606dd7.
The original CL should be split into two.
Change-Id: Ic1d032e2964a1b9bb44d98bdb8573c6cb47a865c
|
|
This CL also fixes the wrong script of Bengali Akkhor.
Change-Id: Id4af2ea160b4ef3cfd40ffc5984354bc60f0b7b7
|
|
Bug: 18166905
Change-Id: I3c3296cabeed31e1250ff0753ea94576b494b96a
|
|
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
|
|
Bug: 18179572
Change-Id: I387b965ed4f7adc5a34b63e622520e3c88ffd5ca
|
|
Bug: 18105755
Change-Id: Ifdcaded538d0eac3b100486ddf27ae4314293792
|
|
Change-Id: Iaee83be85bb52c350dd08e4497732927b92eabcd
|
|
Change-Id: I3e67ed5ff3bbdbc372dfd1b3b408ac2c095fe6d6
Auto-generated-cl: translation import
|
|
Change-Id: If4a3d6e46c8fcf8ddf8eb4689e19fed4906e1064
Auto-generated-cl: translation import
|
|
Change-Id: I4a4f46a2e3aa848ba9ac47300815f6ccf8af808b
Auto-generated-cl: translation import
|
|
Change-Id: Iecb432c414eadf13ee6a57fb21fc02d1c27e777f
|
|
Change-Id: I38bf53a0b5ea5064462b8eb5d99b7247ff8bddc4
|
|
Change-Id: I06eedd9ab85e5a8890e6809bbf9e88e5b8c14e38
|
|
Change-Id: Ib69569ab6b6edfcc8c1d2c621b95de4127789ab6
|
|
Bug: 10059681
Change-Id: Ib730af8ebc944e08aaada869c0626724a499747c
|
|
Bug: 18108776
Change-Id: Ic81c5df2a685160c249021ff4cfe41553dbdeebe
|
|
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
|
|
Bug: 14425059
Change-Id: Ib050574aa7c4babd4285322a11c3af9be9fbab1e
|
|
count -> 2B, level -> 0B.
Change-Id: I3b241126f56eb33cdf09cb1ebfed04f534e4ec48
|
|
Change-Id: I23608927cef8a897ff4ad8c938560cc78093ddac
|
|
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
|
|
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
|
|
(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
|
|
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
|
|
Bug: 11031090
Change-Id: I5cc0d006ab003656498eb82b0875eb9c051d331e
|
|
Change-Id: Id2bd4b60d6a4023815a630ebb3059a435b72c193
|
|
Change-Id: I7e725d123380b47feb9f3442cf5ac4299997d1a9
Auto-generated-cl: translation import
|
|
Change-Id: I7db7b88569ffbe44449f97950cb337ea2f3b1761
Auto-generated-cl: translation import
|
|
Change-Id: I58e9e2b6fbeea9369903208642f548dcd60db631
Auto-generated-cl: translation import
|
|
Change-Id: I2c081d71d715a47d2baabd8069d6cdf28ca03cdc
Auto-generated-cl: translation import
|
|
Change-Id: I6427702f2022b2423ef102b00edff0a7ffe5122a
Auto-generated-cl: translation import
|
|
Change-Id: I5a18946cc2b568f649028a1bc50a4f78e6aad0af
Auto-generated-cl: translation import
|
|
Change-Id: I19b5c3a4956bbf3e22566cce7f74791a98869727
Auto-generated-cl: translation import
|