Home
last modified time | relevance | path

Searched refs:codePoints (Results 1 – 5 of 5) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DStringUtils.java171 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()
DBinaryDictionary.java204 int[] codePoints = StringUtils.toCodePointArray(word.toString()); in getFrequency() local
205 return getFrequencyNative(mNativeDict, codePoints); in getFrequency()
/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_latin_BinaryDictionary.cpp206 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/
DFusionDictionary.java287 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()
DBinaryDictInputOutput.java181 private static int writeCharArray(final int[] codePoints, final byte[] buffer, int index) { in writeCharArray() argument
182 for (int codePoint : codePoints) { in writeCharArray()