/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/ |
H A D | SingleTapClassifierTest.java | 70 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 D | DoubleTapClassifierTest.java | 83 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 D | VelocityTest.java | 268 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 D | MotionPauseDetector.java | 126 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 D | SensorLoggerSession.java | 70 public void addMotionEvent(MotionEvent motionEvent) { in addMotionEvent() method in SensorLoggerSession
|
H A D | DataCollector.java | 488 mCurrentSession.addMotionEvent(event); in onTouchEvent()
|