Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/camera2/params/
DMandatoryStreamCombination.java80 public MandatoryStreamInformation(@NonNull List<Size> availableSizes, int format) { in MandatoryStreamInformation() argument
81 this(availableSizes, format, /*isInput*/false); in MandatoryStreamInformation()
96 public MandatoryStreamInformation(@NonNull List<Size> availableSizes, @Format int format, in MandatoryStreamInformation() argument
98 if (availableSizes.isEmpty()) { in MandatoryStreamInformation()
101 mAvailableSizes.addAll(availableSizes); in MandatoryStreamInformation()
791 HashMap<Pair<SizeThreshold, Integer>, List<Size>> availableSizes = in generateAvailableCombinations() local
793 if (availableSizes == null) { in generateAvailableCombinations()
855 sizes = availableSizes.get(pair); in generateAvailableCombinations()
928 HashMap<Pair<SizeThreshold, Integer>, List<Size>> availableSizes = in enumerateAvailableSizes() local
936 availableSizes.put(pair, getSizesWithinBound(sizes, vgaSize)); in enumerateAvailableSizes()
[all …]
/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()