Searched refs:zoomFactor (Results 1 – 3 of 3) sorted by relevance
1718 public static Rect getCropRegionForZoom(float zoomFactor, final PointF center, in getCropRegionForZoom() argument1720 if (zoomFactor < 1.0) { in getCropRegionForZoom()1721 throw new IllegalArgumentException("zoom factor " + zoomFactor + " should be >= 1.0"); in getCropRegionForZoom()1747 if (zoomFactor < minEffectiveZoom) { in getCropRegionForZoom()1748 Log.w(TAG, "Requested zoomFactor " + zoomFactor + " < minimal zoomable factor " in getCropRegionForZoom()1750 zoomFactor = minEffectiveZoom; in getCropRegionForZoom()1755 int cropWidth = (int) (activeArray.width() / zoomFactor); in getCropRegionForZoom()1756 int cropHeight = (int) (activeArray.height() / zoomFactor); in getCropRegionForZoom()
324 public void zoomBy(final float zoomFactor) {328 mWebView.zoomBy(zoomFactor);
2318 float zoomFactor = (float) (1.0f + (maxZoom - 1.0) * i / ZOOM_STEPS);2319 cropRegions[i] = getCropRegionForZoom(zoomFactor, center, maxZoom, activeArraySize);2321 Log.v(TAG, "Testing Zoom for factor " + zoomFactor + " and center " +