/cts/tests/framework/base/windowmanager/src/android/server/wm/input/ |
D | WindowInputTests.java | 108 private CtsTouchUtils mCtsTouchUtils; field in WindowInputTests 125 mCtsTouchUtils = new CtsTouchUtils(mInstrumentation.getTargetContext()); in setUp() 260 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, mView); in testMoveWindowAndTap() 294 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, mView); in testTouchModalWindow() 322 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, mView); in testFilterTouchesWhenObscuredByWindowFromSameUid() 355 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, mView); in testFilterTouchesWhenObscuredByWindowFromDifferentUid() 387 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, mView); in testFlagTouchesWhenObscuredByWindowFromDifferentUid() 421 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, mView); in testDoNotFlagTouchesWhenObscuredByZeroOpacityWindow() 455 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, mView); in testFlagTouchesWhenObscuredByMinPositiveOpacityWindow() 493 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, mView); in testFlagTouchesWhenPartiallyObscuredByZeroOpacityWindow() [all …]
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | RadioButtonTest.java | 52 private CtsTouchUtils mCtsTouchUtils; field in RadioButtonTest 69 mCtsTouchUtils = new CtsTouchUtils(mInstrumentation.getTargetContext()); in setup() 183 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, mRadioButton); in testToggleViaEmulatedTap() 189 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, mRadioButton); in testToggleViaEmulatedTap()
|
D | CheckBoxTest.java | 51 private CtsTouchUtils mCtsTouchUtils; field in CheckBoxTest 68 mCtsTouchUtils = new CtsTouchUtils(mInstrumentation.getTargetContext()); in setup() 182 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, mCheckBox); in testToggleViaEmulatedTap() 187 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, mCheckBox); in testToggleViaEmulatedTap()
|
D | AbsListView_ScrollTest.java | 82 private CtsTouchUtils mCtsTouchUtils; field in AbsListView_ScrollTest 98 mCtsTouchUtils = new CtsTouchUtils(mContext); in setup() 529 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, mListView); in testListScrollAndTap() 560 mCtsTouchUtils.emulateFlingGesture(mInstrumentation, mActivityRule, mListView, 622 mCtsTouchUtils.emulateFlingGesture(mInstrumentation, mActivityRule, mListView, false, 692 mCtsTouchUtils.emulateFlingGesture(mInstrumentation, mActivityRule, mListView, false); 705 mCtsTouchUtils.emulateFlingGesture(mInstrumentation, mActivityRule, mListView, false); 724 mCtsTouchUtils.emulateFlingGesture(mInstrumentation, mActivityRule, mListView, false);
|
D | ZoomButtonTest.java | 58 private CtsTouchUtils mCtsTouchUtils; field in ZoomButtonTest 75 mCtsTouchUtils = new CtsTouchUtils(mInstrumentation.getTargetContext()); in setup() 160 mCtsTouchUtils.emulateLongPressOnViewCenter(mInstrumentation, mActivityRule, in testSetZoomSpeed()
|
D | SpinnerTest.java | 72 private CtsTouchUtils mCtsTouchUtils; field in SpinnerTest 93 mCtsTouchUtils = new CtsTouchUtils(mInstrumentation.getTargetContext()); in setup() 399 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, in testDropDownMetricsDropdownMode() 432 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, null, mSpinnerDialogMode); in testDropDownMetricsDialogMode() 452 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, in testDropDownBackgroundDropdownMode() 473 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, null, mSpinnerDialogMode); in testDropDownBackgroundDialogMode()
|
D | SearchView_CursorTest.java | 71 private CtsTouchUtils mCtsTouchUtils; field in SearchView_CursorTest 165 mCtsTouchUtils = new CtsTouchUtils(mInstrumentation.getTargetContext()); in setup() 245 mCtsTouchUtils.emulateTapOnView(mInstrumentation, mActivityRule, mSearchView, in testSuggestionSelection()
|
D | AbsListViewTest.java | 133 private CtsTouchUtils mCtsTouchUtils; field in AbsListViewTest 147 mCtsTouchUtils = new CtsTouchUtils(mInstrumentation.getTargetContext()); in setup() 260 mCtsTouchUtils.emulateScrollToBottom(mInstrumentation, mActivityRule, mListView); in testSetOnScrollListener() 465 mCtsTouchUtils.emulateDragGesture(mInstrumentation, mActivityRule, in testSelectorOnScreen() 756 mCtsTouchUtils.emulateLongPressOnViewCenter(mInstrumentation, mActivityRule, v, 500); in testGetContextMenuInfo() 1163 mCtsTouchUtils.emulateLongPressOnViewCenter(mInstrumentation, mActivityRule, in testMultiSelectionWithLongPressAndTaps() 1174 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, in testMultiSelectionWithLongPressAndTaps() 1185 mCtsTouchUtils.emulateScrollToBottom(mInstrumentation, mActivityRule, mListView); in testMultiSelectionWithLongPressAndTaps() 1189 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, in testMultiSelectionWithLongPressAndTaps() 1247 mCtsTouchUtils.emulateDragGesture(mInstrumentation, mActivityRule, in verifyFastScroll() [all …]
|
D | CalendarViewTest.java | 59 private CtsTouchUtils mCtsTouchUtils; field in CalendarViewTest 80 mCtsTouchUtils = new CtsTouchUtils(mInstrumentation.getTargetContext()); in setup() 247 mCtsTouchUtils.emulateTapOnView(mInstrumentation, mActivityRule, calendarView, in verifyOnDateChangeListener()
|
D | NumberPickerTest.java | 90 private CtsTouchUtils mCtsTouchUtils; field in NumberPickerTest 117 mCtsTouchUtils = new CtsTouchUtils(targetContext); in setup() 404 mCtsTouchUtils.emulateDragGesture(mInstrumentation, mActivityRule, in testInteractionWithSwipeDown() 479 mCtsTouchUtils.emulateDragGesture(mInstrumentation, mActivityRule, in testInteractionWithSwipeUp()
|
D | PopupMenuTest.java | 77 private CtsTouchUtils mCtsTouchUtils; field in PopupMenuTest 97 mCtsTouchUtils = new CtsTouchUtils(mInstrumentation.getTargetContext()); in setup() 269 mCtsTouchUtils.emulateTapOnView(mInstrumentation, mActivityRule, mBuilder.mAnchor, 10, -20); in testDismissalViaTouch()
|
D | TimePickerTest.java | 71 private CtsTouchUtils mCtsTouchUtils; field in TimePickerTest 89 mCtsTouchUtils = new CtsTouchUtils(mInstrumentation.getTargetContext()); in setup() 446 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, in testKeyboardInputModeClockAmPm() 525 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, in testKeyboardInputModeClock24H()
|
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/ |
D | SetTouchableRegionTest.java | 59 private CtsTouchUtils mCtsTouchUtils; field in SetTouchableRegionTest 102 mCtsTouchUtils = new CtsTouchUtils(mInstrumentation.getTargetContext()); in setup() 116 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, in tapSync()
|
D | SurfaceControlViewHostTests.java | 172 private CtsTouchUtils mCtsTouchUtils; field in SurfaceControlViewHostTests 241 mCtsTouchUtils = new CtsTouchUtils(mInstrumentation.getTargetContext()); in setUp() 467 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, mSurfaceView); in testEmbeddedViewReceivesInput() 574 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, mSurfaceView); in testEmbeddedViewResizes() 584 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, mSurfaceView); in testEmbeddedViewResizes() 598 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, mSurfaceView); in testEmbeddedViewReleases() 607 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, mSurfaceView); in testEmbeddedViewReleases() 631 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, mSurfaceView); in testDisableInputTouch() 640 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, mSurfaceView); in testDisableInputTouch() 804 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, mSurfaceView); in testImeVisible() [all …]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | View_UsingViewsTest.java | 100 private CtsTouchUtils mCtsTouchUtils; field in View_UsingViewsTest 123 mCtsTouchUtils = new CtsTouchUtils(mInstrumentation.getTargetContext()); in setup() 405 mCtsTouchUtils.emulateLongPressOnViewCenter(mInstrumentation, mActivityRule, mEditText); in testSetupListeners() 416 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, mButtonCancel); in testSetupListeners() 426 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, mButtonOk); in testSetupListeners() 432 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, mButtonOk); in testSetupListeners() 438 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, mButtonOk); in testSetupListeners() 444 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, mButtonOk); in testSetupListeners()
|
D | ViewTreeObserverTest.java | 63 private CtsTouchUtils mCtsTouchUtils; field in ViewTreeObserverTest 84 mCtsTouchUtils = new CtsTouchUtils(mInstrumentation.getTargetContext()); in setup() 182 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, mButton); in testAddOnTouchModeChangeListener() 295 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, mButton); in testRemoveOnTouchModeChangeListener()
|
D | ViewGroupOverlayTest.java | 64 private CtsTouchUtils mCtsTouchUtils; field in ViewGroupOverlayTest 83 mCtsTouchUtils = new CtsTouchUtils(mInstrumentation.getTargetContext()); in setup() 283 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, in testOverlayViewNoClicks()
|
D | TooltipTest.java | 70 private CtsTouchUtils mCtsTouchUtils; field in TooltipTest 97 mCtsTouchUtils = new CtsTouchUtils(mInstrumentation.getTargetContext()); in setup() 191 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, target); in injectShortClick() 195 mCtsTouchUtils.emulateLongPressOnView(mInstrumentation, mActivityRule, target, in injectLongClick()
|
D | PointerCaptureTest.java | 72 private CtsTouchUtils mCtsTouchUtils; field in PointerCaptureTest 225 mCtsTouchUtils = new CtsTouchUtils(mInstrumentation.getTargetContext()); in setup()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InputMethodStatsTest.java | 330 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, null, editText); in testFromUser_withImm_showImeRequestFinished() 357 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, null, textView); in testFromUser_withImm_hideImeRequestFinished() 385 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, null, editText); in testFromUser_withWic_showImeRequestFinished() 412 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, null, textView); in testFromUser_withWic_hideImeRequestFinished()
|
D | FocusHandlingTest.java | 179 mCtsTouchUtils.emulateTapOnViewCenter( in testOnStartInputCalledOnceIme() 463 mCtsTouchUtils.emulateTapOnViewCenter(instrumentation, null, editTextRef.get()); in testSoftInputStateAlwaysVisibleFocusEditorAfterLaunch() 694 mCtsTouchUtils.emulateTapOnViewCenter( in testSetShowInputOnFocus() 722 mCtsTouchUtils.emulateTapOnViewCenter(instrumentation, null, editText); in testMultiWindowFocusHandleOnDifferentUiThread() 744 mCtsTouchUtils.emulateTapOnViewCenter(instrumentation, null, popupTextView); in testMultiWindowFocusHandleOnDifferentUiThread() 752 mCtsTouchUtils.emulateTapOnViewCenter(instrumentation, null, editText); in testMultiWindowFocusHandleOnDifferentUiThread() 795 mCtsTouchUtils.emulateTapOnViewCenter(instrumentation, null, editText); in testKeyboardStateAfterImeFocusableFlagChanged() 812 mCtsTouchUtils.emulateTapOnViewCenter(instrumentation, null, editText); in testKeyboardStateAfterImeFocusableFlagChanged() 840 mCtsTouchUtils.emulateTapOnViewCenter(instrumentation, null, popupTextView); in testOnCheckIsTextEditorRunOnUIThread() 954 mCtsTouchUtils.emulateTapOnViewCenter(instrumentation, null, editText); in testRequestFocusOnWindowFocusChanged()
|
D | SearchViewTest.java | 139 mCtsTouchUtils.emulateTapOnViewCenter( in testTapThenSetQuery() 204 mCtsTouchUtils.emulateTapOnViewCenter( in testShowImeWhenSearchViewFocusInListView()
|
D | KeyboardVisibilityControlTest.java | 179 private CtsTouchUtils mCtsTouchUtils; field in KeyboardVisibilityControlTest 184 mCtsTouchUtils = new CtsTouchUtils(mInstrumentation.getTargetContext()); in setup() 1537 mCtsTouchUtils.emulateDoubleTapOnViewCenter(mInstrumentation, in testImeHiddenWhenFocusToAppWithStateHiddenFlagInMultiWindowMode() 1543 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, in testImeHiddenWhenFocusToAppWithStateHiddenFlagInMultiWindowMode() 1617 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, in testIMEVisibleInSplitScreenAfterGainingFocus() 1625 mCtsTouchUtils.emulateDoubleTapOnViewCenter(mInstrumentation, in testIMEVisibleInSplitScreenAfterGainingFocus() 1694 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, in testIMEVisibleInSplitScreenWithWindowInsetsApi()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/keyguard/ |
D | KeyguardLockedTests.java | 82 private final CtsTouchUtils mCtsTouchUtils = field in KeyguardLockedTests 412 mCtsTouchUtils.emulateTapOnViewCenter(getInstrumentation(), null, activity.mEditor); in testImeShowsAfterLockScreenOnEditorTap() 425 mCtsTouchUtils.emulateTapOnViewCenter(getInstrumentation(), null, activity.mEditor); in testImeShowsAfterLockScreenOnEditorTap()
|
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | EndToEndImeTestBase.java | 56 protected final CtsTouchUtils mCtsTouchUtils = new CtsTouchUtils( field in EndToEndImeTestBase
|