Searched refs:source2 (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/text/src/android/text/cts/ |
D | LoginFilterTest.java | 52 String source2 = "+=source_with_invalid_char%!"; in testFilter() local 71 assertNull(loginFilter.filter(source2, 0, source2.length(), in testFilter() 85 result = loginFilter.filter(source2, 0, source2.length(), dest1, 0, dest1.length()); in testFilter()
|
D | TextUtilsTest.java | 391 SpannableString source2 = new SpannableString(text); in testCopySpansFrom() local 392 source2.setSpan(urlSpan, 0, source2.length() - 1, Spanned.SPAN_EXCLUSIVE_INCLUSIVE); in testCopySpansFrom() 394 TextUtils.copySpansFrom(source2, 0, source2.length(), Object.class, dest2, 0); in testCopySpansFrom() 400 assertEquals(source2.length() - 1, dest2.getSpanEnd(urlSpan)); in testCopySpansFrom() 404 TextUtils.copySpansFrom(source2, 0, source2.length(), BackgroundColorSpan.class, dest3, 0); in testCopySpansFrom() 407 TextUtils.copySpansFrom(source2, 0, source2.length(), URLSpan.class, dest3, 0); in testCopySpansFrom() 413 TextUtils.copySpansFrom(source2, 0, source2.length(), Object.class, dest4, 0); in testCopySpansFrom() 418 TextUtils.copySpansFrom(source2, 0, dest4.length(), Object.class, dest4, 0); in testCopySpansFrom() 427 TextUtils.copySpansFrom(source2, 0, source2.length(), Object.class, dest5, 0); in testCopySpansFrom() 432 TextUtils.copySpansFrom(source2, 0, source2.length(), Object.class, dest5, 2); in testCopySpansFrom() [all …]
|