Searched refs:SPAN (Results 1 – 1 of 1) sorted by relevance
/cts/tests/tests/text/src/android/text/cts/ |
D | PrecomputedTextTest.java | 62 private static final LocaleSpan SPAN = new LocaleSpan(Locale.US); field in PrecomputedTextTest 66 ssb.setSpan(SPAN, SPAN_START, SPAN_END, Spanned.SPAN_INCLUSIVE_EXCLUSIVE); in ssb.setSpan() argument 205 assertEquals(SPAN, spans[0]); in testSpannedInterface_Spanned() 207 assertEquals(SPAN_START, s.getSpanStart(SPAN)); in testSpannedInterface_Spanned() 208 assertEquals(SPAN_END, s.getSpanEnd(SPAN)); in testSpannedInterface_Spanned() 209 assertTrue((s.getSpanFlags(SPAN) & Spanned.SPAN_INCLUSIVE_EXCLUSIVE) != 0); in testSpannedInterface_Spanned() 241 s.setSpan(SPAN, SPAN_START, SPAN_END, Spanned.SPAN_INCLUSIVE_EXCLUSIVE); in testSpannedInterface_Spannable_setSpan_MetricsAffectingSpan() 248 s.removeSpan(SPAN); in testSpannedInterface_Spannable_removeSpan_MetricsAffectingSpan() 259 assertEquals(-1, s.getSpanStart(SPAN)); in testSpannedInterface_String() 260 assertEquals(-1, s.getSpanEnd(SPAN)); in testSpannedInterface_String() [all …]
|