Searched refs:sizeList (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | ParameterUtils.java | 245 public static List<Size> convertSizeList(List<Camera.Size> sizeList) { in convertSizeList() argument 246 checkNotNull(sizeList, "sizeList must not be null"); in convertSizeList() 248 List<Size> sizes = new ArrayList<>(sizeList.size()); in convertSizeList() 249 for (Camera.Size s : sizeList) { in convertSizeList() 258 public static Size[] convertSizeListToArray(List<Camera.Size> sizeList) { in convertSizeListToArray() argument 259 checkNotNull(sizeList, "sizeList must not be null"); in convertSizeListToArray() 261 Size[] array = new Size[sizeList.size()]; in convertSizeListToArray() 263 for (Camera.Size s : sizeList) { in convertSizeListToArray() 272 public static boolean containsSize(List<Camera.Size> sizeList, int width, int height) { in containsSize() argument 273 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 | 4413 ArrayList<Size> sizeList = new ArrayList<Size>(); in splitSize() local 4416 if (size != null) sizeList.add(size); in splitSize() 4418 if (sizeList.size() == 0) return null; in splitSize() 4419 return sizeList; in splitSize()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | MandatoryStreamCombination.java | 1216 @NonNull final List<Size> sizeList, boolean ascending) { in getAscendingOrderSizes() 1219 sortedSizes.addAll(sizeList); in getAscendingOrderSizes()
|