Searched refs:availableSizes (Results 1 – 8 of 8) sorted by relevance
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | ZoomCaptureTest.java | 174 Size[] availableSizes = mStaticInfo.getAvailableSizesForFormatChecked(format, in bufferFormatZoomTestByCamera() local 176 if (availableSizes.length == 0) { in bufferFormatZoomTestByCamera() 186 Size maxSize = CameraTestUtils.getMaxSize(availableSizes); in bufferFormatZoomTestByCamera()
|
D | ImageReaderTest.java | 1633 Size[] availableSizes = mStaticInfo.getAvailableSizesForFormatChecked(FORMAT, in invalidAccessTestAfterClose() local 1638 createDefaultImageReader(availableSizes[0], FORMAT, MAX_NUM_IMAGES, mListener); in invalidAccessTestAfterClose() 1739 Size[] availableSizes = staticInfo.getAvailableSizesForFormatChecked(format, in bufferFormatTestByCamera() local 1755 for (Size sz : availableSizes) { in bufferFormatTestByCamera() 1850 Size[] availableSizes = mStaticInfo.getAvailableSizesForFormatChecked(format, in bufferFormatLongProcessingTimeTestByCamera() local 1853 Size[] testSizes = getMinAndMaxSizes(availableSizes); in bufferFormatLongProcessingTimeTestByCamera() 2147 private Size[] getMinAndMaxSizes(Size[] availableSizes) { in getMinAndMaxSizes() argument 2148 if (availableSizes.length <= 2) { in getMinAndMaxSizes() 2149 return availableSizes; in getMinAndMaxSizes() 2153 Size maxSize = availableSizes[0]; in getMinAndMaxSizes() [all …]
|
D | CameraExtensionCharacteristicsTest.java | 132 List<Size> availableSizes = chars.getExtensionSupportedSizes(extension, klass); in verifySupportedExtension() local 135 (availableSizes != null) && (!availableSizes.isEmpty())); in verifySupportedExtension()
|
D | HeifWriterTest.java | 107 Size[] availableSizes = mStaticInfo.getAvailableSizesForFormatChecked( in testHeif() local 112 for (Size sz : availableSizes) { in testHeif()
|
D | ExtendedCameraCharacteristicsTest.java | 930 Set<Size> availableSizes = configMap.getOutputSizes(format); in checkFormatLatency() local 932 availableSizes); in checkFormatLatency() 937 for (Size sz : availableSizes) { in checkFormatLatency()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 465 Size[] availableSizes = new Size[streamInfo.getAvailableSizes().size()]; in setupConfigurationTargets() local 466 availableSizes = streamInfo.getAvailableSizes().toArray(availableSizes); in setupConfigurationTargets() 467 Size targetSize = CameraTestUtils.getMaxSize(availableSizes); in setupConfigurationTargets() 2011 Size[] availableSizes = configMap.getOutputSizes(format); in getSupportedSizeForFormat() local 2013 assertArrayNotEmpty(availableSizes, "availableSizes should not be empty for format: " in getSupportedSizeForFormat() 2018 Size[] allSizes = new Size[availableSizes.length + highResAvailableSizes.length]; in getSupportedSizeForFormat() 2019 System.arraycopy(availableSizes, 0, allSizes, 0, in getSupportedSizeForFormat() 2020 availableSizes.length); in getSupportedSizeForFormat() 2021 System.arraycopy(highResAvailableSizes, 0, allSizes, availableSizes.length, in getSupportedSizeForFormat() 2023 availableSizes = allSizes; in getSupportedSizeForFormat() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/ |
D | CameraVideoActivity.java | 643 ArrayList<VideoSizeNamePair> availableSizes = in getVideoSizeNamePairs() local 656 availableSizes.add(pair); in getVideoSizeNamePairs() 661 availableSizes.add(pair); in getVideoSizeNamePairs() 665 return availableSizes; in getVideoSizeNamePairs()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | StaticMetadata.java | 2314 Size[] availableSizes = getAvailableSizesForFormatChecked(format, StreamDirection.Input); in getSortedSizesForInputFormat() local 2316 return CameraTestUtils.getAscendingOrderSizes(Arrays.asList(availableSizes), in getSortedSizesForInputFormat() 2321 for (Size sz: availableSizes) { in getSortedSizesForInputFormat() 2699 Size[] availableSizes = config.getHighSpeedVideoSizes(); in isHighSpeedVideoSupported() local 2700 if (availableSizes.length == 0) { in isHighSpeedVideoSupported() 2704 for (Size size : availableSizes) { in isHighSpeedVideoSupported()
|