Home
last modified time | relevance | path

Searched refs:appendMoveEvent (Results 1 – 4 of 4) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/
H A DZigZagClassifierTest.java56 appendMoveEvent(0, 0); in testPass_fewTouchesVertical()
64 appendMoveEvent(0, 0); in testPass_vertical()
72 appendMoveEvent(0, 0); in testPass_dropClosingUpEvent()
82 appendMoveEvent(0, 0); in testPass_fewTouchesHorizontal()
90 appendMoveEvent(0, 0); in testPass_horizontal()
98 appendMoveEvent(0, 0); in testPass_brightnessSliderAlwaysPasses()
100 appendMoveEvent(0, 1); in testPass_brightnessSliderAlwaysPasses()
106 appendMoveEvent(0, 0); in testFail_minimumTouchesVertical()
108 appendMoveEvent(0, 1); in testFail_minimumTouchesVertical()
114 appendMoveEvent(0, 0); in testFail_minimumTouchesHorizontal()
[all …]
H A DFalsingDataProviderTest.java80 mDataProvider.onMotionEvent(appendMoveEvent(4, 7)); in test_trackMotionEvents_dropUpEvent()
81 mDataProvider.onMotionEvent(appendMoveEvent(6, 5)); in test_trackMotionEvents_dropUpEvent()
103 mDataProvider.onMotionEvent(appendMoveEvent(4, 7)); in test_trackMotionEvents_keepUpEvent()
155 MotionEvent motionEventA = appendMoveEvent(2, 9); in test_unpackMotionEvents()
156 MotionEvent motionEventB = appendMoveEvent(4, 7); in test_unpackMotionEvents()
157 MotionEvent motionEventC = appendMoveEvent(6, 5); in test_unpackMotionEvents()
186 mDataProvider.onMotionEvent(appendMoveEvent(1, 1)); in test_getAngle()
197 mDataProvider.onMotionEvent(appendMoveEvent(2, 0)); in test_getAngle()
207 mDataProvider.onMotionEvent(appendMoveEvent(1, 1)); in test_isHorizontal()
212 mDataProvider.onMotionEvent(appendMoveEvent(2, 1)); in test_isHorizontal()
[all …]
H A DDistanceClassifierTest.java65 mClassifier.onTouchEvent(appendMoveEvent(1, 40)); in testPass_fling()
77 mClassifier.onTouchEvent(appendMoveEvent(1, 2)); in testFail_flingShort()
91 mClassifier.onTouchEvent(appendMoveEvent(1, 15, 2)); in testFail_flingSlowly()
94 mClassifier.onTouchEvent(appendMoveEvent(1, 16, 3)); in testFail_flingSlowly()
95 mClassifier.onTouchEvent(appendMoveEvent(1, 17, 300)); in testFail_flingSlowly()
96 mClassifier.onTouchEvent(appendMoveEvent(1, 18, 301)); in testFail_flingSlowly()
97 mClassifier.onTouchEvent(appendMoveEvent(1, 19, 501)); in testFail_flingSlowly()
H A DClassifierTest.java98 protected MotionEvent appendMoveEvent(float x, float y) { in appendMoveEvent() method in ClassifierTest
102 protected MotionEvent appendMoveEvent(float x, float y, long eventTime) { in appendMoveEvent() method in ClassifierTest