Home
last modified time | relevance | path

Searched refs:mPrevWordsCount (Results 1 – 2 of 2) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DNgramContext.java107 private final int mPrevWordsCount; field in NgramContext
118 mPrevWordsCount = prevWordsInfo.length; in NgramContext()
127 final int nextPrevWordCount = Math.min(mMaxPrevWordCount, mPrevWordsCount + 1); in getNextNgramContext()
183 return mPrevWordsCount > 0 && mPrevWordsInfo[0].isValid(); in isValid()
187 return mPrevWordsCount > 0 && mPrevWordsInfo[0].mIsBeginningOfSentence; in isBeginningOfSentenceContext()
193 if (n <= 0 || n > mPrevWordsCount) { in getNthPrevWord()
202 if (n <= 0 || n > mPrevWordsCount) { in isNthPrevWordBeginningOfSentence()
210 for (int i = 0; i < mPrevWordsCount; i++) { in outputToArray()
223 return mPrevWordsCount; in getPrevWordCount()
244 final int minLength = Math.min(mPrevWordsCount, prevWordsInfo.mPrevWordsCount); in equals()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DWordInputEventForPersonalization.java38 public final int mPrevWordsCount; field in WordInputEventForPersonalization
50 mPrevWordsCount = ngramContext.getPrevWordCount(); in WordInputEventForPersonalization()