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.java607 CharSequence accessibilityTextWithSpan = text.getText(); in findSingleSpanInViewWithText() local
610 assertTrue(accessibilityTextWithSpan instanceof Spanned); in findSingleSpanInViewWithText()
612 T spans[] = ((Spanned) accessibilityTextWithSpan) in findSingleSpanInViewWithText()
613 .getSpans(0, accessibilityTextWithSpan.length(), type); in findSingleSpanInViewWithText()
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DUiBot.java1245 final CharSequence accessibilityTextWithSpan = text.getText();
1246 if (!(accessibilityTextWithSpan instanceof Spanned)) {
1250 final URLSpan[] spans = ((Spanned) accessibilityTextWithSpan)
1251 .getSpans(0, accessibilityTextWithSpan.length(), URLSpan.class);