Home
last modified time | relevance | path

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

/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/
DGestureUtils.java51 public static double distanceClosestPointerToPoint(PointF pointerDown, MotionEvent moveEvent) { in distanceClosestPointerToPoint() argument
54 final float moveDelta = MathUtils.dist(pointerDown.x, pointerDown.y, moveEvent.getX(i), in distanceClosestPointerToPoint()
/frameworks/native/services/inputflinger/reader/mapper/gestures/
DGestureConverter.cpp247 bool pointerDown = isPointerDown(mButtonState) || in handleButtonsChange() local
250 coords.setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, pointerDown ? 1.0f : 0.0f); in handleButtonsChange()
305 const bool pointerDown = isPointerDown(mButtonState); in releaseAllButtons() local
306 coords.setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, pointerDown ? 1.0f : 0.0f); in releaseAllButtons()
317 if (pointerDown) { in releaseAllButtons()