/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/ |
D | MenuListViewTouchHandlerTest.java | 121 mMotionEventHelper.obtainMotionEvent(/* downTime= */ 0, /* eventTime= */ 1, in onActionDownEvent_shouldCancelAnimations() 136 mMotionEventHelper.obtainMotionEvent(/* downTime= */ 0, /* eventTime= */ 1, in onActionMoveEvent_notConsumedEvent_shouldMoveToPosition() 140 mMotionEventHelper.obtainMotionEvent(/* downTime= */ 0, /* eventTime= */ 3, in onActionMoveEvent_notConsumedEvent_shouldMoveToPosition() 157 mMotionEventHelper.obtainMotionEvent(/* downTime= */ 0, /* eventTime= */ 1, in onActionMoveEvent_shouldShowDismissView() 161 mMotionEventHelper.obtainMotionEvent(/* downTime= */ 0, /* eventTime= */ 3, in onActionMoveEvent_shouldShowDismissView() 176 mMotionEventHelper.obtainMotionEvent(/* downTime= */ 0, /* eventTime= */ 1, in onActionMoveEvent_shouldShowInteractView() 180 mMotionEventHelper.obtainMotionEvent(/* downTime= */ 0, /* eventTime= */ 3, in onActionMoveEvent_shouldShowInteractView() 194 mMotionEventHelper.obtainMotionEvent(/* downTime= */ 0, /* eventTime= */ 1, in dragAndDrop_shouldFlingMenuThenSpringToEdge() 198 mMotionEventHelper.obtainMotionEvent(/* downTime= */ 0, /* eventTime= */ 3, in dragAndDrop_shouldFlingMenuThenSpringToEdge() 202 mMotionEventHelper.obtainMotionEvent(/* downTime= */ 0, /* eventTime= */ 5, in dragAndDrop_shouldFlingMenuThenSpringToEdge() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/ |
D | MagnificationGestureDetectorTest.java | 82 final MotionEvent downEvent = mMotionEventHelper.obtainMotionEvent(downTime, downTime, in onActionDown_invokeDownCallback() 93 final MotionEvent downEvent = mMotionEventHelper.obtainMotionEvent(downTime, downTime, in performSingleTap_invokeCallbacksInOrder() 95 final MotionEvent upEvent = mMotionEventHelper.obtainMotionEvent(downTime, downTime, in performSingleTap_invokeCallbacksInOrder() 111 final MotionEvent downEvent = mMotionEventHelper.obtainMotionEvent(downTime, downTime, in performSingleTapWithActionCancel_notInvokeOnSingleTapCallback() 113 final MotionEvent cancelEvent = mMotionEventHelper.obtainMotionEvent(downTime, downTime, in performSingleTapWithActionCancel_notInvokeOnSingleTapCallback() 125 final MotionEvent downEvent = mMotionEventHelper.obtainMotionEvent(downTime, downTime, in performSingleTapWithTwoPointers_notInvokeSingleTapCallback() 127 final MotionEvent upEvent = mMotionEventHelper.obtainMotionEvent(downTime, downTime, in performSingleTapWithTwoPointers_notInvokeSingleTapCallback() 139 final MotionEvent downEvent = mMotionEventHelper.obtainMotionEvent(downTime, downTime, in performLongPress_invokeCallbacksInOrder() 141 final MotionEvent upEvent = mMotionEventHelper.obtainMotionEvent(downTime, downTime, in performLongPress_invokeCallbacksInOrder() 159 final MotionEvent downEvent = mMotionEventHelper.obtainMotionEvent(downTime, downTime, in performDrag_invokeCallbacksInOrder() [all …]
|
D | MagnificationModeSwitchTest.java | 360 mTouchListener.onTouch(mSpyImageView, obtainMotionEvent( in onDraggingGestureFinish_buttonIsShowing_stickToRightEdge() 363 obtainMotionEvent(downTime, downTime, ACTION_MOVE, windowHalfWidth - offset, 100)); in onDraggingGestureFinish_buttonIsShowing_stickToRightEdge() 365 mTouchListener.onTouch(mSpyImageView, obtainMotionEvent( in onDraggingGestureFinish_buttonIsShowing_stickToRightEdge() 379 obtainMotionEvent(downTime, 0, ACTION_DOWN, 100, 100)); in performSingleTap_fullscreenMode_callbackTriggered() 382 obtainMotionEvent(downTime, downTime, ACTION_UP, 100, 100)); in performSingleTap_fullscreenMode_callbackTriggered() 394 obtainMotionEvent(downTime, 0, ACTION_DOWN, 100, 100)); in sendDownEvent_fullscreenMode_fadeOutAnimationIsNull() 407 obtainMotionEvent(downTime, 0, ACTION_DOWN, 100, 100)); in sendDownEvent_fullscreenModeAndFadingOut_cancelAnimation() 420 mTouchListener.onTouch(mSpyImageView, obtainMotionEvent( in performDragging_showMagnificationButton_updateViewLayout() 424 obtainMotionEvent(downTime, downTime, ACTION_MOVE, 100 + offset, in performDragging_showMagnificationButton_updateViewLayout() 430 mTouchListener.onTouch(mSpyImageView, obtainMotionEvent( in performDragging_showMagnificationButton_updateViewLayout() [all …]
|
D | MotionEventHelper.java | 39 public MotionEvent obtainMotionEvent(long downTime, long eventTime, int action, float x, in obtainMotionEvent() method in MotionEventHelper
|
D | WindowMagnificationControllerWindowlessMagnifierTest.java | 1461 obtainMotionEvent(downTime, 0, ACTION_DOWN, 100, 100)); 1463 obtainMotionEvent(downTime, downTime, ACTION_UP, 100, 100)); 1475 private MotionEvent obtainMotionEvent(long downTime, long eventTime, int action, float x, 1477 return mMotionEventHelper.obtainMotionEvent(downTime, eventTime, action, x, y);
|
D | WindowMagnificationControllerTest.java | 1440 obtainMotionEvent(downTime, 0, ACTION_DOWN, 100, 100)); 1442 obtainMotionEvent(downTime, downTime, ACTION_UP, 100, 100)); 1454 private MotionEvent obtainMotionEvent(long downTime, long eventTime, int action, float x, 1456 return mMotionEventHelper.obtainMotionEvent(downTime, eventTime, action, x, y);
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/ |
D | PipResizeGestureHandlerTest.java | 158 obtainMotionEvent(MotionEvent.ACTION_POINTER_DOWN, topLeft, bottomRight); in twoInput_triggersPinchResize_getBigger() 164 MotionEvent moveEvent1 = obtainMotionEvent(MotionEvent.ACTION_MOVE, topLeft, bottomRight); in twoInput_triggersPinchResize_getBigger() 170 MotionEvent moveEvent2 = obtainMotionEvent(MotionEvent.ACTION_MOVE, topLeft, bottomRight); in twoInput_triggersPinchResize_getBigger() 176 MotionEvent upEvent = obtainMotionEvent(MotionEvent.ACTION_UP, topLeft, bottomRight); in twoInput_triggersPinchResize_getBigger() 199 obtainMotionEvent(MotionEvent.ACTION_POINTER_DOWN, topLeft, bottomRight); in twoInput_triggersPinchResize_getSmaller() 204 MotionEvent moveEvent1 = obtainMotionEvent(MotionEvent.ACTION_MOVE, topLeft, bottomRight); in twoInput_triggersPinchResize_getSmaller() 209 MotionEvent moveEvent2 = obtainMotionEvent(MotionEvent.ACTION_MOVE, topLeft, bottomRight); in twoInput_triggersPinchResize_getSmaller() 215 MotionEvent upEvent = obtainMotionEvent(MotionEvent.ACTION_UP, topLeft, bottomRight); in twoInput_triggersPinchResize_getSmaller() 271 private MotionEvent obtainMotionEvent(int action, int topLeft, int bottomRight) { in obtainMotionEvent() method in PipResizeGestureHandlerTest
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | UdfpsShell.kt | 152 obtainMotionEvent( in simFingerDown() 162 obtainMotionEvent( in simFingerDown() 180 obtainMotionEvent( in simFingerUp() 196 private fun obtainMotionEvent( in obtainMotionEvent() method
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | MotionEventInjector.java | 324 obtainMotionEvent(now, now, MotionEvent.ACTION_CANCEL, getLastTouchPoints(), 1); in cancelAnyGestureInProgress() 410 motionEvents.add(obtainMotionEvent(mDownTime, currentTime, MotionEvent.ACTION_MOVE, in appendMoveEventIfNeeded() 429 motionEvents.add(obtainMotionEvent(mDownTime, currentTime, action, in appendUpEvents() 457 motionEvents.add(obtainMotionEvent(mDownTime, currentTime, action, in appendDownEvents() 463 private MotionEvent obtainMotionEvent(long downTime, long eventTime, int action, in obtainMotionEvent() method in MotionEventInjector
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/udfps/ |
D | SinglePointerTouchProcessorTest.kt | 529 obtainMotionEvent( 667 private fun obtainMotionEvent( in obtainMotionEvent() method 686 return obtainMotionEvent(action, arrayOf(pp), arrayOf(pc), time, gestureStart) in obtainMotionEvent() 689 private fun obtainMotionEvent( in obtainMotionEvent() method 724 ) = obtainMotionEvent(action, pointerId, x, y, minor, major, orientation, time, gestureStart) in copy() 733 obtainMotionEvent( in copy()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/biometrics/ |
D | UdfpsControllerTest.java | 406 MotionEvent downEvent = obtainMotionEvent(ACTION_DOWN, 0, 0, 0, 0); in onActionDownTouch_whenCanDismissLockScreen_entersDevice() 603 private static MotionEvent obtainMotionEvent(int action, float x, float y, float minor, in obtainMotionEvent() method in UdfpsControllerTest 680 MotionEvent event = obtainMotionEvent(ACTION_DOWN, displayWidth, displayHeight, touchMinor, in onTouch_propagatesTouchInNativeOrientationAndResolutionParameterized() 696 event = obtainMotionEvent(ACTION_DOWN, displayHeight, 0, touchMinor, touchMajor); in onTouch_propagatesTouchInNativeOrientationAndResolutionParameterized() 711 event = obtainMotionEvent(ACTION_DOWN, 0, displayWidth, touchMinor, touchMajor); in onTouch_propagatesTouchInNativeOrientationAndResolutionParameterized() 727 event = obtainMotionEvent(ACTION_DOWN, displayWidth, displayHeight, touchMinor, touchMajor); in onTouch_propagatesTouchInNativeOrientationAndResolutionParameterized()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/viewmodel/ |
D | PromptViewModelTest.kt | 1120 viewModel.onOverlayTouch(obtainMotionEvent(MotionEvent.ACTION_DOWN)) in <lambda>() 1156 viewModel.onOverlayTouch(obtainMotionEvent(MotionEvent.ACTION_DOWN)) in <lambda>() 1157 viewModel.onOverlayTouch(obtainMotionEvent(MotionEvent.ACTION_UP)) in <lambda>() 1319 obtainMotionEvent(MotionEvent.ACTION_HOVER_ENTER), in <lambda>() 1694 private fun obtainMotionEvent(action: Int): MotionEvent = in <lambda>() method in com.android.systemui.biometrics.ui.viewmodel.PromptViewModelTest
|