Home
last modified time | relevance | path

Searched refs:spanLength (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/apct-tests/perftests/core/src/android/widget/
DTextViewOnMeasurePerfTest.java89 int spanLength = 1 + random.nextInt(9); // Up to 9 span length.
90 if (pos + spanLength > ssb.length()) {
91 spanLength = ssb.length() - pos;
93 ssb.setSpan(span, pos, pos + spanLength, Spanned.SPAN_INCLUSIVE_EXCLUSIVE); in ssb.setSpan() argument
94 pos += spanLength;
/frameworks/base/core/java/android/text/
DLayout.java2069 int spanLength = spans.length; in getParagraphAlignment() local
2070 if (spanLength > 0) { in getParagraphAlignment()
2071 align = spans[spanLength-1].getAlignment(); in getParagraphAlignment()