Searched refs:pointerDown (Results 1 – 2 of 2) sorted by relevance
51 public static double distanceClosestPointerToPoint(PointF pointerDown, MotionEvent moveEvent) { in distanceClosestPointerToPoint() argument54 final float moveDelta = MathUtils.dist(pointerDown.x, pointerDown.y, moveEvent.getX(i), in distanceClosestPointerToPoint()
247 bool pointerDown = isPointerDown(mButtonState) || in handleButtonsChange() local250 coords.setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, pointerDown ? 1.0f : 0.0f); in handleButtonsChange()305 const bool pointerDown = isPointerDown(mButtonState); in releaseAllButtons() local306 coords.setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, pointerDown ? 1.0f : 0.0f); in releaseAllButtons()317 if (pointerDown) { in releaseAllButtons()