Searched refs:mBufferedEvents (Results 1 – 1 of 1) sorted by relevance
49 private final ArrayDeque<MotionEvent> mBufferedEvents = new ArrayDeque<>(); field in HumanInteractionClassifier131 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()