Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/style/cts/
DClickableSpanTest.java39 ClickableSpan clickableSpan = new MyClickableSpan(); in testUpdateDrawState() local
46 clickableSpan.updateDrawState(tp); in testUpdateDrawState()
51 clickableSpan.updateDrawState(tp); in testUpdateDrawState()
58 ClickableSpan clickableSpan = new MyClickableSpan(); in testUpdateDrawStateNull() local
61 clickableSpan.updateDrawState(null); in testUpdateDrawStateNull()
/cts/tests/tests/text/src/android/text/method/cts/
DLinkMovementMethodTest.java481 final ClickableSpan clickableSpan = spy(new MockClickableSpan()); in markClickable() local
482 mActivityRule.runOnUiThread(() -> mSpannable.setSpan(clickableSpan, start, end, in markClickable()
485 return clickableSpan; in markClickable()
515 ClickableSpan clickableSpan) { in assertSelectClickableLeftToRight() argument
516 assertSelection(spannable, spannable.getSpanStart(clickableSpan), in assertSelectClickableLeftToRight()
517 spannable.getSpanEnd(clickableSpan)); in assertSelectClickableLeftToRight()
521 ClickableSpan clickableSpan) { in assertSelectClickableRightToLeft() argument
522 assertSelection(spannable, spannable.getSpanEnd(clickableSpan), in assertSelectClickableRightToLeft()
523 spannable.getSpanStart(clickableSpan)); in assertSelectClickableRightToLeft()
/cts/tests/tests/permission3/src/android/permission3/cts/
DBaseUsePermissionTest.kt357 val clickableSpan = text.getSpans(0, text.length, ClickableSpan::class.java)[0] in <lambda>() constant
359 clickableSpan.onClick(View(context)) in <lambda>()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityTextActionTest.java206 final ClickableSpan clickableSpan = new ClickableSpan() { in testClickableSpan_shouldWorkFromAccessibilityService() local
215 textWithClickableSpan.setSpan(clickableSpan, 0, 1, 0); in testClickableSpan_shouldWorkFromAccessibilityService()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java8852 ClickableSpanTestDetails(ClickableSpan clickableSpan, TextView parent, in ClickableSpanTestDetails() argument
8854 mClickableSpan = clickableSpan; in ClickableSpanTestDetails()