Home
last modified time | relevance | path

Searched refs:prevWord (Results 1 – 4 of 4) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/utils/
Djni_data_utils.h110 jintArray prevWord = (jintArray)env->GetObjectArrayElement(prevWordCodePointArrays, i); in constructNgramContext() local
111 if (!prevWord) { in constructNgramContext()
114 jsize prevWordLength = env->GetArrayLength(prevWord); in constructNgramContext()
118 env->GetIntArrayRegion(prevWord, 0, prevWordLength, prevWordCodePoints[i]); in constructNgramContext()
119 env->DeleteLocalRef(prevWord); in constructNgramContext()
/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_latin_DicTraverseSession.cpp47 int prevWord[previousWordLength]; in latinime_initDicTraverseSession() local
48 env->GetIntArrayRegion(previousWord, 0, previousWordLength, prevWord); in latinime_initDicTraverseSession()
49 NgramContext ngramContext(prevWord, previousWordLength, false /* isStartOfSentence */); in latinime_initDicTraverseSession()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DAndroidSpellCheckerSession.java203 final CharSequence prevWord; in onGetSuggestionsMultiple() local
210 prevWord = TextUtils.isEmpty(prevWordCandidate) ? null : prevWordCandidate; in onGetSuggestionsMultiple()
212 prevWord = null; in onGetSuggestionsMultiple()
215 new NgramContext(new NgramContext.WordInfo(prevWord)); in onGetSuggestionsMultiple()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DSuggestedWords.java222 final String prevWord = prevWordInfo.mWord; in getTypedWordAndPreviousSuggestions() local
224 if (!alreadySeen.contains(prevWord)) { in getTypedWordAndPreviousSuggestions()
226 alreadySeen.add(prevWord); in getTypedWordAndPreviousSuggestions()