Home
last modified time | relevance | path

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

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java1001 Size[] availableSizes = configMap.getOutputSizes(format); in getSupportedSizeForFormat() local
1002 assertArrayNotEmpty(availableSizes, "availableSizes should not be empty for format: " in getSupportedSizeForFormat()
1006 Size[] allSizes = new Size[availableSizes.length + highResAvailableSizes.length]; in getSupportedSizeForFormat()
1007 System.arraycopy(availableSizes, 0, allSizes, 0, in getSupportedSizeForFormat()
1008 availableSizes.length); in getSupportedSizeForFormat()
1009 System.arraycopy(highResAvailableSizes, 0, allSizes, availableSizes.length, in getSupportedSizeForFormat()
1011 availableSizes = allSizes; in getSupportedSizeForFormat()
1013 if (VERBOSE) Log.v(TAG, "Supported sizes are: " + Arrays.deepToString(availableSizes)); in getSupportedSizeForFormat()
1014 return availableSizes; in getSupportedSizeForFormat()
1030 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()
/frameworks/base/core/java/android/hardware/camera2/params/
DMandatoryStreamCombination.java80 public MandatoryStreamInformation(@NonNull List<Size> availableSizes, @Format int format, in MandatoryStreamInformation() argument
82 this(availableSizes, format, isMaximumSize, /*isInput*/false, in MandatoryStreamInformation()
99 public MandatoryStreamInformation(@NonNull List<Size> availableSizes, @Format int format, in MandatoryStreamInformation() argument
101 this(availableSizes, format, isMaximumSize, isInput, in MandatoryStreamInformation()
120 public MandatoryStreamInformation(@NonNull List<Size> availableSizes, @Format int format, in MandatoryStreamInformation() argument
122 if (availableSizes.isEmpty()) { in MandatoryStreamInformation()
125 mAvailableSizes.addAll(availableSizes); in MandatoryStreamInformation()
1340 HashMap<Pair<SizeThreshold, Integer>, List<Size>> availableSizes = in generateAvailableCombinations() local
1342 if (availableSizes == null) { in generateAvailableCombinations()
1405 sizes = availableSizes.get(pair); in generateAvailableCombinations()
[all …]