/cts/tests/tests/text/src/android/text/util/cts/ |
D | LinkifyTest.java | 111 URLSpan[] spans = spannable.getSpans(0, spannable.length(), URLSpan.class); in testAddLinksToSpannable() local 139 URLSpan[] spans = ((Spannable) tv.getText()).getSpans(0, text.length(), URLSpan.class); in testAddLinksToTextView() local 167 URLSpan[] spans = ((Spannable) tv.getText()).getSpans(0, text.length(), URLSpan.class); in testAddLinksToTextViewWithScheme() local 212 URLSpan[] spans = ((Spannable) tv.getText()).getSpans(0, text.length(), URLSpan.class); in testAddLinksToTextViewWithSchemeAndFilter() local 263 URLSpan[] spans = (spannable.getSpans(0, spannable.length(), URLSpan.class)); in testAddLinksToSpannableWithScheme() local 298 URLSpan[] spans = (spannable.getSpans(0, spannable.length(), URLSpan.class)); in testAddLinksToSpannableWithSchemeAndFilter() local 364 final URLSpan[] spans = spannable.getSpans(0, spannable.length(), URLSpan.class); in testAddLinksPhoneNumbers() local 403 URLSpan[] spans = textView.getUrls(); in testAddLinks_withTextView_addsLinksWhenDefaultSchemeIsNull() local 418 URLSpan[] spans = textView.getUrls(); in testAddLinks_withTextView_addsLinksWhenSchemesArrayIsNull() local 435 URLSpan[] spans = textView.getUrls(); in testAddLinks_withTextView_prependsDefaultSchemeToBeginingOfLink() local [all …]
|
/cts/tests/tests/text/src/android/text/cts/ |
D | SpannableStringBuilderTest.java | 401 final Object[] spans = builder.getSpans(0, builder.length(), Object.class); in testAppend_textWithSpan() local 626 Object[] spans = builder.getSpans(0, text.length(), Object.class); in testGetSpans_returnsEmptyIfSetSpanIsNotCalled() local 651 final SubscriptSpan[] spans = builder.getSpans(0, builder.length(), SubscriptSpan.class); in assertGetSpans_returnsInInsertionOrder() local 688 final SubscriptSpan[] spans = builder.getSpans(0, builder.length(), SubscriptSpan.class); in testGetSpans_returnsInInsertionOrder_priorityAndRegular() local 713 Object[] spans = builder.getSpans(0, text.length(), Object.class); in testGetSpans_returnsSpansInInsertionOrderWhenTheLaterCoversTheFirst() local 738 Object[] spans = builder.getSpans(0, text.length(), Object.class); in testGetSpans_returnsSpansSortedFirstByPriorityThenByInsertionOrder() local 765 Object[] spans = builder.getSpans(0, text.length(), Object.class); in testGetSpans_returnsSpansInInsertionOrderAfterRemoveSpanCalls() local
|
D | HtmlTest.java | 70 Object[] spans = spanned.getSpans(start, end, Object.class); in verifySingleTagOnWhileString() local 91 Object[] spans = spanned.getSpans(start, end, Object.class); in verifyBadHtml() local 396 Object[] spans = spanned.getSpans(0, spanned.length(), Object.class); in testMarkupFromHtml() local 419 AlignmentSpan[] spans = spanned.getSpans(0, spanned.length(), AlignmentSpan.class); in testTextAlignCssFromHtml() local
|
D | PrecomputedTextTest.java | 202 final LocaleSpan[] spans = s.getSpans(0, s.length(), LocaleSpan.class); in testSpannedInterface_Spanned() local 224 final BackgroundColorSpan[] spans = s.getSpans(0, s.length(), BackgroundColorSpan.class); in testSpannedInterface_Spannable() local 255 LocaleSpan[] spans = s.getSpans(0, s.length(), LocaleSpan.class); in testSpannedInterface_String() local
|
D | BidiFormatterTest.java | 261 Object[] spans; in testCharSequenceApis() local
|
D | TextUtilsTest.java | 279 Object spans[] = strResult.getSpans(0, strResult.length(), Object.class); in testConcat() local 311 final Object[] spans = result.getSpans(0, result.length(), Object.class); in testConcat_NullParameters() local 331 final Object[] spans = result.getSpans(0, result.length(), Object.class); in testConcat_twoParagraphSpans() local 351 final Object[] spans = result.getSpans(0, result.length(), Object.class); in testConcat_oneParagraphSpanAndOneInclusiveSpan() local 363 Object[] spans; in testCopySpansFrom() local 2058 Object[] spans = ret.getSpans(0, ret.length(), Object.class); in testWriteToParcel() local 2084 Object[] spans = ret.getSpans(0, ret.length(), Object.class); in testWriteToParcel() local
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityTextActionTest.java | 427 T spans[] = ((Spanned) accessibilityTextWithSpan) in findSingleSpanInViewWithText() local
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewTest.java | 541 URLSpan[] spans = spanString.getSpans(0, spanString.length(), URLSpan.class); in testAccessAutoLinkMask() local 4339 URLSpan[] spans = mTextView.getUrls(); in testGetUrls() local
|