Home
last modified time | relevance | path

Searched refs:clickableSpan (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/text/src/android/text/style/cts/
DClickableSpanTest.java38 ClickableSpan clickableSpan = new MyClickableSpan(); in testUpdateDrawState() local
45 clickableSpan.updateDrawState(tp); in testUpdateDrawState()
50 clickableSpan.updateDrawState(tp); in testUpdateDrawState()
57 ClickableSpan clickableSpan = new MyClickableSpan(); in testUpdateDrawStateNull() local
60 clickableSpan.updateDrawState(null); in testUpdateDrawStateNull()
/cts/tests/tests/text/src/android/text/method/cts/
DLinkMovementMethodTest.java480 final ClickableSpan clickableSpan = spy(new MockClickableSpan()); in markClickable() local
481 mActivityRule.runOnUiThread(() -> mSpannable.setSpan(clickableSpan, start, end, in markClickable()
484 return clickableSpan; in markClickable()
514 ClickableSpan clickableSpan) { in assertSelectClickableLeftToRight() argument
515 assertSelection(spannable, spannable.getSpanStart(clickableSpan), in assertSelectClickableLeftToRight()
516 spannable.getSpanEnd(clickableSpan)); in assertSelectClickableLeftToRight()
520 ClickableSpan clickableSpan) { in assertSelectClickableRightToLeft() argument
521 assertSelection(spannable, spannable.getSpanEnd(clickableSpan), in assertSelectClickableRightToLeft()
522 spannable.getSpanStart(clickableSpan)); in assertSelectClickableRightToLeft()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityTextActionTest.java146 final ClickableSpan clickableSpan = new ClickableSpan() { in testClickableSpan_shouldWorkFromAccessibilityService() local
154 textWithClickableSpan.setSpan(clickableSpan, 0, 1, 0); in testClickableSpan_shouldWorkFromAccessibilityService()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java7744 ClickableSpanTestDetails(ClickableSpan clickableSpan, TextView parent, in ClickableSpanTestDetails() argument
7746 mClickableSpan = clickableSpan; in ClickableSpanTestDetails()