Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictDecoderEncoderTests.java61 private static final ArrayList<String> sWords = new ArrayList<>(); field in BinaryDictDecoderEncoderTests
78 sWords.clear(); in BinaryDictDecoderEncoderTests()
82 for (int i = 0; i < sWords.size(); ++i) { in BinaryDictDecoderEncoderTests()
91 final int maxBigrams = Math.min(sWords.size(), FormatSpec.MAX_BIGRAMS_IN_A_PTNODE - 1); in BinaryDictDecoderEncoderTests()
117 sWords.addAll(wordSet); in generateWords()
260 results.add(runReadAndWrite(sWords, sEmptyBigrams, bufferType, in runReadAndWriteTests()
262 results.add(runReadAndWrite(sWords, sChainBigrams, bufferType, in runReadAndWriteTests()
264 results.add(runReadAndWrite(sWords, sStarBigrams, bufferType, in runReadAndWriteTests()
266 results.add(runReadAndWrite(sWords, sEmptyBigrams, bufferType, formatOptions, in runReadAndWriteTests()
268 results.add(runReadAndWrite(sWords, sChainBigrams, bufferType, formatOptions, in runReadAndWriteTests()
[all …]
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/makedict/
DFusionDictionaryTest.java35 private static final ArrayList<String> sWords = new ArrayList<>(); field in FusionDictionaryTest
41 sWords.clear(); in prepare()
65 while (sWords.size() < number) { in generateWords()
66 sWords.add(generateWord(random)); in generateWords()
103 for (int i = 0; i < sWords.size(); ++i) { in testFusion()
104 System.out.println("Adding in pos " + i + " : " + dumpWord(sWords.get(i))); in testFusion()
105 dict.add(sWords.get(i), new ProbabilityInfo(180), false, in testFusion()
108 checkDictionary(dict, sWords, i); in testFusion()
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/dicttool/
DBinaryDictOffdeviceUtilsTests.java58 private static final ArrayList<String> sWords = new ArrayList<>(); field in BinaryDictOffdeviceUtilsTests
63 sWords.clear(); in BinaryDictOffdeviceUtilsTests()
74 sWords.addAll(wordSet); in generateWords()
167 options.put(sWords.get(2 * i), sWords.get(2 * 1 + 1)); in runTestHeaderReaderProcessorWithOneSpec()
172 for (int i = 0; i < sWords.size(); ++i) { in runTestHeaderReaderProcessorWithOneSpec()
173 final String word = sWords.get(i); in runTestHeaderReaderProcessorWithOneSpec()