Searched refs:source2 (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/text/src/android/text/cts/ |
D | LoginFilterTest.java | 38 String source2 = "+=source_with_invalid_char%!"; in testFilter() local 57 assertNull(loginFilter.filter(source2, 0, source2.length(), in testFilter() 71 result = loginFilter.filter(source2, 0, source2.length(), dest1, 0, dest1.length()); in testFilter()
|
D | TextUtilsTest.java | 208 SpannableString source2 = new SpannableString(text); in testCopySpansFrom() local 209 source2.setSpan(urlSpan, 0, source2.length() - 1, Spanned.SPAN_EXCLUSIVE_INCLUSIVE); in testCopySpansFrom() 211 TextUtils.copySpansFrom(source2, 0, source2.length(), Object.class, dest2, 0); in testCopySpansFrom() 217 assertEquals(source2.length() - 1, dest2.getSpanEnd(urlSpan)); in testCopySpansFrom() 221 TextUtils.copySpansFrom(source2, 0, source2.length(), BackgroundColorSpan.class, dest3, 0); in testCopySpansFrom() 224 TextUtils.copySpansFrom(source2, 0, source2.length(), URLSpan.class, dest3, 0); in testCopySpansFrom() 230 TextUtils.copySpansFrom(source2, 0, source2.length(), Object.class, dest4, 0); in testCopySpansFrom() 235 TextUtils.copySpansFrom(source2, 0, dest4.length(), Object.class, dest4, 0); in testCopySpansFrom() 244 TextUtils.copySpansFrom(source2, 0, source2.length(), Object.class, dest5, 0); in testCopySpansFrom() 249 TextUtils.copySpansFrom(source2, 0, source2.length(), Object.class, dest5, 2); in testCopySpansFrom() [all …]
|