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

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DPositionController.java80 private float mCurrentScale, mFromScale, mToScale; field in class:PositionController
121 mCurrentScale = 1;
123 mViewer.setPosition(mCurrentX, mCurrentY, mCurrentScale);
135 mCurrentScale = mCurrentScale * ratio;
161 mCurrentScale = scale;
165 mCurrentScale = Utils.clamp(mCurrentScale, mScaleMin, mScaleMax);
167 mViewer.setPosition(mCurrentX, mCurrentY, mCurrentScale);
174 int tempX = Math.round((tapX - mViewW / 2) / mCurrentScale
[all...]
H A DCropView.java282 private float mCurrentScale; field in class:CropView.AnimationController
298 mCurrentScale = Math.min(2, Math.min(
318 mStartScale = mCurrentScale;
328 mStartScale = mCurrentScale = mTargetScale;
332 float s = mCurrentScale;
344 float s = mCurrentScale;
357 mCurrentScale = mStartScale + (mTargetScale - mStartScale) * progress;
360 && mCurrentScale == mTargetScale) forceStop();
372 return mCurrentScale;

Completed in 120 milliseconds