Home | History | Annotate | Download | only in ui

Lines Matching refs:mCurrentX

168     // The focused box (Box*) centers at mPlatform's (mCurrentX, mCurrentY)
351 mPlatform.mCurrentX = r.centerX() - mViewW / 2;
441 mPlatform.mCurrentX = mPlatform.mToX;
481 float tempX = (tapX - mPlatform.mCurrentX) / b.mCurrentScale;
506 mFocusX = (int) ((focusX - p.mCurrentX) / b.mCurrentScale + 0.5f);
527 int x = mFilmMode ? p.mCurrentX : (int) (focusX - s * mFocusX + 0.5f);
585 int x = p.mCurrentX + dx;
634 int x = p.mCurrentX + dx;
683 mPageScroller.fling(p.mCurrentX, b.mCurrentY, velocityX, velocityY,
699 if ((!mHasPrev && p.mCurrentX >= defaultX)
700 || (!mHasNext && p.mCurrentX <= defaultX)) {
704 mFilmScroller.fling(p.mCurrentX, 0, velocityX, 0,
901 int x = mPlatform.mCurrentX
931 mPlatform.mCurrentX = mPlatform.mDefaultX;
1087 mBoxes.get(0).mAbsoluteX = mPlatform.mCurrentX;
1168 int dx = mBoxes.get(0).mAbsoluteX - mPlatform.mCurrentX;
1169 mPlatform.mCurrentX += dx;
1194 return mPlatform.mCurrentX == mPlatform.mDefaultX
1218 if (p.mCurrentX <= mBoundLeft) {
1221 if (p.mCurrentX >= mBoundRight) {
1235 && mPlatform.mCurrentX != mPlatform.mToX;
1241 mPlatform.mFromX = mPlatform.mToX = mPlatform.mCurrentX;
1305 // Calculates the stable region of mPlatform.mCurrentX and
1439 public int mCurrentX, mFromX, mToX, mDefaultX;
1456 int x = mCurrentX;
1464 // target mCurrentX (which is the center of the focused
1468 // mCurrentX + scale * mFocusX = mCurrentX' + scale' * mFocusX
1469 // => mCurrentX' = mCurrentX + (scale - scale') * mFocusX
1477 if (mCurrentX != x || mCurrentY != y) {
1503 if (mCurrentX == targetX && mCurrentY == targetY) return false;
1505 mFromX = mCurrentX;
1529 mCurrentX = mFilmScroller.getCurrX() + mFlingOffset;
1532 if (mCurrentX < mDefaultX) {
1536 } else if (mCurrentX > mDefaultX) {
1546 mCurrentX = mDefaultX;
1556 int oldX = mCurrentX;
1557 mCurrentX = mPageScroller.getCurrX();
1560 if (oldX > mBoundLeft && mCurrentX == mBoundLeft) {
1563 } else if (oldX < mBoundRight && mCurrentX == mBoundRight) {
1574 mCurrentX = mToX;
1581 mCurrentX = (int) (mFromX + progress * (mToX - mFromX));
1586 return (mCurrentX == mToX && mCurrentY == mToY);