Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DContactsBinaryDictionary.java166 int len = name.codePointCount(0, name.length()); in addName()
176 final int wordLen = word.codePointCount(0, word.length()); in addName()
265 int len = name.codePointCount(0, name.length()); in isNameInDictionary()
272 final int wordLen = word.codePointCount(0, word.length()); in isNameInDictionary()
DStringUtils.java29 public static int codePointCount(String text) { in codePointCount() method in StringUtils
31 return text.codePointCount(0, text.length()); in codePointCount()
186 final int[] codePoints = new int[Character.codePointCount(characters, 0, length)]; in toCodePointArray()
DSuggestedWords.java133 mCodePointCount = mWordStr.codePointCount(0, mWordStr.length()); in SuggestedWordInfo()
146 public int codePointCount() { in codePointCount() method in SuggestedWords.SuggestedWordInfo
DWordComposer.java96 mCodePointSize = mTypedWord.codePointCount(0, mTypedWord.length()); in refreshSize()
DSuggest.java473 || (curScore == score && length < suggestions.get(pos).codePointCount())) { in addWord()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeySpecParser.java168 if (StringUtils.codePointCount(outputText) == 1) { in getOutputText()
183 return (StringUtils.codePointCount(label) == 1) ? null : label; in getOutputText()
198 if (StringUtils.codePointCount(outputText) == 1) { in getCode()
205 if (StringUtils.codePointCount(label) == 1) { in getCode()
408 if (StringUtils.codePointCount(text) == 1) { in parseCsvString()
489 return StringUtils.codePointCount(casedText) == 1 in toUpperCaseOfCodeForLocale()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKey.java309 if (StringUtils.codePointCount(mLabel) == 1) { in Key()
325 if (StringUtils.codePointCount(outputText) == 1) { in Key()
504 return StringUtils.codePointCount(mLabel) == 1 ? letterSize : labelSize; in selectTextSize()
DMoreKeysKeyboard.java315 if (label != null && StringUtils.codePointCount(label) > 1) { in getMaxKeyWidth()
DKeyboardView.java901 if (StringUtils.codePointCount(label) > 1) { in showKeyPreview()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
DFusionDictionary.java277 final int[] codePoints = new int[Character.codePointCount(characters, 0, length)]; in getCodePoints()