Searched refs:clickOnTextAtIndex (Results 1 – 3 of 3) sorted by relevance
39 import static android.widget.espresso.TextViewActions.clickOnTextAtIndex;133 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(helloWorld.indexOf("world"))); in testPositionCursorAtTextAtIndex()147 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(0)); in testPositionCursorAtTextAtIndex_arabic()149 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(1)); in testPositionCursorAtTextAtIndex_arabic()151 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(2)); in testPositionCursorAtTextAtIndex_arabic()153 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(3)); in testPositionCursorAtTextAtIndex_arabic()155 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(4)); in testPositionCursorAtTextAtIndex_arabic()157 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(5)); in testPositionCursorAtTextAtIndex_arabic()167 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(0)); in testPositionCursorAtTextAtIndex_devanagari()169 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(1)); in testPositionCursorAtTextAtIndex_devanagari()[all …]
37 import static android.widget.espresso.TextViewActions.clickOnTextAtIndex;135 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(text.indexOf('e'))); in testInsertionActionMode()230 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(text.indexOf('e'))); in testEasyCorrect()243 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(text.indexOf('e'))); in testEasyCorrect()
53 public static ViewAction clickOnTextAtIndex(int index) { in clickOnTextAtIndex() method in TextViewActions