Searched refs:oldScale (Results 1 – 2 of 2) sorted by relevance
434 final float oldScale = spec.scale; in setScale() local436 (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()
541 public void onScaleChanged(WebView view, float oldScale, float newScale) { in onScaleChanged() argument