Home | History | Annotate | Download | only in helpers

Lines Matching refs:sizes

950      * Get the available output sizes for the user-defined {@code format}.
975 if (VERBOSE) Log.v(TAG, "Supported sizes are: " + Arrays.deepToString(availableSizes));
980 * Get the available output sizes for the given class.
1004 if (VERBOSE) Log.v(TAG, "Supported sizes are: " + Arrays.deepToString(availableSizes));
1011 * <p>If two the areas of two sizes are same, compare the widths.</p>
1022 * Get sorted size list in descending order. Remove the sizes larger than
1031 "Available sizes for SurfaceHolder class should not be empty");
1033 Log.v(TAG, "Supported sizes are: " + Arrays.deepToString(rawSizes));
1040 List<Size> sizes = new ArrayList<Size>();
1043 sizes.add(sz);
1046 return getAscendingOrderSizes(sizes, /*ascending*/false);
1050 * Get a sorted list of sizes from a given size list.
1059 * @return The ordered list of sizes
1078 * Get sorted (descending order) size list for given format. Remove the sizes larger than
1084 Size[] sizes = getSupportedSizeForFormat(format, cameraId, cameraManager);
1088 for (Size sz : sizes) {
1094 sortedSizes = Arrays.asList(sizes);
1109 * Filter out the sizes that are larger than the bound. If the bound is
1119 "Available sizes for MediaRecorder class should not be empty");
1121 Log.v(TAG, "Supported sizes are: " + Arrays.deepToString(rawSizes));
1128 List<Size> sizes = new ArrayList<Size>();
1131 sizes.add(sz);
1134 return getAscendingOrderSizes(sizes, /*ascending*/false);
1141 * Filter out the sizes that are larger than the bound. If the bound is
1152 List<Size> sizes = getSupportedPreviewSizes(cameraId, cameraManager, null);
1153 return sizes.get(sizes.size() - 1);
1165 sizes that are no larger
1170 List<Size> sizes = getSupportedPreviewSizes(cameraId, cameraManager, bound);
1171 return sizes.get(0);
1179 List<Size> sizes = getSortedSizesForFormat(cameraId, cameraManager, ImageFormat.DEPTH16,
1181 return sizes.get(0);
1187 * @param sizes an array of sizes, must have at least 1 element
1191 * @throws IllegalArgumentException if sizes was null or had 0 elements
1193 public static Size getMaxSize(Size... sizes) {
1194 if (sizes == null || sizes.length == 0) {
1195 throw new IllegalArgumentException("sizes was empty");
1198 Size sz = sizes[0];
1199 for (Size size : sizes) {
1638 * Two images are strongly equal if and only if the data, formats, sizes,