Searched refs:zoomFactor (Results 1 – 3 of 3) sorted by relevance
1623 public static Rect getCropRegionForZoom(float zoomFactor, final PointF center, in getCropRegionForZoom() argument1625 if (zoomFactor < 1.0) { in getCropRegionForZoom()1626 throw new IllegalArgumentException("zoom factor " + zoomFactor + " should be >= 1.0"); in getCropRegionForZoom()1652 if (zoomFactor < minEffectiveZoom) { in getCropRegionForZoom()1653 Log.w(TAG, "Requested zoomFactor " + zoomFactor + " > minimal zoomable factor " in getCropRegionForZoom()1655 zoomFactor = minEffectiveZoom; in getCropRegionForZoom()1660 int cropWidth = (int) (activeArray.width() / zoomFactor); in getCropRegionForZoom()1661 int cropHeight = (int) (activeArray.height() / zoomFactor); in getCropRegionForZoom()
2150 float zoomFactor = (float) (1.0f + (maxZoom - 1.0) * i / ZOOM_STEPS);2151 cropRegions[i] = getCropRegionForZoom(zoomFactor, center, maxZoom, activeArraySize);2153 Log.v(TAG, "Testing Zoom for factor " + zoomFactor + " and center " +
292 public void zoomBy(final float zoomFactor) {296 mWebView.zoomBy(zoomFactor);