Searched refs:textLength (Results 1 – 11 of 11) sorted by relevance
261 final int textLength = mText.length(); in following() local262 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() local289 if (textLength <= 0) { in preceding()296 if (end > textLength) { in preceding()297 end = textLength; in preceding()
47 ssize_t textLength = 26 * 2; in doFrame() local59 canvas->drawText(text.get(), 0, textLength, textLength, in doFrame()
236 private static boolean hasAnyInterestingChars(CharSequence text, int textLength) { in hasAnyInterestingChars() argument240 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() local270 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()
418 int textLength = buf.length(); in drawText() local432 spanEnd = sp.nextSpanTransition(start, textLength, in drawText()562 int textLength = buffer.length(); in drawBackground() local563 mLineBackgroundSpans.init(buffer, 0, textLength); in drawBackground()586 spanEnd = mLineBackgroundSpans.getNextTransition(start, textLength); in drawBackground()
137 final int textLength = mText.length(); in following() local138 if (textLength <= 0) { in following()166 final int textLength = mText.length(); in preceding() local167 if (textLength <= 0) { in preceding()
988 final int textLength = mTextView.getText().length(); in getCharClusterRange() local989 if (offset < textLength) { in getCharClusterRange()2561 final int textLength = text.length(); in addSpanWatchers() local2564 text.setSpan(mKeyListener, 0, textLength, Spanned.SPAN_INCLUSIVE_INCLUSIVE); in addSpanWatchers()2570 text.setSpan(mSpanController, 0, textLength, Spanned.SPAN_INCLUSIVE_INCLUSIVE); in addSpanWatchers()
5356 final int textLength = text.length();5370 sp.setSpan(mChangeWatcher, 0, textLength, Spanned.SPAN_INCLUSIVE_INCLUSIVE5376 sp.setSpan(mTransformation, 0, textLength, Spanned.SPAN_INCLUSIVE_INCLUSIVE);5395 sendOnTextChanged(text, 0, oldlen, textLength);5396 onTextChanged(text, 0, oldlen, textLength);
105 const int32_t textLength = static_cast<int32_t>(text.size()); in utf8ToUtf16() local107 while (i < textLength) { in utf8ToUtf16()108 U8_NEXT(text.c_str(), i, textLength, c); in utf8ToUtf16()
231 int textLength = rawValue[valueIndex + 1] & 0xff; in retrieveTextAttribute() local252 TextAttribute attr = new TextAttribute(start, textLength, in retrieveTextAttribute()
2210 final int textLength = displayText.length() - 1; in createChip() local2215 chipText.setSpan(chip, 0, textLength, in createChip()
META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...