Searched refs:yVelocity (Results 1 – 2 of 2) sorted by relevance
435 float yVelocity = velocityTracker.getYVelocity(); in onTouchEvent() local441 negative = yVelocity < 0; in onTouchEvent()450 if (yVelocity < 0) { in onTouchEvent()451 yVelocity = -yVelocity; in onTouchEvent()453 if (yVelocity > mMaximumMinorVelocity) { in onTouchEvent()454 yVelocity = mMaximumMinorVelocity; in onTouchEvent()458 float velocity = (float) Math.hypot(xVelocity, yVelocity); in onTouchEvent()
1212 final float yVelocity = VelocityTrackerCompat in checkHorizontalSwipe() local1218 absXVelocity > Math.abs(yVelocity)) { in checkHorizontalSwipe()1241 final float yVelocity = VelocityTrackerCompat in checkVerticalSwipe() local1243 final int velDirFlag = yVelocity > 0f ? DOWN : UP; in checkVerticalSwipe()1244 final float absYVelocity = Math.abs(yVelocity); in checkVerticalSwipe()