Home
last modified time | relevance | path

Searched refs:addMotionEvent (Results 1 – 6 of 6) sorted by relevance

/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/
H A DSingleTapClassifierTest.java70 addMotionEvent(0, 0, MotionEvent.ACTION_DOWN, 1, 1); in testSimpleTap_XSlop()
77 addMotionEvent(0, 0, MotionEvent.ACTION_DOWN, 1, 1); in testSimpleTap_XSlop()
86 addMotionEvent(0, 0, MotionEvent.ACTION_DOWN, 1, 1); in testSimpleTap_YSlop()
93 addMotionEvent(0, 0, MotionEvent.ACTION_DOWN, 1, 1); in testSimpleTap_YSlop()
102 addMotionEvent(0, 0, MotionEvent.ACTION_DOWN, 1, 1); in testFalseTap_XSlop()
109 addMotionEvent(0, 0, MotionEvent.ACTION_DOWN, 1, 1); in testFalseTap_XSlop()
118 addMotionEvent(0, 0, MotionEvent.ACTION_DOWN, 1, 1); in testFalseTap_YSlop()
125 addMotionEvent(0, 0, MotionEvent.ACTION_DOWN, 1, 1); in testFalseTap_YSlop()
133 addMotionEvent(0, 0, MotionEvent.ACTION_DOWN, 1, 1); in testLargeMovementFalses()
135 addMotionEvent(0, 2, MotionEvent.ACTION_UP, 1, 1); in testLargeMovementFalses()
[all …]
H A DDoubleTapClassifierTest.java83 addMotionEvent(0, 0, MotionEvent.ACTION_DOWN, 1, 1); in testSingleTap()
94 addMotionEvent(0, 0, MotionEvent.ACTION_DOWN, 1, 1); in testDoubleTap()
95 addMotionEvent(0, 1, MotionEvent.ACTION_UP, 1, 1); in testDoubleTap()
111 addMotionEvent(0, 0, MotionEvent.ACTION_DOWN, 1, 1); in testBadFirstTap()
112 addMotionEvent(0, 1, MotionEvent.ACTION_UP, 1, 1); in testBadFirstTap()
116 addMotionEvent(2, 2, MotionEvent.ACTION_DOWN, 1, 1); in testBadFirstTap()
117 addMotionEvent(2, 3, MotionEvent.ACTION_UP, 1, 1); in testBadFirstTap()
129 addMotionEvent(0, 1, MotionEvent.ACTION_UP, 1, 1); in testBadSecondTap()
134 addMotionEvent(2, 3, MotionEvent.ACTION_UP, 1, 1); in testBadSecondTap()
145 addMotionEvent(0, 1, MotionEvent.ACTION_UP, 1, 1); in testBadTouchSlop()
[all …]
/aosp12/frameworks/base/core/tests/coretests/src/android/view/
H A DVelocityTest.java268 addMotionEvent(vt, startX, startY, startime, MotionEvent.ACTION_DOWN); in drag()
277 addMotionEvent(vt, x, y, time, MotionEvent.ACTION_MOVE); in drag()
279 addMotionEvent(vt, endX, endY, startime + duration, MotionEvent.ACTION_UP); in drag()
282 private void addMotionEvent(VelocityTracker vt, int x, int y, long time, int action) { in addMotionEvent() method in VelocityTest
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
H A DMotionPauseDetector.java126 float newVelocity = mVelocityProvider.addMotionEvent(ev, ev.getPointerId(pointerIndex)); in addPosition()
226 public float addMotionEvent(MotionEvent ev, int pointer) {
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/
H A DSensorLoggerSession.java70 public void addMotionEvent(MotionEvent motionEvent) { in addMotionEvent() method in SensorLoggerSession
H A DDataCollector.java488 mCurrentSession.addMotionEvent(event); in onTouchEvent()