Home
last modified time | relevance | path

Searched refs:oldScale (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMagnificationController.java434 final float oldScale = spec.scale; in setScale() local
436 (viewport.width() / 2.0f - spec.offsetX + viewport.left) / oldScale; in setScale()
438 (viewport.height() / 2.0f - spec.offsetY + viewport.top) / oldScale; in setScale()
439 final float normPivotX = (pivotX - spec.offsetX) / oldScale; in setScale()
440 final float normPivotY = (pivotY - spec.offsetY) / oldScale; in setScale()
441 final float offsetX = (oldCenterX - normPivotX) * (oldScale / scale); in setScale()
442 final float offsetY = (oldCenterY - normPivotY) * (oldScale / scale); in setScale()
/frameworks/base/core/java/android/webkit/
DWebViewClient.java539 public void onScaleChanged(WebView view, float oldScale, float newScale) { in onScaleChanged() argument