Home
last modified time | relevance | path

Searched refs:xvel (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/widget/
DScroller.java503 public boolean isScrollingInDirection(float xvel, float yvel) { in isScrollingInDirection() argument
504 return !mFinished && Math.signum(xvel) == Math.signum(mFinalX - mStartX) && in isScrollingInDirection()
DSwitch.java492 float xvel = mVelocityTracker.getXVelocity(); in stopDrag() local
493 if (Math.abs(xvel) > mMinFlingVelocity) { in stopDrag()
494 newState = xvel > 0; in stopDrag()
DOverScroller.java531 public boolean isScrollingInDirection(float xvel, float yvel) { in isScrollingInDirection() argument
534 return !isFinished() && Math.signum(xvel) == Math.signum(dx) && in isScrollingInDirection()