Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DNgramContext.java106 private final WordInfo[] mPrevWordsInfo; field in NgramContext
117 mPrevWordsInfo = prevWordsInfo; in NgramContext()
130 System.arraycopy(mPrevWordsInfo, 0, prevWordsInfo, 1, nextPrevWordCount - 1); in getNextNgramContext()
142 for (int i = mPrevWordsInfo.length - 1; i >= 0; --i) { in extractPrevWordsContext()
143 if (mPrevWordsInfo[i] != null && mPrevWordsInfo[i].isValid()) { in extractPrevWordsContext()
144 final NgramContext.WordInfo wordInfo = mPrevWordsInfo[i]; in extractPrevWordsContext()
165 for (int i = mPrevWordsInfo.length - 1; i >= 0; --i) { in extractPrevWordsContextArray()
166 if (mPrevWordsInfo[i] != null && mPrevWordsInfo[i].isValid()) { in extractPrevWordsContextArray()
167 final NgramContext.WordInfo wordInfo = mPrevWordsInfo[i]; in extractPrevWordsContextArray()
183 return mPrevWordsCount > 0 && mPrevWordsInfo[0].isValid(); in isValid()
[all …]