summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorWu-cheng Li <wuchengli@google.com>2010-10-14 20:17:44 +0800
committerWu-cheng Li <wuchengli@google.com>2010-10-25 15:02:44 +0800
commitd55f7e56b9761227f0a310b34d9016fde91613d6 (patch)
tree8b20f666b14e4e01ec0b208fe8e75e5881db03e7 /core
parent197eee425c813e35144b2e52f7282b17a57289a5 (diff)
downloadframeworks_base-d55f7e56b9761227f0a310b34d9016fde91613d6.zip
frameworks_base-d55f7e56b9761227f0a310b34d9016fde91613d6.tar.gz
frameworks_base-d55f7e56b9761227f0a310b34d9016fde91613d6.tar.bz2
Mirror the camera preview if the camera is front-facing.
bug:3095272 Change-Id: Ib1c1d1edc06a33e9d4d2dcb42bc1dd2c25b1310c
Diffstat (limited to 'core')
-rw-r--r--core/java/android/hardware/Camera.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/java/android/hardware/Camera.java b/core/java/android/hardware/Camera.java
index 6ff5a40..275e2eb 100644
--- a/core/java/android/hardware/Camera.java
+++ b/core/java/android/hardware/Camera.java
@@ -779,9 +779,9 @@ public class Camera {
* Set the clockwise rotation of preview display in degrees. This affects
* the preview frames and the picture displayed after snapshot. This method
* is useful for portrait mode applications. Note that preview display of
- * front-facing cameras is flipped horizontally, that is, the image is
- * reflected along the central vertical axis of the camera sensor. So the
- * users can see themselves as looking into a mirror.
+ * front-facing cameras is flipped horizontally before the rotation, that
+ * is, the image is reflected along the central vertical axis of the camera
+ * sensor. So the users can see themselves as looking into a mirror.
*
* This does not affect the order of byte array passed in {@link
* PreviewCallback#onPreviewFrame}, JPEG pictures, or recorded videos. This