Merge "Camera2: Add PASSIVE_UNFOCUSED autofocus state." into klp-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
9ca833f4a5
@@ -10979,6 +10979,7 @@ package android.hardware.camera2 {
|
||||
field public static final int CONTROL_AF_STATE_NOT_FOCUSED_LOCKED = 5; // 0x5
|
||||
field public static final int CONTROL_AF_STATE_PASSIVE_FOCUSED = 2; // 0x2
|
||||
field public static final int CONTROL_AF_STATE_PASSIVE_SCAN = 1; // 0x1
|
||||
field public static final int CONTROL_AF_STATE_PASSIVE_UNFOCUSED = 6; // 0x6
|
||||
field public static final int CONTROL_AF_TRIGGER_CANCEL = 2; // 0x2
|
||||
field public static final int CONTROL_AF_TRIGGER_IDLE = 0; // 0x0
|
||||
field public static final int CONTROL_AF_TRIGGER_START = 1; // 0x1
|
||||
|
||||
@@ -1071,7 +1071,7 @@ public abstract class CameraMetadata {
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* if CONTINUOUS_* modes are supported AF is
|
||||
* if CONTINUOUS_* modes are supported. AF is
|
||||
* currently doing an AF scan initiated by a continuous
|
||||
* autofocus mode
|
||||
* </p>
|
||||
@@ -1081,7 +1081,7 @@ public abstract class CameraMetadata {
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* if CONTINUOUS_* modes are supported AF currently
|
||||
* if CONTINUOUS_* modes are supported. AF currently
|
||||
* believes it is in focus, but may restart scanning at
|
||||
* any time.
|
||||
* </p>
|
||||
@@ -1091,7 +1091,7 @@ public abstract class CameraMetadata {
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* if AUTO or MACRO modes are supported AF is doing
|
||||
* if AUTO or MACRO modes are supported. AF is doing
|
||||
* an AF scan because it was triggered by AF
|
||||
* trigger
|
||||
* </p>
|
||||
@@ -1101,7 +1101,7 @@ public abstract class CameraMetadata {
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* if any AF mode besides OFF is supported AF
|
||||
* if any AF mode besides OFF is supported. AF
|
||||
* believes it is focused correctly and is
|
||||
* locked
|
||||
* </p>
|
||||
@@ -1111,7 +1111,7 @@ public abstract class CameraMetadata {
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* if any AF mode besides OFF is supported AF has
|
||||
* if any AF mode besides OFF is supported. AF has
|
||||
* failed to focus successfully and is
|
||||
* locked
|
||||
* </p>
|
||||
@@ -1119,6 +1119,16 @@ public abstract class CameraMetadata {
|
||||
*/
|
||||
public static final int CONTROL_AF_STATE_NOT_FOCUSED_LOCKED = 5;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* if CONTINUOUS_* modes are supported. AF finished a
|
||||
* passive scan without finding focus, and may restart
|
||||
* scanning at any time.
|
||||
* </p>
|
||||
* @see CaptureResult#CONTROL_AF_STATE
|
||||
*/
|
||||
public static final int CONTROL_AF_STATE_PASSIVE_UNFOCUSED = 6;
|
||||
|
||||
//
|
||||
// Enumeration values for CaptureResult#CONTROL_AWB_STATE
|
||||
//
|
||||
|
||||
@@ -289,6 +289,7 @@ public final class CaptureResult extends CameraMetadata {
|
||||
* @see #CONTROL_AF_STATE_ACTIVE_SCAN
|
||||
* @see #CONTROL_AF_STATE_FOCUSED_LOCKED
|
||||
* @see #CONTROL_AF_STATE_NOT_FOCUSED_LOCKED
|
||||
* @see #CONTROL_AF_STATE_PASSIVE_UNFOCUSED
|
||||
*/
|
||||
public static final Key<Integer> CONTROL_AF_STATE =
|
||||
new Key<Integer>("android.control.afState", int.class);
|
||||
|
||||
Reference in New Issue
Block a user