Searched refs:codePointCount (Results 1 – 10 of 10) sorted by relevance
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | ContactsBinaryDictionary.java | 166 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()
|
D | StringUtils.java | 29 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()
|
D | SuggestedWords.java | 133 mCodePointCount = mWordStr.codePointCount(0, mWordStr.length()); in SuggestedWordInfo() 146 public int codePointCount() { in codePointCount() method in SuggestedWords.SuggestedWordInfo
|
D | WordComposer.java | 96 mCodePointSize = mTypedWord.codePointCount(0, mTypedWord.length()); in refreshSize()
|
D | Suggest.java | 473 || (curScore == score && length < suggestions.get(pos).codePointCount())) { in addWord()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeySpecParser.java | 168 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/ |
D | Key.java | 309 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()
|
D | MoreKeysKeyboard.java | 315 if (label != null && StringUtils.codePointCount(label) > 1) { in getMaxKeyWidth()
|
D | KeyboardView.java | 901 if (StringUtils.codePointCount(label) > 1) { in showKeyPreview()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
D | FusionDictionary.java | 277 final int[] codePoints = new int[Character.codePointCount(characters, 0, length)]; in getCodePoints()
|