Home
last modified time | relevance | path

Searched refs:word1Index (Results 1 – 3 of 3) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DBinaryDictionaryTests.java740 int word1Index = random.nextInt(words.size() - 1); in testRandomOperationsAndFlashWithGC() local
741 if (word0Index <= word1Index) { in testRandomOperationsAndFlashWithGC()
742 word1Index++; in testRandomOperationsAndFlashWithGC()
745 final String word1 = words.get(word1Index); in testRandomOperationsAndFlashWithGC()
1036 final int word1Index = random.nextInt(wordProbabilities.size()); in testGetWordProperties() local
1037 if (word0Index == word1Index) { in testGetWordProperties()
1041 final String word1 = words.get(word1Index); in testGetWordProperties()
1124 final int word1Index = random.nextInt(wordProbabilitiesToCheckLater.size()); in testIterateAllWords() local
1125 if (word0Index == word1Index) { in testIterateAllWords()
1129 final String word1 = words.get(word1Index); in testIterateAllWords()
[all …]
DBinaryDictionaryDecayingTests.java469 int word1Index = random.nextInt(words.size() - 1); in testAddManyBigramsToDecayingDict() local
470 if (word1Index >= word0Index) { in testAddManyBigramsToDecayingDict()
471 word1Index += 1; in testAddManyBigramsToDecayingDict()
474 final String word1 = words.get(word1Index); in testAddManyBigramsToDecayingDict()
569 final int word1Index = (index >= word0Index) ? index + 1 : index; in testOverflowBigrams() local
570 final String word1 = words.get(word1Index); in testOverflowBigrams()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictDecoderEncoderTests.java660 for (final Integer word1Index : bigramList) {
661 final String word1 = words.get(word1Index);