Home
last modified time | relevance | path

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

/cts/libs/deviceutillegacy/src/android/webkit/cts/
DWebViewOnUiThread.java237 public void zoomBy(final float zoomFactor) {
239 mWebView.zoomBy(zoomFactor);
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java1841 public static Rect getCropRegionForZoom(float zoomFactor, final PointF center, in getCropRegionForZoom() argument
1843 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()
/cts/tests/camera/src/android/hardware/camera2/cts/
DLogicalCameraDeviceTest.java626 float zoomFactor = focalLengths[i+1]/focalLengths[i]; in testLogicalCameraZoomSwitch() local
628 Rect requestCropRegion = getCropRegionForZoom(zoomFactor, in testLogicalCameraZoomSwitch()
DCaptureRequestTest.java2479 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 " +