Searched refs:oldX (Results 1 – 5 of 5) sorted by relevance
248 int oldX = mScrollX; in render() local256 if (oldX > 0 && newX == 0 || oldX < limit && newX == limit) { in render()
1556 int oldX = mCurrentX; in interpolateFlingPage() local1560 if (oldX > mBoundLeft && mCurrentX == mBoundLeft) { in interpolateFlingPage()1563 } else if (oldX < mBoundRight && mCurrentX == mBoundRight) { in interpolateFlingPage()
992 final int oldX = lp.x; in animateChildToPosition() local1011 lp.x = oldX; in animateChildToPosition()1015 if (oldX == newX && oldY == newY) { in animateChildToPosition()1028 lp.x = (int) ((1 - r) * oldX + r * newX); in animateChildToPosition()
1716 int oldX = getViewportOffsetX() + getChildOffset(i); in onTouchEvent()1726 v.setTranslationX(oldX - newX); in onTouchEvent()
1113 final int oldX = lp.x; in animateChildToPosition() local1132 lp.x = oldX; in animateChildToPosition()1136 if (oldX == newX && oldY == newY) { in animateChildToPosition()1149 lp.x = (int) ((1 - r) * oldX + r * newX); in animateChildToPosition()