Home
last modified time | relevance | path

Searched refs:textLength (Results 1 – 7 of 7) sorted by relevance

/packages/apps/ContactsCommon/src/com/android/contacts/common/format/
DFormatUtils.java146 int textLength = text.length(); in indexOfWordPrefix() local
149 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()
/packages/apps/Calculator/src/com/android/calculator2/
DCalculatorEditText.java133 final int textLength = text.length(); in onTextChanged() local
134 if (getSelectionStart() != textLength || getSelectionEnd() != textLength) { in onTextChanged()
136 setSelection(textLength); in onTextChanged()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DFolderDisplayer.java209 final int textLength = (int) paint.measureText(name); in drawFolder() local
245 textX = width - res.folderHorizontalPadding - textLength; in drawFolder()
254 if (textLength > width - 2 * res.folderHorizontalPadding) { in drawFolder()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DTextCandidatesViewManager.java879 int textLength = measureText(word.candidate, 0, word.candidate.length()); in setCandidate() local
881 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()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DRichInputConnection.java944 final int textLength = textBeforeCursor.length(); in tryFixLyingCursorPosition() local
945 if (textLength < Constants.EDITOR_CONTENTS_CACHE_SIZE in tryFixLyingCursorPosition()
946 && (textLength > mExpectedSelStart in tryFixLyingCursorPosition()
952 mExpectedSelStart = textLength; in tryFixLyingCursorPosition()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
DKeyCodeDescriptionMapper.java352 final int textLength = outputText.length(); in getSpokenEmoticonDescription() local
353 for (int index = 0; index < textLength; index = outputText.offsetByCodePoints(index, 1)) { in getSpokenEmoticonDescription()
/packages/apps/Browser2/test/webexposed/
Dglobal-interface-listing-expected.txt2383 getter textLength
4369 getter textLength