summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/PhotoController.java
diff options
context:
space:
mode:
authorAlok Kediya <kediya@codeaurora.org>2013-11-07 13:53:09 +0530
committerAlok Kediya <kediya@codeaurora.org>2013-11-07 13:53:09 +0530
commitf5b1181157b6d7f65376c0068768f8f3f94b5d69 (patch)
tree08cd6dba279b86f87d09445db8c79a6415ae85ed /src/com/android/camera/PhotoController.java
parent60bd26f5167be74685609f50a6f1b416e53a7439 (diff)
downloadandroid_packages_apps_Snap-f5b1181157b6d7f65376c0068768f8f3f94b5d69.tar.gz
android_packages_apps_Snap-f5b1181157b6d7f65376c0068768f8f3f94b5d69.tar.bz2
android_packages_apps_Snap-f5b1181157b6d7f65376c0068768f8f3f94b5d69.zip
Camera2: Adds support for longshot/burst mode
- The longshot/burst pipeline mode uses an optimized path for triggering 'takePicture()' on each shutter callback. This should improve the shot-2-shot time. In addition to this there is also support for jpeg callbacks that only contain a jpeg file path. The callback in this case will only move the file stored by the lower layers in the correct directory. - The longshot burst pipeline can be enabled via this property: "persist.camera.longshot.enable"<-"0/1" - This change will allow longshot mode to be triggered in non-zsl mode as well. (Cherry picked from: I693366a7d06d3b386a8d96f86ee9a0574749c50b) (Cherry picked from: Id630b2033f18d1c04a636597e910e695a8692ac8) Change-Id: Idda8d58fc6d889128c1812c9c5ddadca3993c246
Diffstat (limited to 'src/com/android/camera/PhotoController.java')
-rw-r--r--src/com/android/camera/PhotoController.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/camera/PhotoController.java b/src/com/android/camera/PhotoController.java
index 291b5df49..f6898a34f 100644
--- a/src/com/android/camera/PhotoController.java
+++ b/src/com/android/camera/PhotoController.java
@@ -30,6 +30,8 @@ public interface PhotoController extends OnShutterButtonListener {
public static final int SNAPSHOT_IN_PROGRESS = 3;
// Switching between cameras.
public static final int SWITCHING_CAMERA = 4;
+ // Longshot mode
+ public static final int LONGSHOT = 5;
// returns the actual set zoom value
public int onZoomChanged(int requestedZoom);