Home
last modified time | relevance | path

Searched refs:mCtsTouchUtils (Results 1 – 25 of 32) sorted by relevance

12

/cts/tests/framework/base/windowmanager/src/android/server/wm/input/
DWindowInputTests.java108 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/
DRadioButtonTest.java52 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()
DCheckBoxTest.java51 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()
DAbsListView_ScrollTest.java82 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);
DZoomButtonTest.java58 private CtsTouchUtils mCtsTouchUtils; field in ZoomButtonTest
75 mCtsTouchUtils = new CtsTouchUtils(mInstrumentation.getTargetContext()); in setup()
160 mCtsTouchUtils.emulateLongPressOnViewCenter(mInstrumentation, mActivityRule, in testSetZoomSpeed()
DSpinnerTest.java72 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()
DSearchView_CursorTest.java71 private CtsTouchUtils mCtsTouchUtils; field in SearchView_CursorTest
165 mCtsTouchUtils = new CtsTouchUtils(mInstrumentation.getTargetContext()); in setup()
245 mCtsTouchUtils.emulateTapOnView(mInstrumentation, mActivityRule, mSearchView, in testSuggestionSelection()
DAbsListViewTest.java133 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 …]
DCalendarViewTest.java59 private CtsTouchUtils mCtsTouchUtils; field in CalendarViewTest
80 mCtsTouchUtils = new CtsTouchUtils(mInstrumentation.getTargetContext()); in setup()
247 mCtsTouchUtils.emulateTapOnView(mInstrumentation, mActivityRule, calendarView, in verifyOnDateChangeListener()
DNumberPickerTest.java90 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()
DPopupMenuTest.java77 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()
DTimePickerTest.java71 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/
DSetTouchableRegionTest.java59 private CtsTouchUtils mCtsTouchUtils; field in SetTouchableRegionTest
102 mCtsTouchUtils = new CtsTouchUtils(mInstrumentation.getTargetContext()); in setup()
116 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, in tapSync()
DSurfaceControlViewHostTests.java172 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/
DView_UsingViewsTest.java100 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()
DViewTreeObserverTest.java63 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()
DViewGroupOverlayTest.java64 private CtsTouchUtils mCtsTouchUtils; field in ViewGroupOverlayTest
83 mCtsTouchUtils = new CtsTouchUtils(mInstrumentation.getTargetContext()); in setup()
283 mCtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, in testOverlayViewNoClicks()
DTooltipTest.java70 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()
DPointerCaptureTest.java72 private CtsTouchUtils mCtsTouchUtils; field in PointerCaptureTest
225 mCtsTouchUtils = new CtsTouchUtils(mInstrumentation.getTargetContext()); in setup()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputMethodStatsTest.java330 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()
DFocusHandlingTest.java179 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()
DSearchViewTest.java139 mCtsTouchUtils.emulateTapOnViewCenter( in testTapThenSetQuery()
204 mCtsTouchUtils.emulateTapOnViewCenter( in testShowImeWhenSearchViewFocusInListView()
DKeyboardVisibilityControlTest.java179 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/
DKeyguardLockedTests.java82 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/
DEndToEndImeTestBase.java56 protected final CtsTouchUtils mCtsTouchUtils = new CtsTouchUtils( field in EndToEndImeTestBase

12