Searched refs:newScale (Results 1 – 2 of 2) sorted by relevance
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
D | PhotoView.java | 374 float newScale = currentScale * detector.getScaleFactor(); in onScale() local 375 scale(newScale, detector.getFocusX(), detector.getFocusY()); in onScale() 913 private void scale(float newScale, float centerX, float centerY) { in scale() argument 918 newScale = Math.max(newScale, mMinScale); in scale() 919 newScale = Math.min(newScale, mMaxScale * SCALE_OVERZOOM_FACTOR); in scale() 924 if (newScale > mMaxScale && currentScale <= mMaxScale) { in scale() 969 float factor = newScale / currentScale; in scale() 1221 float newScale = (mStartScale + mVelocity * ellapsed); in run() local 1222 mHeader.scale(newScale, mCenterX, mCenterY); in run() 1225 if (newScale == mTargetScale || (mZoomingIn == (newScale > mTargetScale))) { in run()
|
/frameworks/base/core/java/android/webkit/ |
D | WebViewClient.java | 453 public void onScaleChanged(WebView view, float oldScale, float newScale) { in onScaleChanged() argument
|