Home
last modified time | relevance | path

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

/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DScroller.java40 private int mFinalY; field in Scroller
240 return mFinalY; in getFinalY()
282 mCurrY = mStartY + Math.round(distanceCoef * (mFinalY - mStartY)); in computeScrollOffset()
287 if (mCurrX == mFinalX && mCurrY == mFinalY) { in computeScrollOffset()
296 mCurrY = mFinalY; in computeScrollOffset()
341 mFinalY = startY + dy; in startScroll()
373 float dy = mFinalY - mStartY; in fling()
416 mFinalY = startY + Math.round(totalDistance * coeffY); in fling()
418 mFinalY = Math.min(mFinalY, mMaxY); in fling()
419 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()