diff options
author | Wu-cheng Li <wuchengli@google.com> | 2012-04-12 18:07:16 +0800 |
---|---|---|
committer | Wu-cheng Li <wuchengli@google.com> | 2012-04-12 18:07:16 +0800 |
commit | 6574539baecc8610529596554b7bca0f21b334b8 (patch) | |
tree | 89a6c3f4796904abe2c3d94abd20e83c53b743f1 /core/java | |
parent | 9f25b7fdf216c9ef0bd2322cd223eeaf0d60f77f (diff) | |
download | frameworks_base-6574539baecc8610529596554b7bca0f21b334b8.zip frameworks_base-6574539baecc8610529596554b7bca0f21b334b8.tar.gz frameworks_base-6574539baecc8610529596554b7bca0f21b334b8.tar.bz2 |
Unhide camera autofocus move callback.
Camera autofocus move callback tells the clients when
continuous aufofocus is moving. Applications can show
autofocus animation based on this.
bug:5687212
Change-Id: I3191fd447b1e9de0ccf939eb346344f0be9bcf1a
Diffstat (limited to 'core/java')
-rw-r--r-- | core/java/android/hardware/Camera.java | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/core/java/android/hardware/Camera.java b/core/java/android/hardware/Camera.java index 83b6986..640b47b 100644 --- a/core/java/android/hardware/Camera.java +++ b/core/java/android/hardware/Camera.java @@ -950,11 +950,10 @@ public class Camera { /** * Callback interface used to notify on auto focus start and stop. * - * <p>This is useful for continuous autofocus -- {@link Parameters#FOCUS_MODE_CONTINUOUS_VIDEO} - * and {@link Parameters#FOCUS_MODE_CONTINUOUS_PICTURE}. Applications can - * show autofocus animation.</p> - * - * @hide + * <p>This is only supported in continuous autofocus modes -- {@link + * Parameters#FOCUS_MODE_CONTINUOUS_VIDEO} and {@link + * Parameters#FOCUS_MODE_CONTINUOUS_PICTURE}. Applications can show + * autofocus animation based on this.</p> */ public interface AutoFocusMoveCallback { @@ -962,7 +961,7 @@ public class Camera { * Called when the camera auto focus starts or stops. * * @param start true if focus starts to move, false if focus stops to move - * @param camera the Camera service object + * @param camera the Camera service object */ void onAutoFocusMoving(boolean start, Camera camera); } @@ -971,7 +970,6 @@ public class Camera { * Sets camera auto-focus move callback. * * @param cb the callback to run - * @hide */ public void setAutoFocusMoveCallback(AutoFocusMoveCallback cb) { mAutoFocusMoveCallback = cb; |