Home
last modified time | relevance | path

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

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java963 Size[] availableSizes = configMap.getOutputSizes(format); in getSupportedSizeForFormat() local
964 assertArrayNotEmpty(availableSizes, "availableSizes should not be empty for format: " in getSupportedSizeForFormat()
968 Size[] allSizes = new Size[availableSizes.length + highResAvailableSizes.length]; in getSupportedSizeForFormat()
969 System.arraycopy(availableSizes, 0, allSizes, 0, in getSupportedSizeForFormat()
970 availableSizes.length); in getSupportedSizeForFormat()
971 System.arraycopy(highResAvailableSizes, 0, allSizes, availableSizes.length, in getSupportedSizeForFormat()
973 availableSizes = allSizes; in getSupportedSizeForFormat()
975 if (VERBOSE) Log.v(TAG, "Supported sizes are: " + Arrays.deepToString(availableSizes)); in getSupportedSizeForFormat()
976 return availableSizes; in getSupportedSizeForFormat()
992 Size[] availableSizes = configMap.getOutputSizes(klass); in getSupportedSizeForClass() local
[all …]
DStaticMetadata.java2198 Size[] availableSizes = config.getHighSpeedVideoSizes(); in isHighSpeedVideoSupported() local
2199 if (availableSizes.length == 0) { in isHighSpeedVideoSupported()
2203 for (Size size : availableSizes) { in isHighSpeedVideoSupported()