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.java47 private final ArrayDeque<MotionEvent> mBufferedEvents = new ArrayDeque<>(); field in HumanInteractionClassifier
133 mBufferedEvents.add(MotionEvent.obtain(event)); in onTouchEvent()
136 while (pointEnd.dist(new Point(mBufferedEvents.getFirst().getX() / mDpi, in onTouchEvent()
137 mBufferedEvents.getFirst().getY() / mDpi)) > FINGER_DISTANCE) { in onTouchEvent()
138 addTouchEvent(mBufferedEvents.getFirst()); in onTouchEvent()
139 mBufferedEvents.remove(); in onTouchEvent()
144 mBufferedEvents.getFirst().setAction(MotionEvent.ACTION_UP); in onTouchEvent()
145 addTouchEvent(mBufferedEvents.getFirst()); in onTouchEvent()
146 mBufferedEvents.clear(); in onTouchEvent()