summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/ui/RotateImageView.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/camera/ui/RotateImageView.java')
-rw-r--r--src/com/android/camera/ui/RotateImageView.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/camera/ui/RotateImageView.java b/src/com/android/camera/ui/RotateImageView.java
index 2d88a47..a76d7bc 100644
--- a/src/com/android/camera/ui/RotateImageView.java
+++ b/src/com/android/camera/ui/RotateImageView.java
@@ -56,6 +56,7 @@ public class RotateImageView extends ImageView {
mEnableAnimation = enable;
}
+ // Rotate the view counter-clockwise
public void setDegree(int degree) {
// make sure in the range of [0, 359]
degree = degree >= 0 ? degree % 360 : degree % 360 + 360;