Searched refs:textLength (Results 1 – 7 of 7) sorted by relevance
146 int textLength = text.length(); in indexOfWordPrefix() local149 if (prefixLength == 0 || textLength < prefixLength) { in indexOfWordPrefix()154 while (i < textLength) { in indexOfWordPrefix()156 while (i < textLength && !Character.isLetterOrDigit(text.charAt(i))) { in indexOfWordPrefix()160 if (i + prefixLength > textLength) { in indexOfWordPrefix()176 while (i < textLength && Character.isLetterOrDigit(text.charAt(i))) { in indexOfWordPrefix()
133 final int textLength = text.length(); in onTextChanged() local134 if (getSelectionStart() != textLength || getSelectionEnd() != textLength) { in onTextChanged()136 setSelection(textLength); in onTextChanged()
209 final int textLength = (int) paint.measureText(name); in drawFolder() local245 textX = width - res.folderHorizontalPadding - textLength; in drawFolder()254 if (textLength > width - 2 * res.folderHorizontalPadding) { in drawFolder()
879 int textLength = measureText(word.candidate, 0, word.candidate.length()); in setCandidate() local881 textLength += template.getPaddingLeft() + template.getPaddingRight(); in setCandidate()894 …int occupyCount = Math.min((textLength + indentWidth + getCandidateSpaceWidth(isEmojiSymbol)) / in… in setCandidate()949 textLength = Math.max(textLength, indentWidth); in setCandidate()952 int nextEnd = mLineLength + textLength; in setCandidate()971 mLineLength = textLength; in setCandidate()986 int CompareLength = textLength; in setCandidate()1034 if (maxWidth < textLength) { in setCandidate()
944 final int textLength = textBeforeCursor.length(); in tryFixLyingCursorPosition() local945 if (textLength < Constants.EDITOR_CONTENTS_CACHE_SIZE in tryFixLyingCursorPosition()946 && (textLength > mExpectedSelStart in tryFixLyingCursorPosition()952 mExpectedSelStart = textLength; in tryFixLyingCursorPosition()
352 final int textLength = outputText.length(); in getSpokenEmoticonDescription() local353 for (int index = 0; index < textLength; index = outputText.offsetByCodePoints(index, 1)) { in getSpokenEmoticonDescription()
2383 getter textLength4369 getter textLength