Home
last modified time | relevance | path

Searched refs:availableSizes (Results 1 – 9 of 9) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/
DZoomCaptureTest.java99 Size[] availableSizes = mStaticInfo.getAvailableSizesForFormatChecked(format, in bufferFormatZoomTestByCamera() local
101 if (availableSizes.length == 0) { in bufferFormatZoomTestByCamera()
113 Size maxSize = CameraTestUtils.getMaxSize(availableSizes); in bufferFormatZoomTestByCamera()
DCameraExtensionCharacteristicsTest.java72 List<Size> availableSizes = chars.getExtensionSupportedSizes(extension, klass); in verifySupportedExtension() local
75 (availableSizes != null) && (!availableSizes.isEmpty())); in verifySupportedExtension()
DImageReaderTest.java1003 Size[] availableSizes = mStaticInfo.getAvailableSizesForFormatChecked(FORMAT, in invalidAccessTestAfterClose() local
1008 createDefaultImageReader(availableSizes[0], FORMAT, MAX_NUM_IMAGES, mListener); in invalidAccessTestAfterClose()
1104 Size[] availableSizes = staticInfo.getAvailableSizesForFormatChecked(format, in bufferFormatTestByCamera() local
1116 for (Size sz : availableSizes) { in bufferFormatTestByCamera()
1186 Size[] availableSizes = mStaticInfo.getAvailableSizesForFormatChecked(format, in bufferFormatLongProcessingTimeTestByCamera() local
1190 for (Size sz : availableSizes) { in bufferFormatLongProcessingTimeTestByCamera()
DHeifWriterTest.java107 Size[] availableSizes = mStaticInfo.getAvailableSizesForFormatChecked( in testHeif() local
112 for (Size sz : availableSizes) { in testHeif()
DAllocationTest.java846 Size[] availableSizes = getSupportedSizeForFormat(format, mCamera.getId(), in forEachSize() local
848 assertArrayNotEmpty(availableSizes, "availableSizes should not be empty"); in forEachSize()
850 for (Size size : availableSizes) { in forEachSize()
DExtendedCameraCharacteristicsTest.java721 Set<Size> availableSizes = configMap.getOutputSizes(format); in checkFormatLatency() local
723 availableSizes); in checkFormatLatency()
728 for (Size sz : availableSizes) { in checkFormatLatency()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java387 Size[] availableSizes = new Size[streamInfo.getAvailableSizes().size()]; in setupConfigurationTargets() local
388 availableSizes = streamInfo.getAvailableSizes().toArray(availableSizes); in setupConfigurationTargets()
389 Size targetSize = CameraTestUtils.getMaxSize(availableSizes); in setupConfigurationTargets()
1689 Size[] availableSizes = configMap.getOutputSizes(format); in getSupportedSizeForFormat() local
1690 assertArrayNotEmpty(availableSizes, "availableSizes should not be empty for format: " in getSupportedSizeForFormat()
1694 Size[] allSizes = new Size[availableSizes.length + highResAvailableSizes.length]; in getSupportedSizeForFormat()
1695 System.arraycopy(availableSizes, 0, allSizes, 0, in getSupportedSizeForFormat()
1696 availableSizes.length); in getSupportedSizeForFormat()
1697 System.arraycopy(highResAvailableSizes, 0, allSizes, availableSizes.length, in getSupportedSizeForFormat()
1699 availableSizes = allSizes; in getSupportedSizeForFormat()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
DCameraVideoActivity.java628 ArrayList<VideoSizeNamePair> availableSizes = in getVideoSizeNamePairs() local
641 availableSizes.add(pair); in getVideoSizeNamePairs()
646 availableSizes.add(pair); in getVideoSizeNamePairs()
650 return availableSizes; in getVideoSizeNamePairs()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DStaticMetadata.java2157 Size[] availableSizes = getAvailableSizesForFormatChecked(format, StreamDirection.Input); in getSortedSizesForInputFormat() local
2159 return CameraTestUtils.getAscendingOrderSizes(Arrays.asList(availableSizes), in getSortedSizesForInputFormat()
2164 for (Size sz: availableSizes) { in getSortedSizesForInputFormat()
2537 Size[] availableSizes = config.getHighSpeedVideoSizes(); in isHighSpeedVideoSupported() local
2538 if (availableSizes.length == 0) { in isHighSpeedVideoSupported()
2542 for (Size size : availableSizes) { in isHighSpeedVideoSupported()