Searched refs:yVelocity (Results 1 – 3 of 3) sorted by relevance
440 float yVelocity = velocityTracker.getYVelocity(); in onTouchEvent() local446 negative = yVelocity < 0; in onTouchEvent()455 if (yVelocity < 0) { in onTouchEvent()456 yVelocity = -yVelocity; in onTouchEvent()458 if (yVelocity > mMaximumMinorVelocity) { in onTouchEvent()459 yVelocity = mMaximumMinorVelocity; in onTouchEvent()463 float velocity = (float) Math.hypot(xVelocity, yVelocity); in onTouchEvent()
1204 final float yVelocity = mVelocityTracker.getYVelocity(mActivePointerId); in checkHorizontalSwipe() local1209 && absXVelocity > Math.abs(yVelocity)) { in checkHorizontalSwipe()1231 final float yVelocity = mVelocityTracker.getYVelocity(mActivePointerId); in checkVerticalSwipe() local1232 final int velDirFlag = yVelocity > 0f ? DOWN : UP; in checkVerticalSwipe()1233 final float absYVelocity = Math.abs(yVelocity); in checkVerticalSwipe()
651 float yVelocity = mVelocityTracker.getYVelocity(); in handleMoveEvent() local652 float velocity = MathUtils.mag(xVelocity, yVelocity); in handleMoveEvent()