Searched refs:textLength (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/libs/hwui/tests/common/scenes/
H A DGlyphStressAnimation.cpp47 ssize_t textLength = 26 * 2; variable
58 canvas.drawText(text.get(), 0, textLength, textLength,
/frameworks/base/core/java/android/view/
H A DAccessibilityIterators.java267 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/base/core/java/android/widget/
H A DAccessibilityIterators.java137 final int textLength = mText.length();
138 if (textLength <= 0) {
166 final int textLength = mText.length();
167 if (textLength <= 0) {
H A DEditor.java968 final int textLength = mTextView.getText().length();
969 if (offset < textLength) {
2467 final int textLength = text.length();
2470 text.setSpan(mKeyListener, 0, textLength, Spanned.SPAN_INCLUSIVE_INCLUSIVE);
2476 text.setSpan(mSpanController, 0, textLength, Spanned.SPAN_INCLUSIVE_INCLUSIVE);
H A DTextView.java4439 final int textLength = text.length();
4453 sp.setSpan(mChangeWatcher, 0, textLength, Spanned.SPAN_INCLUSIVE_INCLUSIVE |
4459 sp.setSpan(mTransformation, 0, textLength, Spanned.SPAN_INCLUSIVE_INCLUSIVE);
4478 sendOnTextChanged(text, 0, oldlen, textLength);
4479 onTextChanged(text, 0, oldlen, textLength);
/frameworks/base/core/java/android/text/
H A DBoringLayout.java252 final int textLength = text.length();
256 for (int start = 0; start < textLength; start += MAX_BUF_LEN) {
257 final int end = Math.min(start + MAX_BUF_LEN, textLength);
293 Object[] styles = sp.getSpans(0, textLength, ParagraphStyle.class);
308 line.set(paint, text, 0, textLength, Layout.DIR_LEFT_TO_RIGHT,
H A DLayout.java286 int textLength = buf.length();
300 spanEnd = sp.nextSpanTransition(start, textLength,
422 int textLength = buffer.length();
423 mLineBackgroundSpans.init(buffer, 0, textLength);
446 spanEnd = mLineBackgroundSpans.getNextTransition(start, textLength);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DValueParser.java231 int textLength = rawValue[valueIndex + 1] & 0xff;
252 TextAttribute attr = new TextAttribute(start, textLength,
/frameworks/opt/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java1988 final int textLength = displayText.length() - 1;
1993 chipText.setSpan(chip, 0, textLength,
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 333 milliseconds