Home
last modified time | relevance | path

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

/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DScroller.java47 private int mCurrX; field in Scroller
185 return mCurrX; in getCurrX()
265 mCurrX = mStartX + Math.round(x * mDeltaX); in computeScrollOffset()
277 mCurrX = mStartX + Math.round(distanceCoef * (mFinalX - mStartX)); in computeScrollOffset()
279 mCurrX = Math.min(mCurrX, mMaxX); in computeScrollOffset()
280 mCurrX = Math.max(mCurrX, mMinX); in computeScrollOffset()
287 if (mCurrX == mFinalX && mCurrY == mFinalY) { in computeScrollOffset()
295 mCurrX = mFinalX; in computeScrollOffset()
444 mCurrX = mFinalX; in abortAnimation()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherScroller.java44 private int mCurrX; field in LauncherScroller
214 return mCurrX; in getCurrX()
294 mCurrX = mStartX + Math.round(x * mDeltaX); in computeScrollOffset()
313 mCurrX = mStartX + Math.round(distanceCoef * (mFinalX - mStartX)); in computeScrollOffset()
315 mCurrX = Math.min(mCurrX, mMaxX); in computeScrollOffset()
316 mCurrX = Math.max(mCurrX, mMinX); in computeScrollOffset()
323 if (mCurrX == mFinalX && mCurrY == mFinalY) { in computeScrollOffset()
331 mCurrX = mFinalX; in computeScrollOffset()
496 mCurrX = mFinalX; in abortAnimation()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DFlingScroller.java44 private int mCurrX, mCurrY; field in FlingScroller
60 return mCurrX; in getCurrX()
111 mCurrX = getX(f); in computeScrollOffset()