/frameworks/base/core/java/android/view/ |
D | AccessibilityIterators.java | 261 final int textLength = mText.length(); in following() local 262 if (textLength <= 0) { in following() 265 if (offset >= textLength) { in following() 272 while (start < textLength && mText.charAt(start) == '\n' in following() 276 if (start >= textLength) { in following() 280 while (end < textLength && !isEndBoundary(end)) { in following() 288 final int textLength = mText.length(); in preceding() local 289 if (textLength <= 0) { in preceding() 296 if (end > textLength) { in preceding() 297 end = textLength; in preceding()
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
D | GlyphStressAnimation.cpp | 47 ssize_t textLength = 26 * 2; in doFrame() local 59 canvas->drawText(text.get(), 0, textLength, textLength, in doFrame()
|
/frameworks/base/core/java/android/text/ |
D | BoringLayout.java | 236 private static boolean hasAnyInterestingChars(CharSequence text, int textLength) { in hasAnyInterestingChars() argument 240 for (int start = 0; start < textLength; start += MAX_BUF_LEN) { in hasAnyInterestingChars() 241 final int end = Math.min(start + MAX_BUF_LEN, textLength); in hasAnyInterestingChars() 269 final int textLength = text.length(); in isBoring() local 270 if (hasAnyInterestingChars(text, textLength)) { in isBoring() 273 if (textDir != null && textDir.isRtl(text, 0, textLength)) { in isBoring() 278 Object[] styles = sp.getSpans(0, textLength, ParagraphStyle.class); in isBoring() 292 line.set(paint, text, 0, textLength, Layout.DIR_LEFT_TO_RIGHT, in isBoring()
|
D | Layout.java | 418 int textLength = buf.length(); in drawText() local 432 spanEnd = sp.nextSpanTransition(start, textLength, in drawText() 562 int textLength = buffer.length(); in drawBackground() local 563 mLineBackgroundSpans.init(buffer, 0, textLength); in drawBackground() 586 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 | 993 final int textLength = mTextView.getText().length(); in getCharClusterRange() local 994 if (offset < textLength) { in getCharClusterRange() 2569 final int textLength = text.length(); in addSpanWatchers() local 2572 text.setSpan(mKeyListener, 0, textLength, Spanned.SPAN_INCLUSIVE_INCLUSIVE); in addSpanWatchers() 2578 text.setSpan(mSpanController, 0, textLength, Spanned.SPAN_INCLUSIVE_INCLUSIVE); in addSpanWatchers()
|
D | TextView.java | 5375 final int textLength = text.length(); 5389 sp.setSpan(mChangeWatcher, 0, textLength, Spanned.SPAN_INCLUSIVE_INCLUSIVE 5395 sp.setSpan(mTransformation, 0, textLength, Spanned.SPAN_INCLUSIVE_INCLUSIVE); 5414 sendOnTextChanged(text, 0, oldlen, textLength); 5415 onTextChanged(text, 0, oldlen, textLength);
|
/frameworks/minikin/tests/util/ |
D | UnicodeUtils.cpp | 105 const int32_t textLength = static_cast<int32_t>(text.size()); in utf8ToUtf16() local 107 while (i < textLength) { in utf8ToUtf16() 108 U8_NEXT(text.c_str(), i, textLength, c); in utf8ToUtf16()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | ValueParser.java | 231 int textLength = rawValue[valueIndex + 1] & 0xff; in retrieveTextAttribute() local 252 TextAttribute attr = new TextAttribute(start, textLength, in retrieveTextAttribute()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientEditTextView.java | 2210 final int textLength = displayText.length() - 1; in createChip() local 2215 chipText.setSpan(chip, 0, textLength, in createChip()
|