Searched refs:underlineSpans (Results 1 – 2 of 2) sorted by relevance
567 UnderlineSpan[] underlineSpans = builder.getSpans(0, 10, UnderlineSpan.class); in testGetSpans() local568 assertEquals(2, underlineSpans.length); in testGetSpans()569 assertSame(span1, underlineSpans[0]); in testGetSpans()570 assertSame(span2, underlineSpans[1]); in testGetSpans()
4076 final UnderlineSpan[] underlineSpans = mTextView.getEditableText().getSpans( in testSetExtractedText() local4078 assertEquals(1, underlineSpans.length); in testSetExtractedText()4079 assertEquals(1, editable.getSpanStart(underlineSpans[0])); in testSetExtractedText()4080 assertEquals(3, editable.getSpanEnd(underlineSpans[0])); in testSetExtractedText()