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

Commit fd3e2892 authored by Eino-Ville Talvala's avatar Eino-Ville Talvala
Browse files

Camera2: Docs cleanup, especially units and range

- Add entries for units and range into javadoc
- Fix up existing units entries and add new ones
- Fix up range entries to be consistent for enums
- Add range entries where it makes sense
- Minor fix to javadoc gen to allow for code indentation
- Lots of edits for consistency, especially to
  available* entries.

Bug: 16525650

Change-Id: Id09663d897ec98122073e6e13719731ec0de4dad
parent 4b8cd6b4
Loading
Loading
Loading
Loading
+410 −154

File changed.

Preview size limit exceeded, changes collapsed.

+11 −18
Original line number Diff line number Diff line
@@ -1215,8 +1215,7 @@ public abstract class CameraMetadata<TKey> {
     * image while recording video) use case.</p>
     * <p>The camera device should take the highest-quality image
     * possible (given the other settings) without disrupting the
     * frame rate of video recording.<br />
     * </p>
     * frame rate of video recording.  </p>
     * @see CaptureRequest#CONTROL_CAPTURE_INTENT
     */
    public static final int CONTROL_CAPTURE_INTENT_VIDEO_SNAPSHOT = 4;
@@ -1866,8 +1865,6 @@ public abstract class CameraMetadata<TKey> {

    /**
     * <p>Return face rectangle and confidence values only.</p>
     * <p>In this mode, only android.statistics.faceRectangles and
     * android.statistics.faceScores outputs are valid.</p>
     * @see CaptureRequest#STATISTICS_FACE_DETECT_MODE
     */
    public static final int STATISTICS_FACE_DETECT_MODE_SIMPLE = 1;
@@ -1875,11 +1872,7 @@ public abstract class CameraMetadata<TKey> {
    /**
     * <p>Return all face
     * metadata.</p>
     * <p>In this mode,
     * android.statistics.faceRectangles,
     * android.statistics.faceScores,
     * android.statistics.faceIds, and
     * android.statistics.faceLandmarks outputs are valid.</p>
     * <p>In this mode, face rectangles, scores, landmarks, and face IDs are all valid.</p>
     * @see CaptureRequest#STATISTICS_FACE_DETECT_MODE
     */
    public static final int STATISTICS_FACE_DETECT_MODE_FULL = 2;
+520 −154

File changed.

Preview size limit exceeded, changes collapsed.

+616 −168

File changed.

Preview size limit exceeded, changes collapsed.