/frameworks/base/core/java/android/view/ |
D | AccessibilityIterators.java | 270 final int textLength = mText.length(); in following() local 271 if (textLength <= 0) { in following() 274 if (offset >= textLength) { in following() 281 while (start < textLength && mText.charAt(start) == '\n' in following() 285 if (start >= textLength) { in following() 289 while (end < textLength && !isEndBoundary(end)) { in following() 297 final int textLength = mText.length(); in preceding() local 298 if (textLength <= 0) { in preceding() 305 if (end > textLength) { in preceding() 306 end = textLength; in preceding()
|
/frameworks/minikin/tests/util/ |
D | UnicodeUtils.cpp | 108 const int32_t textLength = static_cast<int32_t>(text.size()); in utf8ToUtf16() local 110 while (i < textLength) { in utf8ToUtf16() 111 U8_NEXT(text.c_str(), i, textLength, c); in utf8ToUtf16() 123 const uint32_t textLength = u16String.size(); in utf16ToUtf8() local 128 out.reserve(textLength * 4); in utf16ToUtf8() 130 while (i < textLength) { in utf16ToUtf8() 131 U16_NEXT(u16String.data(), i, textLength, c); in utf16ToUtf8()
|
/frameworks/base/core/java/android/text/ |
D | BoringLayout.java | 305 private static boolean hasAnyInterestingChars(CharSequence text, int textLength) { in hasAnyInterestingChars() argument 309 for (int start = 0; start < textLength; start += MAX_BUF_LEN) { in hasAnyInterestingChars() 310 final int end = Math.min(start + MAX_BUF_LEN, textLength); in hasAnyInterestingChars() 339 final int textLength = text.length(); in isBoring() local 340 if (hasAnyInterestingChars(text, textLength)) { in isBoring() 343 if (textDir != null && textDir.isRtl(text, 0, textLength)) { in isBoring() 348 Object[] styles = sp.getSpans(0, textLength, ParagraphStyle.class); in isBoring() 362 line.set(paint, text, 0, textLength, Layout.DIR_LEFT_TO_RIGHT, in isBoring()
|
D | Layout.java | 454 int textLength = buf.length(); in drawText() local 468 spanEnd = sp.nextSpanTransition(start, textLength, in drawText() 599 int textLength = buffer.length(); in drawBackground() local 600 mLineBackgroundSpans.init(buffer, 0, textLength); in drawBackground() 623 spanEnd = mLineBackgroundSpans.getNextTransition(start, textLength); in drawBackground()
|
/frameworks/base/core/java/android/widget/ |
D | AccessibilityIterators.java | 137 final int textLength = mText.length(); in following() local 138 if (textLength <= 0) { in following() 166 final int textLength = mText.length(); in preceding() local 167 if (textLength <= 0) { in preceding()
|
D | Editor.java | 1232 final int textLength = mTextView.getText().length(); in getCharClusterRange() local 1233 if (offset < textLength) { in getCharClusterRange() 2881 final int textLength = text.length(); in addSpanWatchers() local 2884 text.setSpan(mKeyListener, 0, textLength, Spanned.SPAN_INCLUSIVE_INCLUSIVE); in addSpanWatchers() 2890 text.setSpan(mSpanController, 0, textLength, Spanned.SPAN_INCLUSIVE_INCLUSIVE); in addSpanWatchers()
|
D | TextView.java | 6275 final int textLength = text.length(); in setText() local 6289 sp.setSpan(mChangeWatcher, 0, textLength, Spanned.SPAN_INCLUSIVE_INCLUSIVE in setText() 6295 sp.setSpan(mTransformation, 0, textLength, Spanned.SPAN_INCLUSIVE_INCLUSIVE); in setText() 6314 sendOnTextChanged(text, 0, oldlen, textLength); in setText() 6315 onTextChanged(text, 0, oldlen, textLength); in setText()
|
/frameworks/native/include/android/ |
D | font_matcher.h | 217 const uint32_t textLength,
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | ValueParser.java | 233 int textLength = rawValue[valueIndex + 1] & 0xff; in retrieveTextAttribute() local 254 TextAttribute attr = new TextAttribute(start, textLength, in retrieveTextAttribute()
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | TextClassifier.java | 687 int textLength = text.length(); in checkTextLength() local 688 return textLength >= 0 && textLength <= maxLength; in checkTextLength()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | PasswordTextView.java | 270 int textLength = mTextChars.size(); in getTransformedText() local 271 StringBuilder stringBuilder = new StringBuilder(textLength); in getTransformedText() 272 for (int i = 0; i < textLength; i++) { in getTransformedText()
|
/frameworks/base/native/android/ |
D | system_fonts.cpp | 256 const uint32_t textLength, in AFontMatcher_match() argument 261 minikin::U16StringPiece(text, textLength), in AFontMatcher_match()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientEditTextView.java | 2213 final int textLength = displayText.length() - 1; in createChip() local 2218 chipText.setSpan(chip, 0, textLength, in createChip()
|