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.java38 private double mCosAngle; field in FlingScroller
68 return (int)Math.round(mCurrV * mCosAngle); in getCurrVelocityX()
86 mCosAngle = velocityX / velocity; in fling()
116 int r = (int) Math.round(mStartX + f * mDistance * mCosAngle); in getX()
117 if (mCosAngle > 0 && mStartX <= mMaxX) { in getX()
119 } else if (mCosAngle < 0 && mStartX >= mMinX) { in getX()