aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod/latin (follow)
Commit message (Expand)AuthorAgeFilesLines
* Separate utility methods from BinaryDictionary.•••Bug: 8187060 Change-Id: Ice2984e332b7bd3bb17174aefc80b5635b72fc50 Keisuke Kuroyanagi2014-03-055-20/+23
* Added a method and run GC for testing.•••Bug: 13231889 Change-Id: If64b7422967c3e4107c845072b64a7bb26a35f7e Keisuke Kuroyanagi2014-02-281-2/+2
* Correctly read the header of APK-embedded dicts•••Bug: 13164518 Change-Id: I8768ad887af8b89ad9f29637f606c3c68629c7ca Jean Chalard2014-02-243-6/+11
* Merge "Fix punctuation test for tablet"Tadashi G. Takaoka2014-02-211-13/+65
|\
| * Fix punctuation test for tablet•••It seems that some test devices are tablet and some are phone. The unit test should aware of which device the test is running. Change-Id: I8651a540993de29aa1cd9f40919dffe7a8df9512 Tadashi G. Takaoka2014-02-211-13/+65
* | Merge "Add an auto-correction by user history test."Keisuke Kuroyanagi2014-02-211-0/+32
|\ \ | |/ |/|
| * Add an auto-correction by user history test.•••Bug: 11122480 Change-Id: I830bb3399f9839a80c6d86fbf582299bce424871 Keisuke Kuroyanagi2014-02-211-0/+32
* | Merge "Add test only methods to test personalized dicts."Keisuke Kuroyanagi2014-02-201-4/+5
|\|
| * Add test only methods to test personalized dicts.•••Bug: 11122480 Change-Id: I79a4a73ff09a2d34d4ca094d705e901fb4bc855c Keisuke Kuroyanagi2014-02-201-4/+5
* | Fix: UserHistoryDictionaryTests.testDecaying().•••Bug: 13106697 Change-Id: If81f77c3cefdefae94cb9145aa9f700494f8237a Keisuke Kuroyanagi2014-02-201-4/+14
|/
* Add user history dictionary decaying test.•••Bug: 10667710 Change-Id: Ib2be57d8c4cbbb34f64555d84ea6fd571cfdd247 Keisuke Kuroyanagi2014-02-201-0/+62
* Fix build•••This is a forgotten rebase Change-Id: I7c7c381775488ed9239dc284bd9c31247a86a972 Jean Chalard2014-02-181-1/+1
* Merge "Fix a bug where the cache would be out of sync"Jean Chalard2014-02-181-0/+37
|\
| * Fix a bug where the cache would be out of sync•••During recorrection, the cursor position when calling commitText is not necessarily at the end of the composing text. Besides, RichInputConnection assumes the cursor is always after any composing text. This is not correct, but in the practice, it seems all code paths work. We should fix this in the future. Bug: 13060691 Change-Id: I15f71fff62d36e80cf6e4a022c5e78af634b199d Jean Chalard2014-02-181-0/+37
* | Cleanup.•••Less code, less chance of stuff escaping, and a bit of a clarification. Yay. Change-Id: I3193fd8ad7ac28195260cbc231c4e498a63a460c Jean Chalard2014-02-184-9/+9
|/
* Stop using deprecated InputMethodSubtype constructor•••The constructors of InputMethodSubtype were deprecated in API level 19. However we cannot yet switch to a new InputMethodSubtypeBuilder style due to our minimum support API level. As an intermediate solution, this patch replaces the these API calls with InputMethodSubtypeCompatUtils.newInputMethodSubtype so that these legacy API call can be consolidated at the same place. BUG: 13030512 Change-Id: I561a585f5dbea56c337680b645be5ef07015a0b1 Yohei Yukawa2014-02-171-11/+20
* Remove unused code.•••Bug: 12810574 Change-Id: I9c7fff60ae0e94d52f3bd19c3e88de5a53b917d7 Keisuke Kuroyanagi2014-02-151-1/+1
* Implement PatriciaTriePolicy::getNextWordAndNextToken().•••Bug: 12810574 Change-Id: Id1d44f90de9455d9cbe7b6e0a161cae91d6d422c Keisuke Kuroyanagi2014-02-151-0/+63
* Merge "Remove unused argument from readDictionaryBinary."Keisuke Kuroyanagi2014-02-142-3/+3
|\
| * Remove unused argument from readDictionaryBinary.•••Bug: 12810574 Change-Id: Ice415ebd8d11162facca3fe8927ef8a616b11424 Keisuke Kuroyanagi2014-02-142-3/+3
* | Merge "Implement PatriciaTriePolicy::getWordProperty()."Keisuke Kuroyanagi2014-02-141-0/+36
|\|
| * Implement PatriciaTriePolicy::getWordProperty().•••Bug: 12810574 Change-Id: I7bcccfd3641ebbcf2b8d857d33bb4734c42af5eb Keisuke Kuroyanagi2014-02-141-0/+36
* | Fix SpacingAndPunctuationsTests due to I2219224840•••Bug: 12640318 Change-Id: If0b0696b937c580d69cb909ddaf414d01ea2c01b Tadashi G. Takaoka2014-02-141-12/+28
* | Add PunctuationSuggestions class•••This change must be checked in together with I366c477516. Bug: 12640318 Change-Id: I8d3864b9d9649c9e3306e82b01a6327b11281b1f Tadashi G. Takaoka2014-02-142-17/+24
* | Merge "Make InputLogicTest more robust"Tadashi G. Takaoka2014-02-135-28/+14
|\ \
| * | Make InputLogicTest more robust•••Change-Id: I134f14971126cbeed05b472c08747f2b88ad30e6 Tadashi G. Takaoka2014-02-135-28/+14
* | | Merge "Clean-up follow-up to I3ecc8496"Jean Chalard2014-02-131-5/+5
|\ \ \ | |/ / |/| |
| * | Clean-up follow-up to I3ecc8496•••Change-Id: I8db952a4152dab027e4f34bc5270bfca508d154d Jean Chalard2014-02-131-5/+5
* | | Merge "Fix UserHistoryDictionaryTests"Tadashi G. Takaoka2014-02-131-54/+47
|\ \ \ | |/ / |/| |
| * | Fix UserHistoryDictionaryTests•••Change-Id: I5f2f555f9c3f471545921ef80e4cf528976be837 Tadashi G. Takaoka2014-02-131-54/+47
| |/
* | Merge "Fix a test."Jean Chalard2014-02-131-2/+2
|\ \
| * | Fix a test.•••This fixes two separate problems: - The word finds itself with two separate suggestion spans. This is fine for LatinIME, but it's hard to predict whether it's fine for other interested parties (other keyboards). - The test for the blue underline was incorrect. Change-Id: I3ecc849676851bf25a25238d694adaa956521a26 Jean Chalard2014-02-131-2/+2
| |/
* / Fix a failing test.•••A replay of that old, horribly hard-to-find bug: we post a resume message during onStartInputView, so we need to process it before we start the test. But now the message is posted with a delay, so we need to wait for the delay... Change-Id: I843d70e636fa51a68aadbdbbaa73b1711ad7bddd Jean Chalard2014-02-121-1/+3
|/
* Merge "Make PtNode have ProbabilityInfo instead of raw value."Keisuke Kuroyanagi2014-02-102-7/+8
|\
| * Make PtNode have ProbabilityInfo instead of raw value.•••Bug: 11281877 Bug: 12810574 Change-Id: Id1cda0afc74c4e30633c735729143491b2274a7b Keisuke Kuroyanagi2014-02-102-7/+8
* | Fix possible NPE while finding device override value from resource•••Bug: 12949735 Change-Id: Iffda08db413b3b3d338ab9bf625bb0968c2e48dd Tadashi G. Takaoka2014-02-101-33/+0
|/
* Use native logic to read Ver4 dict.•••Bug: 11281877 Bug: 12810574 Change-Id: Ief371d3ef61818e4e031de4659aee3c9584c7379 Keisuke Kuroyanagi2014-02-062-212/+0
* Merge "Conditionally store the raw suggestions."Jean Chalard2014-02-061-1/+1
|\
| * Conditionally store the raw suggestions.•••Bug: 12913520 Change-Id: Ie15f97d90c142c51089280252b35b5ad1d226e19 Jean Chalard2014-02-061-1/+1
* | Merge "Consolidate WordProperty and Word."Keisuke Kuroyanagi2014-02-061-23/+20
|\ \ | |/ |/|
| * Consolidate WordProperty and Word.•••Bug: 11281877 Bug: 12810574 Change-Id: I9dc99188f80f25a8780c1860dab46e4aa80a23e5 Keisuke Kuroyanagi2014-02-061-23/+20
* | Merge "Stop considering personalization dicts outputs as words"Jean Chalard2014-02-051-1/+1
|\ \
| * | Stop considering personalization dicts outputs as words•••Bug: 12800726 Bug: 12798403 Change-Id: I6d60f9ad39761757f8a64533f40d6441f3a36410 Jean Chalard2014-02-051-1/+1
* | | Merge "Make WeightedString have ProbabilityInfo."Keisuke Kuroyanagi2014-02-051-7/+9
|\ \ \ | | |/ | |/|
| * | Make WeightedString have ProbabilityInfo.•••Bug: 11281877 Bug: 12810574 Change-Id: I265e3d8654c75766cd0e0d09d67ef62b4566298a Keisuke Kuroyanagi2014-02-051-7/+9
| |/
* / [HD04] Make the locale mandatory.•••Bug: 11281748 Change-Id: I69281b0053bec404c3e3c713ade3f65a140f51b1 Jean Chalard2014-02-052-5/+5
|/
* Separate header class from FormatSpec.•••Bug: 12810574 Change-Id: Iacf1cd05a268bf690ab864b5e32a18a4b0ccc693 Keisuke Kuroyanagi2014-02-043-17/+16
* Make dumpAllWordsForDebug() use getNextWordProperty().•••Bug: 11736680 Bug: 12810574 Change-Id: I32a388e23ee7da5d7291e88a46c90b61d2f25dee Keisuke Kuroyanagi2014-02-041-244/+0
* Implement Ver4PatriciaTriePolicy::getNextWordAndNextToken.•••Bug: 12810574 Change-Id: Idea44f03c477964f58e65fbf2b55e3fcd77a2934 Keisuke Kuroyanagi2014-02-041-0/+93
* Get bigram information via getWordProperty().•••Bug: 12810574 Change-Id: I2750a5659ccbc3e31307c28e35dd9a1dbdffbeee Keisuke Kuroyanagi2014-02-031-11/+66