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

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DCropView.java285 private float mCurrentScale; field in class:CropView.AnimationController
301 mCurrentScale = Math.min(2, Math.min(
321 mStartScale = mCurrentScale;
331 mStartScale = mCurrentScale = mTargetScale;
335 float s = mCurrentScale;
347 float s = mCurrentScale;
360 mCurrentScale = mStartScale + (mTargetScale - mStartScale) * progress;
363 && mCurrentScale == mTargetScale) forceStop();
375 return mCurrentScale;
H A DPositionController.java252 b.mCurrentScale = b.mScaleMin;
326 b.mCurrentScale = getMinimalScale(b);
329 b.mCurrentScale *= ratio;
353 b.mCurrentScale = Math.max(r.width() / (float) b.mImageW,
449 b.mCurrentScale = b.mToScale;
481 float tempX = (tapX - mPlatform.mCurrentX) / b.mCurrentScale;
482 float tempY = (tapY - b.mCurrentY) / b.mCurrentScale;
506 mFocusX = (int) ((focusX - p.mCurrentX) / b.mCurrentScale + 0.5f);
507 mFocusY = (int) ((focusY - b.mCurrentY) / b.mCurrentScale + 0.5f);
583 calculateStableBound(b.mCurrentScale);
1612 public float mCurrentScale, mFromScale, mToScale; field in class:PositionController.Box
[all...]

Completed in 105 milliseconds