Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/tests/coretests/src/android/widget/
H A DTextViewActivityMouseTest.java25 import static android.widget.espresso.TextViewActions.mouseClickOnTextAtIndex;
91 onView(withId(R.id.textview)).perform(mouseClickOnTextAtIndex(helloWorld.indexOf("w"))); in testSelectTextByDrag()
115 mouseClickOnTextAtIndex(text.indexOf("d"), MotionEvent.BUTTON_SECONDARY)); in testContextMenu()
128 mouseClickOnTextAtIndex(text.indexOf("."))); in testContextMenu()
132 mouseClickOnTextAtIndex(text.indexOf("d"), MotionEvent.BUTTON_SECONDARY)); in testContextMenu()
146 mouseClickOnTextAtIndex(text.indexOf("d"), MotionEvent.BUTTON_SECONDARY)); in testContextMenu()
159 mouseClickOnTextAtIndex(text.indexOf("i"), MotionEvent.BUTTON_SECONDARY)); in testContextMenu()
409 onView(withId(R.id.textview)).perform(mouseClickOnTextAtIndex(helloWorld.indexOf("w"))); in testSelectionHandlesDisplay()
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/espresso/
H A DTextViewActions.java83 public static ViewAction mouseClickOnTextAtIndex(int index) { in mouseClickOnTextAtIndex() method in TextViewActions
84 return mouseClickOnTextAtIndex(index, MotionEvent.BUTTON_PRIMARY); in mouseClickOnTextAtIndex()
98 public static ViewAction mouseClickOnTextAtIndex(int index, in mouseClickOnTextAtIndex() method in TextViewActions