Home
last modified time | relevance | path

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

/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DCameraTestUtils.java1497 public static Rect getCropRegionForZoom(float zoomFactor, final PointF center, in getCropRegionForZoom() argument
1499 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()
DCaptureRequestTest.java1823 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 " +
/cts/libs/deviceutillegacy/src/android/webkit/cts/
DWebViewOnUiThread.java286 public void zoomBy(final float zoomFactor) {
290 mWebView.zoomBy(zoomFactor);