Home
last modified time | relevance | path

Searched refs:zoomRatio (Results 1 – 8 of 8) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/
DZoomCaptureTest.java206 for (Float zoomRatio : candidateZoomRatios) { in bufferFormatZoomTestByCamera()
208 Log.v(TAG, "Testing format " + format + " zoomRatio " + zoomRatio + in bufferFormatZoomTestByCamera()
212 requestBuilder.set(CaptureRequest.CONTROL_ZOOM_RATIO, zoomRatio); in bufferFormatZoomTestByCamera()
267 Float zoomRatio = CameraTestUtils.getValueNotNull(result, in bufferFormatZoomTestByCamera() local
273 if ((!Float.isNaN(lastZoomRatio)) && (zoomRatio > lastZoomRatio)) { in bufferFormatZoomTestByCamera()
284 float zoomReported = zoomRatio / lastZoomRatio; in bufferFormatZoomTestByCamera()
293 lastZoomRatio = zoomRatio; in bufferFormatZoomTestByCamera()
DMultiResolutionReprocessCaptureTest.java525 for (Float zoomRatio : zoomRatioList) { in testMultiResolutionReprocessWithStreamInfo()
529 imageResultSizeHolder = doMultiResReprocessCapture(zoomRatio); in testMultiResolutionReprocessWithStreamInfo()
540 cameraId, inputFormat, zoomRatio, in testMultiResolutionReprocessWithStreamInfo()
693 private ImageResultSizeHolder doMultiResReprocessCapture(float zoomRatio) throws Exception { in doMultiResReprocessCapture() argument
696 zoomRatio, mMultiResImageReader.getSurface(), /*inputResult*/null); in doMultiResReprocessCapture()
714 TotalCaptureResult finalResult = submitCaptureRequest(zoomRatio, in doMultiResReprocessCapture()
737 private TotalCaptureResult submitCaptureRequest(float zoomRatio, in submitCaptureRequest() argument
750 builder.set(CaptureRequest.CONTROL_ZOOM_RATIO, zoomRatio); in submitCaptureRequest()
DMultiResolutionImageReaderTest.java448 for (Float zoomRatio : zoomRatios) { in multiResolutionImageReaderFormatTestByCamera()
449 captureBuilder.set(CaptureRequest.CONTROL_ZOOM_RATIO, zoomRatio); in multiResolutionImageReaderFormatTestByCamera()
DCameraExtensionSessionTest.java2077 Float zoomRatio = request.get(CaptureRequest.CONTROL_ZOOM_RATIO); in onCaptureResultAvailable() local
2078 if (zoomRatio != null) { in onCaptureResultAvailable()
2082 "(requested = %f, result = %f", zoomRatio, resultZoomRatio), in onCaptureResultAvailable()
2083 Math.abs(zoomRatio - resultZoomRatio) / zoomRatio <= ZOOM_ERROR_MARGIN); in onCaptureResultAvailable()
DLogicalCameraDeviceTest.java1040 Float zoomRatio = totalCaptureResult.get(CaptureResult.CONTROL_ZOOM_RATIO); in validatePhysicalCamerasFov() local
1054 (2 * zoomRatio * activeArraySize.width()), focalLength)); in validatePhysicalCamerasFov()
DPerformanceTest.java1042 private double roundAwayFrom1(double zoomRatio) { in roundAwayFrom1() argument
1044 return zoomRatio == 1.0 ? kZoomRatioAt1x : zoomRatio; in roundAwayFrom1()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsService.java386 public double zoomRatio; field in ItsService.VideoRecordingObject
392 int fileFormat, double zoomRatio, in VideoRecordingObject() argument
399 this.zoomRatio = zoomRatio; in VideoRecordingObject()
404 int fileFormat, double zoomRatio, in VideoRecordingObject() argument
407 INVALID_FRAME_RATE, fileFormat, zoomRatio, in VideoRecordingObject()
1051 double zoomRatio = cmdObj.optDouble("zoomRatio"); in processSocketCommand() local
1055 videoStabilizationMode, hlg10Enabled, zoomRatio, in processSocketCommand()
2176 double zoomRatio = params.optDouble(ZOOM_RATIO_KEY);
2177 if (!Double.isNaN(zoomRatio)) {
2178 Logt.i(TAG, String.format("Running 3A with zoom ratio: %f", zoomRatio));
[all …]
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java2571 Float zoomRatio = result.get(CaptureResult.CONTROL_ZOOM_RATIO); in validate3aRegion() local
2576 + " that in final result", zoomRatio, zoomRatioInPartial); in validate3aRegion()
2579 maxDist = (int)Math.ceil(maxDist * Math.max(zoomRatio / 2, 1.0f)); in validate3aRegion()