Searched refs:xVelocity (Results 1 – 2 of 2) sorted by relevance
438 float xVelocity = velocityTracker.getXVelocity(); in onTouchEvent() local444 if (xVelocity < 0) { in onTouchEvent()445 xVelocity = -xVelocity; in onTouchEvent()447 if (xVelocity > mMaximumMinorVelocity) { in onTouchEvent()448 xVelocity = mMaximumMinorVelocity; in onTouchEvent()451 negative = xVelocity < 0; in onTouchEvent()460 float velocity = (float) Math.hypot(xVelocity, yVelocity); in onTouchEvent()
1191 final float xVelocity = VelocityTrackerCompat in checkHorizontalSwipe() local1193 final int velDirFlag = xVelocity > 0f ? RIGHT : LEFT; in checkHorizontalSwipe()1195 Math.abs(xVelocity) >= mRecyclerView.getMinFlingVelocity()) { in checkHorizontalSwipe()