summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/ui
diff options
context:
space:
mode:
authorMukund Mittal <mukundm@codeaurora.org>2018-06-28 10:54:57 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2018-07-09 03:18:32 -0700
commit1c419411b7125e5884fe1317b62e30ee8ee03aa9 (patch)
treea39c19685249cf523930a94578c3ea44c7889d2b /src/com/android/camera/ui
parent3326ad2088fe1fe302ea074229f60ff016afae7d (diff)
downloadandroid_packages_apps_Snap-1c419411b7125e5884fe1317b62e30ee8ee03aa9.tar.gz
android_packages_apps_Snap-1c419411b7125e5884fe1317b62e30ee8ee03aa9.tar.bz2
android_packages_apps_Snap-1c419411b7125e5884fe1317b62e30ee8ee03aa9.zip
SnapdragonCamera: Added stats visualizer
Added stats visualizer for displaying stats in overlay at preview Change-Id: I0c0492bd525e1a9145384cd167a1b6846e96f41b
Diffstat (limited to 'src/com/android/camera/ui')
-rw-r--r--src/com/android/camera/ui/RotateImageView.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/camera/ui/RotateImageView.java b/src/com/android/camera/ui/RotateImageView.java
index a8065c0a3..8172fc581 100644
--- a/src/com/android/camera/ui/RotateImageView.java
+++ b/src/com/android/camera/ui/RotateImageView.java
@@ -67,8 +67,8 @@ public class RotateImageView extends TwoStateImageView implements Rotatable {
private boolean isOrientationPortrait() {
int mapTo180Degree = (mCurrentDegree % 180);
- // Assumging the devic's natural orientation is portrait and
- // check if the current orienataion is within the landscape range
+ // Assuming the device's natural orientation is portrait and
+ // check if the current orientaion is within the landscape range
boolean isLandscape = ((mapTo180Degree > 45) &&
(mapTo180Degree < 135));
if (mNaturalPortrait)