Searched refs:textLength (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/jni/android/graphics/ |
D | Paint.cpp | 341 size_t textLength = env->GetArrayLength(text); in measureText_CII() local 342 if ((index | count) < 0 || (size_t)(index + count) > textLength) { in measureText_CII() 354 TextLayout::getTextRunAdvances(paint, textArray, index, count, textLength, in measureText_CII() 369 size_t textLength = env->GetStringLength(text); in measureText_StringII() local 371 if ((start | count) < 0 || (size_t)end > textLength) { in measureText_StringII() 384 TextLayout::getTextRunAdvances(paint, textArray, start, count, textLength, in measureText_StringII() 398 size_t textLength = env->GetStringLength(text); in measureText_String() local 399 if (textLength == 0) { in measureText_String() 408 TextLayout::getTextRunAdvances(paint, textArray, 0, textLength, textLength, in measureText_String() 411 width = SkScalarToFloat(paint->measureText(textArray, textLength << 1)); in measureText_String()
|
/frameworks/base/telephony/java/com/android/internal/telephony/cat/ |
D | ValueParser.java | 229 int textLength = rawValue[valueIndex + 1] & 0xff; in retrieveTextAttribute() local 250 TextAttribute attr = new TextAttribute(start, textLength, in retrieveTextAttribute()
|
/frameworks/ex/chips/src/com/android/ex/chips/ |
D | RecipientEditTextView.java | 261 int textLength = getText().length(); in onSelectionChanged() local 262 RecipientChip[] chips = span.getSpans(start, textLength, RecipientChip.class); in onSelectionChanged() 266 setSelection(Math.min(span.getSpanEnd(chips[chips.length - 1]) + 1, textLength)); in onSelectionChanged() local 783 int textLength = destText.length() - 1; in createReplacementChip() local 790 chipText.setSpan(chip, 0, textLength, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in createReplacementChip() 1327 int textLength = displayText.length()-1; in createChip() local 1333 chipText.setSpan(chip, 0, textLength, in createChip()
|
/frameworks/base/core/java/android/text/ |
D | Layout.java | 234 int textLength = 0; in draw() local 242 textLength = buf.length(); in draw() 256 spanEnd = sp.nextSpanTransition(start, textLength, in draw() 333 spanEnd = sp.nextSpanTransition(start, textLength, in draw()
|
/frameworks/base/core/java/android/widget/ |
D | TextView.java | 3217 final int textLength = text.length(); in setText() local 3232 sp.setSpan(mChangeWatcher, 0, textLength, Spanned.SPAN_INCLUSIVE_INCLUSIVE | in setText() 3236 sp.setSpan(mInput, 0, textLength, Spanned.SPAN_INCLUSIVE_INCLUSIVE); in setText() 3240 sp.setSpan(mTransformation, 0, textLength, Spanned.SPAN_INCLUSIVE_INCLUSIVE); in setText() 3259 sendOnTextChanged(text, 0, oldlen, textLength); in setText() 3260 onTextChanged(text, 0, oldlen, textLength); in setText() 3264 updateSpellCheckSpans(0, textLength); in setText() 8867 final int textLength = mText.length(); in getCharRange() local 8868 if (offset + 1 < textLength) { in getCharRange() 8875 if (offset < textLength) { in getCharRange()
|