Searched refs:xvel (Results 1 – 2 of 2) sorted by relevance
502 public boolean isScrollingInDirection(float xvel, float yvel) { in isScrollingInDirection() argument503 return !mFinished && Math.signum(xvel) == Math.signum(mFinalX - mStartX) && in isScrollingInDirection()
532 public boolean isScrollingInDirection(float xvel, float yvel) { in isScrollingInDirection() argument535 return !isFinished() && Math.signum(xvel) == Math.signum(dx) && in isScrollingInDirection()