/cts/tests/tests/text/src/android/text/cts/ |
D | SpannableStringTest.java | 56 assertEquals(1, spannable.getSpanStart(null)); in testSetSpan() 62 assertEquals(0, spannable.getSpanStart(underlineSpan)); in testSetSpan() 88 assertEquals(0, spannable.getSpanStart(underlineSpan)); in testRemoveSpan() 93 assertEquals(-1, spannable.getSpanStart(underlineSpan)); in testRemoveSpan() 99 assertEquals(-1, spannable.getSpanStart(underlineSpan)); in testRemoveSpan()
|
D | SpannableStringBuilderTest.java | 131 assertEquals(1, builder.getSpanStart(null)); in testSetSpan() 136 assertEquals(0, builder.getSpanStart(mUnderlineSpan)); in testSetSpan() 378 assertEquals(0, builder.getSpanStart(mUnderlineSpan)); in testClearSpans() 383 assertEquals(-1, builder.getSpanStart(mUnderlineSpan)); in testClearSpans() 391 assertEquals(1, builder.getSpanStart(mUnderlineSpan)); in testGetSpanStart() 392 assertEquals(-1, builder.getSpanStart(mStrikethroughSpan)); in testGetSpanStart() 393 assertEquals(-1, builder.getSpanStart(null)); in testGetSpanStart() 414 assertEquals(0, builder.getSpanStart(mUnderlineSpan)); in testRemoveSpan() 419 assertEquals(0, builder.getSpanStart(mUnderlineSpan)); in testRemoveSpan() 424 assertEquals(-1, builder.getSpanStart(mUnderlineSpan)); in testRemoveSpan()
|
D | AlteredCharSequenceTest.java | 149 public int getSpanStart(Object tag) { in getSpanStart() method in AlteredCharSequenceTest.MockSpanned
|
D | TextUtilsTest.java | 164 assertEquals(0, strResult.getSpanStart(urlSpan)); in testConcat() 166 assertEquals(string1.length() + comma.length(), strResult.getSpanStart(bgColorSpan)); in testConcat() 204 assertEquals(0, dest1.getSpanStart(urlSpan)); in testCopySpansFrom() 207 assertEquals(midPos - 1, dest1.getSpanStart(bgColorSpan)); in testCopySpansFrom() 219 assertEquals(0, dest2.getSpanStart(urlSpan)); in testCopySpansFrom() 241 assertEquals(0, dest4.getSpanStart(spans[0])); in testCopySpansFrom() 1856 assertEquals(urlSpanStart, ret.getSpanStart(spans[0])); in testWriteToParcel() 1882 assertEquals(urlSpanStart, ret.getSpanStart(spans[0])); in testWriteToParcel() 1892 assertEquals(textAppearanceSpanStart, ret.getSpanStart(spans[1])); in testWriteToParcel()
|
D | SpannableStringBuilderSpanTest.java | 131 int start = spannable.getSpanStart(span); in checkSpanPositions() 245 int start = originalSpannable.getSpanStart(span); in checkReplacementSpanPositions()
|
D | HtmlTest.java | 58 assertEquals(expectStart, spanned.getSpanStart(spans[0])); in assertSingleTagOnWhileString()
|
/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()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | LinkMovementMethodTest.java | 108 assertEquals(0, spannable.getSpanStart(span)); in testOnTakeFocus() 151 Selection.setSelection(mSpannable, mSpannable.getSpanStart(mClickable0), in testOnKeyDown() 162 mSpannable.getSpanStart(mClickable1)); in testOnKeyDown() 497 assertSelection(spannable, spannable.getSpanStart(clickableSpan), in assertSelectClickableLeftToRight() 504 spannable.getSpanStart(clickableSpan)); in assertSelectClickableRightToLeft()
|
D | QwertyKeyListenerTest.java | 181 assertEquals(0, content.getSpanStart(repl[0])); in testMarkAsReplaced() 188 assertEquals(1, content.getSpanStart(repl[0])); in testMarkAsReplaced()
|
D | DigitsKeyListenerTest.java | 79 assertEquals(0, filtered.getSpanStart(what)); in testFilter1() 157 assertEquals(0, filtered.getSpanStart(what)); in testFilter2() 239 assertEquals(0, filtered.getSpanStart(what)); in testFilter3() 324 assertEquals(0, filtered.getSpanStart(what)); in testFilter4()
|
D | NumberKeyListenerTest.java | 72 assertEquals(0, filtered.getSpanStart(what)); in testFilter()
|
D | MetaKeyKeyListenerTest.java | 380 public int getSpanStart(Object tag) { in getSpanStart() method in MetaKeyKeyListenerTest.MockSpannable
|