Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DAccessibilityIterators.java267 final int textLength = mText.length(); in following() local
268 if (textLength <= 0) { in following()
271 if (offset >= textLength) { in following()
278 while (start < textLength && mText.charAt(start) == '\n' in following()
282 if (start >= textLength) { in following()
286 while (end < textLength && !isEndBoundary(end)) { in following()
294 final int textLength = mText.length(); in preceding() local
295 if (textLength <= 0) { in preceding()
302 if (end > textLength) { in preceding()
303 end = textLength; in preceding()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DValueParser.java231 int textLength = rawValue[valueIndex + 1] & 0xff; in retrieveTextAttribute() local
252 TextAttribute attr = new TextAttribute(start, textLength, in retrieveTextAttribute()
/frameworks/base/core/jni/android/graphics/
DPaint.cpp577 size_t textLength = env->GetArrayLength(text); in measureText_CIII() local
578 if ((index | count) < 0 || (size_t)(index + count) > textLength) { in measureText_CIII()
604 size_t textLength = env->GetStringLength(text); in measureText_StringIII() local
606 if ((start | count) < 0 || (size_t)end > textLength) { in measureText_StringIII()
633 size_t textLength = env->GetStringLength(text); in measureText_StringI() local
634 if (textLength == 0) { in measureText_StringI()
644 … MinikinUtils::doLayout(&layout, paint, bidiFlags, typeface, textArray, 0, textLength, textLength); in measureText_StringI()
/frameworks/base/core/java/android/text/
DLayout.java300 int textLength = buf.length(); in drawText() local
314 spanEnd = sp.nextSpanTransition(start, textLength, in drawText()
436 int textLength = buffer.length(); in drawBackground() local
437 mLineBackgroundSpans.init(buffer, 0, textLength); in drawBackground()
460 spanEnd = mLineBackgroundSpans.getNextTransition(start, textLength); in drawBackground()
/frameworks/base/core/java/android/widget/
DEditor.java883 final int textLength = mTextView.getText().length(); in getCharClusterRange() local
884 if (offset < textLength) { in getCharClusterRange()
2210 final int textLength = text.length(); in addSpanWatchers() local
2213 text.setSpan(mKeyListener, 0, textLength, Spanned.SPAN_INCLUSIVE_INCLUSIVE); in addSpanWatchers()
2219 text.setSpan(mSpanController, 0, textLength, Spanned.SPAN_INCLUSIVE_INCLUSIVE); in addSpanWatchers()
DTextView.java4306 final int textLength = text.length(); in setText() local
4320 sp.setSpan(mChangeWatcher, 0, textLength, Spanned.SPAN_INCLUSIVE_INCLUSIVE | in setText()
4326 sp.setSpan(mTransformation, 0, textLength, Spanned.SPAN_INCLUSIVE_INCLUSIVE); in setText()
4345 sendOnTextChanged(text, 0, oldlen, textLength); in setText()
4346 onTextChanged(text, 0, oldlen, textLength); in setText()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java1887 final int textLength = displayText.length() - 1; in createChip() local
1892 chipText.setSpan(chip, 0, textLength, in createChip()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...