/cts/tests/tests/text/src/android/text/cts/ |
D | SpannableStringTest.java | 83 assertEquals(4, spannable.getSpanEnd(null)); in testSetSpan() 89 assertEquals(2, spannable.getSpanEnd(underlineSpan)); in testSetSpan() 116 assertEquals(2, spannable.getSpanEnd(underlineSpan)); in testRemoveSpan() 121 assertEquals(-1, spannable.getSpanEnd(underlineSpan)); in testRemoveSpan() 127 assertEquals(-1, spannable.getSpanEnd(underlineSpan)); in testRemoveSpan() 180 assertEquals(expected[i][2], second.getSpanEnd(secondSpan)); in testSubsequence_copiesSpans() 203 assertEquals(first.getSpanEnd(firstSpan), second.getSpanEnd(secondSpan)); in testCopyConstructor_copiesAllSpans()
|
D | SpannableStringBuilderTest.java | 145 assertEquals(4, builder.getSpanEnd(null)); in testSetSpan() 150 assertEquals(2, builder.getSpanEnd(mUnderlineSpan)); in testSetSpan() 410 spanEnd, builder.getSpanEnd(spans[0])); in testAppend_textWithSpan() 419 assertEquals(2, builder.getSpanEnd(mUnderlineSpan)); in testClearSpans() 424 assertEquals(-1, builder.getSpanEnd(mUnderlineSpan)); in testClearSpans() 458 assertEquals(2, builder.getSpanEnd(mUnderlineSpan)); in testRemoveSpan() 463 assertEquals(2, builder.getSpanEnd(mUnderlineSpan)); in testRemoveSpan() 468 assertEquals(-1, builder.getSpanEnd(mUnderlineSpan)); in testRemoveSpan() 488 assertEquals(3, builder.getSpanEnd(mUnderlineSpan)); in testGetSpanEnd() 489 assertEquals(-1, builder.getSpanEnd(mStrikethroughSpan)); in testGetSpanEnd() [all …]
|
D | BidiFormatterTest.java | 270 assertEquals(EN.length(), wrapped.getSpanEnd(RELATIVE_SIZE_SPAN)); in testCharSequenceApis() 278 assertEquals(EN.length(), wrapped.getSpanEnd(RELATIVE_SIZE_SPAN)); in testCharSequenceApis() 286 assertEquals(EN.length(), wrapped.getSpanEnd(RELATIVE_SIZE_SPAN)); in testCharSequenceApis() 294 assertEquals(EN.length(), wrapped.getSpanEnd(RELATIVE_SIZE_SPAN)); in testCharSequenceApis()
|
D | HtmlTest.java | 78 assertEquals(expectEnd, spanned.getSpanEnd(spans[0])); in verifySingleTagOnWhileString() 459 assertEquals(expectedEnd, spanned.getSpanEnd(spans[0])); in testMarkupFromHtml() 483 assertEquals(5, spanned.getSpanEnd(spans[0])); in testTextAlignCssFromHtml() 487 assertEquals(11, spanned.getSpanEnd(spans[1])); in testTextAlignCssFromHtml() 491 assertEquals(17, spanned.getSpanEnd(spans[2])); in testTextAlignCssFromHtml()
|
D | InputFilter_AllCapsTest.java | 134 assertEquals(1, spannedResult.getSpanEnd(span)); in testFilter_greekWithSpans()
|
D | AlteredCharSequenceTest.java | 155 public int getSpanEnd(Object tag) { in getSpanEnd() method in AlteredCharSequenceTest.MockSpanned
|
D | TextUtilsTest.java | 303 assertEquals(string1.length() - 1, strResult.getSpanEnd(urlSpan)); in testConcat() 305 assertEquals(strResult.length() - 1, strResult.getSpanEnd(bgColorSpan)); in testConcat() 334 assertEquals(piece.length(), result.getSpanEnd(spans[0])); in testConcat_NullParameters() 355 assertEquals(result.length(), result.getSpanEnd(spans[0])); in testConcat_twoParagraphSpans() 376 assertEquals(result.length(), result.getSpanEnd(spans[0])); in testConcat_oneParagraphSpanAndOneInclusiveSpan() 379 assertEquals(result.length(), result.getSpanEnd(spans[1])); in testConcat_oneParagraphSpanAndOneInclusiveSpan() 406 assertEquals(midPos, dest1.getSpanEnd(urlSpan)); in testCopySpansFrom() 409 assertEquals(source1.length() - 1, dest1.getSpanEnd(bgColorSpan)); in testCopySpansFrom() 421 assertEquals(source2.length() - 1, dest2.getSpanEnd(urlSpan)); in testCopySpansFrom() 445 assertEquals(dest4.length(), dest4.getSpanEnd(spans[0])); in testCopySpansFrom() [all …]
|
D | SpannableStringBuilderSpanTest.java | 151 int end = spannable.getSpanEnd(span); in verifySpanPositions() 265 int end = originalSpannable.getSpanEnd(span); in verifyReplacementSpanPositions()
|
D | PrecomputedTextTest.java | 275 assertEquals(SPAN_END, s.getSpanEnd(SPAN)); in testSpannedInterface_Spanned() 293 assertEquals(SPAN_END, s.getSpanEnd(span)); in testSpannedInterface_Spannable() 327 assertEquals(-1, s.getSpanEnd(SPAN)); in testSpannedInterface_String()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | DialerFilterTest.java | 289 assertEquals(-1, span.getSpanEnd(mockTextWatcher)); in testSetLettersWatcher() 299 assertEquals(mDialerFilter.getLetters().length(), span.getSpanEnd(mockTextWatcher)); in testSetLettersWatcher() 324 assertEquals(-1, span.getSpanEnd(mockTextWatcher)); in testSetDigitsWatcher() 328 assertEquals(mDialerFilter.getDigits().length(), span.getSpanEnd(mockTextWatcher)); in testSetDigitsWatcher() 343 assertEquals(-1, span.getSpanEnd(mockTextWatcher)); in testSetFilterWatcher() 353 assertEquals(mDialerFilter.getLetters().length(), span.getSpanEnd(mockTextWatcher)); in testSetFilterWatcher() 369 assertEquals(-1, span.getSpanEnd(mockTextWatcher)); in testRemoveFilterWatcher() 379 assertEquals(mDialerFilter.getLetters().length(), span.getSpanEnd(mockTextWatcher)); in testRemoveFilterWatcher() 387 assertEquals(-1, span.getSpanEnd(mockTextWatcher)); in testRemoveFilterWatcher()
|
D | MultiAutoCompleteTextView_CommaTokenizerTest.java | 133 assertEquals(spannableString.length(), actual.getSpanEnd(what)); in testTerminateToken()
|
D | TextViewStyleShortcutTest.java | 133 actualList.add(new Range(spanned.getSpanStart(span), spanned.getSpanEnd(span))); in assertBoldRegion() 151 actualList.add(new Range(spanned.getSpanStart(span), spanned.getSpanEnd(span))); in assertItalicRegion() 168 actualRanges[i] = new Range(spanned.getSpanStart(span), spanned.getSpanEnd(span)); in assertUnderlineRegion()
|
D | TextViewTest.java | 5982 assertEquals(3, editable.getSpanEnd(underlineSpans[0])); in testSetExtractedText() 5988 assertEquals(3, editable.getSpanEnd(urlSpans[0])); in testSetExtractedText() 6649 assertEquals(indexMap[source.getSpanEnd(span)], result.getSpanEnd(span)); in testAllCaps_SpansArePreserved()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | LinkMovementMethodTest.java | 141 assertEquals(0, spannable.getSpanEnd(span)); in testOnTakeFocus() 186 mSpannable.getSpanEnd(mClickable0)); in testOnKeyDown() 195 Selection.setSelection(mSpannable, mSpannable.getSpanEnd(mClickable0), in testOnKeyDown() 214 Selection.setSelection(mSpannable, mSpannable.getSpanEnd(mClickable0), in testOnKeyDown() 215 mSpannable.getSpanEnd(mClickable1)); in testOnKeyDown() 224 Selection.setSelection(mSpannable, mSpannable.getSpanEnd(mClickable0), in testOnKeyDown() 225 mSpannable.getSpanEnd(mClickable1)); in testOnKeyDown() 576 spannable.getSpanEnd(clickableSpan)); in assertSelectClickableLeftToRight() 581 assertSelection(spannable, spannable.getSpanEnd(clickableSpan), in assertSelectClickableRightToLeft()
|
D | QwertyKeyListenerTest.java | 220 assertEquals(content.length(), content.getSpanEnd(repl[0])); in testMarkAsReplaced() 227 assertEquals(2, content.getSpanEnd(repl[0])); in testMarkAsReplaced()
|
D | DigitsKeyListenerTest.java | 114 assertEquals("123".length(), filtered.getSpanEnd(what)); in testFilter1() 193 assertEquals("5123".length(), filtered.getSpanEnd(what)); in testFilter2() 276 assertEquals("51.23".length(), filtered.getSpanEnd(what)); in testFilter3() 362 assertEquals("-51.23".length(), filtered.getSpanEnd(what)); in testFilter4() 476 assertEquals("-\u06F5\u06F1\u066B\u06F2\u06F3".length(), filtered.getSpanEnd(what)); in testFilter4_internationalized()
|
D | NumberKeyListenerTest.java | 83 assertEquals("12345".length(), filtered.getSpanEnd(what)); in testFilter()
|
D | MetaKeyKeyListenerTest.java | 443 public int getSpanEnd(Object tag) { in getSpanEnd() method in MetaKeyKeyListenerTest.MockSpannable
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | DrawableMarginSpanTest.java | 138 drawableMarginSpan.chooseHeight(text, 0, text.getSpanEnd(drawableMarginSpan), 0, 0, fm); in testChooseHeight()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InputMethodSubtypeTest.java | 150 assertThat(subtypeNameSpannable.getSpanEnd(spans[0])).isEqualTo(5); in testSubtypeNameOverrideParcel()
|
/cts/tests/tests/text/src/android/text/util/cts/ |
D | LinkifyTest.java | 1038 str.length() - " end".length(), spannable.getSpanEnd(spans[0])); in verifyAddLinksSucceeds()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 47888 method public int getSpanEnd(Object); 47985 method public int getSpanEnd(Object); 48012 method public int getSpanEnd(Object); 48033 method public int getSpanEnd(Object); 48060 method public int getSpanEnd(Object);
|