Searched refs:zoomFactor (Results 1 – 3 of 3) sorted by relevance
1497 public static Rect getCropRegionForZoom(float zoomFactor, final PointF center, in getCropRegionForZoom() argument1499 if (zoomFactor < 1.0) { in getCropRegionForZoom()1500 throw new IllegalArgumentException("zoom factor " + zoomFactor + " should be >= 1.0"); in getCropRegionForZoom()1526 if (zoomFactor < minEffectiveZoom) { in getCropRegionForZoom()1527 Log.w(TAG, "Requested zoomFactor " + zoomFactor + " > minimal zoomable factor " in getCropRegionForZoom()1529 zoomFactor = minEffectiveZoom; in getCropRegionForZoom()1534 int cropWidth = (int) (activeArray.width() / zoomFactor); in getCropRegionForZoom()1535 int cropHeight = (int) (activeArray.height() / zoomFactor); in getCropRegionForZoom()
1823 float zoomFactor = (float) (1.0f + (maxZoom - 1.0) * i / ZOOM_STEPS);1824 cropRegions[i] = getCropRegionForZoom(zoomFactor, center, maxZoom, activeArraySize);1826 Log.v(TAG, "Testing Zoom for factor " + zoomFactor + " and center " +
286 public void zoomBy(final float zoomFactor) {290 mWebView.zoomBy(zoomFactor);