diff options
Diffstat (limited to 'src/com/android/camera/ui/RotateImageView.java')
-rw-r--r-- | src/com/android/camera/ui/RotateImageView.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/com/android/camera/ui/RotateImageView.java b/src/com/android/camera/ui/RotateImageView.java index a76d7bc..4085bb2 100644 --- a/src/com/android/camera/ui/RotateImageView.java +++ b/src/com/android/camera/ui/RotateImageView.java @@ -52,10 +52,18 @@ public class RotateImageView extends ImageView { super(context, attrs); } + public RotateImageView(Context context) { + super(context); + } + public void enableAnimation(boolean enable) { mEnableAnimation = enable; } + protected int getDegree() { + return mTargetDegree; + } + // Rotate the view counter-clockwise public void setDegree(int degree) { // make sure in the range of [0, 359] |