Home
last modified time | relevance | path

Searched refs:newScale (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DStackScrollState.java106 float newScale = state.scale; in apply() local
143 if (scale != newScale) { in apply()
144 child.setScaleX(newScale); in apply()
145 child.setScaleY(newScale); in apply()
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java372 float newScale = currentScale * detector.getScaleFactor(); in onScale() local
373 scale(newScale, detector.getFocusX(), detector.getFocusY()); in onScale()
942 private void scale(float newScale, float centerX, float centerY) { in scale() argument
947 newScale = Math.max(newScale, mMinScale); in scale()
948 newScale = Math.min(newScale, mMaxScale * SCALE_OVERZOOM_FACTOR); in scale()
951 float factor = newScale / currentScale; in scale()
1204 float newScale = (mStartScale + mVelocity * ellapsed); in run() local
1205 mHeader.scale(newScale, mCenterX, mCenterY); in run()
1208 if (newScale == mTargetScale || (mZoomingIn == (newScale > mTargetScale))) { in run()
/frameworks/base/core/java/android/webkit/
DWebViewClient.java345 public void onScaleChanged(WebView view, float oldScale, float newScale) { in onScaleChanged() argument
/frameworks/webview/chromium/java/com/android/webview/chromium/
DWebViewContentsClientAdapter.java950 public void onScaleChangedScaled(float oldScale, float newScale) { in onScaleChangedScaled() argument
953 mWebViewClient.onScaleChanged(mWebView, oldScale, newScale); in onScaleChangedScaled()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DScreenMagnifier.java547 final float newScale = mMagnificationController.getScale() in onScale() local
549 final float normalizedNewScale = Math.min(Math.max(newScale, MIN_SCALE), MAX_SCALE); in onScale()