Searched refs:nextSpanTransition (Results 1 – 5 of 5) sorted by relevance
84 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 …]
119 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()
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()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()281 assertEquals(s.length(), s.nextSpanTransition(0, s.length(), LocaleSpan.class)); in testSpannedInterface_String()
171 public int nextSpanTransition(int start, int limit, Class type) { in nextSpanTransition() method in AlteredCharSequenceTest.MockSpanned
452 public int nextSpanTransition(int start, int limit, Class type) { in nextSpanTransition() method in MetaKeyKeyListenerTest.MockSpannable