Searched refs:prevWordCodePointArrays (Results 1 – 3 of 3) sorted by relevance
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | BinaryDictionary.java | 183 private static native int getNgramProbabilityNative(long dict, int[][] prevWordCodePointArrays, in getNgramProbabilityNative() argument 196 int[][] prevWordCodePointArrays, boolean[] isBeginningOfSentenceArray, in getSuggestionsNative() argument 206 int[][] prevWordCodePointArrays, boolean[] isBeginningOfSentenceArray, in addNgramEntryNative() argument 209 int[][] prevWordCodePointArrays, boolean[] isBeginningOfSentenceArray, int[] word); in removeNgramEntryNative() argument 211 int[][] prevWordCodePointArrays, boolean[] isBeginningOfSentenceArray, in updateEntriesForWordWithNgramContextNative() argument 383 final int[][] prevWordCodePointArrays = new int[ngramContext.getPrevWordCount()][]; in getNgramProbability() local 385 ngramContext.outputToArray(prevWordCodePointArrays, isBeginningOfSentenceArray); in getNgramProbability() 387 return getNgramProbabilityNative(mNativeDict, prevWordCodePointArrays, in getNgramProbability() 480 final int[][] prevWordCodePointArrays = new int[ngramContext.getPrevWordCount()][]; in addNgramEntry() local 482 ngramContext.outputToArray(prevWordCodePointArrays, isBeginningOfSentenceArray); in addNgramEntry() [all …]
|
/packages/inputmethods/LatinIME/native/jni/ |
D | com_android_inputmethod_latin_BinaryDictionary.cpp | 182 jobjectArray prevWordCodePointArrays, jbooleanArray isBeginningOfSentenceArray, in latinime_BinaryDictionary_getSuggestions() argument 246 prevWordCodePointArrays, isBeginningOfSentenceArray, prevWordCount); in latinime_BinaryDictionary_getSuggestions() 285 jlong dict, jobjectArray prevWordCodePointArrays, jbooleanArray isBeginningOfSentenceArray, in latinime_BinaryDictionary_getNgramProbability() argument 293 prevWordCodePointArrays, isBeginningOfSentenceArray, in latinime_BinaryDictionary_getNgramProbability() 294 env->GetArrayLength(prevWordCodePointArrays)); in latinime_BinaryDictionary_getNgramProbability() 399 jobjectArray prevWordCodePointArrays, jbooleanArray isBeginningOfSentenceArray, in latinime_BinaryDictionary_addNgramEntry() argument 406 prevWordCodePointArrays, isBeginningOfSentenceArray, in latinime_BinaryDictionary_addNgramEntry() 407 env->GetArrayLength(prevWordCodePointArrays)); in latinime_BinaryDictionary_addNgramEntry() 419 jobjectArray prevWordCodePointArrays, jbooleanArray isBeginningOfSentenceArray, in latinime_BinaryDictionary_removeNgramEntry() argument 426 prevWordCodePointArrays, isBeginningOfSentenceArray, in latinime_BinaryDictionary_removeNgramEntry() [all …]
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
D | jni_data_utils.h | 102 static NgramContext constructNgramContext(JNIEnv *env, jobjectArray prevWordCodePointArrays, in constructNgramContext() argument 110 jintArray prevWord = (jintArray)env->GetObjectArrayElement(prevWordCodePointArrays, i); in constructNgramContext()
|