/cts/tests/tests/widget/src/android/widget/cts/ |
D | AbsListView_ScrollTest.java | 43 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);
|
D | RadioButtonTest.java | 37 import com.android.compatibility.common.util.CtsTouchUtils; 171 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mRadioButton); in testToggleViaEmulatedTap() 176 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mRadioButton); in testToggleViaEmulatedTap()
|
D | SpinnerTest.java | 50 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()
|
D | CheckBoxTest.java | 37 import com.android.compatibility.common.util.CtsTouchUtils; 171 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mCheckBox); in testToggleViaEmulatedTap() 176 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mCheckBox); in testToggleViaEmulatedTap()
|
D | ZoomButtonTest.java | 38 import com.android.compatibility.common.util.CtsTouchUtils; 135 CtsTouchUtils.emulateLongPressOnViewCenter(mInstrumentation, mZoomButton, 10000); in verifyZoomSpeed()
|
D | SearchView_CursorTest.java | 47 import com.android.compatibility.common.util.CtsTouchUtils; 217 CtsTouchUtils.emulateTapOnView(mInstrumentation, mSearchView, mSearchView.getWidth() / 2, in testSuggestionSelection()
|
D | AbsListViewTest.java | 78 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()
|
D | NumberPickerTest.java | 43 import com.android.compatibility.common.util.CtsTouchUtils; 342 CtsTouchUtils.emulateDragGesture(mInstrumentation, in testInteractionWithSwipeDown() 392 CtsTouchUtils.emulateDragGesture(mInstrumentation, in testInteractionWithSwipeUp()
|
D | CalendarViewTest.java | 42 import com.android.compatibility.common.util.CtsTouchUtils; 235 CtsTouchUtils.emulateTapOnView(mInstrumentation, calendarView, in verifyOnDateChangeListener()
|
D | PopupMenuTest.java | 47 import com.android.compatibility.common.util.CtsTouchUtils; 213 CtsTouchUtils.emulateTapOnView(mInstrumentation, mBuilder.mAnchor, 10, -20); in testDismissalViaTouch()
|
D | ListPopupWindowTest.java | 63 import com.android.compatibility.common.util.CtsTouchUtils; 463 CtsTouchUtils.emulateTapOnView(instrumentation, popupListView, in verifyDismissalViaTouch() 791 CtsTouchUtils.emulateDragGesture(mInstrumentation, emulatedX, emulatedStartY, in testCreateOnDragListener()
|
D | TimePickerTest.java | 47 import com.android.compatibility.common.util.CtsTouchUtils; 428 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mTimePicker.getHourView()); in testKeyboardInputModeClockAmPm() 506 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mTimePicker.getHourView()); in testKeyboardInputModeClock24H()
|
D | TextViewTest.java | 154 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/ |
D | SearchViewTest.java | 35 import com.android.compatibility.common.util.CtsTouchUtils; 86 CtsTouchUtils.emulateTapOnViewCenter( in testTapThenSetQuery()
|
D | OnScreenPositionTest.java | 39 import com.android.compatibility.common.util.CtsTouchUtils; 97 CtsTouchUtils.emulateTapOnViewCenter( in testImeIsNotBehindNavBar()
|
D | FocusHandlingTest.java | 53 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/ |
D | View_UsingViewsTest.java | 52 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()
|
D | ViewTreeObserverTest.java | 43 import com.android.compatibility.common.util.CtsTouchUtils; 152 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mButton); in testAddOnTouchModeChangeListener() 262 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mButton); in testRemoveOnTouchModeChangeListener()
|
D | ViewGroupOverlayTest.java | 45 import com.android.compatibility.common.util.CtsTouchUtils; 269 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mViewGroupWithOverlay); in testOverlayViewNoClicks()
|
D | PointerCaptureTest.java | 48 import com.android.compatibility.common.util.CtsTouchUtils; 235 CtsTouchUtils.emulateLongPressOnView(mInstrumentation, mTarget, 0, 0); in testWindowFocusChangeEndsCapture()
|
D | TooltipTest.java | 41 import com.android.compatibility.common.util.CtsTouchUtils; 173 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, target); in injectShortClick() 177 CtsTouchUtils.emulateLongPressOnView(mInstrumentation, target, in injectLongClick()
|
D | ViewTest.java | 108 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/ |
D | CtsTouchUtils.java | 33 public final class CtsTouchUtils { class 60 private CtsTouchUtils() {} in CtsTouchUtils() method in CtsTouchUtils
|