Home
last modified time | relevance | path

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

/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DScroller.java41 private int mFinalY; field in Scroller
241 return mFinalY; in getFinalY()
283 mCurrY = mStartY + Math.round(distanceCoef * (mFinalY - mStartY)); in computeScrollOffset()
288 if (mCurrX == mFinalX && mCurrY == mFinalY) { in computeScrollOffset()
297 mCurrY = mFinalY; in computeScrollOffset()
342 mFinalY = startY + dy; in startScroll()
374 float dy = mFinalY - mStartY; in fling()
417 mFinalY = startY + Math.round(totalDistance * coeffY); in fling()
419 mFinalY = Math.min(mFinalY, mMaxY); in fling()
420 mFinalY = Math.max(mFinalY, mMinY); in fling()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherScroller.java38 private int mFinalY; field in LauncherScroller
271 return mFinalY; in getFinalY()
319 mCurrY = mStartY + Math.round(distanceCoef * (mFinalY - mStartY)); in computeScrollOffset()
324 if (mCurrX == mFinalX && mCurrY == mFinalY) { in computeScrollOffset()
333 mCurrY = mFinalY; in computeScrollOffset()
379 mFinalY = startY + dy; in startScroll()
411 float dy = (float) (mFinalY - mStartY); in fling()
453 mFinalY = startY + (int) Math.round(totalDistance * coeffY); in fling()
455 mFinalY = Math.min(mFinalY, mMaxY); in fling()
456 mFinalY = Math.max(mFinalY, mMinY); in fling()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DFlingScroller.java42 private int mFinalX, mFinalY; field in FlingScroller
52 return mFinalY; in getFinalY()
104 mFinalY = getY(1.0f); in fling()