Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/cts/
DSpannedTest.java84 assertEquals(4, spanned.nextSpanTransition(1, spanned.length(), QuoteSpan.class)); in testNextSpanTransition()
86 spanned.nextSpanTransition(4, spanned.length(), QuoteSpan.class)); in testNextSpanTransition()
87 assertEquals(5, spanned.nextSpanTransition(4, spanned.length(), UnderlineSpan.class)); in testNextSpanTransition()
89 assertEquals(2, spanned.nextSpanTransition(0, spanned.length(), Object.class)); in testNextSpanTransition()
90 assertEquals(4, spanned.nextSpanTransition(2, spanned.length(), Object.class)); in testNextSpanTransition()
91 assertEquals(5, spanned.nextSpanTransition(4, spanned.length(), Object.class)); in testNextSpanTransition()
92 assertEquals(7, spanned.nextSpanTransition(5, spanned.length(), Object.class)); in testNextSpanTransition()
94 spanned.nextSpanTransition(7, spanned.length(), Object.class)); in testNextSpanTransition()
97 assertEquals(2, spanned.nextSpanTransition(0, spanned.length(), null)); in testNextSpanTransition()
98 assertEquals(4, spanned.nextSpanTransition(2, spanned.length(), null)); in testNextSpanTransition()
[all …]
DSpannableStringBuilderTest.java119 assertEquals(8, builder.nextSpanTransition(0, 10, StrikethroughSpan.class)); in testNextSpanTransition()
120 assertEquals(10, builder.nextSpanTransition(0, 10, TabStopSpan.class)); in testNextSpanTransition()
121 assertEquals(3, builder.nextSpanTransition(0, 5, null)); in testNextSpanTransition()
122 assertEquals(100, builder.nextSpanTransition(-5, 100, TabStopSpan.class)); in testNextSpanTransition()
123 assertEquals(1, builder.nextSpanTransition(3, 1, UnderlineSpan.class)); in testNextSpanTransition()
DAlteredCharSequenceTest.java171 public int nextSpanTransition(int start, int limit, Class type) { in nextSpanTransition() method in AlteredCharSequenceTest.MockSpanned
DPrecomputedTextTest.java278 assertEquals(SPAN_START, s.nextSpanTransition(0, s.length(), LocaleSpan.class)); in testSpannedInterface_Spanned()
279 assertEquals(SPAN_END, s.nextSpanTransition(SPAN_START, s.length(), LocaleSpan.class)); in testSpannedInterface_Spanned()
296 assertEquals(SPAN_START, s.nextSpanTransition(0, s.length(), BackgroundColorSpan.class)); in testSpannedInterface_Spannable()
298 s.nextSpanTransition(SPAN_START, s.length(), BackgroundColorSpan.class)); in testSpannedInterface_Spannable()
330 assertEquals(s.length(), s.nextSpanTransition(0, s.length(), LocaleSpan.class)); in testSpannedInterface_String()
/cts/tests/tests/text/src/android/text/method/cts/
DMetaKeyKeyListenerTest.java452 public int nextSpanTransition(int start, int limit, Class type) { in nextSpanTransition() method in MetaKeyKeyListenerTest.MockSpannable
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt47894 method public int nextSpanTransition(int, int, Class);
47990 method public int nextSpanTransition(int, int, Class);
48021 method public int nextSpanTransition(int, int, Class);
48037 method public int nextSpanTransition(int, int, Class);
48065 method public int nextSpanTransition(int, int, Class);