Home | History | Annotate | Download | only in ui

Lines Matching refs:mCurrentY

168     // The focused box (Box*) centers at mPlatform's (mCurrentX, mCurrentY)
352 b.mCurrentY = r.centerY() - mViewH / 2;
442 mPlatform.mCurrentY = mPlatform.mToY;
448 b.mCurrentY = b.mToY;
482 float tempY = (tapY - b.mCurrentY) / b.mCurrentScale;
507 mFocusY = (int) ((focusY - b.mCurrentY) / b.mCurrentScale + 0.5f);
528 int y = mFilmMode ? b.mCurrentY : (int) (focusY - s * mFocusY + 0.5f);
586 int y = b.mCurrentY + dy;
647 startAnimation(x, b.mCurrentY, b.mCurrentScale, ANIM_KIND_SCROLL);
654 int y = b.mCurrentY + dy;
683 mPageScroller.fling(p.mCurrentX, b.mCurrentY, velocityX, velocityY,
708 targetX, b.mCurrentY, b.mCurrentScale, ANIM_KIND_FLING_X);
721 if (velocityY < 0 || (velocityY == 0 && b.mCurrentY <= 0)) {
730 duration = (int) (Math.abs(targetY - b.mCurrentY) * 1000f
897 int y = b.mCurrentY + mPlatform.mCurrentY + mViewH / 2;
932 mPlatform.mCurrentY = mPlatform.mDefaultY;
944 b.mCurrentY = 0;
962 b.mCurrentY = 0;
1105 b.mCurrentY = -(mViewH / 2 + heightOf(b) / 2);
1107 b.mCurrentY = (mViewH / 2 + heightOf(b) / 2);
1121 b.mCurrentY = -(mViewH / 2 + heightOf(b) / 2);
1123 b.mCurrentY = (mViewH / 2 + heightOf(b) / 2);
1195 && b.mCurrentY == 0;
1224 if (b.mCurrentY <= mBoundTop) {
1227 if (b.mCurrentY >= mBoundBottom) {
1306 // mBoxes.get(0).mCurrentY, where "stable" means
1440 public int mCurrentY, mFromY, mToY, mDefaultY;
1477 if (mCurrentX != x || mCurrentY != y) {
1503 if (mCurrentX == targetX && mCurrentY == targetY) return false;
1506 mFromY = mCurrentY;
1575 mCurrentY = mToY;
1582 mCurrentY = (int) (mFromY + progress * (mToY - mFromY));
1586 return (mCurrentX == mToX && mCurrentY == mToY);
1611 public int mCurrentY, mFromY, mToY;
1627 int y = mCurrentY;
1654 if (mCurrentY != y || mCurrentScale != scale) {
1663 if (mCurrentY == targetY && mCurrentScale == targetScale
1670 mFromY = mCurrentY;
1700 int oldY = mCurrentY;
1701 mCurrentY = mPageScroller.getCurrY();
1704 if (oldY > mBoundTop && mCurrentY == mBoundTop) {
1707 } else if (oldY < mBoundBottom && mCurrentY == mBoundBottom) {
1717 mCurrentY = mToY;
1721 mCurrentY = (int) (mFromY + progress * (mToY - mFromY));
1728 return (mCurrentY == mToY && mCurrentScale == mToScale);