Lines Matching defs:newScale
374 float newScale = currentScale * detector.getScaleFactor();
375 scale(newScale, detector.getFocusX(), detector.getFocusY());
909 * @param newScale the new scale
913 private void scale(float newScale, float centerX, float centerY) {
917 newScale <= mMaxScale
918 newScale = Math.max(newScale, mMinScale);
919 newScale = Math.min(newScale, mMaxScale * SCALE_OVERZOOM_FACTOR);
924 if (newScale > mMaxScale && currentScale <= mMaxScale) {
969 float factor = newScale / currentScale;
1221 float newScale = (mStartScale + mVelocity * ellapsed);
1222 mHeader.scale(newScale, mCenterX, mCenterY);
1225 if (newScale == mTargetScale || (mZoomingIn == (newScale > mTargetScale))) {