summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authorArne Coucheron <arco68@gmail.com>2017-08-07 01:15:32 +0200
committerChippa-a <vusal1372@gmail.com>2019-10-25 15:55:25 +0300
commit0540c710b6ab092571b1b59c944a34a4bd415725 (patch)
treebf9a5c0e511fb1651bd06c676631021a1580d786 /src/com
parent01e201f907f4f5003402b52e160db47c3a5ed31c (diff)
downloadandroid_packages_apps_Snap-0540c710b6ab092571b1b59c944a34a4bd415725.tar.gz
android_packages_apps_Snap-0540c710b6ab092571b1b59c944a34a4bd415725.tar.bz2
android_packages_apps_Snap-0540c710b6ab092571b1b59c944a34a4bd415725.zip
Snap: Increase default pano capture pixels to 1440x1000
Change-Id: I5a67ee329a46701629b017c57f640a5be1976288
Diffstat (limited to 'src/com')
-rw-r--r--src/com/android/camera/WideAnglePanoramaModule.java4
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)) {