Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/camera/ui/
DSwitch.java311 float xvel = mVelocityTracker.getXVelocity(); in stopDrag() local
312 if (Math.abs(xvel) > mMinFlingVelocity) { in stopDrag()
313 newState = xvel > 0; in stopDrag()
/packages/apps/Camera/src/com/android/camera/ui/
DSwitch.java311 float xvel = mVelocityTracker.getXVelocity(); in stopDrag() local
312 if (Math.abs(xvel) > mMinFlingVelocity) { in stopDrag()
313 newState = xvel > 0; in stopDrag()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DScroller.java503 public boolean isScrollingInDirection(float xvel, float yvel) { in isScrollingInDirection() argument
504 return !mFinished && Math.signum(xvel) == Math.signum(mFinalX - mStartX) && in isScrollingInDirection()
DOverScroller.java535 public boolean isScrollingInDirection(float xvel, float yvel) { in isScrollingInDirection() argument
538 return !isFinished() && Math.signum(xvel) == Math.signum(dx) && in isScrollingInDirection()