diff options
author | Wu-cheng Li <wuchengli@google.com> | 2010-05-20 15:36:13 +0800 |
---|---|---|
committer | Wu-cheng Li <wuchengli@google.com> | 2010-05-20 16:33:51 +0800 |
commit | 185cc455a87c636d48ad9a16c13d2ebad7433735 (patch) | |
tree | c87d7f272dd1f4e7561acb3dd653894335e7ea80 /core | |
parent | 1442290ad4ba6b0bf125cb891b36623ec4f416a2 (diff) | |
download | frameworks_base-185cc455a87c636d48ad9a16c13d2ebad7433735.zip frameworks_base-185cc455a87c636d48ad9a16c13d2ebad7433735.tar.gz frameworks_base-185cc455a87c636d48ad9a16c13d2ebad7433735.tar.bz2 |
Fix javadoc of camera focus distances API.
bug:1955650
Change-Id: I073eb533dd1d5fcebbaa430de9af2bf4335c406e
Diffstat (limited to 'core')
-rw-r--r-- | core/java/android/hardware/Camera.java | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/core/java/android/hardware/Camera.java b/core/java/android/hardware/Camera.java index 46c6cb8..31d9a2a 100644 --- a/core/java/android/hardware/Camera.java +++ b/core/java/android/hardware/Camera.java @@ -1845,21 +1845,19 @@ public class Camera { * #autoFocus(AutoFocusCallback)}, {@link #cancelAutoFocus}, or {@link * #startPreview()}. Applications can call {@link #getParameters()} * and this method anytime to get the latest focus distances. If the - * focus mode is FOCUS_MODE_EDOF, the values may be all 0, which means - * focus distance is not applicable. If the focus mode is - * FOCUS_MODE_CONTINUOUS and autofocus has started, focus distances may - * change from time to time. + * focus mode is FOCUS_MODE_CONTINUOUS and autofocus has started, focus + * distances may change from time to time. * - * Far focus distance > optimal focus distance > near focus distance. If - * the far focus distance is infinity, the value will be + * Far focus distance >= optimal focus distance >= near focus distance. + * If the focus distance is infinity, the value will be * Float.POSITIVE_INFINITY. * * @param output focus distances in meters. output must be a float * array with three elements. Near focus distance, optimal focus * distance, and far focus distance will be filled in the array. - * @see #NEAR_FOCUS_DISTANCE_INDEX - * @see #OPTIMAL_FOCUS_DISTANCE_INDEX - * @see #FAR_FOCUS_DISTANCE_INDEX + * @see #FOCUS_DISTANCE_NEAR_INDEX + * @see #FOCUS_DISTANCE_OPTIMAL_INDEX + * @see #FOCUS_DISTANCE_FAR_INDEX */ public void getFocusDistances(float[] output) { if (output == null || output.length != 3) { |