Searched refs:longPressOnTextAtIndex (Results 1 – 3 of 3) sorted by relevance
33 import static android.widget.espresso.TextViewActions.longPressOnTextAtIndex;200 longPressOnTextAtIndex(helloWorld.indexOf("Kirk"))); in testLongPressToSelect()247 onView(withId(R.id.textview)).perform(longPressOnTextAtIndex(text.indexOf("e"))); in testDragAndDrop()308 longPressOnTextAtIndex(text.indexOf("appears"))); in testToolbarAppearsAfterSelection()329 onView(withId(R.id.textview)).perform(longPressOnTextAtIndex(1)); in testToolbarAppearsAfterSelection_withFirstStringLtrAlgorithmAndRtlHint()407 onView(withId(R.id.textview)).perform(longPressOnTextAtIndex(text.indexOf("f"))); in testToolbarMenuItemClickAfterSelectionChange()451 onView(withId(R.id.textview)).perform(longPressOnTextAtIndex(text.indexOf("d"))); in testSelectionOnCreateActionModeReturnsFalse()540 onView(withId(R.id.textview)).perform(longPressOnTextAtIndex(text.indexOf("f"))); in testToolbarAndSelectionHandle()1061 onView(withId(R.id.textview)).perform(longPressOnTextAtIndex(index)); in testResetMenuItemTitle()1232 onView(withId(R.id.textview)).perform(longPressOnTextAtIndex(0)); in testTextClassifierSession()[all …]
26 import static android.widget.espresso.TextViewActions.longPressOnTextAtIndex;118 onView(withId(R.id.textview)).perform(longPressOnTextAtIndex(text.indexOf('e'))); in testSelectionActionMode()
144 public static ViewAction longPressOnTextAtIndex(int index) { in longPressOnTextAtIndex() method in TextViewActions