Home
last modified time | relevance | path

Searched refs:accessibilityTextWithSpan (Results 1 – 2 of 2) sorted by relevance

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityTextActionTest.java621 CharSequence accessibilityTextWithSpan = text.getText(); in findSingleSpanInViewWithText() local
624 assertTrue(accessibilityTextWithSpan instanceof Spanned); in findSingleSpanInViewWithText()
626 T spans[] = ((Spanned) accessibilityTextWithSpan) in findSingleSpanInViewWithText()
627 .getSpans(0, accessibilityTextWithSpan.length(), type); in findSingleSpanInViewWithText()
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DUiBot.java1387 final CharSequence accessibilityTextWithSpan = text.getText();
1388 if (!(accessibilityTextWithSpan instanceof Spanned)) {
1392 final URLSpan[] spans = ((Spanned) accessibilityTextWithSpan)
1393 .getSpans(0, accessibilityTextWithSpan.length(), URLSpan.class);