Searched refs:xVelocity (Results 1 – 2 of 2) sorted by relevance
436 float xVelocity = velocityTracker.getXVelocity(); in onTouchEvent() local442 if (xVelocity < 0) { in onTouchEvent()443 xVelocity = -xVelocity; in onTouchEvent()445 if (xVelocity > mMaximumMinorVelocity) { in onTouchEvent()446 xVelocity = mMaximumMinorVelocity; in onTouchEvent()449 negative = xVelocity < 0; in onTouchEvent()458 float velocity = (float) Math.hypot(xVelocity, yVelocity); in onTouchEvent()
1210 final float xVelocity = VelocityTrackerCompat in checkHorizontalSwipe() local1214 final int velDirFlag = xVelocity > 0f ? RIGHT : LEFT; in checkHorizontalSwipe()1215 final float absXVelocity = Math.abs(xVelocity); in checkHorizontalSwipe()1239 final float xVelocity = VelocityTrackerCompat in checkVerticalSwipe() local1247 absYVelocity > Math.abs(xVelocity)) { in checkVerticalSwipe()