Lines Matching refs:bound

1023      * the bound. If the bound is null, don't do the size bound filtering.
1026 CameraManager cameraManager, Size bound) throws CameraAccessException {
1036 if (bound == null) {
1042 if (sz.getWidth() <= bound.getWidth() && sz.getHeight() <= bound.getHeight()) {
1079 * the bound. If the bound is null, don't do the size bound filtering.
1082 CameraManager cameraManager, int format, Size bound) throws CameraAccessException {
1086 if (bound != null) {
1089 if (comparator.compare(sz, bound) <= 0) {
1109 * Filter out the sizes that are larger than the bound. If the bound is
1110 * null, don't do the size bound filtering.
1114 CameraManager cameraManager, Size bound) throws CameraAccessException {
1124 if (bound == null) {
1130 if (sz.getWidth() <= bound.getWidth() && sz.getHeight() <= bound.getHeight()) {
1141 * Filter out the sizes that are larger than the bound. If the bound is
1142 * null, don't do the size bound filtering.
1146 CameraManager cameraManager, Size bound) throws CameraAccessException {
1147 return getSortedSizesForFormat(cameraId, cameraManager, ImageFormat.JPEG, bound);
1161 return getMaxPreviewSize(cameraId, cameraManager, /*bound*/null);
1166 * than the bound.
1168 static public Size getMaxPreviewSize(String cameraId, CameraManager cameraManager, Size bound)
1170 List<Size> sizes = getSupportedPreviewSizes(cameraId, cameraManager, bound);
1180 /*bound*/ null);
1434 assertTrue("Opaque RAW size " + rawData.length + "out of normal bound [" +
2141 public static Size getPreviewSizeBound(WindowManager windowManager, Size bound) {
2152 if (bound.getWidth() <= width &&
2153 bound.getHeight() <= height)
2154 return bound;