Searched refs:spanString (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/text/src/android/text/cts/ |
D | TextUtilsTest.java | 740 SpannableString spanString = new SpannableString("same object"); in testEquals() local 742 spanString.setSpan(new URLSpan(url), 0, spanString.length(), in testEquals() 744 assertTrue(TextUtils.equals(spanString, spanString)); in testEquals() 763 assertFalse(TextUtils.equals(spanString, urlSpanString)); in testEquals() 764 assertFalse(TextUtils.equals(spanString, bgColorSpanString)); in testEquals() 768 assertFalse(TextUtils.equals(spanString, null)); in testEquals()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewTest.java | 544 Spannable spanString = (Spannable) mTextView.getText(); in testAccessAutoLinkMask() local 545 URLSpan[] spans = spanString.getSpans(0, spanString.length(), URLSpan.class); in testAccessAutoLinkMask() 560 spanString = (Spannable) mTextView.getText(); in testAccessAutoLinkMask() 561 spans = spanString.getSpans(0, spanString.length(), URLSpan.class); in testAccessAutoLinkMask()
|