diff options
author | Camera Software Integration <camswint@localhost> | 2015-12-22 17:49:23 -0800 |
---|---|---|
committer | Camera Software Integration <camswint@localhost> | 2015-12-30 13:52:27 +0530 |
commit | 07c4fba97f4a480295f413668a8c8fdca1f77b15 (patch) | |
tree | 4f8b5088a0cb43a8830e13f2333c34d8b5da0159 /src/com/android/camera/VideoUI.java | |
parent | 25a11b3497fb81be44e7ad30d672e4bbe9f79a12 (diff) | |
download | android_packages_apps_Snap-07c4fba97f4a480295f413668a8c8fdca1f77b15.tar.gz android_packages_apps_Snap-07c4fba97f4a480295f413668a8c8fdca1f77b15.tar.bz2 android_packages_apps_Snap-07c4fba97f4a480295f413668a8c8fdca1f77b15.zip |
Revert "SnapdragonCamera: Set navigation bar according to flag"
This reverts commit 8fce47a5fb0277b3763b94a1fd23ea499d35e4b1.
Change-Id: I955f7ad42df89d30b39b8c7c26473ceac69a9c9d
Diffstat (limited to 'src/com/android/camera/VideoUI.java')
-rw-r--r-- | src/com/android/camera/VideoUI.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/camera/VideoUI.java b/src/com/android/camera/VideoUI.java index b5e7cc3df..df110118e 100644 --- a/src/com/android/camera/VideoUI.java +++ b/src/com/android/camera/VideoUI.java @@ -407,14 +407,14 @@ public class VideoUI implements PieRenderer.PieListener, if (width > height) { if(Math.max(width, height * mAspectRatio) > width) { scaledTextureWidth = width; - scaledTextureHeight = height; + scaledTextureHeight = width / mAspectRatio; } else { scaledTextureWidth = height * mAspectRatio; scaledTextureHeight = height; } } else { if(Math.max(height, width * mAspectRatio) > height) { - scaledTextureWidth = width; + scaledTextureWidth = height / mAspectRatio; scaledTextureHeight = height; } else { scaledTextureWidth = width; |