Home
last modified time | relevance | path

Searched refs:longPressOnTextAtIndex (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewActivityTest.java33 import static android.widget.espresso.TextViewActions.longPressOnTextAtIndex;
181 longPressOnTextAtIndex(helloWorld.indexOf("Kirk"))); in testLongPressToSelect()
228 onView(withId(R.id.textview)).perform(longPressOnTextAtIndex(text.indexOf("e"))); in testDragAndDrop()
289 longPressOnTextAtIndex(text.indexOf("appears"))); in testToolbarAppearsAfterSelection()
311 onView(withId(R.id.textview)).perform(longPressOnTextAtIndex(1)); in testToolbarAppearsAfterSelection_withFirstStringLtrAlgorithmAndRtlHint()
444 onView(withId(R.id.textview)).perform(longPressOnTextAtIndex(text.indexOf("f"))); in testToolbarAndSelectionHandle()
517 onView(withId(R.id.textview)).perform(longPressOnTextAtIndex(text.indexOf('f'))); in testSelectionHandles()
539 onView(withId(R.id.textview)).perform(longPressOnTextAtIndex(text.indexOf('\u0622'))); in testSelectionHandles_bidi()
580 onView(withId(R.id.textview)).perform(longPressOnTextAtIndex(text.indexOf('i'))); in testSelectionHandles_multiLine()
608 onView(withId(R.id.textview)).perform(longPressOnTextAtIndex(text.indexOf('\u0634'))); in testSelectionHandles_multiLine_rtl()
[all …]
DSuggestionsPopupWindowTest.java29 import static android.widget.espresso.TextViewActions.longPressOnTextAtIndex;
118 onView(withId(R.id.textview)).perform(longPressOnTextAtIndex(text.indexOf('e'))); in testSelectionActionMode()
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DTextViewActions.java144 public static ViewAction longPressOnTextAtIndex(int index) { in longPressOnTextAtIndex() method in TextViewActions