Home
last modified time | relevance | path

Searched refs:SPAN_START (Results 1 – 1 of 1) sorted by relevance

/cts/tests/tests/text/src/android/text/cts/
DPrecomputedTextTest.java67 private static final int SPAN_START = 3; field in PrecomputedTextTest
73 ssb.setSpan(SPAN, SPAN_START, SPAN_END, Spanned.SPAN_INCLUSIVE_EXCLUSIVE); in ssb.setSpan() argument
225 assertEquals(SPAN_START, s.getSpanStart(SPAN)); in testSpannedInterface_Spanned()
229 assertEquals(SPAN_START, s.nextSpanTransition(0, s.length(), LocaleSpan.class)); in testSpannedInterface_Spanned()
230 assertEquals(SPAN_END, s.nextSpanTransition(SPAN_START, s.length(), LocaleSpan.class)); in testSpannedInterface_Spanned()
240 s.setSpan(span, SPAN_START, SPAN_END, Spanned.SPAN_INCLUSIVE_EXCLUSIVE); in testSpannedInterface_Spannable()
243 assertEquals(SPAN_START, s.getSpanStart(span)); in testSpannedInterface_Spannable()
247 assertEquals(SPAN_START, s.nextSpanTransition(0, s.length(), BackgroundColorSpan.class)); in testSpannedInterface_Spannable()
249 s.nextSpanTransition(SPAN_START, s.length(), BackgroundColorSpan.class)); in testSpannedInterface_Spannable()
259 s.setSpan(SPAN, SPAN_START, SPAN_END, Spanned.SPAN_INCLUSIVE_EXCLUSIVE); in testSpannedInterface_Spannable_setSpan_MetricsAffectingSpan()