Searched refs:mouseClickOnTextAtIndex (Results 1 – 2 of 2) sorted by relevance
25 import static android.widget.espresso.TextViewActions.mouseClickOnTextAtIndex;101 onView(withId(R.id.textview)).perform(mouseClickOnTextAtIndex(helloWorld.indexOf("w"))); in testSelectTextByDrag()127 mouseClickOnTextAtIndex(text.indexOf("d"), MotionEvent.BUTTON_SECONDARY)); in testContextMenu()140 mouseClickOnTextAtIndex(text.indexOf("."))); in testContextMenu()144 mouseClickOnTextAtIndex(text.indexOf("d"), MotionEvent.BUTTON_SECONDARY)); in testContextMenu()158 mouseClickOnTextAtIndex(text.indexOf("d"), MotionEvent.BUTTON_SECONDARY)); in testContextMenu()171 mouseClickOnTextAtIndex(text.indexOf("i"), MotionEvent.BUTTON_SECONDARY)); in testContextMenu()
83 public static ViewAction mouseClickOnTextAtIndex(int index) { in mouseClickOnTextAtIndex() method in TextViewActions84 return mouseClickOnTextAtIndex(index, MotionEvent.BUTTON_PRIMARY); in mouseClickOnTextAtIndex()98 public static ViewAction mouseClickOnTextAtIndex(int index, in mouseClickOnTextAtIndex() method in TextViewActions