Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSlotView.java248 int oldX = mScrollX; in render() local
256 if (oldX > 0 && newX == 0 || oldX < limit && newX == limit) { in render()
DPositionController.java1556 int oldX = mCurrentX; in interpolateFlingPage() local
1560 if (oldX > mBoundLeft && mCurrentX == mBoundLeft) { in interpolateFlingPage()
1563 } else if (oldX < mBoundRight && mCurrentX == mBoundRight) { in interpolateFlingPage()
/packages/apps/Launcher3/src/com/android/launcher3/
DCellLayout.java992 final int oldX = lp.x; in animateChildToPosition() local
1011 lp.x = oldX; in animateChildToPosition()
1015 if (oldX == newX && oldY == newY) { in animateChildToPosition()
1028 lp.x = (int) ((1 - r) * oldX + r * newX); in animateChildToPosition()
DPagedView.java1716 int oldX = getViewportOffsetX() + getChildOffset(i); in onTouchEvent()
1726 v.setTranslationX(oldX - newX); in onTouchEvent()
/packages/apps/Launcher2/src/com/android/launcher2/
DCellLayout.java1113 final int oldX = lp.x; in animateChildToPosition() local
1132 lp.x = oldX; in animateChildToPosition()
1136 if (oldX == newX && oldY == newY) { in animateChildToPosition()
1149 lp.x = (int) ((1 - r) * oldX + r * newX); in animateChildToPosition()