Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DHumanInteractionClassifier.java49 private final ArrayDeque<MotionEvent> mBufferedEvents = new ArrayDeque<>(); field in HumanInteractionClassifier
131 mBufferedEvents.add(MotionEvent.obtain(event)); in onTouchEvent()
134 while (pointEnd.dist(new Point(mBufferedEvents.getFirst().getX() / mDpi, in onTouchEvent()
135 mBufferedEvents.getFirst().getY() / mDpi)) > FINGER_DISTANCE) { in onTouchEvent()
136 addTouchEvent(mBufferedEvents.getFirst()); in onTouchEvent()
137 mBufferedEvents.remove(); in onTouchEvent()
142 mBufferedEvents.getFirst().setAction(MotionEvent.ACTION_UP); in onTouchEvent()
143 addTouchEvent(mBufferedEvents.getFirst()); in onTouchEvent()
144 mBufferedEvents.clear(); in onTouchEvent()