Home
last modified time | relevance | path

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

/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/
DMultiTap.java41 float mBaseX; field in MultiTap
58 mBaseX = Float.NaN; in clear()
66 if (Float.isNaN(mBaseX) && Float.isNaN(mBaseY)) { in onDown()
67 mBaseX = event.getX(); in onDown()
73 mBaseX = event.getX(); in onDown()
135 final float deltaX = mBaseX - rawEvent.getX(); in isInsideSlop()
150 + Float.toString(mBaseX) in toString()
DSecondFingerMultiTap.java41 float mBaseX; field in SecondFingerMultiTap
58 mBaseX = Float.NaN; in clear()
74 if (Float.isNaN(mBaseX) && Float.isNaN(mBaseY)) { in onPointerDown()
75 mBaseX = event.getX(); in onPointerDown()
81 mBaseX = event.getX(); in onPointerDown()
151 final float deltaX = mBaseX - rawEvent.getX(pointerIndex); in isSecondFingerInsideSlop()
166 + Float.toString(mBaseX) in toString()
DSwipe.java77 private float mBaseX; field in Swipe
131 mBaseX = Float.NaN; in clear()
142 if (Float.isNaN(mBaseX) && Float.isNaN(mBaseY)) { in onDown()
143 mBaseX = rawEvent.getX(); in onDown()
146 mPreviousGestureX = mBaseX; in onDown()
159 final double moveDelta = Math.hypot(Math.abs(x - mBaseX), Math.abs(y - mBaseY)); in onMove()
175 int direction = toDirection(x - mBaseX, y - mBaseY); in onMove()
181 mStrokeBuffer.add(new PointF(mBaseX, mBaseY)); in onMove()
186 mBaseX = x; in onMove()
407 .append(mBaseX) in toString()