Searched refs:underlineSpans (Results 1 – 2 of 2) sorted by relevance
611 UnderlineSpan[] underlineSpans = builder.getSpans(0, 10, UnderlineSpan.class); in testGetSpans() local612 assertEquals(2, underlineSpans.length); in testGetSpans()613 assertSame(span1, underlineSpans[0]); in testGetSpans()614 assertSame(span2, underlineSpans[1]); in testGetSpans()
5754 final UnderlineSpan[] underlineSpans = mTextView.getEditableText().getSpans( in testSetExtractedText() local5756 assertEquals(1, underlineSpans.length); in testSetExtractedText()5757 assertEquals(1, editable.getSpanStart(underlineSpans[0])); in testSetExtractedText()5758 assertEquals(3, editable.getSpanEnd(underlineSpans[0])); in testSetExtractedText()