am 7478ea68: Remove trailing spaces.

Merge commit '7478ea6848c0059e65a4089b4ec2ff4158520870' into eclair-plus-aosp

* commit '7478ea6848c0059e65a4089b4ec2ff4158520870':
  Remove trailing spaces.
This commit is contained in:
Wu-cheng Li
2009-09-16 04:06:11 -07:00
committed by Android Git Automerger

View File

@@ -38,12 +38,12 @@ import android.os.Message;
* <p>There is no default constructor for this class. Use {@link #open()} to * <p>There is no default constructor for this class. Use {@link #open()} to
* get a Camera object.</p> * get a Camera object.</p>
* *
* <p>In order to use the device camera, you must declare the * <p>In order to use the device camera, you must declare the
* {@link android.Manifest.permission#CAMERA} permission in your Android * {@link android.Manifest.permission#CAMERA} permission in your Android
* Manifest. Also be sure to include the * Manifest. Also be sure to include the
* <a href="{@docRoot}guide/topics/manifest/uses-feature-element.html">&lt;uses-feature></a> * <a href="{@docRoot}guide/topics/manifest/uses-feature-element.html">&lt;uses-feature></a>
* manifest element in order to declare camera features used by your application. * manifest element in order to declare camera features used by your application.
* For example, if you use the camera and auto-focus feature, your Manifest * For example, if you use the camera and auto-focus feature, your Manifest
* should include the following:</p> * should include the following:</p>
* <pre> &lt;uses-permission android:name="android.permission.CAMERA" /> * <pre> &lt;uses-permission android:name="android.permission.CAMERA" />
* &lt;uses-feature android:name="android.hardware.camera" /> * &lt;uses-feature android:name="android.hardware.camera" />
@@ -52,7 +52,7 @@ import android.os.Message;
* <p class="caution"><strong>Caution:</strong> Different Android-powered devices * <p class="caution"><strong>Caution:</strong> Different Android-powered devices
* may have different hardware specifications, such as megapixel ratings and * may have different hardware specifications, such as megapixel ratings and
* auto-focus capabilities. In order for your application to be compatible with * auto-focus capabilities. In order for your application to be compatible with
* more devices, you should not make assumptions about the device camera * more devices, you should not make assumptions about the device camera
* specifications.</p> * specifications.</p>
*/ */
public class Camera { public class Camera {
@@ -197,7 +197,7 @@ public class Camera {
* The callback that delivers the preview frames. * The callback that delivers the preview frames.
* *
* @param data The contents of the preview frame in the format defined * @param data The contents of the preview frame in the format defined
* by {@link android.graphics.PixelFormat}, which can be queried * by {@link android.graphics.PixelFormat}, which can be queried
* with {@link android.hardware.Camera.Parameters#getPreviewFormat()}. * with {@link android.hardware.Camera.Parameters#getPreviewFormat()}.
* If {@link android.hardware.Camera.Parameters#setPreviewFormat(int)} * If {@link android.hardware.Camera.Parameters#setPreviewFormat(int)}
* is never called, the default will be the YCbCr_420_SP * is never called, the default will be the YCbCr_420_SP
@@ -340,11 +340,11 @@ public class Camera {
/** /**
* Handles the callback for the camera auto focus. * Handles the callback for the camera auto focus.
* <p>Devices that do not support auto-focus will receive a "fake" * <p>Devices that do not support auto-focus will receive a "fake"
* callback to this interface. If your application needs auto-focus and * callback to this interface. If your application needs auto-focus and
* should not be installed on devices <em>without</em> auto-focus, you must * should not be installed on devices <em>without</em> auto-focus, you must
* declare that your app uses the * declare that your app uses the
* {@code android.hardware.camera.autofocus} feature, in the * {@code android.hardware.camera.autofocus} feature, in the
* <a href="{@docRoot}guide/topics/manifest/uses-feature-element.html">&lt;uses-feature></a> * <a href="{@docRoot}guide/topics/manifest/uses-feature-element.html">&lt;uses-feature></a>
* manifest element.</p> * manifest element.</p>
*/ */
@@ -368,11 +368,11 @@ public class Camera {
* AutoFocusCallback#onAutoFocus(boolean, Camera)} callback will be called * AutoFocusCallback#onAutoFocus(boolean, Camera)} callback will be called
* immediately. * immediately.
* <p>If your application should not be installed * <p>If your application should not be installed
* on devices without auto-focus, you must declare that your application * on devices without auto-focus, you must declare that your application
* uses auto-focus with the * uses auto-focus with the
* <a href="{@docRoot}guide/topics/manifest/uses-feature-element.html">&lt;uses-feature></a> * <a href="{@docRoot}guide/topics/manifest/uses-feature-element.html">&lt;uses-feature></a>
* manifest element.</p> * manifest element.</p>
* *
* @param cb the callback to run * @param cb the callback to run
*/ */
public final void autoFocus(AutoFocusCallback cb) public final void autoFocus(AutoFocusCallback cb)
@@ -917,11 +917,11 @@ public class Camera {
} }
/** /**
* Sets the image format for preview pictures. * Sets the image format for preview pictures.
* <p>If this is never called, the default format will be * <p>If this is never called, the default format will be
* {@link android.graphics.PixelFormat#YCbCr_420_SP}, which * {@link android.graphics.PixelFormat#YCbCr_420_SP}, which
* uses the NV21 encoding format.</p> * uses the NV21 encoding format.</p>
* *
* @param pixel_format the desired preview picture format, defined * @param pixel_format the desired preview picture format, defined
* by one of the {@link android.graphics.PixelFormat} constants. * by one of the {@link android.graphics.PixelFormat} constants.
* (E.g., <var>PixelFormat.YCbCr_420_SP</var> (default), * (E.g., <var>PixelFormat.YCbCr_420_SP</var> (default),
@@ -942,8 +942,8 @@ public class Camera {
/** /**
* Returns the image format for preview pictures got from * Returns the image format for preview pictures got from
* {@link PreviewCallback}. * {@link PreviewCallback}.
* *
* @return the {@link android.graphics.PixelFormat} int representing * @return the {@link android.graphics.PixelFormat} int representing
* the preview picture format. * the preview picture format.
*/ */
public int getPreviewFormat() { public int getPreviewFormat() {