Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DNgramContextTests.java32 assertEquals(new NgramContext(WordInfo.EMPTY_WORD_INFO), in testConstruct()
33 new NgramContext(WordInfo.EMPTY_WORD_INFO)); in testConstruct()
34 assertEquals(new NgramContext(WordInfo.EMPTY_WORD_INFO), in testConstruct()
35 new NgramContext(WordInfo.EMPTY_WORD_INFO)); in testConstruct()
45 assertFalse(new NgramContext(WordInfo.EMPTY_WORD_INFO).isBeginningOfSentenceContext()); in testIsBeginningOfSentenceContext()
51 WordInfo.EMPTY_WORD_INFO, WordInfo.BEGINNING_OF_SENTENCE_WORD_INFO) in testIsBeginningOfSentenceContext()
87 final NgramContext ngramContext_empty = new NgramContext(WordInfo.EMPTY_WORD_INFO); in testExtractPrevWordsContextTest()
118 final NgramContext ngramContext_empty = new NgramContext(WordInfo.EMPTY_WORD_INFO); in testExtractPrevWordsContextArray()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DNgramContext.java37 new NgramContext(WordInfo.EMPTY_WORD_INFO);
47 return new NgramContext(maxPrevWordCount, WordInfo.EMPTY_WORD_INFO); in getEmptyPrevWordsContext()
55 public static final WordInfo EMPTY_WORD_INFO = new WordInfo(null); field in NgramContext.WordInfo
230 if (wordInfo == null || !WordInfo.EMPTY_WORD_INFO.equals(wordInfo)) { in hashCode()
261 && !WordInfo.EMPTY_WORD_INFO.equals(longerWordsInfo[i])) { in equals()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DNgramContextUtils.java69 Arrays.fill(prevWordsInfo, WordInfo.EMPTY_WORD_INFO); in getNgramContextFromNthPreviousWord()