Searched refs:prevWord (Results 1 – 4 of 4) sorted by relevance
110 jintArray prevWord = (jintArray)env->GetObjectArrayElement(prevWordCodePointArrays, i); in constructNgramContext() local111 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()
47 int prevWord[previousWordLength]; in latinime_initDicTraverseSession() local48 env->GetIntArrayRegion(previousWord, 0, previousWordLength, prevWord); in latinime_initDicTraverseSession()49 NgramContext ngramContext(prevWord, previousWordLength, false /* isStartOfSentence */); in latinime_initDicTraverseSession()
203 final CharSequence prevWord; in onGetSuggestionsMultiple() local210 prevWord = TextUtils.isEmpty(prevWordCandidate) ? null : prevWordCandidate; in onGetSuggestionsMultiple()212 prevWord = null; in onGetSuggestionsMultiple()215 new NgramContext(new NgramContext.WordInfo(prevWord)); in onGetSuggestionsMultiple()
222 final String prevWord = prevWordInfo.mWord; in getTypedWordAndPreviousSuggestions() local224 if (!alreadySeen.contains(prevWord)) { in getTypedWordAndPreviousSuggestions()226 alreadySeen.add(prevWord); in getTypedWordAndPreviousSuggestions()