Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPositionController.java128 private FlingScroller mPageScroller; field in PositionController
213 mPageScroller = new FlingScroller(); in PositionController()
683 mPageScroller.fling(p.mCurrentX, b.mCurrentY, velocityX, velocityY, in flingPage()
685 int targetX = mPageScroller.getFinalX(); in flingPage()
686 int targetY = mPageScroller.getFinalY(); in flingPage()
687 ANIM_TIME[ANIM_KIND_FLING] = mPageScroller.getDuration(); in flingPage()
1552 mPageScroller.computeScrollOffset(progress); in interpolateFlingPage()
1557 mCurrentX = mPageScroller.getCurrX(); in interpolateFlingPage()
1561 int v = (int) (-mPageScroller.getCurrVelocityX() + 0.5f); in interpolateFlingPage()
1564 int v = (int) (mPageScroller.getCurrVelocityX() + 0.5f); in interpolateFlingPage()
[all …]