Searched refs:codePointSet (Results 1 – 6 of 6) sorted by relevance
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
D | CodePointUtils.java | 73 final int[] codePointSet = new int[codePointSetSize]; in generateCodePointSet() local 74 for (int i = codePointSet.length - 1; i >= 0; ) { in generateCodePointSet() 87 codePointSet[i] = candidateCodePoint; in generateCodePointSet() 90 return codePointSet; in generateCodePointSet() 99 @Nonnull final int[] codePointSet) { in generateWord() argument 113 builder.appendCodePoint(codePointSet[Math.abs(random.nextInt()) % codePointSet.length]); in generateWord()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | BinaryDictionaryTests.java | 264 final int[] codePointSet = CodePointUtils.generateCodePointSet(codePointSetSize, random); in testRandomlyAddUnigramWord() local 266 final String word = CodePointUtils.generateWord(random, codePointSet); in testRandomlyAddUnigramWord() 342 final int[] codePointSet = CodePointUtils.generateCodePointSet(codePointSetSize, random); in testRandomlyAddBigramWords() local 347 final String word = CodePointUtils.generateWord(random, codePointSet); in testRandomlyAddBigramWords() 484 final int[] codePointSet = CodePointUtils.generateCodePointSet(codePointSetSize, random); in testAddBigramWordsAndFlashWithGC() local 489 final String word = CodePointUtils.generateWord(random, codePointSet); in testAddBigramWordsAndFlashWithGC() 547 final int[] codePointSet = CodePointUtils.generateCodePointSet(codePointSetSize, random); in testRandomOperationsAndFlashWithGC() local 551 final String word = CodePointUtils.generateWord(random, codePointSet); in testRandomOperationsAndFlashWithGC() 565 final String word = CodePointUtils.generateWord(random, codePointSet); in testRandomOperationsAndFlashWithGC() 631 final int[] codePointSet = CodePointUtils.generateCodePointSet(codePointSetSize, random); in testAddManyUnigramsAndFlushWithGC() local [all …]
|
D | LatinImeStressTests.java | 33 final int[] codePointSet = CodePointUtils.LATIN_ALPHABETS_LOWER; in testSwitchLanguagesAndInputLatinRandomCodePoints() local 39 final String word = CodePointUtils.generateWord(random, codePointSet); in testSwitchLanguagesAndInputLatinRandomCodePoints() 51 final int[] codePointSet = CodePointUtils.generateCodePointSet(codePointSetSize, random); in testSwitchLanguagesAndInputRandomCodePoints() local 57 final String word = CodePointUtils.generateWord(random, codePointSet); in testSwitchLanguagesAndInputRandomCodePoints()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | BinaryDictDecoderEncoderTests.java | 111 final int[] codePointSet = CodePointUtils.generateCodePointSet(DEFAULT_CODE_POINT_SET_SIZE, in generateWords() local 115 wordSet.add(CodePointUtils.generateWord(random, codePointSet)); in generateWords() 575 final int[] codePointSet = CodePointUtils.generateCodePointSet(DEFAULT_CODE_POINT_SET_SIZE, 578 final String word = CodePointUtils.generateWord(mRandom, codePointSet);
|
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/dicttool/ |
D | BinaryDictOffdeviceUtilsTests.java | 68 final int[] codePointSet = CodePointUtils.generateCodePointSet( in generateWords() local 72 wordSet.add(CodePointUtils.generateWord(random, codePointSet)); in generateWords()
|
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
D | StringUtil.java | 3143 Set<Integer> codePointSet = new HashSet<Integer>(); field in StringUtil.UnicodeSetBuilder 3146 codePointSet.add(c); in addCodePoint() 3152 codePointSet.add(i); in addRange() 3158 return codePointSet; in create()
|