Searched refs:sizeList (Results 1 – 10 of 10) sorted by relevance
/frameworks/ex/camera2/extensions/service_based_sample/oem_library/src/java/androidx/camera/extensions/impl/serviceforward/ |
D | ForwardAdvancedExtender.java | 130 for (SizeList sizeList : sizeLists) { in getSupportedPreviewOutputResolutions() 131 result.put(sizeList.format, getSupportedSizes(sizeList)); in getSupportedPreviewOutputResolutions() 150 for (SizeList sizeList : sizeLists) { in getSupportedCaptureOutputResolutions() 151 result.put(sizeList.format, getSupportedSizes(sizeList)); in getSupportedCaptureOutputResolutions() 174 for (SizeList sizeList : sizeLists) { in getSupportedYuvAnalysisResolutions() 175 if (sizeList.format == ImageFormat.YUV_420_888) { in getSupportedYuvAnalysisResolutions() 176 return getSupportedSizes(sizeList); in getSupportedYuvAnalysisResolutions()
|
D | ForwardImageCaptureExtender.java | 238 for (SizeList sizeList : sizes) { in getSupportedResolutions() 239 Size[] sizeArray = new Size[sizeList.sizes.size()]; in getSupportedResolutions() 240 for (int i = 0; i < sizeList.sizes.size(); i++) { in getSupportedResolutions() 241 sizeArray[i] = new Size(sizeList.sizes.get(i).width, in getSupportedResolutions() 242 sizeList.sizes.get(i).height); in getSupportedResolutions() 244 list.add(new Pair(sizeList.format, sizeArray)); in getSupportedResolutions()
|
/frameworks/ex/camera2/extensions/service_based_sample/extensions_service/src/com/android/oemextensions/ |
D | AdvancedExtenderImplStub.java | 106 SizeList sizeList = new SizeList(); in getSupportedSizeByFormat() local 107 sizeList.sizes = new ArrayList<>(); in getSupportedSizeByFormat() 113 sizeList.sizes.add(sz); in getSupportedSizeByFormat() 115 sizeList.format = imageFormat; in getSupportedSizeByFormat() 116 return sizeList; in getSupportedSizeByFormat()
|
/frameworks/base/core/java/android/hardware/camera2/extension/ |
D | AdvancedExtender.java | 419 SizeList sizeList = new SizeList(); in initializeParcelable() local 420 sizeList.format = entry.getKey(); in initializeParcelable() 421 sizeList.sizes = new ArrayList<>(); in initializeParcelable() 427 sizeList.sizes.add(sz); in initializeParcelable() 429 ret.add(sizeList); in initializeParcelable()
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | CameraOps.java | 139 List<Size> sizeList = Arrays.asList(sizes); in resume() local 140 Collections.sort(sizeList, new Comparator<Size>() { in resume() 148 Size max = sizeList.get(0); in resume() 150 Size big = sizeList.get(check); in resume() 153 for (int i = 0; i < sizeList.size(); i++) { in resume() 154 Size s = sizeList.get(i); in resume()
|
/frameworks/base/packages/services/CameraExtensionsProxy/src/com/android/cameraextensions/ |
D | CameraExtensionsProxyService.java | 859 SizeList sizeList = new SizeList(); 860 sizeList.format = entry.first; 861 sizeList.sizes = new ArrayList<>(); 867 sizeList.sizes.add(sz); 870 if (!sizeList.sizes.isEmpty()) { 871 ret.add(sizeList); 894 SizeList sizeList = new SizeList(); 895 sizeList.format = entry.getKey(); 896 sizeList.sizes = new ArrayList<>(); 902 sizeList.sizes.add(sz); [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | StaticMetadata.java | 555 final List<Size> sizeList = Arrays.asList(sizes); in getAvailableThumbnailSizesChecked() local 558 checkTrueForKey(key, "size should contain (0, 0)", sizeList.contains(new Size(0, 0))); in getAvailableThumbnailSizesChecked() 561 checkElementDistinct(key, sizeList); in getAvailableThumbnailSizesChecked() 565 CameraTestUtils.getAscendingOrderSizes(sizeList, /*ascending*/true); in getAvailableThumbnailSizesChecked() 566 checkTrueForKey(key, "Sizes should be in ascending order: Original " + sizeList.toString() in getAvailableThumbnailSizesChecked() 567 + ", Expected " + orderedSizes.toString(), orderedSizes.equals(sizeList)); in getAvailableThumbnailSizesChecked()
|
D | CameraTestUtils.java | 1099 static public List<Size> getAscendingOrderSizes(final List<Size> sizeList, boolean ascending) { in getAscendingOrderSizes() argument 1100 if (sizeList == null) { in getAscendingOrderSizes() 1106 sortedSizes.addAll(sizeList); in getAscendingOrderSizes()
|
/frameworks/base/core/java/android/hardware/ |
D | Camera.java | 4314 ArrayList<Size> sizeList = new ArrayList<Size>(); in splitSize() local 4317 if (size != null) sizeList.add(size); in splitSize() 4319 if (sizeList.size() == 0) return null; in splitSize() 4320 return sizeList; in splitSize()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | MandatoryStreamCombination.java | 2458 @NonNull final List<Size> sizeList, boolean ascending) { in getAscendingOrderSizes() 2461 sortedSizes.addAll(sizeList); in getAscendingOrderSizes()
|