diff options
| author | Wu-cheng Li <wuchengli@google.com> | 2010-11-19 15:56:16 +0800 |
|---|---|---|
| committer | Wu-cheng Li <wuchengli@google.com> | 2010-11-19 16:20:04 +0800 |
| commit | 99a3f3e4e06b4370101ca97cc11dbe81d772fefa (patch) | |
| tree | 3e16b0910ff4ee8bcc53941fcc851f396e4bd628 /include/camera/Camera.h | |
| parent | 671a6ff4be11b3e2d8eb017e0c7a78e6133fb2b8 (diff) | |
| download | frameworks_base-99a3f3e4e06b4370101ca97cc11dbe81d772fefa.zip frameworks_base-99a3f3e4e06b4370101ca97cc11dbe81d772fefa.tar.gz frameworks_base-99a3f3e4e06b4370101ca97cc11dbe81d772fefa.tar.bz2 | |
Improve camera documentation.
bug:3212606
Change-Id: Iee7106e4665c08a4c75471114010b75d63ac74ce
Diffstat (limited to 'include/camera/Camera.h')
| -rw-r--r-- | include/camera/Camera.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/include/camera/Camera.h b/include/camera/Camera.h index e6d84ba..e734c38 100644 --- a/include/camera/Camera.h +++ b/include/camera/Camera.h @@ -105,8 +105,8 @@ enum { }; enum { - CAMERA_FACING_BACK = 0, - CAMERA_FACING_FRONT = 1 /* The camera faces to the user */ + CAMERA_FACING_BACK = 0, /* The facing of the camera is opposite to that of the screen. */ + CAMERA_FACING_FRONT = 1 /* The facing of the camera is the same as that of the screen. */ }; struct CameraInfo { @@ -122,10 +122,12 @@ struct CameraInfo { * camera image needs to be rotated clockwise so it shows correctly on * the display in its natural orientation. It should be 0, 90, 180, or 270. * - * For example, suppose a device has a naturally tall screen, but the camera - * sensor is mounted in landscape. If the top side of the camera sensor is - * aligned with the right edge of the display in natural orientation, the - * value should be 90. + * For example, suppose a device has a naturally tall screen. The + * back-facing camera sensor is mounted in landscape. You are looking at + * the screen. If the top side of the camera sensor is aligned with the + * right edge of the screen in natural orientation, the value should be + * 90. If the top side of a front-facing camera sensor is aligned with + * the right of the screen, the value should be 270. */ int orientation; }; |
