Searched refs:wordLen (Results 1 – 3 of 3) sorted by relevance
/aosp12/frameworks/base/apct-tests/perftests/core/src/android/text/ |
H A D | TextPerfUtils.java | 67 public CharSequence nextRandomParagraph(int wordLen, boolean applyRandomStyle, String setStr) { in nextRandomParagraph() argument 68 return nextRandomParagraph(wordLen, PARA_LENGTH, applyRandomStyle, in nextRandomParagraph() 72 public CharSequence nextRandomParagraph(int wordLen, boolean applyRandomStyle) { in nextRandomParagraph() argument 73 return nextRandomParagraph(wordLen, PARA_LENGTH, applyRandomStyle, ALPHABET); in nextRandomParagraph() 76 public CharSequence nextRandomParagraph(int wordLen, int paraLength) { in nextRandomParagraph() argument 77 return nextRandomParagraph(wordLen, paraLength, false /* no style */, ALPHABET); in nextRandomParagraph() 80 public CharSequence nextRandomParagraph(int wordLen, int paraLength, boolean applyRandomStyle, in nextRandomParagraph() argument 85 if (i % (wordLen + 1) == wordLen) { in nextRandomParagraph()
|
/aosp12/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
H A D | BinaryDictIOUtils.java | 175 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()
|
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | ContactsBinaryDictionary.java | 148 final int wordLen = StringUtils.codePointCount(word); in addNameLocked() local 149 if (wordLen <= MAX_WORD_LENGTH && wordLen > 1) { in addNameLocked()
|