Searched refs:CodePointUtils (Results 1 – 6 of 6) sorted by relevance
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | BinaryDictionaryTests.java | 25 import com.android.inputmethod.latin.makedict.CodePointUtils; 294 final int[] codePointSet = CodePointUtils.generateCodePointSet(codePointSetSize, random); in testRandomlyAddUnigramWord() 296 final String word = CodePointUtils.generateWord(random, codePointSet); in testRandomlyAddUnigramWord() 411 final int[] codePointSet = CodePointUtils.generateCodePointSet(codePointSetSize, random); in testRandomlyAddBigramWords() 416 final String word = CodePointUtils.generateWord(random, codePointSet); in testRandomlyAddBigramWords() 634 final int[] codePointSet = CodePointUtils.generateCodePointSet(codePointSetSize, random); in testAddBigramWordsAndFlashWithGC() 639 final String word = CodePointUtils.generateWord(random, codePointSet); in testAddBigramWordsAndFlashWithGC() 711 final int[] codePointSet = CodePointUtils.generateCodePointSet(codePointSetSize, random); in testRandomOperationsAndFlashWithGC() 715 final String word = CodePointUtils.generateWord(random, codePointSet); in testRandomOperationsAndFlashWithGC() 731 final String word = CodePointUtils.generateWord(random, codePointSet); in testRandomOperationsAndFlashWithGC() [all …]
|
D | BinaryDictionaryDecayingTests.java | 25 import com.android.inputmethod.latin.makedict.CodePointUtils; 336 final int[] codePointSet = CodePointUtils.generateCodePointSet(codePointSetSize, random); in testAddManyUnigramsToDecayingDict() 340 final String word = CodePointUtils.generateWord(random, codePointSet); in testAddManyUnigramsToDecayingDict() 398 final int[] codePointSet = CodePointUtils.generateCodePointSet(codePointSetSize, random); in testOverflowUnigrams() 412 final String word = CodePointUtils.generateWord(random, codePointSet); in testOverflowUnigrams() 459 final int[] codePointSet = CodePointUtils.generateCodePointSet(codePointSetSize, random); in testAddManyBigramsToDecayingDict() 464 final String word = CodePointUtils.generateWord(random, codePointSet); in testAddManyBigramsToDecayingDict() 537 final int[] codePointSet = CodePointUtils.generateCodePointSet(codePointSetSize, random); in testOverflowBigrams() 541 final String word = CodePointUtils.generateWord(random, codePointSet); in testOverflowBigrams()
|
D | LatinImeStressTests.java | 21 import com.android.inputmethod.latin.makedict.CodePointUtils; 33 final int[] codePointSet = CodePointUtils.LATIN_ALPHABETS_LOWER; in testSwitchLanguagesAndInputLatinRandomCodePoints() 39 final String word = CodePointUtils.generateWord(random, codePointSet); in testSwitchLanguagesAndInputLatinRandomCodePoints() 51 final int[] codePointSet = CodePointUtils.generateCodePointSet(codePointSetSize, random); in testSwitchLanguagesAndInputRandomCodePoints() 57 final String word = CodePointUtils.generateWord(random, codePointSet); in testSwitchLanguagesAndInputRandomCodePoints()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | BinaryDictDecoderEncoderTests.java | 121 final int[] codePointSet = CodePointUtils.generateCodePointSet(DEFAULT_CODE_POINT_SET_SIZE, in generateWords() 125 wordSet.add(CodePointUtils.generateWord(random, codePointSet)); in generateWords() 129 final int[] largeCodePointSet = CodePointUtils.generateCodePointSet( in generateWords() 133 wordSet.add(CodePointUtils.generateWord(random, largeCodePointSet)); in generateWords() 572 final int[] codePointSet = CodePointUtils.generateCodePointSet(DEFAULT_CODE_POINT_SET_SIZE, 575 final String word = CodePointUtils.generateWord(random, codePointSet);
|
D | CodePointUtils.java | 22 public class CodePointUtils { class 23 private CodePointUtils() { in CodePointUtils() method in CodePointUtils
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/personalization/ |
D | PersonalizationDictionaryTests.java | 33 import com.android.inputmethod.latin.makedict.CodePointUtils; 67 final int[] codePointSet = CodePointUtils.LATIN_ALPHABETS_LOWER; in testAddManyTokens() 78 tokens.add(CodePointUtils.generateWord(random, codePointSet)); in testAddManyTokens()
|