Searched refs:spanLength (Results 1 – 2 of 2) sorted by relevance
89 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() argument94 pos += spanLength;
2069 int spanLength = spans.length; in getParagraphAlignment() local2070 if (spanLength > 0) { in getParagraphAlignment()2071 align = spans[spanLength-1].getAlignment(); in getParagraphAlignment()