From ed74473f4936023251a56beda7e322828f16d9d8 Mon Sep 17 00:00:00 2001 From: Arne Coucheron Date: Mon, 7 Aug 2017 01:15:32 +0200 Subject: Snap: Increase default pano capture pixels to 1440x1000 Change-Id: I5a67ee329a46701629b017c57f640a5be1976288 --- src/com/android/camera/WideAnglePanoramaModule.java | 4 ++-- 1 file 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)) { -- cgit v1.2.3