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.java43 assertEquals(new NgramContext(WordInfo.EMPTY_WORD_INFO), in testConstruct()
44 new NgramContext(WordInfo.EMPTY_WORD_INFO)); in testConstruct()
45 assertEquals(new NgramContext(WordInfo.EMPTY_WORD_INFO), in testConstruct()
46 new NgramContext(WordInfo.EMPTY_WORD_INFO)); in testConstruct()
57 assertFalse(new NgramContext(WordInfo.EMPTY_WORD_INFO).isBeginningOfSentenceContext()); in testIsBeginningOfSentenceContext()
63 WordInfo.EMPTY_WORD_INFO, WordInfo.BEGINNING_OF_SENTENCE_WORD_INFO) in testIsBeginningOfSentenceContext()
101 final NgramContext ngramContext_empty = new NgramContext(WordInfo.EMPTY_WORD_INFO); in testExtractPrevWordsContextTest()
133 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()