Searched refs:dest2 (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/text/src/android/text/cts/ |
D | LoginFilterTest.java | 36 Spanned dest2 = new SpannedString("&*dest_with_invalid_char#$"); in testFilter() local 51 assertNull(loginFilter.filter(source1, 0, source1.length(), dest2, 5, 6)); in testFilter()
|
D | TextUtilsTest.java | 210 SpannableString dest2 = new SpannableString(text); in testCopySpansFrom() local 211 TextUtils.copySpansFrom(source2, 0, source2.length(), Object.class, dest2, 0); in testCopySpansFrom() 212 spans = dest2.getSpans(0, dest2.length(), Object.class); in testCopySpansFrom() 216 assertEquals(0, dest2.getSpanStart(urlSpan)); in testCopySpansFrom() 217 assertEquals(source2.length() - 1, dest2.getSpanEnd(urlSpan)); in testCopySpansFrom() 218 assertEquals(Spanned.SPAN_EXCLUSIVE_INCLUSIVE, dest2.getSpanFlags(urlSpan)); in testCopySpansFrom()
|