Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/cts/
DSpannableStringTest.java62 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()
DSpannableStringBuilderTest.java137 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()
DHtmlTest.java66 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()
DAlteredCharSequenceTest.java149 public int getSpanStart(Object tag) { in getSpanStart() method in AlteredCharSequenceTest.MockSpanned
DTextUtilsTest.java161 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()
DSpannableStringBuilderSpanTest.java136 int start = spannable.getSpanStart(span); in checkSpanPositions()
250 int start = originalSpannable.getSpanStart(span); in checkReplacementSpanPositions()
/cts/tests/tests/widget/src/android/widget/cts/
DDialerFilterTest.java269 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()
DMultiAutoCompleteTextView_CommaTokenizerTest.java131 assertEquals(0, actual.getSpanStart(what)); in testTerminateToken()
DTextViewTest.java4079 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/
DLinkMovementMethodTest.java110 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()
DQwertyKeyListenerTest.java178 assertEquals(0, content.getSpanStart(repl[0])); in testMarkAsReplaced()
185 assertEquals(1, content.getSpanStart(repl[0])); in testMarkAsReplaced()
DDigitsKeyListenerTest.java88 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()
DNumberKeyListenerTest.java78 assertEquals(0, filtered.getSpanStart(what)); in testFilter()
DMetaKeyKeyListenerTest.java380 public int getSpanStart(Object tag) { in getSpanStart() method in MetaKeyKeyListenerTest.MockSpannable
/cts/tests/tests/text/src/android/text/util/cts/
DLinkifyTest.java908 "start ".length(), spannable.getSpanStart(spans[0])); in assertAddLinksSucceeds()
/cts/tools/dex-tools/dex/
Dclasses.out.dex75209 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(