Searched refs:sizeList (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | ParameterUtils.java | 249 public static List<Size> convertSizeList(List<Camera.Size> sizeList) { in convertSizeList() argument 250 checkNotNull(sizeList, "sizeList must not be null"); in convertSizeList() 252 List<Size> sizes = new ArrayList<>(sizeList.size()); in convertSizeList() 253 for (Camera.Size s : sizeList) { in convertSizeList() 262 public static Size[] convertSizeListToArray(List<Camera.Size> sizeList) { in convertSizeListToArray() argument 263 checkNotNull(sizeList, "sizeList must not be null"); in convertSizeListToArray() 265 Size[] array = new Size[sizeList.size()]; in convertSizeListToArray() 267 for (Camera.Size s : sizeList) { in convertSizeListToArray() 276 public static boolean containsSize(List<Camera.Size> sizeList, int width, int height) { in containsSize() argument 277 checkNotNull(sizeList, "sizeList must not be null"); in containsSize() [all …]
|
/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/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 | 4427 ArrayList<Size> sizeList = new ArrayList<Size>(); in splitSize() local 4430 if (size != null) sizeList.add(size); in splitSize() 4432 if (sizeList.size() == 0) return null; in splitSize() 4433 return sizeList; in splitSize()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | MandatoryStreamCombination.java | 1338 @NonNull final List<Size> sizeList, boolean ascending) { in getAscendingOrderSizes() 1341 sortedSizes.addAll(sizeList); in getAscendingOrderSizes()
|