Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DDoubleTapClassifier.java82 MotionEvent secondFinalEvent = secondEvents.get(secondEvents.size() - 1); in isDoubleTap() local
84 long dt = secondFinalEvent.getEventTime() - firstFinalEvent.getEventTime(); in isDoubleTap()
91 if (Math.abs(firstFinalEvent.getX() - secondFinalEvent.getX()) >= mDoubleTapSlop) { in isDoubleTap()
93 .append(Math.abs(firstFinalEvent.getX() - secondFinalEvent.getX())) in isDoubleTap()
99 if (Math.abs(firstFinalEvent.getY() - secondFinalEvent.getY()) >= mDoubleTapSlop) { in isDoubleTap()
101 .append(Math.abs(firstFinalEvent.getY() - secondFinalEvent.getY())) in isDoubleTap()