Searched refs:zoomFactor (Results 1 – 4 of 4) sorted by relevance
237 public void zoomBy(final float zoomFactor) {239 mWebView.zoomBy(zoomFactor);
1841 public static Rect getCropRegionForZoom(float zoomFactor, final PointF center, in getCropRegionForZoom() argument1843 if (zoomFactor < 1.0) { in getCropRegionForZoom()1844 throw new IllegalArgumentException("zoom factor " + zoomFactor + " should be >= 1.0"); in getCropRegionForZoom()1870 if (zoomFactor < minEffectiveZoom) { in getCropRegionForZoom()1871 Log.w(TAG, "Requested zoomFactor " + zoomFactor + " < minimal zoomable factor " in getCropRegionForZoom()1873 zoomFactor = minEffectiveZoom; in getCropRegionForZoom()1878 int cropWidth = (int) (activeArray.width() / zoomFactor); in getCropRegionForZoom()1879 int cropHeight = (int) (activeArray.height() / zoomFactor); in getCropRegionForZoom()
626 float zoomFactor = focalLengths[i+1]/focalLengths[i]; in testLogicalCameraZoomSwitch() local628 Rect requestCropRegion = getCropRegionForZoom(zoomFactor, in testLogicalCameraZoomSwitch()
2479 float zoomFactor = (float) (1.0f + (maxZoom - 1.0) * i / ZOOM_STEPS);2480 cropRegions[i] = getCropRegionForZoom(zoomFactor, center, maxZoom, activeArraySize);2482 Log.v(TAG, "Testing Zoom for factor " + zoomFactor + " and center " +