/cts/tests/tests/text/src/android/text/cts/ |
D | SpannableStringTest.java | 62 assertEquals(1, spannable.getSpanStart(null)); in testSetSpan() 68 assertEquals(0, spannable.getSpanStart(underlineSpan)); in testSetSpan() 94 assertEquals(0, spannable.getSpanStart(underlineSpan)); in testRemoveSpan() 99 assertEquals(-1, spannable.getSpanStart(underlineSpan)); in testRemoveSpan() 105 assertEquals(-1, spannable.getSpanStart(underlineSpan)); in testRemoveSpan() 157 assertEquals(expected[i][1], second.getSpanStart(secondSpan)); in testSubsequence_copiesSpans() 181 assertEquals(first.getSpanStart(firstSpan), second.getSpanStart(secondSpan)); in testCopyConstructor_copiesAllSpans()
|
D | SpannableStringBuilderTest.java | 137 assertEquals(1, builder.getSpanStart(null)); in testSetSpan() 142 assertEquals(0, builder.getSpanStart(mUnderlineSpan)); in testSetSpan() 384 assertEquals(0, builder.getSpanStart(mUnderlineSpan)); in testClearSpans() 389 assertEquals(-1, builder.getSpanStart(mUnderlineSpan)); in testClearSpans() 397 assertEquals(1, builder.getSpanStart(mUnderlineSpan)); in testGetSpanStart() 398 assertEquals(-1, builder.getSpanStart(mStrikethroughSpan)); in testGetSpanStart() 399 assertEquals(-1, builder.getSpanStart(null)); in testGetSpanStart() 420 assertEquals(0, builder.getSpanStart(mUnderlineSpan)); in testRemoveSpan() 425 assertEquals(0, builder.getSpanStart(mUnderlineSpan)); in testRemoveSpan() 430 assertEquals(-1, builder.getSpanStart(mUnderlineSpan)); in testRemoveSpan()
|
D | HtmlTest.java | 66 assertEquals(expectStart, spanned.getSpanStart(spans[0])); in assertSingleTagOnWhileString() 365 assertEquals(expectedStart, spanned.getSpanStart(spans[0])); in testMarkupFromHtml() 388 assertEquals(0, spanned.getSpanStart(spans[0])); in testTextAlignCssFromHtml() 392 assertEquals(6, spanned.getSpanStart(spans[1])); in testTextAlignCssFromHtml() 396 assertEquals(12, spanned.getSpanStart(spans[2])); in testTextAlignCssFromHtml()
|
D | AlteredCharSequenceTest.java | 149 public int getSpanStart(Object tag) { in getSpanStart() method in AlteredCharSequenceTest.MockSpanned
|
D | TextUtilsTest.java | 161 assertEquals(0, strResult.getSpanStart(urlSpan)); in testConcat() 163 assertEquals(string1.length() + comma.length(), strResult.getSpanStart(bgColorSpan)); in testConcat() 201 assertEquals(0, dest1.getSpanStart(urlSpan)); in testCopySpansFrom() 204 assertEquals(midPos - 1, dest1.getSpanStart(bgColorSpan)); in testCopySpansFrom() 216 assertEquals(0, dest2.getSpanStart(urlSpan)); in testCopySpansFrom() 238 assertEquals(0, dest4.getSpanStart(spans[0])); in testCopySpansFrom() 1867 assertEquals(urlSpanStart, ret.getSpanStart(spans[0])); in testWriteToParcel() 1893 assertEquals(urlSpanStart, ret.getSpanStart(spans[0])); in testWriteToParcel() 1903 assertEquals(textAppearanceSpanStart, ret.getSpanStart(spans[1])); in testWriteToParcel()
|
D | SpannableStringBuilderSpanTest.java | 136 int start = spannable.getSpanStart(span); in checkSpanPositions() 250 int start = originalSpannable.getSpanStart(span); in checkReplacementSpanPositions()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | DialerFilterTest.java | 269 assertEquals(-1, span.getSpanStart(tw)); in testSetLettersWatcher() 278 assertEquals(0, span.getSpanStart(tw)); in testSetLettersWatcher() 301 assertEquals(-1, span.getSpanStart(tw)); in testSetDigitsWatcher() 305 assertEquals(0, span.getSpanStart(tw)); in testSetDigitsWatcher() 318 assertEquals(-1, span.getSpanStart(tw)); in testSetFilterWatcher() 327 assertEquals(0, span.getSpanStart(tw)); in testSetFilterWatcher() 341 assertEquals(-1, span.getSpanStart(tw)); in testRemoveFilterWatcher() 350 assertEquals(0, span.getSpanStart(tw)); in testRemoveFilterWatcher() 357 assertEquals(-1, span.getSpanStart(tw)); in testRemoveFilterWatcher()
|
D | MultiAutoCompleteTextView_CommaTokenizerTest.java | 131 assertEquals(0, actual.getSpanStart(what)); in testTerminateToken()
|
D | TextViewTest.java | 4079 assertEquals(1, editable.getSpanStart(underlineSpans[0])); in testSetExtractedText() 4085 assertEquals(2, editable.getSpanStart(urlSpans[0])); in testSetExtractedText()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | LinkMovementMethodTest.java | 110 assertEquals(0, spannable.getSpanStart(span)); in testOnTakeFocus() 153 Selection.setSelection(mSpannable, mSpannable.getSpanStart(mClickable0), in testOnKeyDown() 164 mSpannable.getSpanStart(mClickable1)); in testOnKeyDown() 499 assertSelection(spannable, spannable.getSpanStart(clickableSpan), in assertSelectClickableLeftToRight() 506 spannable.getSpanStart(clickableSpan)); in assertSelectClickableRightToLeft()
|
D | QwertyKeyListenerTest.java | 178 assertEquals(0, content.getSpanStart(repl[0])); in testMarkAsReplaced() 185 assertEquals(1, content.getSpanStart(repl[0])); in testMarkAsReplaced()
|
D | DigitsKeyListenerTest.java | 88 assertEquals(0, filtered.getSpanStart(what)); in testFilter1() 166 assertEquals(0, filtered.getSpanStart(what)); in testFilter2() 248 assertEquals(0, filtered.getSpanStart(what)); in testFilter3() 333 assertEquals(0, filtered.getSpanStart(what)); in testFilter4()
|
D | NumberKeyListenerTest.java | 78 assertEquals(0, filtered.getSpanStart(what)); in testFilter()
|
D | MetaKeyKeyListenerTest.java | 380 public int getSpanStart(Object tag) { in getSpanStart() method in MetaKeyKeyListenerTest.MockSpannable
|
/cts/tests/tests/text/src/android/text/util/cts/ |
D | LinkifyTest.java | 908 "start ".length(), spannable.getSpanStart(spans[0])); in assertAddLinksSucceeds()
|
/cts/tools/dex-tools/dex/ |
D | classes.out.dex | 75209 public abstract int getSpanStart( 75252 public int getSpanStart( 76848 public int getSpanStart( 77257 public int getSpanStart( 77308 public volatile int getSpanStart( 77530 public int getSpanStart( 77643 public volatile int getSpanStart( 79292 public int getSpanStart(
|