Home
last modified time | relevance | path

Searched refs:zoomFactor (Results 1 – 3 of 3) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraTestUtils.java1623 public static Rect getCropRegionForZoom(float zoomFactor, final PointF center, in getCropRegionForZoom() argument
1625 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()
DCaptureRequestTest.java2150 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 " +
/cts/libs/deviceutillegacy/src/android/webkit/cts/
DWebViewOnUiThread.java292 public void zoomBy(final float zoomFactor) {
296 mWebView.zoomBy(zoomFactor);