Home
last modified time | relevance | path

Searched refs:withMotionAction (Results 1 – 13 of 13) sorted by relevance

/cts/tests/input/src/android/input/cts/
DTouchScreenTest.kt38 import com.android.cts.input.inputeventmatchers.withMotionAction
93 verifier.assertReceivedMotion(withMotionAction(MotionEvent.ACTION_DOWN)) in testSingleTouch()
96 verifier.assertReceivedMotion(withMotionAction(ACTION_MOVE)) in testSingleTouch()
99 verifier.assertReceivedMotion(withMotionAction(MotionEvent.ACTION_UP)) in testSingleTouch()
110 verifier.assertReceivedMotion(withMotionAction(MotionEvent.ACTION_DOWN)) in testMultiTouch()
114 verifier.assertReceivedMotion(withMotionAction(MotionEvent.ACTION_POINTER_DOWN, 1)) in testMultiTouch()
119 verifier.assertReceivedMotion(withMotionAction(ACTION_MOVE)) in testMultiTouch()
123 verifier.assertReceivedMotion(withMotionAction(MotionEvent.ACTION_POINTER_UP, 0)) in testMultiTouch()
127 verifier.assertReceivedMotion(withMotionAction(MotionEvent.ACTION_UP)) in testMultiTouch()
137 verifier.assertReceivedMotion(withMotionAction(MotionEvent.ACTION_DOWN)) in testDeviceCancel()
[all …]
DPointerCancelTest.kt33 import com.android.cts.input.inputeventmatchers.withMotionAction in <lambda>()
82 verifier.assertReceivedMotion(withMotionAction(MotionEvent.ACTION_DOWN)) in testPointerCancelMotion()
83 verifier.assertReceivedMotion(withMotionAction(MotionEvent.ACTION_MOVE)) in testPointerCancelMotion()
84 verifier.assertReceivedMotion(withMotionAction(MotionEvent.ACTION_POINTER_DOWN, 1)) in testPointerCancelMotion()
87 withMotionAction(MotionEvent.ACTION_POINTER_UP, 1), in testPointerCancelMotion()
91 verifier.assertReceivedMotion(withMotionAction(MotionEvent.ACTION_UP)) in testPointerCancelMotion()
112 verifierForFloating.assertReceivedMotion(withMotionAction(MotionEvent.ACTION_DOWN)) in testPointerCancelForSplitTouch()
115 verifierForFloating.assertReceivedMotion(withMotionAction(MotionEvent.ACTION_MOVE)) in testPointerCancelForSplitTouch()
118 verifier.assertReceivedMotion(withMotionAction(MotionEvent.ACTION_DOWN)) in testPointerCancelForSplitTouch()
119 verifierForFloating.assertReceivedMotion(withMotionAction(MotionEvent.ACTION_MOVE)) in testPointerCancelForSplitTouch()
[all …]
DSimultaneousTouchAndStylusTest.kt39 import com.android.cts.input.inputeventmatchers.withMotionAction
133 withMotionAction(ACTION_DOWN), in testLeftTouchRightStylusMove()
149 withMotionAction(ACTION_DOWN), in testLeftTouchRightStylusMove()
161 withMotionAction(ACTION_MOVE), in testLeftTouchRightStylusMove()
173 withMotionAction(ACTION_MOVE), in testLeftTouchRightStylusMove()
185 withMotionAction(ACTION_UP), in testLeftTouchRightStylusMove()
198 withMotionAction(ACTION_UP), in testLeftTouchRightStylusMove()
234 withMotionAction(ACTION_DOWN), in testLeftTouchRightStylusHover()
248 withMotionAction(ACTION_HOVER_ENTER), in testLeftTouchRightStylusHover()
256 withMotionAction(ACTION_HOVER_MOVE), in testLeftTouchRightStylusHover()
[all …]
DDrawingTabletTest.kt36 import com.android.cts.input.inputeventmatchers.withMotionAction
117 withMotionAction(MotionEvent.ACTION_HOVER_ENTER), in testHover()
124 withMotionAction(MotionEvent.ACTION_HOVER_MOVE), in testHover()
136 withMotionAction(MotionEvent.ACTION_HOVER_MOVE), in testHover()
148 withMotionAction(MotionEvent.ACTION_HOVER_EXIT), in testHover()
180 withMotionAction(MotionEvent.ACTION_DOWN), in verifyTaps()
187 allOf(withMotionAction(MotionEvent.ACTION_MOVE), withCoords(expected)) in verifyTaps()
190 allOf(withMotionAction(MotionEvent.ACTION_UP), withCoords(expected)) in verifyTaps()
DMultiTouchTest.kt34 import com.android.cts.input.inputeventmatchers.withMotionAction
97 allOf(withMotionAction(MotionEvent.ACTION_DOWN), withCoords(testPointer)) in testMultiTouch()
100 allOf(withMotionAction(MotionEvent.ACTION_MOVE), withCoords(testPointer)) in testMultiTouch()
104 withMotionAction(MotionEvent.ACTION_POINTER_DOWN, 1), in testMultiTouch()
110 withMotionAction(MotionEvent.ACTION_POINTER_UP, 1), in testMultiTouch()
115 allOf(withMotionAction(MotionEvent.ACTION_UP), withCoords(testPointer)) in testMultiTouch()
DMotionEventIsResampledTest.kt28 import com.android.cts.input.inputeventmatchers.withMotionAction
86 verifier.assertReceivedMotion(withMotionAction(MotionEvent.ACTION_DOWN)) in testIsResampled()
133 verifier.assertReceivedMotion(withMotionAction(MotionEvent.ACTION_UP)) in testIsResampled()
DPointerIconTest.kt43 import com.android.cts.input.inputeventmatchers.withMotionAction
132 verifier.assertReceivedMotion(withMotionAction(MotionEvent.ACTION_HOVER_ENTER)) in testCreateBitmapIcon()
146 verifier.assertReceivedMotion(withMotionAction(MotionEvent.ACTION_HOVER_ENTER)) in testLoadBitmapIcon()
169 verifier.assertReceivedMotion(withMotionAction(MotionEvent.ACTION_HOVER_ENTER)) in testLoadVectorIconNoShadow()
/cts/tests/framework/base/windowmanager/src/android/server/wm/input/
DWallpaperWindowInputTests.kt36 import com.android.cts.input.inputeventmatchers.withMotionAction
108 withMotionAction(MotionEvent.ACTION_DOWN), in checkWallpaperEvent()
/cts/libs/input/src/com/android/cts/input/
DInputEventMatchers.kt81 fun withMotionAction(action: Int): Matcher<MotionEvent> = object : TypeSafeMatcher<MotionEvent>() { in withMotionAction() method
96 fun withMotionAction(action: Int, index: Int): Matcher<MotionEvent> = in withMotionAction() method
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DASurfaceControlInputReceiverTest.java40 import static com.android.cts.input.inputeventmatchers.InputEventMatchersKt.withMotionAction;
153 assertThat(motionEvent, allOf(withMotionAction(MotionEvent.ACTION_DOWN), in assertMotionEventOnWindowCenter()
DSurfaceControlInputReceiverTests.java30 import static com.android.cts.input.inputeventmatchers.InputEventMatchersKt.withMotionAction;
345 assertThat(motionEvent, allOf(withMotionAction(MotionEvent.ACTION_DOWN), in assertMotionEventInWindow()
DSurfaceControlViewHostTests.java36 import static com.android.cts.input.inputeventmatchers.InputEventMatchersKt.withMotionAction;
1314 assertThat(motionEvent, allOf(withMotionAction(MotionEvent.ACTION_DOWN), in testHostInputTokenAllowsObscuredTouches()
1317 assertThat(motionEvent, allOf(withMotionAction(MotionEvent.ACTION_UP), in testHostInputTokenAllowsObscuredTouches()
/cts/tests/tests/view/src/android/view/cts/
DMotionEventTest.java27 import static com.android.cts.input.inputeventmatchers.InputEventMatchersKt.withMotionAction;
1118 withMotionAction(javaMotionEvent.getAction()), in testNativeToJavaConverter()