Searched refs:xvel (Results 1 – 3 of 3) sorted by relevance
503 public boolean isScrollingInDirection(float xvel, float yvel) { in isScrollingInDirection() argument504 return !mFinished && Math.signum(xvel) == Math.signum(mFinalX - mStartX) && in isScrollingInDirection()
492 float xvel = mVelocityTracker.getXVelocity(); in stopDrag() local493 if (Math.abs(xvel) > mMinFlingVelocity) { in stopDrag()494 newState = xvel > 0; in stopDrag()
531 public boolean isScrollingInDirection(float xvel, float yvel) { in isScrollingInDirection() argument534 return !isFinished() && Math.signum(xvel) == Math.signum(dx) && in isScrollingInDirection()