Searched refs:spanString (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/text/src/android/text/cts/ |
D | TextUtilsTest.java | 531 SpannableString spanString = new SpannableString("same object"); in testEquals() local 533 spanString.setSpan(new URLSpan(url), 0, spanString.length(), in testEquals() 535 assertTrue(TextUtils.equals(spanString, spanString)); in testEquals() 554 assertFalse(TextUtils.equals(spanString, urlSpanString)); in testEquals() 555 assertFalse(TextUtils.equals(spanString, bgColorSpanString)); in testEquals() 559 assertFalse(TextUtils.equals(spanString, null)); in testEquals()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewTest.java | 364 Spannable spanString = (Spannable) mTextView.getText(); in testAccessAutoLinkMask() local 365 URLSpan[] spans = spanString.getSpans(0, spanString.length(), URLSpan.class); in testAccessAutoLinkMask() 382 spanString = (Spannable) mTextView.getText(); in testAccessAutoLinkMask() 383 spans = spanString.getSpans(0, spanString.length(), URLSpan.class); in testAccessAutoLinkMask()
|