Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/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/Nfc/src/com/android/nfc/snep/
DSnepMessage.java108 int textLength = textBytes.length; in getLargeNdef() local
110 byte[] payload = new byte[1 + langLength + textLength]; in getLargeNdef()
114 System.arraycopy(textBytes, 0, payload, 1 + langLength, textLength); in getLargeNdef()
126 int textLength = textBytes.length; in getSmallNdef() local
128 byte[] payload = new byte[1 + langLength + textLength]; in getSmallNdef()
132 System.arraycopy(textBytes, 0, payload, 1 + langLength, textLength); in getSmallNdef()
/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/TV/tuner/src/com/android/tv/tuner/data/
DSectionParser.java1950 int textLength = data[pos] & 0xff; in parseDvbShortEvent() local
1951 if (pos + textLength > limit) { in parseDvbShortEvent()
1956 String text = new String(data, pos, textLength); in parseDvbShortEvent()