Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/cts/
DSpannableStringBuilderTest.java567 UnderlineSpan[] underlineSpans = builder.getSpans(0, 10, UnderlineSpan.class); in testGetSpans() local
568 assertEquals(2, underlineSpans.length); in testGetSpans()
569 assertSame(span1, underlineSpans[0]); in testGetSpans()
570 assertSame(span2, underlineSpans[1]); in testGetSpans()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java4076 final UnderlineSpan[] underlineSpans = mTextView.getEditableText().getSpans( in testSetExtractedText() local
4078 assertEquals(1, underlineSpans.length); in testSetExtractedText()
4079 assertEquals(1, editable.getSpanStart(underlineSpans[0])); in testSetExtractedText()
4080 assertEquals(3, editable.getSpanEnd(underlineSpans[0])); in testSetExtractedText()