Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictIOUtils.java175 final int wordLen = word.codePointCount(0, word.length()); in getTerminalPosition() local
177 if (wordPos >= wordLen) return FormatSpec.NOT_VALID_WORD; in getTerminalPosition()
189 if (wordPos + p >= wordLen in getTerminalPosition()
198 if (wordPos + currentInfo.mCharacters.length == wordLen) { in getTerminalPosition()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DContactsBinaryDictionary.java148 final int wordLen = StringUtils.codePointCount(word); in addNameLocked() local
149 if (wordLen <= MAX_WORD_LENGTH && wordLen > 1) { in addNameLocked()