Home
last modified time | relevance | path

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

1234567

/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/tv/
H A DTvPipActionProviderTest.java24 import static com.android.wm.shell.pip.tv.TvPipAction.ACTION_MOVE;
111 new int[]{ACTION_FULLSCREEN, ACTION_CLOSE, ACTION_MOVE})); in defaultSystemActions_regularPip()
145 new int[]{ACTION_FULLSCREEN, ACTION_CLOSE, ACTION_MOVE})); in expandedPip_enableExpansion_disable()
240 ACTION_MOVE})); in customActions_added()
255 ACTION_CUSTOM, ACTION_MOVE})); in customActions_replacedMore()
269 new int[]{ACTION_FULLSCREEN, ACTION_CLOSE, ACTION_MOVE})); in customActions_replacedLess()
303 ACTION_MOVE})); in customClose_matchesOtherCustomAction()
319 ACTION_MOVE})); in mediaActions_added_whileCustomActionsExist()
335 ACTION_MOVE})); in customActions_removed_whileMediaActionsExist()
350 ACTION_MOVE})); in customCloseOnly_mediaActionsShowing()
[all …]
/aosp14/frameworks/base/services/tests/servicestests/res/raw/
H A 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 …]
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/
H A 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()
/aosp14/frameworks/base/tests/Input/src/com/android/test/input/
H A DInputEventAssignerTest.kt63 val event = createMotionEvent(MotionEvent.ACTION_MOVE, 10, SOURCE_TOUCHSCREEN)
76 val move1 = createMotionEvent(MotionEvent.ACTION_MOVE, 12, SOURCE_TOUCHSCREEN)
77 val move2 = createMotionEvent(MotionEvent.ACTION_MOVE, 13, SOURCE_TOUCHSCREEN)
78 val move3 = createMotionEvent(MotionEvent.ACTION_MOVE, 14, SOURCE_TOUCHSCREEN)
79 val move4 = createMotionEvent(MotionEvent.ACTION_MOVE, 15, SOURCE_TOUCHSCREEN)
105 val move1 = createMotionEvent(MotionEvent.ACTION_MOVE, 12, SOURCE_MOUSE)
H A DMotionPredictorTest.kt25 import android.view.MotionEvent.ACTION_MOVE
122 val moveEvent = getStylusMotionEvent(eventTime, ACTION_MOVE, /*x=*/10f, /*y=*/20f)
/aosp14/frameworks/base/core/tests/coretests/src/android/view/stylus/
H A DHandwritingInitiatorTest.java21 import static android.view.MotionEvent.ACTION_MOVE;
138 MotionEvent stylusEvent2 = createStylusEvent(ACTION_MOVE, x2, y2, 0); in onTouchEvent_startHandwriting_when_stylusMoveOnce_withinHWArea()
162 MotionEvent stylusEvent2 = createStylusEvent(ACTION_MOVE, x2, y2, 0); in onTouchEvent_startHandwritingOnce_when_stylusMoveMultiTimes_withinHWArea()
167 MotionEvent stylusEvent3 = createStylusEvent(ACTION_MOVE, x3, y3, 0); in onTouchEvent_startHandwritingOnce_when_stylusMoveMultiTimes_withinHWArea()
172 MotionEvent stylusEvent4 = createStylusEvent(ACTION_MOVE, x4, y4, 0); in onTouchEvent_startHandwritingOnce_when_stylusMoveMultiTimes_withinHWArea()
206 MotionEvent stylusEvent2 = createStylusEvent(ACTION_MOVE, x2, y2, 0); in onTouchEvent_startHandwriting_when_stylusMove_withinExtendedHWArea()
225 MotionEvent stylusEvent2 = createStylusEvent(ACTION_MOVE, x2, y2, 0); in onTouchEvent_startHandwriting_inputConnectionBuiltAfterStylusMove()
320 MotionEvent stylusEvent2 = createStylusEvent(ACTION_MOVE, x2, y, 0); in onTouchEvent_startHandwriting_delegate_touchEventsHandled()
324 MotionEvent stylusEvent3 = createStylusEvent(ACTION_MOVE, x3, y, 0); in onTouchEvent_startHandwriting_delegate_touchEventsHandled()
328 MotionEvent stylusEvent4 = createStylusEvent(ACTION_MOVE, x4, y, 0); in onTouchEvent_startHandwriting_delegate_touchEventsHandled()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/
H A 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()
H A 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()
H A 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()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/
H A DDragDetectorTest.kt101 dragDetector.onMotionEvent(createMotionEvent(MotionEvent.ACTION_MOVE, newX, Y)))
103 return@argThat it.action == MotionEvent.ACTION_MOVE
128 createMotionEvent(MotionEvent.ACTION_MOVE, newX, Y, isTouch = false)))
130 return@argThat it.action == MotionEvent.ACTION_MOVE && it.x == newX && it.y == Y &&
155 assertTrue(dragDetector.onMotionEvent(createMotionEvent(MotionEvent.ACTION_MOVE, newX, Y)))
157 return@argThat it.action == MotionEvent.ACTION_MOVE && it.x == newX && it.y == Y &&
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dreams/touch/
H A DBouncerSwipeTouchHandlerTest.java208 final MotionEvent event1 = MotionEvent.obtain(0, 0, MotionEvent.ACTION_MOVE, in testSwipeUp_whenBouncerInitiallyShowing_doesNotSetExpansion()
210 final MotionEvent event2 = MotionEvent.obtain(0, 0, MotionEvent.ACTION_MOVE, in testSwipeUp_whenBouncerInitiallyShowing_doesNotSetExpansion()
235 final MotionEvent event1 = MotionEvent.obtain(0, 0, MotionEvent.ACTION_MOVE, in testSwipeDown_whenBouncerInitiallyHidden_doesNotSetExpansion()
237 final MotionEvent event2 = MotionEvent.obtain(0, 0, MotionEvent.ACTION_MOVE, in testSwipeDown_whenBouncerInitiallyHidden_doesNotSetExpansion()
302 final MotionEvent event1 = MotionEvent.obtain(0, 0, MotionEvent.ACTION_MOVE, in testSwipeUp_keyguardNotSecure_doesNotExpand()
304 final MotionEvent event2 = MotionEvent.obtain(0, 0, MotionEvent.ACTION_MOVE, in testSwipeUp_keyguardNotSecure_doesNotExpand()
318 final MotionEvent event1 = MotionEvent.obtain(0, 0, MotionEvent.ACTION_MOVE, in verifyScroll()
320 final MotionEvent event2 = MotionEvent.obtain(0, 0, MotionEvent.ACTION_MOVE, in verifyScroll()
518 final MotionEvent event1 = MotionEvent.obtain(0, 0, MotionEvent.ACTION_MOVE, in swipeToPosition()
520 final MotionEvent event2 = MotionEvent.obtain(0, 0, MotionEvent.ACTION_MOVE, in swipeToPosition()
/aosp14/frameworks/base/core/java/android/hardware/input/
H A DVirtualTouchEvent.java74 public static final int ACTION_MOVE = MotionEvent.ACTION_MOVE; field in VirtualTouchEvent
82 ACTION_MOVE,
273 if (action != ACTION_DOWN && action != ACTION_UP && action != ACTION_MOVE in setAction()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
H A DTvPipAction.java44 ACTION_MOVE,
54 public static final int ACTION_MOVE = 2; field in TvPipAction
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/gestures/
H A 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()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/back/
H A DBackAnimationControllerTest.java170 doMotionEvent(MotionEvent.ACTION_MOVE, 0); in triggerBackGesture()
231 doMotionEvent(MotionEvent.ACTION_MOVE, 100); in backToHome_dispatchesEvents()
257 doMotionEvent(MotionEvent.ACTION_MOVE, 100, 3000); in backToHomeWithAnimationCallback_dispatchesEvents()
331 doMotionEvent(MotionEvent.ACTION_MOVE, 100); in ignoresGesture_transitionInProgress()
337 doMotionEvent(MotionEvent.ACTION_MOVE, 100); in ignoresGesture_transitionInProgress()
365 doMotionEvent(MotionEvent.ACTION_MOVE, 100); in acceptsGesture_transitionTimeout()
380 doMotionEvent(MotionEvent.ACTION_MOVE, 100); in cancelBackInvokeWhenLostFocus()
503 doMotionEvent(MotionEvent.ACTION_MOVE, 100); in verifySystemBackBehavior()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/utils/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
H A DQuickSettingsControllerTest.java20 import static android.view.MotionEvent.ACTION_MOVE;
99 createMotionEvent(0, 500, ACTION_MOVE)); in interceptTouchEvent_withinQs_shadeExpanded_startsQsTracking()
113 createMotionEvent(0, 500, ACTION_MOVE)); in interceptTouchEvent_withinQs_shadeExpanded_inSplitShade_doesNotStartQsTracking()
139 createMotionEvent(0, QS_FRAME_BOTTOM / 4 + 1, ACTION_MOVE), false, false); in onTouch_moveActionSetsCorrectExpansionHeight()
164 createMotionEvent(0, QS_FRAME_BOTTOM / 2, ACTION_MOVE), false, true); in handleTouch_qsTouchedWhileCollapsingDisablesTracking()
176 createMotionEvent(0, QS_FRAME_BOTTOM / 2, ACTION_MOVE), false, false); in handleTouch_qsTouchedWhileExpanding()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/
H A DMenuListViewTouchHandlerTest.java125 MotionEvent.ACTION_MOVE, mStubMenuView.getTranslationX() + offset, in onActionMoveEvent_notConsumedEvent_shouldMoveToPosition()
145 MotionEvent.ACTION_MOVE, mStubMenuView.getTranslationX() + offset, in onActionMoveEvent_shouldShowDismissView()
163 MotionEvent.ACTION_MOVE, mStubMenuView.getTranslationX() + offset, in dragAndDrop_shouldFlingMenuThenSpringToEdge()
186 MotionEvent.ACTION_MOVE, mStubMenuView.getTranslationX() + offset, in dragMenuOutOfBoundsAndDrop_moveToLeftEdge_shouldMoveToEdgeAndHide()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/gesture/
H A DSwipeUpGestureHandler.kt24 import android.view.MotionEvent.ACTION_MOVE
70 ACTION_MOVE -> {
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
H A DDragDetector.java22 import static android.view.MotionEvent.ACTION_MOVE;
88 case ACTION_MOVE: { in onMotionEvent()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/window/
H A DStatusBarWindowView.java20 import static android.view.MotionEvent.ACTION_MOVE;
80 } else if (ev.getAction() == ACTION_MOVE && mTouchDownY != 0) { in dispatchTouchEvent()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DDragInputEventReceiver.java22 import static android.view.MotionEvent.ACTION_MOVE;
82 case ACTION_MOVE: in onInputEvent()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/
H A DPipResizeGestureHandlerTest.java156 MotionEvent moveEvent1 = obtainMotionEvent(MotionEvent.ACTION_MOVE, topLeft, bottomRight); in twoInput_triggersPinchResize_getBigger()
162 MotionEvent moveEvent2 = obtainMotionEvent(MotionEvent.ACTION_MOVE, topLeft, bottomRight); in twoInput_triggersPinchResize_getBigger()
196 MotionEvent moveEvent1 = obtainMotionEvent(MotionEvent.ACTION_MOVE, topLeft, bottomRight); in twoInput_triggersPinchResize_getSmaller()
201 MotionEvent moveEvent2 = obtainMotionEvent(MotionEvent.ACTION_MOVE, topLeft, bottomRight); in twoInput_triggersPinchResize_getSmaller()
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/view/
H A DHandwritingInitiatorPerfTest.java20 import static android.view.MotionEvent.ACTION_MOVE;
112 createMotionEvent(ACTION_MOVE, TOOL_TYPE_STYLUS, x, y, 1); in onTouchEvent_actionMove_toolTypeStylus()
170 createMotionEvent(ACTION_MOVE, TOOL_TYPE_FINGER, x, y, 1); in onTouchEvent_actionMove_toolTypeFinger()
/aosp14/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DFrontBufferedLayer.kt101 action == MotionEvent.ACTION_MOVE) {
108 if (action == MotionEvent.ACTION_MOVE) {

1234567