aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Stop using deprecated InputMethodSubtype constructorYohei Yukawa2014-02-171-11/+20
| | | | | | | | | | | | | 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
* Remove unused code.Keisuke Kuroyanagi2014-02-151-1/+1
| | | | | Bug: 12810574 Change-Id: I9c7fff60ae0e94d52f3bd19c3e88de5a53b917d7
* Implement PatriciaTriePolicy::getNextWordAndNextToken().Keisuke Kuroyanagi2014-02-151-0/+63
| | | | | Bug: 12810574 Change-Id: Id1d44f90de9455d9cbe7b6e0a161cae91d6d422c
* Merge "Remove unused argument from readDictionaryBinary."Keisuke Kuroyanagi2014-02-142-3/+3
|\
| * Remove unused argument from readDictionaryBinary.Keisuke Kuroyanagi2014-02-142-3/+3
| | | | | | | | | | Bug: 12810574 Change-Id: Ice415ebd8d11162facca3fe8927ef8a616b11424
* | Merge "Implement PatriciaTriePolicy::getWordProperty()."Keisuke Kuroyanagi2014-02-141-0/+36
|\|
| * Implement PatriciaTriePolicy::getWordProperty().Keisuke Kuroyanagi2014-02-141-0/+36
| | | | | | | | | | Bug: 12810574 Change-Id: I7bcccfd3641ebbcf2b8d857d33bb4734c42af5eb
* | Fix SpacingAndPunctuationsTests due to I2219224840Tadashi G. Takaoka2014-02-141-12/+28
| | | | | | | | | | Bug: 12640318 Change-Id: If0b0696b937c580d69cb909ddaf414d01ea2c01b
* | Add PunctuationSuggestions classTadashi G. Takaoka2014-02-142-17/+24
| | | | | | | | | | | | | | This change must be checked in together with I366c477516. Bug: 12640318 Change-Id: I8d3864b9d9649c9e3306e82b01a6327b11281b1f
* | Merge "Make InputLogicTest more robust"Tadashi G. Takaoka2014-02-135-28/+14
|\ \
| * | Make InputLogicTest more robustTadashi G. Takaoka2014-02-135-28/+14
| | | | | | | | | | | | Change-Id: I134f14971126cbeed05b472c08747f2b88ad30e6
* | | Merge "Clean-up follow-up to I3ecc8496"Jean Chalard2014-02-131-5/+5
|\ \ \ | |/ / |/| |
| * | Clean-up follow-up to I3ecc8496Jean Chalard2014-02-131-5/+5
| | | | | | | | | | | | Change-Id: I8db952a4152dab027e4f34bc5270bfca508d154d
* | | Remove RTL aware !code and add corresponding !textTadashi G. Takaoka2014-02-133-7/+5
| | | | | | | | | | | | Change-Id: I9021c8fa1cf2d4ac07579237a939c15551509a0b
* | | Merge "Fix UserHistoryDictionaryTests"Tadashi G. Takaoka2014-02-131-54/+47
|\ \ \ | |/ / |/| |
| * | Fix UserHistoryDictionaryTestsTadashi G. Takaoka2014-02-131-54/+47
| |/ | | | | | | Change-Id: I5f2f555f9c3f471545921ef80e4cf528976be837
* | Merge "Fix a test."Jean Chalard2014-02-131-2/+2
|\ \
| * | Fix a test.Jean Chalard2014-02-131-2/+2
| |/ | | | | | | | | | | | | | | | | | | 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
* / Fix a failing test.Jean Chalard2014-02-121-1/+3
|/ | | | | | | | | 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
* Merge "Make PtNode have ProbabilityInfo instead of raw value."Keisuke Kuroyanagi2014-02-102-7/+8
|\
| * Make PtNode have ProbabilityInfo instead of raw value.Keisuke Kuroyanagi2014-02-102-7/+8
| | | | | | | | | | | | Bug: 11281877 Bug: 12810574 Change-Id: Id1cda0afc74c4e30633c735729143491b2274a7b
* | Fix possible NPE while finding device override value from resourceTadashi G. Takaoka2014-02-101-33/+0
| | | | | | | | | | Bug: 12949735 Change-Id: Iffda08db413b3b3d338ab9bf625bb0968c2e48dd
* | Merge "Decimal number is treated as outputText"Tadashi G. Takaoka2014-02-071-0/+26
|\ \
| * | Decimal number is treated as outputTextTadashi G. Takaoka2014-02-061-0/+26
| | | | | | | | | | | | Change-Id: I9d4a8ac5dd26a7c41fcfbe1842a40f347a2f2aab
* | | Merge "Use native logic to read Ver4 dict."Keisuke Kuroyanagi2014-02-062-212/+0
|\ \ \ | | |/ | |/|
| * | Use native logic to read Ver4 dict.Keisuke Kuroyanagi2014-02-062-212/+0
| | | | | | | | | | | | | | | | | | Bug: 11281877 Bug: 12810574 Change-Id: Ief371d3ef61818e4e031de4659aee3c9584c7379
* | | Use SubtypeLocaleUtils.isRtlLanguageTadashi G. Takaoka2014-02-062-4/+3
|/ / | | | | | | Change-Id: Ic0208412cd9c02975641cb5c448d092f28786746
* | Merge "Conditionally store the raw suggestions."Jean Chalard2014-02-061-1/+1
|\ \
| * | Conditionally store the raw suggestions.Jean Chalard2014-02-061-1/+1
| |/ | | | | | | | | Bug: 12913520 Change-Id: Ie15f97d90c142c51089280252b35b5ad1d226e19
* | Merge "Consolidate WordProperty and Word."Keisuke Kuroyanagi2014-02-061-23/+20
|\ \ | |/ |/|
| * Consolidate WordProperty and Word.Keisuke Kuroyanagi2014-02-061-23/+20
| | | | | | | | | | | | Bug: 11281877 Bug: 12810574 Change-Id: I9dc99188f80f25a8780c1860dab46e4aa80a23e5
* | Merge "Stop considering personalization dicts outputs as words"Jean Chalard2014-02-051-1/+1
|\ \
| * | Stop considering personalization dicts outputs as wordsJean Chalard2014-02-051-1/+1
| | | | | | | | | | | | | | | | | | Bug: 12800726 Bug: 12798403 Change-Id: I6d60f9ad39761757f8a64533f40d6441f3a36410
* | | Merge "Make WeightedString have ProbabilityInfo."Keisuke Kuroyanagi2014-02-051-7/+9
|\ \ \ | | |/ | |/|
| * | Make WeightedString have ProbabilityInfo.Keisuke Kuroyanagi2014-02-051-7/+9
| |/ | | | | | | | | | | Bug: 11281877 Bug: 12810574 Change-Id: I265e3d8654c75766cd0e0d09d67ef62b4566298a
* | Merge "Treat a sole "|" as a special case of key label"Tadashi G. Takaoka2014-02-051-5/+3
|\ \
| * | Treat a sole "|" as a special case of key labelTadashi G. Takaoka2014-02-051-5/+3
| | | | | | | | | | | | Change-Id: Ia72c31d15c891fa522935ba9792e88fd5d8ce7f7
* | | Merge "Add null check to KeySpecParser"Tadashi G. Takaoka2014-02-053-4/+23
|\| |
| * | Add null check to KeySpecParserTadashi G. Takaoka2014-02-053-4/+23
| | | | | | | | | | | | Change-Id: Ic37db8cbf8f83f753d7381e1edba8eac1ef1ceb1
* | | Merge "[HD04] Make the locale mandatory."Jean Chalard2014-02-052-5/+5
|\ \ \ | |/ / |/| |
| * | [HD04] Make the locale mandatory.Jean Chalard2014-02-052-5/+5
| |/ | | | | | | | | Bug: 11281748 Change-Id: I69281b0053bec404c3e3c713ade3f65a140f51b1
* / Rename base test class KeySpecParserTestsBaseTadashi G. Takaoka2014-02-053-3/+7
|/ | | | Change-Id: I41e1ccb3f0cfde4e5ae311a763e5659e5ff71d3c
* Merge "Add KeySpecParser unit test"Tadashi G. Takaoka2014-02-053-303/+379
|\
| * Add KeySpecParser unit testTadashi G. Takaoka2014-02-043-303/+379
| | | | | | | | Change-Id: Ie1c32daecefc2909e58056f515631cbd7de687f7
* | Separate header class from FormatSpec.Keisuke Kuroyanagi2014-02-043-17/+16
|/ | | | | Bug: 12810574 Change-Id: Iacf1cd05a268bf690ab864b5e32a18a4b0ccc693
* Make dumpAllWordsForDebug() use getNextWordProperty().Keisuke Kuroyanagi2014-02-041-244/+0
| | | | | | Bug: 11736680 Bug: 12810574 Change-Id: I32a388e23ee7da5d7291e88a46c90b61d2f25dee
* Implement Ver4PatriciaTriePolicy::getNextWordAndNextToken.Keisuke Kuroyanagi2014-02-041-0/+93
| | | | | Bug: 12810574 Change-Id: Idea44f03c477964f58e65fbf2b55e3fcd77a2934
* Get bigram information via getWordProperty().Keisuke Kuroyanagi2014-02-031-11/+66
| | | | | Bug: 12810574 Change-Id: I2750a5659ccbc3e31307c28e35dd9a1dbdffbeee
* Merge "Extend jni interface to get bigrams in WordProperty."Keisuke Kuroyanagi2014-01-311-32/+33
|\
| * Extend jni interface to get bigrams in WordProperty.Keisuke Kuroyanagi2014-01-311-32/+33
| | | | | | | | | | Bug: 12810574 Change-Id: Ia4b88d02ea8790a5c47d32376cc0b84c3e071ddd