Home
last modified time | relevance | path

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

/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DScroller.java39 private int mFinalX; field in Scroller
231 return mFinalX; in getFinalX()
277 mCurrX = mStartX + Math.round(distanceCoef * (mFinalX - mStartX)); in computeScrollOffset()
287 if (mCurrX == mFinalX && mCurrY == mFinalY) { in computeScrollOffset()
295 mCurrX = mFinalX; in computeScrollOffset()
340 mFinalX = startX + dx; in startScroll()
372 float dx = mFinalX - mStartX; in fling()
411 mFinalX = startX + Math.round(totalDistance * coeffX); in fling()
413 mFinalX = Math.min(mFinalX, mMaxX); in fling()
414 mFinalX = Math.max(mFinalX, mMinX); in fling()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DFlingScroller.java42 private int mFinalX, mFinalY; field in FlingScroller
48 return mFinalX; in getFinalX()
103 mFinalX = getX(1.0f); in fling()