diff options
author | Arne Coucheron <arco68@gmail.com> | 2017-08-07 01:15:32 +0200 |
---|---|---|
committer | Bruno Martins <bgcngm@gmail.com> | 2018-11-20 12:32:17 +0000 |
commit | f1e0d8dff1b50b5f41cb6b53f40b71914a34047f (patch) | |
tree | 9a33ff424ed1ec75847676281cc1d2f0795bfc77 | |
parent | 57e7aa75d04aedb7036d290879792e7035219b50 (diff) | |
download | android_packages_apps_Snap-f1e0d8dff1b50b5f41cb6b53f40b71914a34047f.tar.gz android_packages_apps_Snap-f1e0d8dff1b50b5f41cb6b53f40b71914a34047f.tar.bz2 android_packages_apps_Snap-f1e0d8dff1b50b5f41cb6b53f40b71914a34047f.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 b8d4775f1..58e6e67ac 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)) { |