Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/cts/
DTextUtilsTest.java739 SpannableString spanString = new SpannableString("same object"); in testEquals() local
741 spanString.setSpan(new URLSpan(url), 0, spanString.length(), in testEquals()
743 assertTrue(TextUtils.equals(spanString, spanString)); in testEquals()
762 assertFalse(TextUtils.equals(spanString, urlSpanString)); in testEquals()
763 assertFalse(TextUtils.equals(spanString, bgColorSpanString)); in testEquals()
767 assertFalse(TextUtils.equals(spanString, null)); in testEquals()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java535 Spannable spanString = (Spannable) mTextView.getText(); in testAccessAutoLinkMask() local
536 URLSpan[] spans = spanString.getSpans(0, spanString.length(), URLSpan.class); in testAccessAutoLinkMask()
551 spanString = (Spannable) mTextView.getText(); in testAccessAutoLinkMask()
552 spans = spanString.getSpans(0, spanString.length(), URLSpan.class); in testAccessAutoLinkMask()