diff options
| -rw-r--r-- | core/java/android/hardware/camera2/CameraMetadata.java | 4 | ||||
| -rw-r--r-- | core/java/android/hardware/camera2/CaptureResult.java | 14 |
2 files changed, 12 insertions, 6 deletions
diff --git a/core/java/android/hardware/camera2/CameraMetadata.java b/core/java/android/hardware/camera2/CameraMetadata.java index a7a3df7ff372..cb11d0f54a7b 100644 --- a/core/java/android/hardware/camera2/CameraMetadata.java +++ b/core/java/android/hardware/camera2/CameraMetadata.java @@ -2729,13 +2729,13 @@ public abstract class CameraMetadata<TKey> { // /** - * <p>Scene change is not detected within AF regions.</p> + * <p>Scene change is not detected within the AF region(s).</p> * @see CaptureResult#CONTROL_AF_SCENE_CHANGE */ public static final int CONTROL_AF_SCENE_CHANGE_NOT_DETECTED = 0; /** - * <p>Scene change is detected within AF regions.</p> + * <p>Scene change is detected within the AF region(s).</p> * @see CaptureResult#CONTROL_AF_SCENE_CHANGE */ public static final int CONTROL_AF_SCENE_CHANGE_DETECTED = 1; diff --git a/core/java/android/hardware/camera2/CaptureResult.java b/core/java/android/hardware/camera2/CaptureResult.java index b7d7f7d90a31..6d7b06fc609f 100644 --- a/core/java/android/hardware/camera2/CaptureResult.java +++ b/core/java/android/hardware/camera2/CaptureResult.java @@ -2185,10 +2185,16 @@ public class CaptureResult extends CameraMetadata<CaptureResult.Key<?>> { new Key<Boolean>("android.control.enableZsl", boolean.class); /** - * <p>Whether scene change is detected within AF regions.</p> - * <p>When AF detects a scene change within current AF regions, it will be set to DETECTED. Otherwise, - * it will be set to NOT_DETECTED. This value will remain NOT_DETECTED if afMode is AF_MODE_OFF or - * AF_MODE_EDOF.</p> + * <p>Whether a significant scene change is detected within the currently-set AF + * region(s).</p> + * <p>When the camera focus routine detects a change in the scene it is looking at, + * such as a large shift in camera viewpoint, significant motion in the scene, or a + * significant illumination change, this value will be set to DETECTED for a single capture + * result. Otherwise the value will be NOT_DETECTED. The threshold for detection is similar + * to what would trigger a new passive focus scan to begin in CONTINUOUS autofocus modes.</p> + * <p>afSceneChange may be DETECTED only if afMode is AF_MODE_CONTINUOUS_VIDEO or + * AF_MODE_CONTINUOUS_PICTURE. In other AF modes, afSceneChange must be NOT_DETECTED.</p> + * <p>This key will be available if the camera device advertises this key via {@link android.hardware.camera2.CameraCharacteristics#getAvailableCaptureResultKeys }.</p> * <p><b>Possible values:</b> * <ul> * <li>{@link #CONTROL_AF_SCENE_CHANGE_NOT_DETECTED NOT_DETECTED}</li> |