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.java83 private static class ResolutionBucket { class in ResolutionUtil
133 List<ResolutionBucket> buckets = parseAvailableSizes(sizes, isBackCamera); in getDisplayableSizesFromSupported()
142 for (ResolutionBucket bucket : buckets) { in getDisplayableSizesFromSupported()
152 for (ResolutionBucket bucket : buckets) { in getDisplayableSizesFromSupported()
242 …private static List<ResolutionBucket> parseAvailableSizes(List<Size> sizes, boolean isBackCamera) { in parseAvailableSizes()
243 … HashMap<Float, ResolutionBucket> aspectRatioToBuckets = new HashMap<Float, ResolutionBucket>(); in parseAvailableSizes()
250 ResolutionBucket bucket = aspectRatioToBuckets.get(aspectRatio); in parseAvailableSizes()
252 bucket = new ResolutionBucket(); in parseAvailableSizes()
261 List<ResolutionBucket> sortedBuckets = new ArrayList<ResolutionBucket>( in parseAvailableSizes()
263 Collections.sort(sortedBuckets, new Comparator<ResolutionBucket>() { in parseAvailableSizes()
[all …]