Searched refs:textLength (Results 1 - 7 of 7) sorted by relevance
/frameworks/base/core/java/android/view/ |
H A D | AccessibilityIterators.java | 267 final int textLength = mText.length(); 268 if (textLength <= 0) { 271 if (offset >= textLength) { 278 while (start < textLength && mText.charAt(start) == '\n' 282 if (start >= textLength) { 286 while (end < textLength && !isEndBoundary(end)) { 294 final int textLength = mText.length(); 295 if (textLength <= 0) { 302 if (end > textLength) { 303 end = textLength; [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | ValueParser.java | 231 int textLength = rawValue[valueIndex + 1] & 0xff; 252 TextAttribute attr = new TextAttribute(start, textLength,
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Paint.cpp | 519 size_t textLength = env->GetArrayLength(text); local 520 if ((index | count) < 0 || (size_t)(index + count) > textLength) { 534 MinikinUtils::doLayout(&layout, paint, bidiFlags, typeface, textArray, index, count, textLength); 545 size_t textLength = env->GetStringLength(text); local 547 if ((start | count) < 0 || (size_t)end > textLength) { 561 MinikinUtils::doLayout(&layout, paint, bidiFlags, typeface, textArray, start, count, textLength); 572 size_t textLength = env->GetStringLength(text); local 573 if (textLength == 0) { 583 MinikinUtils::doLayout(&layout, paint, bidiFlags, typeface, textArray, 0, textLength, textLength); [all...] |
/frameworks/base/core/java/android/text/ |
H A D | Layout.java | 244 int textLength = buf.length(); 258 spanEnd = sp.nextSpanTransition(start, textLength, 377 int textLength = buffer.length(); 378 mLineBackgroundSpans.init(buffer, 0, textLength); 401 spanEnd = mLineBackgroundSpans.getNextTransition(start, textLength);
|
/frameworks/base/core/java/android/widget/ |
H A D | Editor.java | 734 final int textLength = mTextView.getText().length(); 735 if (offset + 1 < textLength) { 742 if (offset < textLength) { 1894 final int textLength = text.length(); 1897 text.setSpan(mKeyListener, 0, textLength, Spanned.SPAN_INCLUSIVE_INCLUSIVE); 1903 text.setSpan(mSpanController, 0, textLength, Spanned.SPAN_INCLUSIVE_INCLUSIVE);
|
H A D | TextView.java | 4021 final int textLength = text.length(); 4035 sp.setSpan(mChangeWatcher, 0, textLength, Spanned.SPAN_INCLUSIVE_INCLUSIVE | 4041 sp.setSpan(mTransformation, 0, textLength, Spanned.SPAN_INCLUSIVE_INCLUSIVE); 4060 sendOnTextChanged(text, 0, oldlen, textLength); 4061 onTextChanged(text, 0, oldlen, textLength);
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
H A D | RecipientEditTextView.java | 1838 final int textLength = displayText.length() - 1; 1843 chipText.setSpan(chip, 0, textLength,
|
Completed in 243 milliseconds