diff options
author | Joe Fernandez <joefernandez@google.com> | 2011-10-05 09:23:03 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-10-05 09:23:03 -0700 |
commit | 1d4a25556a9fca40f08b908c2d146664eab5aac2 (patch) | |
tree | 67176f85d6bf80625ab4f6dcf42576e83ad5cb9d /core | |
parent | b4e7d4ca7502bb8ff599229ec90c1bf5b481f2f7 (diff) | |
parent | 464cb21e2aaa448072449b82156f18bd64c0e613 (diff) | |
download | frameworks_base-1d4a25556a9fca40f08b908c2d146664eab5aac2.zip frameworks_base-1d4a25556a9fca40f08b908c2d146664eab5aac2.tar.gz frameworks_base-1d4a25556a9fca40f08b908c2d146664eab5aac2.tar.bz2 |
Merge "docs: Camera class JavaDoc FixIts for ICS"
Diffstat (limited to 'core')
-rw-r--r-- | core/java/android/hardware/Camera.java | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/core/java/android/hardware/Camera.java b/core/java/android/hardware/Camera.java index e40de26..c3a14ca 100644 --- a/core/java/android/hardware/Camera.java +++ b/core/java/android/hardware/Camera.java @@ -201,7 +201,7 @@ public class Camera { public static final int CAMERA_FACING_FRONT = 1; /** - * The direction that the camera faces to. It should be + * The direction that the camera faces. It should be * CAMERA_FACING_BACK or CAMERA_FACING_FRONT. */ public int facing; @@ -1055,9 +1055,9 @@ public class Camera { /** * Notify the listener of the detected faces in the preview frame. * - * @param faces the detected faces. The list is sorted by the score. - * The highest score is the first element. - * @param camera the Camera service object + * @param faces The detected faces in a list sorted by the confidence score. + * The highest scored face is the first element. + * @param camera The {@link Camera} service object */ void onFaceDetection(Face[] faces, Camera camera); } @@ -1105,7 +1105,7 @@ public class Camera { /** * Stops the face detection. * - * @see #startFaceDetection(int) + * @see #startFaceDetection() */ public final void stopFaceDetection() { _stopFaceDetection(); @@ -1116,8 +1116,12 @@ public class Camera { private native final void _stopFaceDetection(); /** - * The information of a face from camera face detection. + * Information about a face identified through camera face detection. + * + * <p>When face detection is used with a camera, the {@link FaceDetectionListener} returns a + * list of face objects for use in focusing and metering.</p> * + * @see FaceDetectionListener */ public static class Face { /** @@ -1138,15 +1142,15 @@ public class Camera { * the sensor sees. The direction is not affected by the rotation or * mirroring of {@link #setDisplayOrientation(int)}.</p> * - * @see #startFaceDetection(int) + * @see #startFaceDetection() */ public Rect rect; /** - * The confidence level of the face. The range is 1 to 100. 100 is the + * The confidence level for the detection of the face. The range is 1 to 100. 100 is the * highest confidence. * - * @see #startFaceDetection(int) + * @see #startFaceDetection() */ public int score; @@ -3144,7 +3148,7 @@ public class Camera { * supported. * * @return the maximum number of detected face supported by the camera. - * @see #startFaceDetection(int) + * @see #startFaceDetection() */ public int getMaxNumDetectedFaces() { return getInt(KEY_MAX_NUM_DETECTED_FACES_HW, 0); |