Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/settings/
DResolutionUtil.java81 private static class ResolutionBucket { class in ResolutionUtil
131 List<ResolutionBucket> buckets = parseAvailableSizes(sizes, isBackCamera); in getDisplayableSizesFromSupported()
140 for (ResolutionBucket bucket : buckets) { in getDisplayableSizesFromSupported()
150 for (ResolutionBucket bucket : buckets) { in getDisplayableSizesFromSupported()
240 …private static List<ResolutionBucket> parseAvailableSizes(List<Size> sizes, boolean isBackCamera) { in parseAvailableSizes()
241 … HashMap<Float, ResolutionBucket> aspectRatioToBuckets = new HashMap<Float, ResolutionBucket>(); in parseAvailableSizes()
248 ResolutionBucket bucket = aspectRatioToBuckets.get(aspectRatio); in parseAvailableSizes()
250 bucket = new ResolutionBucket(); in parseAvailableSizes()
259 List<ResolutionBucket> sortedBuckets = new ArrayList<ResolutionBucket>( in parseAvailableSizes()
261 Collections.sort(sortedBuckets, new Comparator<ResolutionBucket>() { in parseAvailableSizes()
[all …]