aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | | | | | Merge "Import translations. DO NOT MERGE" into stage-aosp-masterBaligh Uddin2014-10-3110-76/+41
| | |\ \ \ \ \ \ \
| | | * | | | | | | Import translations. DO NOT MERGEBaligh Uddin2014-10-3010-76/+41
| | | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I2c081d71d715a47d2baabd8069d6cdf28ca03cdc Auto-generated-cl: translation import
* | | | | | | | | am 7fe0ea42: (-s ours) am f8de10ce: (-s ours) Merge "Import translations. DO ↵Baligh Uddin2014-10-310-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NOT MERGE" into stage-aosp-master * commit '7fe0ea4218a2ca1c663076d8e52ffeb7d842ecc4': Import translations. DO NOT MERGE
| * | | | | | | | am f8de10ce: (-s ours) Merge "Import translations. DO NOT MERGE" into ↵Baligh Uddin2014-10-310-0/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stage-aosp-master * commit 'f8de10ce2163343ab4b39b762bb1e6b5a4449069': Import translations. DO NOT MERGE
| | * | | | | | | Merge "Import translations. DO NOT MERGE" into stage-aosp-masterBaligh Uddin2014-10-314-0/+108
| | |\ \ \ \ \ \ \
| | | * | | | | | | Import translations. DO NOT MERGEBaligh Uddin2014-10-304-0/+108
| | | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I58e9e2b6fbeea9369903208642f548dcd60db631 Auto-generated-cl: translation import
* | | | | | | | | am a42c4a83: (-s ours) am 1d379712: (-s ours) Merge "Import translations. DO ↵Baligh Uddin2014-10-310-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NOT MERGE" into stage-aosp-master * commit 'a42c4a83664c47a6ddd081d9bb7b2fdb3c07bd9e': Import translations. DO NOT MERGE
| * | | | | | | | am 1d379712: (-s ours) Merge "Import translations. DO NOT MERGE" into ↵Baligh Uddin2014-10-310-0/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stage-aosp-master * commit '1d379712e5e7fae305d1f24665b711050b1e510c': Import translations. DO NOT MERGE
| | * | | | | | | Merge "Import translations. DO NOT MERGE" into stage-aosp-masterBaligh Uddin2014-10-3173-3760/+1519
| | |\ \ \ \ \ \ \
| | | * | | | | | | Import translations. DO NOT MERGEBaligh Uddin2014-10-3073-3760/+1519
| | | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I7db7b88569ffbe44449f97950cb337ea2f3b1761 Auto-generated-cl: translation import
* | | | | | | | | am b6b0b609: (-s ours) am b2039bcd: (-s ours) Import translations. DO NOT MERGEBaligh Uddin2014-10-310-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'b6b0b609a49ea81bb280e04b117915dc0dc13799': Import translations. DO NOT MERGE
| * | | | | | | | am b2039bcd: (-s ours) Import translations. DO NOT MERGEBaligh Uddin2014-10-310-0/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'b2039bcd7bad88b4cbc2e113a4147a5545e3c106': Import translations. DO NOT MERGE
| | * | | | | | | Import translations. DO NOT MERGEBaligh Uddin2014-10-3014-612/+312
| | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I7e725d123380b47feb9f3442cf5ac4299997d1a9 Auto-generated-cl: translation import
* | | | | | | | Merge "Update v4 format version from 402 to 403."Keisuke Kuroyanagi2014-10-3111-112/+73
|\ \ \ \ \ \ \ \
| * | | | | | | | Update v4 format version from 402 to 403.Keisuke Kuroyanagi2014-10-3111-112/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | | Merge "Add hacks for better handling count value during migration."Keisuke Kuroyanagi2014-10-312-1/+4
|\| | | | | | | |
| * | | | | | | | Add hacks for better handling count value during migration.Keisuke Kuroyanagi2014-10-312-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 14425059 Change-Id: Ib050574aa7c4babd4285322a11c3af9be9fbab1e
* | | | | | | | | Merge "Change v403 historical info format."Keisuke Kuroyanagi2014-10-316-11/+9
|\| | | | | | | |
| * | | | | | | | Change v403 historical info format.Keisuke Kuroyanagi2014-10-316-11/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | count -> 2B, level -> 0B. Change-Id: I3b241126f56eb33cdf09cb1ebfed04f534e4ec48
* | | | | | | | | Merge "Initial commit for native dicttoolkit."Keisuke Kuroyanagi2014-10-319-0/+285
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Initial commit for native dicttoolkit.Keisuke Kuroyanagi2014-10-319-0/+285
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 10059681 Change-Id: Ib730af8ebc944e08aaada869c0626724a499747c
* | | | | | | | | | Merge "Add helper methods to convert flags to readable text"Tadashi G. Takaoka2014-10-312-0/+39
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Add helper methods to convert flags to readable textTadashi G. Takaoka2014-10-312-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I23608927cef8a897ff4ad8c938560cc78093ddac
* | | | | | | | | | | Merge "Further fixes to treat 0-frequency words"Adrian Velicu2014-10-317-12/+47
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Further fixes to treat 0-frequency wordsAdrian Velicu2014-10-317-12/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | | | | | Remove some dicttool dependenciesJean Chalard2014-10-312-56/+0
| |_|_|/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 18108776 Change-Id: Ic81c5df2a685160c249021ff4cfe41553dbdeebe
* | | | | | | | | | | Merge "Remove Dict dependency on WordComposer and ProximityInfo"Jean Chalard2014-10-3112-80/+114
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Remove Dict dependency on WordComposer and ProximityInfoJean Chalard2014-10-2912-80/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 18108776 Change-Id: I9b399a44241e05a7add9bb8094263aa76de37880
* | | | | | | | | | | | Merge "Block offensive words in multi-word suggestions"Adrian Velicu2014-10-313-13/+65
|\ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / | |/| | | | | | | | | |
| * | | | | | | | | | | Block offensive words in multi-word suggestionsAdrian Velicu2014-10-313-13/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | | | | | Merge "Add documentation for CollectionUtils#arrayAsList"Ken Wakasa2014-10-312-2/+44
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / |/| | | | | | | | | | |
| * | | | | | | | | | | Add documentation for CollectionUtils#arrayAsListDavid Faden2014-10-312-2/+44
| | |_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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
* | | | | | | | | | | Merge "Update unit tests for new static dict version."Adrian Velicu2014-10-314-29/+36
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Update unit tests for new static dict version.Adrian Velicu2014-10-314-29/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 11031090 Change-Id: Ifd7b241f1a0a30678ca7de97cc6e96927a9b5c8f
* | | | | | | | | | | | Merge "Update dictionaries (possibly_offensive flag)"Adrian Velicu2014-10-3121-0/+0
|\| | | | | | | | | | |
| * | | | | | | | | | | Update dictionaries (possibly_offensive flag)Adrian Velicu2014-10-3121-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | | | | | Merge "Using "blacklist" flag as "possibly offensive""Adrian Velicu2014-10-3114-53/+72
|\| | | | | | | | | | | | |/ / / / / / / / / / |/| | | | | | | | | |
| * | | | | | | | | | Using "blacklist" flag as "possibly offensive"Adrian Velicu2014-10-3114-53/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 11031090 Change-Id: I5cc0d006ab003656498eb82b0875eb9c051d331e
* | | | | | | | | | | Fix: native unit test build.Keisuke Kuroyanagi2014-10-311-2/+2
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id2bd4b60d6a4023815a630ebb3059a435b72c193
* | | | | | | | | | Merge "Enable count based dynamic ngram language model for v403."Keisuke Kuroyanagi2014-10-317-128/+168
|\ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / |/| | | | | | | | |
| * | | | | | | | | Enable count based dynamic ngram language model for v403.Keisuke Kuroyanagi2014-10-307-128/+168
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 14425059 Change-Id: Icc15e14cfd77d37cd75f75318fd0fa36f9ca7a5b
* | | | | | | | | | Merge "Add DynamicLanguageModelProbabilityUtils."Keisuke Kuroyanagi2014-10-303-0/+152
|\| | | | | | | | |
| * | | | | | | | | Add DynamicLanguageModelProbabilityUtils.Keisuke Kuroyanagi2014-10-303-0/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 14425059 Change-Id: Ia58ab3f0ead02798046d182a9464dcbd95f086bc
* | | | | | | | | | Merge "Consolidate TimerHandler.Callbacks with PointerTracker.DrawingProxy"Tadashi G. Takaoka2014-10-304-52/+57
|\ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|/ / / / | |/| | | | | | | |
| * | | | | | | | | Consolidate TimerHandler.Callbacks with PointerTracker.DrawingProxyTadashi G. Takaoka2014-10-304-52/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I654f7483d1c013ac2685a45af4eb2af15fa219ad
* | | | | | | | | | Merge "Add method to encode probability."Keisuke Kuroyanagi2014-10-304-0/+73
|\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / | |/| | | | | | | |
| * | | | | | | | | Add method to encode probability.Keisuke Kuroyanagi2014-10-304-0/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 14425059 Change-Id: I3e5d359ba5fa38f1669f0e98dfae792ff53efbf8
* | | | | | | | | | Merge "Add a preference to resize the keyboard height."Andy Wang2014-10-309-1/+91
|\ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / |/| | | | | | | | |
| * | | | | | | | | Add a preference to resize the keyboard height.Andy Wang2014-10-309-1/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | | | Merge "Consolidate similar methods"Tadashi G. Takaoka2014-10-305-37/+50
|\ \ \ \ \ \ \ \ \ \