Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DFlingScroller.java39 private double mCosAngle; field in FlingScroller
69 return (int)Math.round(mCurrV * mCosAngle); in getCurrVelocityX()
87 mCosAngle = velocityX / velocity; in fling()
117 int r = (int) Math.round(mStartX + f * mDistance * mCosAngle); in getX()
118 if (mCosAngle > 0 && mStartX <= mMaxX) { in getX()
120 } else if (mCosAngle < 0 && mStartX >= mMinX) { in getX()