Loading services/java/com/android/server/wm/StackTapPointerEventListener.java +5 −0 Original line number Diff line number Diff line Loading @@ -56,6 +56,11 @@ public class StackTapPointerEventListener implements PointerEventListener { case MotionEvent.ACTION_MOVE: if (mPointerId >= 0) { int index = motionEvent.findPointerIndex(mPointerId); if (index < 0) { mPointerId = -1; break; } if ((motionEvent.getEventTime() - motionEvent.getDownTime()) > TAP_TIMEOUT_MSEC || (motionEvent.getX(index) - mDownX) > mMotionSlop || (motionEvent.getY(index) - mDownY) > mMotionSlop) { Loading Loading
services/java/com/android/server/wm/StackTapPointerEventListener.java +5 −0 Original line number Diff line number Diff line Loading @@ -56,6 +56,11 @@ public class StackTapPointerEventListener implements PointerEventListener { case MotionEvent.ACTION_MOVE: if (mPointerId >= 0) { int index = motionEvent.findPointerIndex(mPointerId); if (index < 0) { mPointerId = -1; break; } if ((motionEvent.getEventTime() - motionEvent.getDownTime()) > TAP_TIMEOUT_MSEC || (motionEvent.getX(index) - mDownX) > mMotionSlop || (motionEvent.getY(index) - mDownY) > mMotionSlop) { Loading