Home
last modified time | relevance | path

Searched refs:getPrevWordCount (Results 1 – 9 of 9) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DBinaryDictionary.java311 session.mIsBeginningOfSentenceArray, ngramContext.getPrevWordCount(), in getSuggestions()
383 final int[][] prevWordCodePointArrays = new int[ngramContext.getPrevWordCount()][]; in getNgramProbability()
384 final boolean[] isBeginningOfSentenceArray = new boolean[ngramContext.getPrevWordCount()]; in getNgramProbability()
480 final int[][] prevWordCodePointArrays = new int[ngramContext.getPrevWordCount()][]; in addNgramEntry()
481 final boolean[] isBeginningOfSentenceArray = new boolean[ngramContext.getPrevWordCount()]; in addNgramEntry()
498 final int[][] prevWordCodePointArrays = new int[ngramContext.getPrevWordCount()][]; in updateEntriesForWordWithNgramContext()
499 final boolean[] isBeginningOfSentenceArray = new boolean[ngramContext.getPrevWordCount()]; in updateEntriesForWordWithNgramContext()
DNgramContext.java222 public int getPrevWordCount() { in getPrevWordCount() method in NgramContext
/packages/inputmethods/LatinIME/native/jni/src/utils/
Djni_data_utils.cpp58 ngramContext->getPrevWordCount(), intArrayClass, nullptr); in outputWordProperty()
60 env->NewBooleanArray(ngramContext->getPrevWordCount()); in outputWordProperty()
61 for (size_t i = 0; i < ngramContext->getPrevWordCount(); ++i) { in outputWordProperty()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
Ddic_node.h270 return mDicNodeState.mDicNodeStateOutput.getPrevWordCount() > 0; in hasMultipleWords()
493 if (mDicNodeState.mDicNodeStateOutput.getPrevWordCount() == 1 && isFirstLetter()) { in updateInputIndexG()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/
Dngram_context.h43 size_t getPrevWordCount() const { in getPrevWordCount() function
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/internal/
Ddic_node_state_output.h114 int16_t getPrevWordCount() const { in getPrevWordCount() function
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DWordInputEventForPersonalization.java50 mPrevWordsCount = ngramContext.getPrevWordCount(); in WordInputEventForPersonalization()
DCombinedFormatUtils.java78 for (int i = 0; i < ngramProperty.mNgramContext.getPrevWordCount(); i++) { in formatWordProperty()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
DWordProperty.java125 if (ngram.mNgramContext.getPrevWordCount() == 1) { in getBigrams()