diff options
author | Arne Coucheron <arco68@gmail.com> | 2017-08-07 01:15:32 +0200 |
---|---|---|
committer | Arne Coucheron <arco68@gmail.com> | 2018-01-27 00:41:44 +0100 |
commit | ed74473f4936023251a56beda7e322828f16d9d8 (patch) | |
tree | 04ad5fc9658a06b31d3d4ff3d89493320c753fd5 | |
parent | ce40660b16abde3c072c9082b000c94bde275c7b (diff) | |
download | android_packages_apps_Snap-ed74473f4936023251a56beda7e322828f16d9d8.tar.gz android_packages_apps_Snap-ed74473f4936023251a56beda7e322828f16d9d8.tar.bz2 android_packages_apps_Snap-ed74473f4936023251a56beda7e322828f16d9d8.zip |
Snap: Increase default pano capture pixels to 1440x1000
Change-Id: I5a67ee329a46701629b017c57f640a5be1976288
-rw-r--r-- | src/com/android/camera/WideAnglePanoramaModule.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/camera/WideAnglePanoramaModule.java b/src/com/android/camera/WideAnglePanoramaModule.java index be68e202b..c257661ca 100644 --- a/src/com/android/camera/WideAnglePanoramaModule.java +++ b/src/com/android/camera/WideAnglePanoramaModule.java @@ -70,7 +70,7 @@ public class WideAnglePanoramaModule public static final int DEFAULT_SWEEP_ANGLE_PORTRAIT = 160; public static final int DEFAULT_SWEEP_ANGLE_LANDSCAPE = 270; public static final int DEFAULT_BLEND_MODE = Mosaic.BLENDTYPE_HORIZONTAL; - public static final int DEFAULT_CAPTURE_PIXELS = 960 * 720; + public static final int DEFAULT_CAPTURE_PIXELS = 1440 * 1000; private static final int MSG_LOW_RES_FINAL_MOSAIC_READY = 1; private static final int MSG_GENERATE_FINAL_MOSAIC_ERROR = 2; @@ -429,7 +429,7 @@ public class WideAnglePanoramaModule int w = size.width; // we only want 4:3 format. int d = DEFAULT_CAPTURE_PIXELS - h * w; - if (needSmaller && d < 0) { // no bigger preview than 960x720. + if (needSmaller && d < 0) { continue; } if (need4To3 && (h * 4 != w * 3)) { |