Searched refs:SPAN_EXCLUSIVE_INCLUSIVE (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/text/src/android/text/cts/ |
D | HtmlTest.java | 38 private final static int SPAN_EXCLUSIVE_INCLUSIVE = Spannable.SPAN_EXCLUSIVE_INCLUSIVE; field in HtmlTest 160 s.setSpan(new StyleSpan(Typeface.BOLD), start, end, SPAN_EXCLUSIVE_INCLUSIVE); in testMarkup() 165 s.setSpan(new StyleSpan(Typeface.ITALIC), start, end, SPAN_EXCLUSIVE_INCLUSIVE); in testMarkup() 170 s.setSpan(new TypefaceSpan("monospace"), start, end, SPAN_EXCLUSIVE_INCLUSIVE); in testMarkup() 175 s.setSpan(new SuperscriptSpan(), start, end, SPAN_EXCLUSIVE_INCLUSIVE); in testMarkup() 180 s.setSpan(new SubscriptSpan(), start, end, SPAN_EXCLUSIVE_INCLUSIVE); in testMarkup() 185 s.setSpan(new UnderlineSpan(), start, end, SPAN_EXCLUSIVE_INCLUSIVE); in testMarkup() 190 s.setSpan(new StrikethroughSpan(), start, end, SPAN_EXCLUSIVE_INCLUSIVE); in testMarkup() 195 s.setSpan(new URLSpan("http://www.google.com"), start, end, SPAN_EXCLUSIVE_INCLUSIVE); in testMarkup()
|
D | SpannableStringBuilderSpanTest.java | 80 Spanned.SPAN_EXCLUSIVE_INCLUSIVE, Spanned.SPAN_INCLUSIVE_EXCLUSIVE }; in replaceWithRange() 163 case Spanned.SPAN_EXCLUSIVE_INCLUSIVE: in checkSpanPositions() 206 case Spanned.SPAN_EXCLUSIVE_INCLUSIVE: in checkSpanPositions()
|
D | SpannableStringBuilderTest.java | 91 builder.setSpan(mUnderlineSpan, 0, 1, Spanned.SPAN_EXCLUSIVE_INCLUSIVE); in testGetSpanFlags() 94 assertEquals(Spanned.SPAN_EXCLUSIVE_INCLUSIVE, builder.getSpanFlags(mUnderlineSpan)); in testGetSpanFlags()
|
D | TextUtilsTest.java | 212 source2.setSpan(urlSpan, 0, source2.length() - 1, Spanned.SPAN_EXCLUSIVE_INCLUSIVE); in testCopySpansFrom() 221 assertEquals(Spanned.SPAN_EXCLUSIVE_INCLUSIVE, dest2.getSpanFlags(urlSpan)); in testCopySpansFrom()
|