Home
last modified time | relevance | path

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

/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2SurfaceViewTestCase.java585 Size previewSz, Size[] captureSizes, int[] formats, CaptureCallback resultListener, in prepareStillCaptureAndStartPreview() argument
590 if ((captureSizes == null) || (formats == null) || (imageListeners == null) && in prepareStillCaptureAndStartPreview()
591 (captureSizes.length != formats.length) || in prepareStillCaptureAndStartPreview()
604 ImageReader[] readers = new ImageReader[captureSizes.length]; in prepareStillCaptureAndStartPreview()
607 for (int i = 0; i < captureSizes.length; i++) { in prepareStillCaptureAndStartPreview()
608 readers[i] = makeImageReader(captureSizes[i], formats[i], maxNumImages, in prepareStillCaptureAndStartPreview()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraExtensionSessionTest.java1319 List<Size> captureSizes = concurrentExtensionChars.getExtensionSupportedSizes( in testConcurrentSessions() local
1321 assertFalse("No SurfaceTexture output supported", captureSizes.isEmpty()); in testConcurrentSessions()
1323 CameraTestUtils.getMaxSize(captureSizes.toArray(new Size[0])); in testConcurrentSessions()
1409 List<Size> captureSizes = extensionChars.getExtensionSupportedSizes(extension, in testRepeatingAndCaptureCombined() local
1411 assertFalse("No Jpeg output supported", captureSizes.isEmpty()); in testRepeatingAndCaptureCombined()
1413 CameraTestUtils.getMaxSize(captureSizes.toArray(new Size[0])); in testRepeatingAndCaptureCombined()
2702 List<Size> captureSizes = extensionChars.getExtensionSupportedSizes(extension, in testFlash() local
2704 assertFalse("No Jpeg output supported", captureSizes.isEmpty()); in testFlash()
2705 Size captureMaxSize = captureSizes.get(0); in testFlash()
2917 List<Size> captureSizes = extensionChars.getExtensionSupportedSizes(extension, in testIllegalArguments() local
[all …]
DPerformanceTest.java1763 Size previewSz, Size[] captureSizes, int[] formats, CaptureCallback resultListener,
1768 if ((captureSizes == null) || (formats == null) || (imageListeners == null) &&
1769 (captureSizes.length != formats.length) ||
1782 ImageReader[] readers = new ImageReader[captureSizes.length];
1785 for (int i = 0; i < captureSizes.length; i++) {
1786 readers[i] = CameraTestUtils.makeImageReader(captureSizes[i], formats[i], maxNumImages,