Home
last modified time | relevance | path

Searched refs:CtsTouchUtils (Results 1 – 23 of 23) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DAbsListView_ScrollTest.java43 import com.android.compatibility.common.util.CtsTouchUtils;
44 import com.android.compatibility.common.util.CtsTouchUtils.EventInjectionListener;
518 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mListView); in testListScrollAndTap()
549 CtsTouchUtils.emulateFlingGesture(mInstrumentation, mListView, isDownwardsFlingGesture);
610 CtsTouchUtils.emulateFlingGesture(mInstrumentation, mListView, false,
681 CtsTouchUtils.emulateFlingGesture(mInstrumentation, mListView, false);
694 CtsTouchUtils.emulateFlingGesture(mInstrumentation, mListView, false);
713 CtsTouchUtils.emulateFlingGesture(mInstrumentation, mListView, false);
DRadioButtonTest.java37 import com.android.compatibility.common.util.CtsTouchUtils;
171 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mRadioButton); in testToggleViaEmulatedTap()
176 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mRadioButton); in testToggleViaEmulatedTap()
DSpinnerTest.java50 import com.android.compatibility.common.util.CtsTouchUtils;
339 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mSpinnerDropdownMode); in testDropDownMetricsDropdownMode()
373 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mSpinnerDialogMode); in testDropDownMetricsDialogMode()
395 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mSpinnerDropdownMode); in testDropDownBackgroundDropdownMode()
416 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mSpinnerDropdownMode); in testDropDownBackgroundDropdownMode()
438 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mSpinnerDialogMode); in testDropDownBackgroundDialogMode()
456 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mSpinnerDialogMode); in testDropDownBackgroundDialogMode()
DCheckBoxTest.java37 import com.android.compatibility.common.util.CtsTouchUtils;
171 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mCheckBox); in testToggleViaEmulatedTap()
176 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mCheckBox); in testToggleViaEmulatedTap()
DZoomButtonTest.java38 import com.android.compatibility.common.util.CtsTouchUtils;
135 CtsTouchUtils.emulateLongPressOnViewCenter(mInstrumentation, mZoomButton, 10000); in verifyZoomSpeed()
DSearchView_CursorTest.java47 import com.android.compatibility.common.util.CtsTouchUtils;
217 CtsTouchUtils.emulateTapOnView(mInstrumentation, mSearchView, mSearchView.getWidth() / 2, in testSuggestionSelection()
DAbsListViewTest.java78 import com.android.compatibility.common.util.CtsTouchUtils;
230 CtsTouchUtils.emulateScrollToBottom(mInstrumentation, mListView); in testSetOnScrollListener()
437 CtsTouchUtils.emulateDragGesture(mInstrumentation, pt[0] + 2, pt[1] + 2, 0, 10); in testSelectorOnScreen()
682 CtsTouchUtils.emulateLongPressOnViewCenter(mInstrumentation, v, 500); in testGetContextMenuInfo()
1078 CtsTouchUtils.emulateLongPressOnViewCenter(mInstrumentation, in testMultiSelectionWithLongPressAndTaps()
1089 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, in testMultiSelectionWithLongPressAndTaps()
1100 CtsTouchUtils.emulateScrollToBottom(mInstrumentation, mListView); in testMultiSelectionWithLongPressAndTaps()
1104 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, in testMultiSelectionWithLongPressAndTaps()
1141 CtsTouchUtils.emulateDragGesture(mInstrumentation, in verifyFastScroll()
1151 CtsTouchUtils.emulateDragGesture(mInstrumentation, in verifyFastScroll()
DNumberPickerTest.java43 import com.android.compatibility.common.util.CtsTouchUtils;
342 CtsTouchUtils.emulateDragGesture(mInstrumentation, in testInteractionWithSwipeDown()
392 CtsTouchUtils.emulateDragGesture(mInstrumentation, in testInteractionWithSwipeUp()
DCalendarViewTest.java42 import com.android.compatibility.common.util.CtsTouchUtils;
235 CtsTouchUtils.emulateTapOnView(mInstrumentation, calendarView, in verifyOnDateChangeListener()
DPopupMenuTest.java47 import com.android.compatibility.common.util.CtsTouchUtils;
213 CtsTouchUtils.emulateTapOnView(mInstrumentation, mBuilder.mAnchor, 10, -20); in testDismissalViaTouch()
DListPopupWindowTest.java63 import com.android.compatibility.common.util.CtsTouchUtils;
463 CtsTouchUtils.emulateTapOnView(instrumentation, popupListView, in verifyDismissalViaTouch()
791 CtsTouchUtils.emulateDragGesture(mInstrumentation, emulatedX, emulatedStartY, in testCreateOnDragListener()
DTimePickerTest.java47 import com.android.compatibility.common.util.CtsTouchUtils;
428 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mTimePicker.getHourView()); in testKeyboardInputModeClockAmPm()
506 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mTimePicker.getHourView()); in testKeyboardInputModeClock24H()
DTextViewTest.java154 import com.android.compatibility.common.util.CtsTouchUtils;
669 CtsTouchUtils.emulateLongPressOnViewCenter(mInstrumentation, textView); in testAccessHighlightColor()
1712 CtsTouchUtils.emulateLongPressOnViewCenter(mInstrumentation, mTextView); in testRemoveSelectionWithSelectionHandles()
5388 CtsTouchUtils.emulateLongPressOnViewCenter(mInstrumentation, mTextView); in testCancelLongPress()
5457 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mTextView); in testSelectAllJustAfterTap()
6615 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mTextView); in testTextIsSelectableFocusAndOnClick()
6622 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mTextView); in testTextIsSelectableFocusAndOnClick()
6637 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mTextView); in testTextIsSelectableFocusAndOnClick()
6644 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mTextView); in testTextIsSelectableFocusAndOnClick()
6732 CtsTouchUtils.emulateTapOnView(mInstrumentation, mTextView, spanDetails.mXPosInside, in testClickableSpanOnClickSingleTapInside()
[all …]
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DSearchViewTest.java35 import com.android.compatibility.common.util.CtsTouchUtils;
86 CtsTouchUtils.emulateTapOnViewCenter( in testTapThenSetQuery()
DOnScreenPositionTest.java39 import com.android.compatibility.common.util.CtsTouchUtils;
97 CtsTouchUtils.emulateTapOnViewCenter( in testImeIsNotBehindNavBar()
DFocusHandlingTest.java53 import com.android.compatibility.common.util.CtsTouchUtils;
112 CtsTouchUtils.emulateTapOnViewCenter( in testOnStartInputCalledOnceIme()
408 CtsTouchUtils.emulateTapOnViewCenter( in testSetShowInputOnFocus()
/cts/tests/tests/view/src/android/view/cts/
DView_UsingViewsTest.java52 import com.android.compatibility.common.util.CtsTouchUtils;
390 CtsTouchUtils.emulateLongPressOnViewCenter(mInstrumentation, mEditText); in testSetupListeners()
397 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mButtonCancel); in testSetupListeners()
404 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mButtonOk); in testSetupListeners()
410 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mButtonOk); in testSetupListeners()
416 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mButtonOk); in testSetupListeners()
422 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mButtonOk); in testSetupListeners()
DViewTreeObserverTest.java43 import com.android.compatibility.common.util.CtsTouchUtils;
152 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mButton); in testAddOnTouchModeChangeListener()
262 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mButton); in testRemoveOnTouchModeChangeListener()
DViewGroupOverlayTest.java45 import com.android.compatibility.common.util.CtsTouchUtils;
269 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mViewGroupWithOverlay); in testOverlayViewNoClicks()
DPointerCaptureTest.java48 import com.android.compatibility.common.util.CtsTouchUtils;
235 CtsTouchUtils.emulateLongPressOnView(mInstrumentation, mTarget, 0, 0); in testWindowFocusChangeEndsCapture()
DTooltipTest.java41 import com.android.compatibility.common.util.CtsTouchUtils;
173 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, target); in injectShortClick()
177 CtsTouchUtils.emulateLongPressOnView(mInstrumentation, target, in injectLongClick()
DViewTest.java108 import com.android.compatibility.common.util.CtsTouchUtils;
406 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, view); in testAccessTouchDelegate()
3306 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, view); in testOnTouchEvent()
3648 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mockView); in testTouchMode()
3686 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mockView); in testTouchMode()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DCtsTouchUtils.java33 public final class CtsTouchUtils { class
60 private CtsTouchUtils() {} in CtsTouchUtils() method in CtsTouchUtils