Home
last modified time | relevance | path

Searched defs:spans (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/text/src/android/text/util/cts/
DLinkifyTest.java110 URLSpan[] spans = spannable.getSpans(0, spannable.length(), URLSpan.class); in testAddLinksToSpannable() local
138 URLSpan[] spans = ((Spannable) tv.getText()).getSpans(0, text.length(), URLSpan.class); in testAddLinksToTextView() local
166 URLSpan[] spans = ((Spannable) tv.getText()).getSpans(0, text.length(), URLSpan.class); in testAddLinksToTextViewWithScheme() local
211 URLSpan[] spans = ((Spannable) tv.getText()).getSpans(0, text.length(), URLSpan.class); in testAddLinksToTextViewWithSchemeAndFilter() local
262 URLSpan[] spans = (spannable.getSpans(0, spannable.length(), URLSpan.class)); in testAddLinksToSpannableWithScheme() local
297 URLSpan[] spans = (spannable.getSpans(0, spannable.length(), URLSpan.class)); in testAddLinksToSpannableWithSchemeAndFilter() local
360 URLSpan[] spans = spannable.getSpans(0, spannable.length(), URLSpan.class); in testAddLinksPhoneNumbers() local
381 URLSpan[] spans = spannable.getSpans(0, spannable.length(), URLSpan.class); in testAddLinks_addsLinksWhenDefaultSchemeIsNull() local
392 URLSpan[] spans = spannable.getSpans(0, spannable.length(), URLSpan.class); in testAddLinks_addsLinksWhenSchemesArrayIsNull() local
405 URLSpan[] spans = spannable.getSpans(0, spannable.length(), URLSpan.class); in testAddLinks_prependsDefaultSchemeToBeginingOfLink() local
[all …]
/cts/tests/tests/text/src/android/text/cts/
DSpannableStringBuilderTest.java402 final Object[] spans = builder.getSpans(0, builder.length(), Object.class); in testAppend_textWithSpan() local
627 Object[] spans = builder.getSpans(0, text.length(), Object.class); in testGetSpans_returnsEmptyIfSetSpanIsNotCalled() local
652 final SubscriptSpan[] spans = builder.getSpans(0, builder.length(), SubscriptSpan.class); in assertGetSpans_returnsInInsertionOrder() local
689 final SubscriptSpan[] spans = builder.getSpans(0, builder.length(), SubscriptSpan.class); in testGetSpans_returnsInInsertionOrder_priorityAndRegular() local
714 Object[] spans = builder.getSpans(0, text.length(), Object.class); in testGetSpans_returnsSpansInInsertionOrderWhenTheLaterCoversTheFirst() local
739 Object[] spans = builder.getSpans(0, text.length(), Object.class); in testGetSpans_returnsSpansSortedFirstByPriorityThenByInsertionOrder() local
766 Object[] spans = builder.getSpans(0, text.length(), Object.class); in testGetSpans_returnsSpansInInsertionOrderAfterRemoveSpanCalls() local
788 Object[] spans = builder.getSpans(0, text.length(), Object.class, false); in testGetSpans_sortsByPriorityEvenWhenSortParamIsFalse() local
DHtmlTest.java70 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
DBidiFormatterTest.java307 Object[] spans; in testCharSequenceApis() local
DTextUtilsTest.java279 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
2054 Object[] spans = ret.getSpans(0, ret.length(), Object.class); in testWriteToParcel() local
2080 Object[] spans = ret.getSpans(0, ret.length(), Object.class); in testWriteToParcel() local
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityTextActionTest.java296 T spans[] = ((Spanned) accessibilityTextWithSpan) in findSingleSpanInViewWithText() local
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java536 URLSpan[] spans = spanString.getSpans(0, spanString.length(), URLSpan.class); in testAccessAutoLinkMask() local
4298 URLSpan[] spans = mTextView.getUrls(); in testGetUrls() local