aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com (follow)
Commit message (Expand)AuthorAgeFilesLines
* Fix tests•••Change-Id: I12ba56d021b50c03dc62e3f3c8db3ecada2f6a4b Jean Chalard2014-06-304-46/+40
* Merge "Revert "Move getPrevWordsInfoFromNthPreviousWord to StringUtlis.""Ken Wakasa2014-06-261-21/+21
|\
| * Revert "Move getPrevWordsInfoFromNthPreviousWord to StringUtlis."•••This reverts commit ba463c9a66f75e8d00f4658e32b763eb54215231 that broke the dicttool build. Bug: 14425059 Change-Id: Ie1685587104d26e4416624747c97f6087c13388a Ken Wakasa2014-06-271-21/+21
* | Merge "Move getPrevWordsInfoFromNthPreviousWord to StringUtlis."Keisuke Kuroyanagi2014-06-261-21/+21
|\|
| * Move getPrevWordsInfoFromNthPreviousWord to StringUtlis.•••Bug: 14425059 Change-Id: I3eb24e840c165e43f68c2a60fccf9974affb57a6 Keisuke Kuroyanagi2014-06-271-21/+21
* | Merge "Find multiple previous word information to support n-gram."Keisuke Kuroyanagi2014-06-261-0/+11
|\|
| * Find multiple previous word information to support n-gram.•••Bug: 14425059 Change-Id: Ieace636334a9b2a094527341d4fcfc05958296c5 Keisuke Kuroyanagi2014-06-271-0/+11
* | Add preliminary subtypes disabled for L-preview•••Bug: 13966540 Bug: 13779052 Bug: 10028772 Bug: 7963632 Change-Id: Ieec809f2d391e90b1ec547a3a89e929db47a5ed1 Tadashi G. Takaoka2014-06-274-7/+7
* | Add Sinhala keyboard layout•••Bug: 6911143 Change-Id: I9ff87ece3e68381c0e9855106e7320c227f09965 Tadashi G. Takaoka2014-06-272-0/+222
|/
* Merge "Make PrevWordsInfo have multiple words' information."Keisuke Kuroyanagi2014-06-245-19/+23
|\
| * Make PrevWordsInfo have multiple words' information.•••Bug: 14425059 Change-Id: I2bd6a872904a44b80f638a13d91a97559217cc1a Keisuke Kuroyanagi2014-06-255-19/+23
* | Make Beginning-of-Sentence prediction require two exposures.•••Bug: 15868192 Change-Id: I4b577ad11c992d872d6f902fd50527d9ca5cc1ba Keisuke Kuroyanagi2014-06-251-4/+10
* | Fix: unit tests by clearing personalized dicts•••Bug: 14119293 Change-Id: I61cc05fb09342103f453ba83709c6be68d2f695e Keisuke Kuroyanagi2014-06-251-0/+2
* | Merge "Support migration/dump of Beginning-of-Sentence entries."Keisuke Kuroyanagi2014-06-242-12/+28
|\ \
| * | Support migration/dump of Beginning-of-Sentence entries.•••Bug: 14119293 Change-Id: Ie975138f819794d5c34a7a547be5a6117050e084 Keisuke Kuroyanagi2014-06-242-12/+28
| |/
* / Add a test for Armenian periods.•••Bug: 11463389 Change-Id: Ic1a612bd6b2693369a1688e6a2273cff26fbe6d1 Jean Chalard2014-06-182-19/+26
|/
* Merge "Add a method to update contextual dictionary."Keisuke Kuroyanagi2014-06-101-0/+75
|\
| * Add a method to update contextual dictionary.•••Bug: 14161647 Change-Id: I2111f841c94e31d62b670da4236fc738df03a708 Keisuke Kuroyanagi2014-06-161-0/+75
* | Update unit test for beginning-of-sentence.•••Bug: 14119293 Change-Id: I594a1ca1096f0c12c678dd30eb75de905e55c5bb Keisuke Kuroyanagi2014-06-121-11/+7
|/
* Special case periods in the spell checker•••Special case <valid word>.<valid word> to send as a suggestion the same string where the periods is replaced by a space. Bug: 10780091 Change-Id: I43c94675977f9ab5d7ee5671486cb742b39f3974 Jean Chalard2014-06-101-1/+18
* Remove a useless method•••Change-Id: I21a4219f682f43f4a84b1ab12d00dd930b35caa1 Jean Chalard2014-06-101-14/+0
* Remove mPrevWordsInfo•••This member has outlived its usefulness. It's not clear now that it makes things really faster, but it does bring a lot of complexity that we can avoid by removing it. Change-Id: Ifbc8094a45b56b958fe165b1930f4cc358a97721 Jean Chalard2014-06-101-35/+19
* Merge "Make keyboard theme test robust"Tadashi G. Takaoka2014-06-091-11/+15
|\
| * Make keyboard theme test robust•••Change-Id: I2547c8af6fa73e646f697cb4450140859d87625e Tadashi G. Takaoka2014-06-091-11/+15
* | Check isInDictionary() before the distracter test.•••Bug: 13142176 Bug: 15428247 Change-Id: I7ce2c09ebbef6ca8c056807c2a35f2f987fd436e Keisuke Kuroyanagi2014-06-091-3/+3
* | Add Dictionary.isInDictionary().•••Bug: 13142176 Bug: 15428247 Change-Id: If2d1c1fea7a69e41809a828da8dd032211ad144e Keisuke Kuroyanagi2014-06-091-4/+4
|/
* Make Distracter filter use getMaxFrequencyOfExactMatches().•••Bug: 13142176 Bug: 15428247 Change-Id: I5c23fbea2851f891f76f19d9da2cb70ae964569b Keisuke Kuroyanagi2014-06-061-11/+54
* Implement getMaxProbabilityOfExactMatches().•••Bug: 13142176 Bug: 15428247 Change-Id: I5be6d683be95505412615ca7c88260de1ea05f54 Keisuke Kuroyanagi2014-06-061-0/+29
* Remove unused supportsSwitchingToShortcutIme attribute•••Change-Id: I51c5247ac925a158facb79057f704b763b903552 Tadashi G. Takaoka2014-06-062-7/+7
* Add action key test for Lxx theme•••Change-Id: I849cec7deb5607e8ce8fb25c1f903f15328fb611 Tadashi G. Takaoka2014-06-065-13/+144
* Merge "Refactoring"Jean Chalard2014-06-041-13/+13
|\
| * Refactoring•••Rename `initialize' to `start' and `deactivate' to `stop' for ease of understanding. It's completely bizarre that you can "deactivate" a recapitalization and that will just restart a new one the next time you press shift. Start and stop are easier to understand. Change-Id: I455175aebfcfe11198c6c61bf2c6b19efc3f82df Jean Chalard2014-06-041-13/+13
* | Reorder keys around the spacebar•••This CL reorders keys around the spacebar. - On phone's symbols and symbols shift layout, the comma key is moved to the left of the spacebar to aligned with main layout. - On tablet's layout, the comma key is moved to the left of the spacebar on all layout to aligned with the same layout of phone's. Also the comma key has "settings" as more keys. - In Arabic and Perisan, the comma key of tablet already has some more keys This CL remove "/" and add "settings" instead. Bug: 15281451 Change-Id: I6e0e75e4d4abfb1f356e7499be91424c7c57c58b Tadashi G. Takaoka2014-06-0412-29/+49
|/
* Make prevWord = null if the next word starts from a connector.•••This fixes PunctuationTests# testAutoCorrectionWithSingleQuotesAround. Bug: 14119293 Bug: 15334309 Change-Id: I604c21a21e89a5fc431fd56ab7b6ad03f4736b01 Keisuke Kuroyanagi2014-05-301-0/+4
* Fix tests•••DEBUG in LatinIME has been changed by Ie52007dc to mean both DebugSettings.PREF_DEBUG_MODE and Settings.PREF_KEY_IS_INTERNAL instead of just DEBUG_MODE as used to be the case. Tests depend on the debug mode to test many things and they make sure they run in debug mode or they fail. This has tests understand the change in policy. Change-Id: Ie9f29e6a1d85e19704c8940d3fcf97c13c3dbaa6 Jean Chalard2014-05-291-3/+3
* Merge "Remove PrioritizedSerialExecutor."Keisuke Kuroyanagi2014-05-292-106/+57
|\
| * Remove PrioritizedSerialExecutor.•••Bug: 15320560 Change-Id: Icb88a96ebd685da1d2cba7b07889a2751c603a2e Keisuke Kuroyanagi2014-05-292-106/+57
* | Fix: too many calls to getSuggestedWordsForTypingInput•••This reverts commit d941ea18 and builds on it to fix the behavior of the broken cases. It also fixes a small, related bug that probably has existed for a very long time: predictions not displayed when cancelling double-space-to-period. Bug: 15148015 Change-Id: I1f9358f8b6f5804f831643611576be347e83999d Jean Chalard2014-05-291-0/+21
|/
* Merge "Add PersonalizationDictionaryTests."Keisuke Kuroyanagi2014-05-291-0/+117
|\
| * Add PersonalizationDictionaryTests.•••Bug: 11778342 Change-Id: Ice88f439ae11714e5ec9dd3b7616d0c2d59ea812 Keisuke Kuroyanagi2014-05-291-0/+117
* | Merge "Remove researcher logger"Tadashi G. Takaoka2014-05-291-171/+0
|\ \
| * | Remove researcher logger•••This CL must be checked in together with I5cc76807e3. Bug: 15318007 Change-Id: I61423c3377ddc299fb332e742d6626c2e47145bb Tadashi G. Takaoka2014-05-291-171/+0
| |/
* / Disable a test that fails for an unknown reason•••It works when tested on the actual device, and on some versions of the platform. Until we know what's wrong with resource loading when running under the test harness, we need to disable this test. Change-Id: I2d7ed9db940b9b73739de8325665bdafb6af58cb Jean Chalard2014-05-291-1/+1
|/
* Merge "Stop directly checking SuggestedWordInfo.mKind"Keisuke Kuroyanagi2014-05-281-4/+4
|\
| * Stop directly checking SuggestedWordInfo.mKind•••Bug: 15298959 Change-Id: Iba6eeb7981634e7ddb896404978b30f6efd6e72f Keisuke Kuroyanagi2014-05-281-4/+4
* | Run test only on KitKat devices•••This won't work on < KK because it needs the armenian locale to be present on the device. I don't know why, but when under test, apps don't seem to be able to resolve resources for locales not supported by the system. Change-Id: Ie0f4fc30954978061cae751024bab5569a2ab2eb Jean Chalard2014-05-281-10/+19
|/
* Merge "Return whether the dynamic dict operation was success."Keisuke Kuroyanagi2014-05-271-9/+30
|\
| * Return whether the dynamic dict operation was success.•••Bug: 12184250 Change-Id: Iee7e00c1e84c95551a077f4dd023c0a9b9ac9466 Keisuke Kuroyanagi2014-05-271-9/+30
* | Fix unit test build.•••Change-Id: Id2c92c5035d7b357fa66c7ca671b72a1a33ebf3b Keisuke Kuroyanagi2014-05-271-3/+4
|/
* Stop filtering out when perfect freq > top non-perfect freq.•••Bug: 13142176 Change-Id: I0290df918a5bd5018bf55231dc462d5e797155c6 Keisuke Kuroyanagi2014-05-271-2/+27