Home
last modified time | relevance | path

Searched refs:mCurrentScale (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPositionController.java252 b.mCurrentScale = b.mScaleMin; in setViewSize()
326 b.mCurrentScale = getMinimalScale(b); in setBoxSize()
329 b.mCurrentScale *= ratio; in setBoxSize()
353 b.mCurrentScale = Math.max(r.width() / (float) b.mImageW, in startOpeningAnimationIfNeeded()
449 b.mCurrentScale = b.mToScale; in skipAnimation()
481 float tempX = (tapX - mPlatform.mCurrentX) / b.mCurrentScale; in zoomIn()
482 float tempY = (tapY - b.mCurrentY) / b.mCurrentScale; in zoomIn()
506 mFocusX = (int) ((focusX - p.mCurrentX) / b.mCurrentScale + 0.5f); in beginScale()
507 mFocusY = (int) ((focusY - b.mCurrentY) / b.mCurrentScale + 0.5f); in beginScale()
583 calculateStableBound(b.mCurrentScale); in scrollPage()
[all …]
DCropView.java284 private float mCurrentScale; field in CropView.AnimationController
300 mCurrentScale = Math.min(2, Math.min( in initialize()
320 mStartScale = mCurrentScale; in startParkingAnimation()
330 mStartScale = mCurrentScale = mTargetScale; in parkNow()
334 float s = mCurrentScale; in inverseMapPoint()
346 float s = mCurrentScale; in mapRect()
359 mCurrentScale = mStartScale + (mTargetScale - mStartScale) * progress; in onCalculate()
362 && mCurrentScale == mTargetScale) forceStop(); in onCalculate()
374 return mCurrentScale; in getScale()