Searched refs:codePoints (Results 1 – 5 of 5) sorted by relevance
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | StringUtils.java | 171 final int[] codePoints = new int[Character.codePointCount(characters, 0, length)]; in toCodePointArray() local 179 codePoints[dsti] = codePoint; in toCodePointArray() 182 codePoints[dsti] = codePoint; in toCodePointArray() 183 return codePoints; in toCodePointArray()
|
D | BinaryDictionary.java | 204 int[] codePoints = StringUtils.toCodePointArray(word.toString()); in getFrequency() local 205 return getFrequencyNative(mNativeDict, codePoints); in getFrequency()
|
/packages/inputmethods/LatinIME/native/jni/ |
D | com_android_inputmethod_latin_BinaryDictionary.cpp | 206 int codePoints[codePointLength]; in latinime_BinaryDictionary_getFrequency() local 207 env->GetIntArrayRegion(wordArray, 0, codePointLength, codePoints); in latinime_BinaryDictionary_getFrequency() 208 return dictionary->getFrequency(codePoints, codePointLength); in latinime_BinaryDictionary_getFrequency()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
D | FusionDictionary.java | 287 final int[] codePoints = new int[Character.codePointCount(characters, 0, length)]; in getCodePoints() local 292 codePoints[dsti] = codePoint; in getCodePoints() 295 codePoints[dsti] = codePoint; in getCodePoints() 296 return codePoints; in getCodePoints()
|
D | BinaryDictInputOutput.java | 181 private static int writeCharArray(final int[] codePoints, final byte[] buffer, int index) { in writeCharArray() argument 182 for (int codePoint : codePoints) { in writeCharArray()
|