diff options
Diffstat (limited to 'src/com/android/camera/ImageManager.java')
-rw-r--r-- | src/com/android/camera/ImageManager.java | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/com/android/camera/ImageManager.java b/src/com/android/camera/ImageManager.java index 7251af8..76a6d1d 100644 --- a/src/com/android/camera/ImageManager.java +++ b/src/com/android/camera/ImageManager.java @@ -155,30 +155,6 @@ public class ImageManager { } } - public static int roundOrientation(int orientationInput) { - int orientation = orientationInput; - - if (orientation == OrientationEventListener.ORIENTATION_UNKNOWN) { - orientation = 0; - } - - orientation = orientation % 360; - int retVal; - if (orientation < (0 * 90) + 45) { - retVal = 0; - } else if (orientation < (1 * 90) + 45) { - retVal = 90; - } else if (orientation < (2 * 90) + 45) { - retVal = 180; - } else if (orientation < (3 * 90) + 45) { - retVal = 270; - } else { - retVal = 0; - } - - return retVal; - } - // // Stores a bitmap or a jpeg byte array to a file (using the specified // directory and filename). Also add an entry to the media store for |