Home
last modified time | relevance | path

Searched refs:ACTION_MOVE (Results 1 – 25 of 174) sorted by relevance

1234567

/frameworks/base/services/tests/servicestests/res/raw/
Da11y_three_finger_swipe_down_gesture.log4 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=500.0, y[0]=696.0, toolType[0]=TOOL…
6 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=500.0, y[0]=696.0, toolType[0]=TOOL…
7 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=503.0, y[0]=699.0, toolType[0]=TOOL…
8 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=521.0, y[0]=728.0, toolType[0]=TOOL…
9 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=535.0, y[0]=765.0, toolType[0]=TOOL…
10 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=545.0, y[0]=795.0, toolType[0]=TOOL…
11 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=555.0, y[0]=832.0, toolType[0]=TOOL…
12 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=560.0, y[0]=870.0, toolType[0]=TOOL…
13 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=565.0, y[0]=909.0, toolType[0]=TOOL…
14 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=568.0, y[0]=948.0, toolType[0]=TOOL…
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/
DBubblesNavBarMotionEventHandlerTest.java21 import static android.view.MotionEvent.ACTION_MOVE;
78 mMotionEventHandler.onMotionEvent(newEvent(ACTION_MOVE, 0, 690)); in testMotionEvent_swipeUpInGestureZone_handled()
79 mMotionEventHandler.onMotionEvent(newEvent(ACTION_MOVE, 0, 490)); in testMotionEvent_swipeUpInGestureZone_handled()
80 mMotionEventHandler.onMotionEvent(newEvent(ACTION_MOVE, 0, 390)); in testMotionEvent_swipeUpInGestureZone_handled()
96 mMotionEventHandler.onMotionEvent(newEvent(ACTION_MOVE, 0, 100)); in testMotionEvent_swipeUpOutsideGestureZone_ignored()
106 mMotionEventHandler.onMotionEvent(newEvent(ACTION_MOVE, 100, 990)); in testMotionEvent_horizontalMoveMoreThanTouchSlop_handled()
119 mMotionEventHandler.onMotionEvent(newEvent(ACTION_MOVE, 0, 989)); in testMotionEvent_moveLessThanTouchSlop_ignored()
/frameworks/base/tests/Input/src/com/android/test/input/
DInputEventAssignerTest.kt63 val event = createMotionEvent(MotionEvent.ACTION_MOVE, 10, SOURCE_TOUCHSCREEN) in testTouchGesture()
76 val move1 = createMotionEvent(MotionEvent.ACTION_MOVE, 12, SOURCE_TOUCHSCREEN) in testTouchDownWithMove()
77 val move2 = createMotionEvent(MotionEvent.ACTION_MOVE, 13, SOURCE_TOUCHSCREEN) in testTouchDownWithMove()
78 val move3 = createMotionEvent(MotionEvent.ACTION_MOVE, 14, SOURCE_TOUCHSCREEN) in testTouchDownWithMove()
79 val move4 = createMotionEvent(MotionEvent.ACTION_MOVE, 15, SOURCE_TOUCHSCREEN) in testTouchDownWithMove()
105 val move1 = createMotionEvent(MotionEvent.ACTION_MOVE, 12, SOURCE_MOUSE) in testMouseDownWithMove()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/
DTimeLimitedMotionEventBufferTest.java60 MotionEvent eventB = MotionEvent.obtain(0, 1, MotionEvent.ACTION_MOVE, 0, 0, 0); in testAllEventsRetained()
61 MotionEvent eventC = MotionEvent.obtain(0, 2, MotionEvent.ACTION_MOVE, 0, 0, 0); in testAllEventsRetained()
75 MotionEvent eventB = MotionEvent.obtain(0, 1, MotionEvent.ACTION_MOVE, 0, 0, 0); in testOlderEventsRemoved()
77 0, MAX_AGE_MS + 1, MotionEvent.ACTION_MOVE, 0, 0, 0); in testOlderEventsRemoved()
DFalsingDataProviderTest.java87 assertThat(motionEventList.get(1).getActionMasked()).isEqualTo(MotionEvent.ACTION_MOVE); in test_trackMotionEvents_dropUpEvent()
88 assertThat(motionEventList.get(2).getActionMasked()).isEqualTo(MotionEvent.ACTION_MOVE); in test_trackMotionEvents_dropUpEvent()
109 assertThat(motionEventList.get(1).getActionMasked()).isEqualTo(MotionEvent.ACTION_MOVE); in test_trackMotionEvents_keepUpEvent()
130 assertThat(motionEventList.get(1).getActionMasked()).isEqualTo(MotionEvent.ACTION_MOVE); in test_trackRecentMotionEvents()
142 assertThat(motionEventList.get(0).getActionMasked()).isEqualTo(MotionEvent.ACTION_MOVE); in test_trackRecentMotionEvents()
167 assertThat(motionEventList.get(0).getActionMasked()).isEqualTo(MotionEvent.ACTION_MOVE); in test_unpackMotionEvents()
168 assertThat(motionEventList.get(1).getActionMasked()).isEqualTo(MotionEvent.ACTION_MOVE); in test_unpackMotionEvents()
169 assertThat(motionEventList.get(2).getActionMasked()).isEqualTo(MotionEvent.ACTION_MOVE); in test_unpackMotionEvents()
DClassifierTest.java92 return appendMotionEvent(MotionEvent.ACTION_MOVE, x, y); in appendMoveEvent()
96 return appendMotionEvent(MotionEvent.ACTION_MOVE, x, y, eventTime); in appendMoveEvent()
/frameworks/base/core/tests/coretests/src/android/view/stylus/
DHandwritingInitiatorTest.java20 import static android.view.MotionEvent.ACTION_MOVE;
96 MotionEvent stylusEvent2 = createStylusEvent(ACTION_MOVE, x2, y2, 0); in onTouchEvent_startHandwriting_when_stylusMoveOnce_withinHWArea()
113 MotionEvent stylusEvent2 = createStylusEvent(ACTION_MOVE, x2, y2, 0); in onTouchEvent_startHandwritingOnce_when_stylusMoveMultiTimes_withinHWArea()
119 MotionEvent stylusEvent3 = createStylusEvent(ACTION_MOVE, x3, y3, 0); in onTouchEvent_startHandwritingOnce_when_stylusMoveMultiTimes_withinHWArea()
138 MotionEvent stylusEvent2 = createStylusEvent(ACTION_MOVE, x2, y2, 0); in onTouchEvent_startHandwriting_inputConnectionBuiltAfterStylusMove()
173 MotionEvent stylusEvent2 = createStylusEvent(ACTION_MOVE, x2, y2, 0); in onTouchEvent_notStartHandwriting_when_stylusMove_outOfHWArea()
191 MotionEvent stylusEvent2 = createStylusEvent(ACTION_MOVE, x2, y2, time2); in onTouchEvent_notStartHandwriting_when_stylusMove_afterTimeOut()
208 MotionEvent stylusEvent2 = createStylusEvent(ACTION_MOVE, x2, y2, 0); in onTouchEvent_focusView_stylusMoveOnce_withinHWArea()
227 MotionEvent stylusEvent2 = createStylusEvent(ACTION_MOVE, x2, y2, 0); in autoHandwriting_whenDisabled_wontStartHW()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/
DDragDetectorTest.kt101 dragDetector.onMotionEvent(createMotionEvent(MotionEvent.ACTION_MOVE, newX, Y))) in testMoveInSlop_touch_passesDownAndUp()
103 return@argThat it.action == MotionEvent.ACTION_MOVE in testMoveInSlop_touch_passesDownAndUp()
128 createMotionEvent(MotionEvent.ACTION_MOVE, newX, Y, isTouch = false))) in testMoveInSlop_mouse_passesDownMoveAndUp()
130 return@argThat it.action == MotionEvent.ACTION_MOVE && it.x == newX && it.y == Y && in testMoveInSlop_mouse_passesDownMoveAndUp()
155 assertTrue(dragDetector.onMotionEvent(createMotionEvent(MotionEvent.ACTION_MOVE, newX, Y))) in testMoveBeyondSlop_passesDownMoveAndUp()
157 return@argThat it.action == MotionEvent.ACTION_MOVE && it.x == newX && it.y == Y && in testMoveBeyondSlop_passesDownMoveAndUp()
/frameworks/base/core/java/android/hardware/input/
DVirtualTouchEvent.java66 public static final int ACTION_MOVE = MotionEvent.ACTION_MOVE; field in VirtualTouchEvent
74 ACTION_MOVE,
234 if (action != ACTION_DOWN && action != ACTION_UP && action != ACTION_MOVE in setAction()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/back/
DBackAnimationControllerTest.java174 doMotionEvent(MotionEvent.ACTION_MOVE, 0); in triggerBackGesture()
211 doMotionEvent(MotionEvent.ACTION_MOVE, 100); in crossActivity_surfaceMovesWithGesture()
248 doMotionEvent(MotionEvent.ACTION_MOVE, 100); in backToHome_dispatchesEvents()
312 doMotionEvent(MotionEvent.ACTION_MOVE, 100); in ignoresGesture_transitionInProgress()
318 doMotionEvent(MotionEvent.ACTION_MOVE, 100); in ignoresGesture_transitionInProgress()
337 doMotionEvent(MotionEvent.ACTION_MOVE, 100); in acceptsGesture_transitionTimeout()
353 doMotionEvent(MotionEvent.ACTION_MOVE, 100); in cancelBackInvokeWhenLostFocus()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dreams/touch/
DBouncerSwipeTouchHandlerTest.java188 final MotionEvent event1 = MotionEvent.obtain(0, 0, MotionEvent.ACTION_MOVE, in testSwipeUp_whenBouncerInitiallyShowing_doesNotSetExpansion()
190 final MotionEvent event2 = MotionEvent.obtain(0, 0, MotionEvent.ACTION_MOVE, in testSwipeUp_whenBouncerInitiallyShowing_doesNotSetExpansion()
215 final MotionEvent event1 = MotionEvent.obtain(0, 0, MotionEvent.ACTION_MOVE, in testSwipeDown_whenBouncerInitiallyHidden_doesNotSetExpansion()
217 final MotionEvent event2 = MotionEvent.obtain(0, 0, MotionEvent.ACTION_MOVE, in testSwipeDown_whenBouncerInitiallyHidden_doesNotSetExpansion()
272 final MotionEvent event1 = MotionEvent.obtain(0, 0, MotionEvent.ACTION_MOVE, in verifyScroll()
274 final MotionEvent event2 = MotionEvent.obtain(0, 0, MotionEvent.ACTION_MOVE, in verifyScroll()
472 final MotionEvent event1 = MotionEvent.obtain(0, 0, MotionEvent.ACTION_MOVE, in swipeToPosition()
474 final MotionEvent event2 = MotionEvent.obtain(0, 0, MotionEvent.ACTION_MOVE, in swipeToPosition()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DDragDetector.java22 import static android.view.MotionEvent.ACTION_MOVE;
75 case ACTION_MOVE: { in onMotionEvent()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/gestures/
DTouchExplorerTest.java24 import static android.view.MotionEvent.ACTION_MOVE;
248 assertCapturedEvents(ACTION_DOWN, ACTION_MOVE, ACTION_MOVE, ACTION_MOVE, ACTION_UP); in testTwoFingerDragWithExtraMoveEvents()
349 assertCapturedEvents(ACTION_DOWN, ACTION_MOVE, ACTION_UP); in testTwoFingersDrag_shouldDraggingAndActionDown()
362 ACTION_MOVE, in testTwoFingersNotDrag_shouldDelegatingAndActionUpDownPointerDown()
411 send(manyPointerEvent(ACTION_MOVE, x, y)); in testCanceledGesture_shouldDoNothing()
666 MotionEvent newEvent = manyPointerEvent(ACTION_MOVE, x, y); in moveEachPointers()
667 event.setAction(ACTION_MOVE); in moveEachPointers()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/utils/
DTouchEventGenerator.java20 import static android.view.MotionEvent.ACTION_MOVE;
43 return generateSingleTouchEvent(displayId, ACTION_MOVE, x, y); in moveEvent()
145 final int action = MotionEvent.ACTION_MOVE; in movePointer()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/gesture/
DSwipeUpGestureHandler.kt24 import android.view.MotionEvent.ACTION_MOVE
67 ACTION_MOVE -> { in onInputEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/window/
DStatusBarWindowView.java20 import static android.view.MotionEvent.ACTION_MOVE;
79 } else if (ev.getAction() == ACTION_MOVE && mTouchDownY != 0) { in dispatchTouchEvent()
/frameworks/base/services/core/java/com/android/server/wm/
DDragInputEventReceiver.java22 import static android.view.MotionEvent.ACTION_MOVE;
82 case ACTION_MOVE: in onInputEvent()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/
DPipResizeGestureHandlerTest.java142 MotionEvent moveEvent1 = obtainMotionEvent(MotionEvent.ACTION_MOVE, topLeft, bottomRight); in twoInput_triggersPinchResize_getBigger()
148 MotionEvent moveEvent2 = obtainMotionEvent(MotionEvent.ACTION_MOVE, topLeft, bottomRight); in twoInput_triggersPinchResize_getBigger()
182 MotionEvent moveEvent1 = obtainMotionEvent(MotionEvent.ACTION_MOVE, topLeft, bottomRight); in twoInput_triggersPinchResize_getSmaller()
187 MotionEvent moveEvent2 = obtainMotionEvent(MotionEvent.ACTION_MOVE, topLeft, bottomRight); in twoInput_triggersPinchResize_getSmaller()
DPipTouchStateTest.java21 import static android.view.MotionEvent.ACTION_MOVE;
99 mTouchState.onTouchEvent(createMotionEvent(ACTION_MOVE, currentTime + 10, 500, 500)); in testDoubleTapDrag_doubleTapCanceled()
/frameworks/base/apct-tests/perftests/core/src/android/view/
DHandwritingInitiatorPerfTest.java20 import static android.view.MotionEvent.ACTION_MOVE;
111 createMotionEvent(ACTION_MOVE, TOOL_TYPE_STYLUS, x, y, 1); in onTouchEvent_actionMove_toolTypeStylus()
169 createMotionEvent(ACTION_MOVE, TOOL_TYPE_FINGER, x, y, 1); in onTouchEvent_actionMove_toolTypeFinger()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DFrontBufferedLayer.kt101 action == MotionEvent.ACTION_MOVE) { in onTouchEvent()
108 if (action == MotionEvent.ACTION_MOVE) { in onTouchEvent()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DFullScreenMagnificationGestureHandlerTest.java20 import static android.view.MotionEvent.ACTION_MOVE;
424 send(pointerEvent(ACTION_MOVE, new PointF[] {pointer1, pointer2})); in testFirstFingerSwipe_TwoPinterDownAndZoomedState_panningState()
442 send(pointerEvent(ACTION_MOVE, new PointF[] {pointer1, pointer2})); in testSecondFingerSwipe_TwoPinterDownAndZoomedState_panningState()
621 send(pointerEvent(ACTION_MOVE, DEFAULT_X * 2, DEFAULT_Y * 3));
622 send(pointerEvent(ACTION_MOVE, DEFAULT_X * 2, DEFAULT_Y * 4));
623 send(pointerEvent(ACTION_MOVE, DEFAULT_X * 2, DEFAULT_Y * 5));
745 MotionEvent.obtain(mLastDownTime, mClock.now(), ACTION_MOVE, x, y, 0));
/frameworks/base/core/java/android/view/
DInputEventAssigner.java73 if (mHasUnprocessedDown && action == MotionEvent.ACTION_MOVE) { in processEvent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/udfps/
DSinglePointerTouchProcessorTest.kt137 motionEventAction = MotionEvent.ACTION_MOVE, in <lambda>()
144 motionEventAction = MotionEvent.ACTION_MOVE, in <lambda>()
151 motionEventAction = MotionEvent.ACTION_MOVE, in <lambda>()
158 motionEventAction = MotionEvent.ACTION_MOVE, in <lambda>()
165 motionEventAction = MotionEvent.ACTION_MOVE, in <lambda>()
176 motionEventAction = MotionEvent.ACTION_MOVE, in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/gestural/
DBackPanelControllerTest.kt25 import android.view.MotionEvent.ACTION_MOVE
148 mBackPanelController.onMotionEvent(createMotionEvent(ACTION_MOVE, x, 0f)) in continueTouch()

1234567