Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 40675bdd authored by Ruben Brunk's avatar Ruben Brunk Committed by Android (Google) Code Review
Browse files

Merge "camera3: Update maxRegions tag."

parents 07f00e74 90bc34e5
Loading
Loading
Loading
Loading
+12 −5
Original line number Diff line number Diff line
@@ -255,11 +255,18 @@ public final class CameraCharacteristics extends CameraMetadata {
            new Key<byte[]>("android.control.awbAvailableModes", byte[].class);

    /**
     * <p>For AE, AWB, and AF, how many individual
     * regions can be listed for metering?</p>
     */
    public static final Key<Integer> CONTROL_MAX_REGIONS =
            new Key<Integer>("android.control.maxRegions", int.class);
     * <p>List of the maximum number of regions that can be used for metering in
     * auto-exposure (AE), auto-white balance (AWB), and auto-focus (AF);
     * this corresponds to the the maximum number of elements in
     * {@link CaptureRequest#CONTROL_AE_REGIONS android.control.aeRegions}, {@link CaptureRequest#CONTROL_AWB_REGIONS android.control.awbRegions},
     * and {@link CaptureRequest#CONTROL_AF_REGIONS android.control.afRegions}.</p>
     *
     * @see CaptureRequest#CONTROL_AE_REGIONS
     * @see CaptureRequest#CONTROL_AF_REGIONS
     * @see CaptureRequest#CONTROL_AWB_REGIONS
     */
    public static final Key<int[]> CONTROL_MAX_REGIONS =
            new Key<int[]>("android.control.maxRegions", int[].class);

    /**
     * <p>Whether this camera device has a