Home
last modified time | relevance | path

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

123456789

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/tv/
DTvPipActionProviderTest.java24 import static com.android.wm.shell.pip.tv.TvPipAction.ACTION_MOVE;
115 assertActionTypes(Arrays.asList(ACTION_FULLSCREEN, ACTION_CLOSE, ACTION_MOVE), in defaultSystemActions_regularPip()
123 Arrays.asList(ACTION_FULLSCREEN, ACTION_CLOSE, ACTION_MOVE, ACTION_EXPAND_COLLAPSE), in defaultSystemActions_expandedPip()
134 Arrays.asList(ACTION_FULLSCREEN, ACTION_CLOSE, ACTION_MOVE, ACTION_EXPAND_COLLAPSE), in expandedPip_enableExpansion_enable()
147 Arrays.asList(ACTION_FULLSCREEN, ACTION_CLOSE, ACTION_MOVE), in expandedPip_enableExpansion_disable()
158 Arrays.asList(ACTION_FULLSCREEN, ACTION_CLOSE, ACTION_MOVE, ACTION_EXPAND_COLLAPSE), in expandedPip_enableExpansion_AlreadyEnabled()
172 Arrays.asList(ACTION_FULLSCREEN, ACTION_CLOSE, ACTION_MOVE, ACTION_EXPAND_COLLAPSE), in check_expandedPip_updateExpansionState()
234 ACTION_MOVE), in customActions_added()
248 ACTION_CUSTOM, ACTION_MOVE), in customActions_replacedMore()
261 Arrays.asList(ACTION_FULLSCREEN, ACTION_CLOSE, ACTION_MOVE), in customActions_replacedLess()
[all …]
/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/services/tests/servicestests/res/raw-watch/
Da11y_three_finger_swipe_down_gesture.log4 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=150.0, y[0]=50.0, toolType[0]=TOOL_…
6 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=150.0, y[0]=50.0, toolType[0]=TOOL_…
7 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=150.0, y[0]=60.0, toolType[0]=TOOL_…
8 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=150.0, y[0]=70.0, toolType[0]=TOOL_…
9 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=150.0, y[0]=80.0, toolType[0]=TOOL_…
10 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=150.0, y[0]=90.0, toolType[0]=TOOL_…
11 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=150.0, y[0]=100.0, toolType[0]=TOOL…
12 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=150.0, y[0]=110.0, toolType[0]=TOOL…
13 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=150.0, y[0]=120.0, toolType[0]=TOOL…
14 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=150.0, y[0]=130.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;
76 mMotionEventHandler.onMotionEvent(newEvent(ACTION_MOVE, 0, 690)); in testMotionEvent_swipeUpInGestureZone_handled()
77 mMotionEventHandler.onMotionEvent(newEvent(ACTION_MOVE, 0, 490)); in testMotionEvent_swipeUpInGestureZone_handled()
78 mMotionEventHandler.onMotionEvent(newEvent(ACTION_MOVE, 0, 390)); in testMotionEvent_swipeUpInGestureZone_handled()
94 mMotionEventHandler.onMotionEvent(newEvent(ACTION_MOVE, 0, 100)); in testMotionEvent_swipeUpOutsideGestureZone_ignored()
104 mMotionEventHandler.onMotionEvent(newEvent(ACTION_MOVE, 100, 990)); in testMotionEvent_horizontalMoveMoreThanTouchSlop_handled()
117 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/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityInputFilterInputTest.kt38 import android.view.MotionEvent.ACTION_MOVE
180 sendTouchEvent(ACTION_MOVE, downTime, SystemClock.uptimeMillis()) in testSingleDeviceTouchEventsWithoutA11yFeatures()
181 verifier.assertReceivedMotion(allOf(fromTouchScreen, withMotionAction(ACTION_MOVE))) in testSingleDeviceTouchEventsWithoutA11yFeatures()
203 sendTouchEvent(ACTION_MOVE, downTime, SystemClock.uptimeMillis()) in testSingleDeviceTouchEventsWithAllA11yFeatures()
308 sendTouchEvent(ACTION_MOVE, downTime, SystemClock.uptimeMillis()) in testSingleDeviceTouchEventsDisableFeaturesMidGesture()
317 verifier.assertReceivedMotion(allOf(fromTouchScreen, withMotionAction(ACTION_MOVE))) in testSingleDeviceTouchEventsDisableFeaturesMidGesture()
348 sendTouchEvent(ACTION_MOVE, touchDownTime, SystemClock.uptimeMillis()) in testMultiDeviceEventsWithoutA11yFeatures()
353 sendStylusEvent(ACTION_MOVE, stylusDownTime, SystemClock.uptimeMillis()) in testMultiDeviceEventsWithoutA11yFeatures()
354 verifier.assertReceivedMotion(allOf(fromStylus, withMotionAction(ACTION_MOVE))) in testMultiDeviceEventsWithoutA11yFeatures()
393 sendTouchEvent(ACTION_MOVE, touchDownTime, SystemClock.uptimeMillis()) in testMultiDeviceEventsWithAllA11yFeatures()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/stylus/
DHandwritingInitiatorTest.java21 import static android.view.MotionEvent.ACTION_MOVE;
148 MotionEvent stylusEvent2 = createStylusEvent(ACTION_MOVE, x2, y2, 0); in onTouchEvent_startHandwriting_when_stylusMoveOnce_withinHWArea()
185 MotionEvent stylusEvent2 = createStylusEvent(ACTION_MOVE, x2, y2, 0); in onTouchEvent_startHandwriting_multipleParagraphs()
214 MotionEvent stylusEvent2 = createStylusEvent(ACTION_MOVE, x2, y2, 0); in onTouchEvent_startHandwritingOnce_when_stylusMoveMultiTimes_withinHWArea()
219 MotionEvent stylusEvent3 = createStylusEvent(ACTION_MOVE, x3, y3, 0); in onTouchEvent_startHandwritingOnce_when_stylusMoveMultiTimes_withinHWArea()
224 MotionEvent stylusEvent4 = createStylusEvent(ACTION_MOVE, x4, y4, 0); in onTouchEvent_startHandwritingOnce_when_stylusMoveMultiTimes_withinHWArea()
259 MotionEvent stylusEvent2 = createStylusEvent(ACTION_MOVE, x2, y2, 0); in onTouchEvent_startHandwriting_when_stylusMove_withinExtendedHWArea()
283 MotionEvent stylusEvent2 = createStylusEvent(ACTION_MOVE, x2, y2, 0); in onTouchEvent_startHandwriting_servedViewUpdateAfterStylusMove()
306 MotionEvent stylusEvent2 = createStylusEvent(ACTION_MOVE, x2, y2, 0); in onTouchEvent_startHandwriting_servedViewUpdate_stylusMoveInExtendedHWArea()
343 MotionEvent stylusEvent2 = createStylusEvent(ACTION_MOVE, x2, y2, 0); in onTouchEvent_tryAcceptDelegation_delegatorCallbackCreatesInputConnection()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
DTvPipAction.java44 ACTION_MOVE,
54 public static final int ACTION_MOVE = 2; field in TvPipAction
84 case ACTION_MOVE: return "ACTION_MOVE"; in getActionTypeString()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/
DTimeLimitedInputEventBufferTest.java62 MotionEvent eventB = MotionEvent.obtain(0, 1, MotionEvent.ACTION_MOVE, 0, 0, 0); in testMotionEventAllEventsRetained()
63 MotionEvent eventC = MotionEvent.obtain(0, 2, MotionEvent.ACTION_MOVE, 0, 0, 0); in testMotionEventAllEventsRetained()
77 MotionEvent eventB = MotionEvent.obtain(0, 1, MotionEvent.ACTION_MOVE, 0, 0, 0); in testMotionEventOlderEventsRemoved()
79 0, MAX_AGE_MS + 1, MotionEvent.ACTION_MOVE, 0, 0, 0); in testMotionEventOlderEventsRemoved()
DFalsingDataProviderTest.java88 assertThat(motionEventList.get(1).getActionMasked()).isEqualTo(MotionEvent.ACTION_MOVE); in test_trackMotionEvents_dropUpEvent()
89 assertThat(motionEventList.get(2).getActionMasked()).isEqualTo(MotionEvent.ACTION_MOVE); in test_trackMotionEvents_dropUpEvent()
110 assertThat(motionEventList.get(1).getActionMasked()).isEqualTo(MotionEvent.ACTION_MOVE); in test_trackMotionEvents_keepUpEvent()
131 assertThat(motionEventList.get(1).getActionMasked()).isEqualTo(MotionEvent.ACTION_MOVE); in test_trackRecentMotionEvents()
143 assertThat(motionEventList.get(0).getActionMasked()).isEqualTo(MotionEvent.ACTION_MOVE); in test_trackRecentMotionEvents()
168 assertThat(motionEventList.get(0).getActionMasked()).isEqualTo(MotionEvent.ACTION_MOVE); in test_unpackMotionEvents()
169 assertThat(motionEventList.get(1).getActionMasked()).isEqualTo(MotionEvent.ACTION_MOVE); in test_unpackMotionEvents()
170 assertThat(motionEventList.get(2).getActionMasked()).isEqualTo(MotionEvent.ACTION_MOVE); in test_unpackMotionEvents()
DClassifierTest.java99 return appendMotionEvent(MotionEvent.ACTION_MOVE, x, y); in appendMoveEvent()
103 return appendMotionEvent(MotionEvent.ACTION_MOVE, x, y, eventTime); in appendMoveEvent()
140 return appendTrackpadMotionEvent(MotionEvent.ACTION_MOVE, x, y, pointerCount); in appendTrackpadMoveEvent()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/ambient/touch/
DBouncerSwipeTouchHandlerTest.java320 final MotionEvent event1 = MotionEvent.obtain(0, 0, MotionEvent.ACTION_MOVE, in testSwipeDown_doesNotSetExpansion()
322 final MotionEvent event2 = MotionEvent.obtain(0, 0, MotionEvent.ACTION_MOVE, in testSwipeDown_doesNotSetExpansion()
347 final MotionEvent event1 = MotionEvent.obtain(0, 0, MotionEvent.ACTION_MOVE, in testSwipeDown_whenBouncerInitiallyHidden_doesNotSetExpansion_directionFiltering()
349 final MotionEvent event2 = MotionEvent.obtain(0, 0, MotionEvent.ACTION_MOVE, in testSwipeDown_whenBouncerInitiallyHidden_doesNotSetExpansion_directionFiltering()
388 final MotionEvent event1 = MotionEvent.obtain(0, 0, MotionEvent.ACTION_MOVE, in testSwipeUp_keyguardNotSecure_doesNotExpand()
390 final MotionEvent event2 = MotionEvent.obtain(0, 0, MotionEvent.ACTION_MOVE, in testSwipeUp_keyguardNotSecure_doesNotExpand()
419 final MotionEvent event1 = MotionEvent.obtain(0, 0, MotionEvent.ACTION_MOVE, in testSwipeDown_keyguardNotSecure_doesNotExpand()
421 final MotionEvent event2 = MotionEvent.obtain(0, 0, MotionEvent.ACTION_MOVE, in testSwipeDown_keyguardNotSecure_doesNotExpand()
439 final MotionEvent event1 = MotionEvent.obtain(0, 0, MotionEvent.ACTION_MOVE, in verifyScroll()
441 final MotionEvent event2 = MotionEvent.obtain(0, 0, MotionEvent.ACTION_MOVE, in verifyScroll()
[all …]
/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/
DVirtualStylusMotionEvent.java75 public static final int ACTION_MOVE = MotionEvent.ACTION_MOVE; field in VirtualStylusMotionEvent
81 ACTION_MOVE,
278 if (action != ACTION_DOWN && action != ACTION_UP && action != ACTION_MOVE) { in setAction()
DVirtualTouchEvent.java74 public static final int ACTION_MOVE = MotionEvent.ACTION_MOVE; field in VirtualTouchEvent
82 ACTION_MOVE,
286 if (action != ACTION_DOWN && action != ACTION_UP && action != ACTION_MOVE in setAction()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DFullScreenMagnificationGestureHandlerTest.java20 import static android.view.MotionEvent.ACTION_MOVE;
744 send(pointerEvent(ACTION_MOVE, new PointF[] {pointer1, pointer2}, 0)); in testFirstFingerSwipe_twoPointerDownAndActivatedState_panningState()
762 send(pointerEvent(ACTION_MOVE, new PointF[] {pointer1, pointer2}, 0)); in testSecondFingerSwipe_twoPointerDownAndActivatedState_shouldInPanningState()
781 send(pointerEvent(ACTION_MOVE, new PointF[] {pointer1, pointer2}, 0)); in testTowFingerSwipe_twoPointerDownAndShortcutTriggeredState_shouldInPanningState()
800 send(pointerEvent(ACTION_MOVE, new PointF[] {pointer1, pointer2}, 0)); in testSecondFingerSwipe_twoPointerDownAndActivatedState_panningState()
818 send(pointerEvent(ACTION_MOVE, new PointF[] {pointer1, pointer2}, 0)); in testSecondFingerSwipe_twoPointerDownAndShortcutTriggeredState_panningState()
1093 send(pointerEvent(ACTION_MOVE, new PointF[]{pointer1, pointer2}, 0)); in testTwoFingerPanDiagonalAfterMagnified_doesNotFlingXY()
1099 send(pointerEvent(ACTION_MOVE, new PointF[]{pointer1, pointer2}, 0)); in testTwoFingerPanDiagonalAfterMagnified_doesNotFlingXY()
1103 send(pointerEvent(ACTION_MOVE, new PointF[]{pointer1, pointer2}, 0)); in testTwoFingerPanDiagonalAfterMagnified_doesNotFlingXY()
1129 send(pointerEvent(ACTION_MOVE, new PointF[] {pointer1, pointer2}, 0)); in testTwoFingerPanDiagonalAfterMagnified_startsFlingXY()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/
DMenuListViewTouchHandlerTest.java141 MotionEvent.ACTION_MOVE, mStubMenuView.getTranslationX() + offset, in onActionMoveEvent_notConsumedEvent_shouldMoveToPosition()
162 MotionEvent.ACTION_MOVE, mStubMenuView.getTranslationX() + offset, in onActionMoveEvent_shouldShowDismissView()
181 MotionEvent.ACTION_MOVE, mStubMenuView.getTranslationX() + offset, in onActionMoveEvent_shouldShowInteractView()
199 MotionEvent.ACTION_MOVE, mStubMenuView.getTranslationX() + offset, in dragAndDrop_shouldFlingMenuThenSpringToEdge()
222 MotionEvent.ACTION_MOVE, mStubMenuView.getTranslationX() + offset, in dragMenuOutOfBoundsAndDrop_moveToLeftEdge_shouldMoveToEdgeAndHide()
/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()
350 assertCapturedEvents(ACTION_DOWN, ACTION_MOVE, ACTION_UP); in testTwoFingersDrag_shouldDraggingAndActionDown()
363 ACTION_MOVE, in testTwoFingersNotDrag_shouldDelegatingAndActionUpDownPointerDown()
412 send(manyPointerEvent(ACTION_MOVE, x, y)); in testCanceledGesture_shouldDoNothing()
667 MotionEvent newEvent = manyPointerEvent(ACTION_MOVE, x, y); in moveEachPointers()
668 event.setAction(ACTION_MOVE); in moveEachPointers()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/gesture/
DSwipeUpGestureHandler.kt24 import android.view.MotionEvent.ACTION_MOVE
70 ACTION_MOVE -> { in onInputEvent()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/utils/
DTouchEventGenerator.java20 import static android.view.MotionEvent.ACTION_MOVE;
56 return generateSingleTouchEvent(displayId, ACTION_MOVE, x, y); in moveEvent()
171 final int action = MotionEvent.ACTION_MOVE; in movePointer()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DDragDetector.java22 import static android.view.MotionEvent.ACTION_MOVE;
88 case ACTION_MOVE: { in onMotionEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/window/
DStatusBarWindowView.java20 import static android.view.MotionEvent.ACTION_MOVE;
80 } 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/packages/SystemUI/tests/src/com/android/systemui/shade/
DQuickSettingsControllerImplTest.java20 import static android.view.MotionEvent.ACTION_MOVE;
101 createMotionEvent(0, 500, ACTION_MOVE)); in interceptTouchEvent_withinQs_shadeExpanded_startsQsTracking()
115 createMotionEvent(0, 500, ACTION_MOVE)); in interceptTouchEvent_withinQs_shadeExpanded_inSplitShade_doesNotStartQsTracking()
141 createMotionEvent(0, QS_FRAME_BOTTOM / 4 + 1, ACTION_MOVE), false, false); in onTouch_moveActionSetsCorrectExpansionHeight()
166 createMotionEvent(0, QS_FRAME_BOTTOM / 2, ACTION_MOVE), false, true); in handleTouch_qsTouchedWhileCollapsingDisablesTracking()
178 createMotionEvent(0, QS_FRAME_BOTTOM / 2, ACTION_MOVE), false, false); in handleTouch_qsTouchedWhileExpanding()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/
DPipResizeGestureHandlerTest.java164 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()
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()

123456789