Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/cts/
DSpannableStringTest.java63 assertEquals(4, spannable.getSpanEnd(null)); in testSetSpan()
69 assertEquals(2, spannable.getSpanEnd(underlineSpan)); in testSetSpan()
95 assertEquals(2, spannable.getSpanEnd(underlineSpan)); in testRemoveSpan()
100 assertEquals(-1, spannable.getSpanEnd(underlineSpan)); in testRemoveSpan()
106 assertEquals(-1, spannable.getSpanEnd(underlineSpan)); in testRemoveSpan()
158 assertEquals(expected[i][2], second.getSpanEnd(secondSpan)); in testSubsequence_copiesSpans()
182 assertEquals(first.getSpanEnd(firstSpan), second.getSpanEnd(secondSpan)); in testCopyConstructor_copiesAllSpans()
DSpannableStringBuilderTest.java138 assertEquals(4, builder.getSpanEnd(null)); in testSetSpan()
143 assertEquals(2, builder.getSpanEnd(mUnderlineSpan)); in testSetSpan()
385 assertEquals(2, builder.getSpanEnd(mUnderlineSpan)); in testClearSpans()
390 assertEquals(-1, builder.getSpanEnd(mUnderlineSpan)); in testClearSpans()
421 assertEquals(2, builder.getSpanEnd(mUnderlineSpan)); in testRemoveSpan()
426 assertEquals(2, builder.getSpanEnd(mUnderlineSpan)); in testRemoveSpan()
431 assertEquals(-1, builder.getSpanEnd(mUnderlineSpan)); in testRemoveSpan()
449 assertEquals(3, builder.getSpanEnd(mUnderlineSpan)); in testGetSpanEnd()
450 assertEquals(-1, builder.getSpanEnd(mStrikethroughSpan)); in testGetSpanEnd()
451 assertEquals(-1, builder.getSpanEnd(null)); in testGetSpanEnd()
DHtmlTest.java67 assertEquals(expectEnd, spanned.getSpanEnd(spans[0])); in assertSingleTagOnWhileString()
366 assertEquals(expectedEnd, spanned.getSpanEnd(spans[0])); in testMarkupFromHtml()
389 assertEquals(5, spanned.getSpanEnd(spans[0])); in testTextAlignCssFromHtml()
393 assertEquals(11, spanned.getSpanEnd(spans[1])); in testTextAlignCssFromHtml()
397 assertEquals(17, spanned.getSpanEnd(spans[2])); in testTextAlignCssFromHtml()
DAlteredCharSequenceTest.java143 public int getSpanEnd(Object tag) { in getSpanEnd() method in AlteredCharSequenceTest.MockSpanned
DTextUtilsTest.java162 assertEquals(string1.length() - 1, strResult.getSpanEnd(urlSpan)); in testConcat()
164 assertEquals(strResult.length() - 1, strResult.getSpanEnd(bgColorSpan)); in testConcat()
202 assertEquals(midPos, dest1.getSpanEnd(urlSpan)); in testCopySpansFrom()
205 assertEquals(source1.length() - 1, dest1.getSpanEnd(bgColorSpan)); in testCopySpansFrom()
217 assertEquals(source2.length() - 1, dest2.getSpanEnd(urlSpan)); in testCopySpansFrom()
241 assertEquals(dest4.length(), dest4.getSpanEnd(spans[0])); in testCopySpansFrom()
1868 assertEquals(urlSpanEnd, ret.getSpanEnd(spans[0])); in testWriteToParcel()
1894 assertEquals(urlSpanEnd, ret.getSpanEnd(spans[0])); in testWriteToParcel()
1904 assertEquals(textAppearanceSpanEnd, ret.getSpanEnd(spans[1])); in testWriteToParcel()
DSpannableStringBuilderSpanTest.java137 int end = spannable.getSpanEnd(span); in checkSpanPositions()
251 int end = originalSpannable.getSpanEnd(span); in checkReplacementSpanPositions()
/cts/tests/tests/widget/src/android/widget/cts/
DDialerFilterTest.java270 assertEquals(-1, span.getSpanEnd(tw)); in testSetLettersWatcher()
279 assertEquals(mDialerFilter.getLetters().length(), span.getSpanEnd(tw)); in testSetLettersWatcher()
302 assertEquals(-1, span.getSpanEnd(tw)); in testSetDigitsWatcher()
306 assertEquals(mDialerFilter.getDigits().length(), span.getSpanEnd(tw)); in testSetDigitsWatcher()
319 assertEquals(-1, span.getSpanEnd(tw)); in testSetFilterWatcher()
328 assertEquals(mDialerFilter.getLetters().length(), span.getSpanEnd(tw)); in testSetFilterWatcher()
342 assertEquals(-1, span.getSpanEnd(tw)); in testRemoveFilterWatcher()
351 assertEquals(mDialerFilter.getLetters().length(), span.getSpanEnd(tw)); in testRemoveFilterWatcher()
358 assertEquals(-1, span.getSpanEnd(tw)); in testRemoveFilterWatcher()
DMultiAutoCompleteTextView_CommaTokenizerTest.java132 assertEquals(spannableString.length(), actual.getSpanEnd(what)); in testTerminateToken()
DTextViewTest.java4080 assertEquals(3, editable.getSpanEnd(underlineSpans[0])); in testSetExtractedText()
4086 assertEquals(3, editable.getSpanEnd(urlSpans[0])); in testSetExtractedText()
/cts/tests/tests/text/src/android/text/method/cts/
DLinkMovementMethodTest.java111 assertEquals(0, spannable.getSpanEnd(span)); in testOnTakeFocus()
154 mSpannable.getSpanEnd(mClickable0)); in testOnKeyDown()
163 Selection.setSelection(mSpannable, mSpannable.getSpanEnd(mClickable0), in testOnKeyDown()
182 Selection.setSelection(mSpannable, mSpannable.getSpanEnd(mClickable0), in testOnKeyDown()
183 mSpannable.getSpanEnd(mClickable1)); in testOnKeyDown()
192 Selection.setSelection(mSpannable, mSpannable.getSpanEnd(mClickable0), in testOnKeyDown()
193 mSpannable.getSpanEnd(mClickable1)); in testOnKeyDown()
500 spannable.getSpanEnd(clickableSpan)); in assertSelectClickableLeftToRight()
505 assertSelection(spannable, spannable.getSpanEnd(clickableSpan), in assertSelectClickableRightToLeft()
DQwertyKeyListenerTest.java179 assertEquals(content.length(), content.getSpanEnd(repl[0])); in testMarkAsReplaced()
186 assertEquals(2, content.getSpanEnd(repl[0])); in testMarkAsReplaced()
DDigitsKeyListenerTest.java89 assertEquals("123".length(), filtered.getSpanEnd(what)); in testFilter1()
167 assertEquals("5123".length(), filtered.getSpanEnd(what)); in testFilter2()
249 assertEquals("51.23".length(), filtered.getSpanEnd(what)); in testFilter3()
334 assertEquals("-51.23".length(), filtered.getSpanEnd(what)); in testFilter4()
DNumberKeyListenerTest.java79 assertEquals("12345".length(), filtered.getSpanEnd(what)); in testFilter()
DMetaKeyKeyListenerTest.java384 public int getSpanEnd(Object tag) { in getSpanEnd() method in MetaKeyKeyListenerTest.MockSpannable
/cts/tests/tests/text/src/android/text/style/cts/
DDrawableMarginSpanTest.java110 drawableMarginSpan.chooseHeight(text, 0, text.getSpanEnd(drawableMarginSpan), 0, 0, fm); in testChooseHeight()
/cts/tests/tests/text/src/android/text/util/cts/
DLinkifyTest.java910 str.length() - " end".length(), spannable.getSpanEnd(spans[0])); in assertAddLinksSucceeds()
/cts/tools/dex-tools/dex/
Dclasses.out.dex75203 public abstract int getSpanEnd(
75246 public int getSpanEnd(
76842 public int getSpanEnd(
77251 public int getSpanEnd(
77302 public volatile int getSpanEnd(
77524 public int getSpanEnd(
77637 public volatile int getSpanEnd(
79286 public int getSpanEnd(