Searched defs:spans (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/text/src/android/text/util/cts/ |
D | LinkifyTest.java | 92 URLSpan[] spans = spannable.getSpans(0, spannable.length(), URLSpan.class); in testAddLinks1() local 120 URLSpan[] spans = ((Spannable)tv.getText()).getSpans(0, text.length(), URLSpan.class); in testAddLinks2() local 147 URLSpan[] spans = ((Spannable) tv.getText()).getSpans(0, text.length(), URLSpan.class); in testAddLinks3() local 190 URLSpan[] spans = ((Spannable) tv.getText()).getSpans(0, text.length(), URLSpan.class); in testAddLinks4() local 240 URLSpan[] spans = (spannable.getSpans(0, spannable.length(), URLSpan.class)); in testAddLinks5() local 271 URLSpan[] spans = (spannable.getSpans(0, spannable.length(), URLSpan.class)); in testAddLinks6() local 332 URLSpan[] spans = spannable.getSpans(0, spannable.length(), URLSpan.class); in testAddLinks7() local 360 URLSpan[] spans = spannable.getSpans(0, spannable.length(), URLSpan.class); in testAddLinks_addsLinksWhenDefaultSchemeIsNull() local 371 URLSpan[] spans = spannable.getSpans(0, spannable.length(), URLSpan.class); in testAddLinks_addsLinksWhenSchemesArrayIsNull() local 384 URLSpan[] spans = spannable.getSpans(0, spannable.length(), URLSpan.class); in testAddLinks_prependsDefaultSchemeToBeginingOfLink() local [all …]
|
/cts/tests/tests/text/src/android/text/cts/ |
D | SpannableStringBuilderTest.java | 584 Object[] spans = builder.getSpans(0, text.length(), Object.class); in testGetSpans_returnsEmptyIfSetSpanIsNotCalled() local 598 Object[] spans = builder.getSpans(0, text.length(), Object.class); in testGetSpans_returnsSpansInInsertionOrderWhenTheLaterCoversTheFirst() local 623 Object[] spans = builder.getSpans(0, text.length(), Object.class); in testGetSpans_returnsSpansSortedFirstByPriorityThenByInsertionOrder() local 650 Object[] spans = builder.getSpans(0, text.length(), Object.class); in testGetSpans_returnsSpansInInsertionOrderAfterRemoveSpanCalls() local 672 Object[] spans = builder.getSpans(0, text.length(), Object.class, false); in testGetSpans_sortsByPriorityEvenWhenSortParamIsFalse() local
|
D | HtmlTest.java | 64 Object[] spans = spanned.getSpans(start, end, Object.class); in assertSingleTagOnWhileString() local 84 Object[] spans = spanned.getSpans(start, end, Object.class); in assertBadHtml() local 362 Object[] spans = spanned.getSpans(0, spanned.length(), Object.class); in testMarkupFromHtml() local 384 AlignmentSpan[] spans = spanned.getSpans(0, spanned.length(), AlignmentSpan.class); in testTextAlignCssFromHtml() local
|
D | TextUtilsTest.java | 155 Object spans[] = strResult.getSpans(0, strResult.length(), Object.class); in testConcat() local 181 Object[] spans; in testCopySpansFrom() local 1864 Object[] spans = ret.getSpans(0, ret.length(), Object.class); in testWriteToParcel() local 1890 Object[] spans = ret.getSpans(0, ret.length(), Object.class); in testWriteToParcel() local
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewTest.java | 365 URLSpan[] spans = spanString.getSpans(0, spanString.length(), URLSpan.class); in testAccessAutoLinkMask() local 3437 URLSpan[] spans = mTextView.getUrls(); in testGetUrls() local
|