Searched refs:xvel (Results 1 – 4 of 4) sorted by relevance
311 float xvel = mVelocityTracker.getXVelocity(); in stopDrag() local312 if (Math.abs(xvel) > mMinFlingVelocity) { in stopDrag()313 newState = xvel > 0; in stopDrag()
503 public boolean isScrollingInDirection(float xvel, float yvel) { in isScrollingInDirection() argument504 return !mFinished && Math.signum(xvel) == Math.signum(mFinalX - mStartX) && in isScrollingInDirection()
535 public boolean isScrollingInDirection(float xvel, float yvel) { in isScrollingInDirection() argument538 return !isFinished() && Math.signum(xvel) == Math.signum(dx) && in isScrollingInDirection()