Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPositionController.java351 mPlatform.mCurrentX = r.centerX() - mViewW / 2; in startOpeningAnimationIfNeeded()
441 mPlatform.mCurrentX = mPlatform.mToX; in skipAnimation()
481 float tempX = (tapX - mPlatform.mCurrentX) / b.mCurrentScale; in zoomIn()
506 mFocusX = (int) ((focusX - p.mCurrentX) / b.mCurrentScale + 0.5f); in beginScale()
527 int x = mFilmMode ? p.mCurrentX : (int) (focusX - s * mFocusX + 0.5f); in scaleBy()
585 int x = p.mCurrentX + dx; in scrollPage()
634 int x = p.mCurrentX + dx; in scrollFilmX()
683 mPageScroller.fling(p.mCurrentX, b.mCurrentY, velocityX, velocityY, in flingPage()
699 if ((!mHasPrev && p.mCurrentX >= defaultX) in flingFilmX()
700 || (!mHasNext && p.mCurrentX <= defaultX)) { in flingFilmX()
[all …]
DCropView.java282 private int mCurrentX; field in CropView.AnimationController
298 mCurrentX = mImageWidth / 2; in initialize()
318 mStartX = mCurrentX; in startParkingAnimation()
328 mStartX = mCurrentX = mTargetX; in parkNow()
336 + mCurrentX) / mImageWidth, 0, 1); in inverseMapPoint()
344 int x = mCurrentX; in mapRect()
357 mCurrentX = Math.round(mStartX + (mTargetX - mStartX) * progress); in onCalculate()
361 if (mCurrentX == mTargetX && mCurrentY == mTargetY in onCalculate()
366 return mCurrentX; in getCenterX()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboard.java541 private float mCurrentX; field in Keyboard.Builder.Row
563 mCurrentX = 0.0f; in Row()
591 mCurrentX = keyXPos; in setXPos()
595 mCurrentX += width; in advanceXPos()
617 return Math.max(keyXPos + keyboardRightEdge, mCurrentX); in getKeyX()
622 return mCurrentX; in getKeyX()
626 return getKeyWidth(keyAttr, mCurrentX); in getKeyWidth()