Searched refs:mouseClickOnTextAtIndex (Results 1 – 2 of 2) sorted by relevance
34 import static android.widget.espresso.TextViewActions.mouseClickOnTextAtIndex;100 onView(withId(R.id.textview)).perform(mouseClickOnTextAtIndex(helloWorld.indexOf("w"))); in testSelectTextByDrag()126 mouseClickOnTextAtIndex(text.indexOf("d"), MotionEvent.BUTTON_SECONDARY)); in testContextMenu()139 mouseClickOnTextAtIndex(text.indexOf("."))); in testContextMenu()143 mouseClickOnTextAtIndex(text.indexOf("d"), MotionEvent.BUTTON_SECONDARY)); in testContextMenu()157 mouseClickOnTextAtIndex(text.indexOf("d"), MotionEvent.BUTTON_SECONDARY)); in testContextMenu()170 mouseClickOnTextAtIndex(text.indexOf("i"), MotionEvent.BUTTON_SECONDARY)); in testContextMenu()
82 public static ViewAction mouseClickOnTextAtIndex(int index) { in mouseClickOnTextAtIndex() method in TextViewActions83 return mouseClickOnTextAtIndex(index, MotionEvent.BUTTON_PRIMARY); in mouseClickOnTextAtIndex()97 public static ViewAction mouseClickOnTextAtIndex(int index, in mouseClickOnTextAtIndex() method in TextViewActions