diff options
author | Jack Yoo <jyoo@codeaurora.org> | 2016-09-29 12:35:56 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-10-13 15:57:04 -0700 |
commit | 392d833321dd0d05aeb80bd33240394ea9ea5591 (patch) | |
tree | 550ea80b0cc4099604133c50a4ede73829117b50 /src/com/android/camera/PanoCaptureModule.java | |
parent | aa24e964a6c6f7849ba843a37df1387c0894d725 (diff) | |
download | android_packages_apps_Snap-392d833321dd0d05aeb80bd33240394ea9ea5591.tar.gz android_packages_apps_Snap-392d833321dd0d05aeb80bd33240394ea9ea5591.tar.bz2 android_packages_apps_Snap-392d833321dd0d05aeb80bd33240394ea9ea5591.zip |
SnapdragonCamera: frame capture path
Frame the path for each capture.
1. ZSL image -> YUV reprocess -> filters -> framework jpeg encoding
2. Non-ZSL -> filters -> framework jpeg encoding
3. Optimizing bestpicture filter image saving
4. Adjusting roi according to the mirror
Change-Id: I8989ec57beec3420e6f4311dff951af0a84f5ba9
CRs-Fixed: 1071798
Diffstat (limited to 'src/com/android/camera/PanoCaptureModule.java')
-rw-r--r-- | src/com/android/camera/PanoCaptureModule.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/com/android/camera/PanoCaptureModule.java b/src/com/android/camera/PanoCaptureModule.java index f0376e679..4821c9774 100644 --- a/src/com/android/camera/PanoCaptureModule.java +++ b/src/com/android/camera/PanoCaptureModule.java @@ -278,6 +278,12 @@ public class PanoCaptureModule implements CameraModule, PhotoController { } public void changePanoStatus(boolean newStatus, boolean isCancelling) { + if(newStatus) { + mUI.setThumbnailVisibility(View.GONE); + } else { + mUI.setThumbnailVisibility(View.VISIBLE); + } + if(mFrameProcessor != null) { mFrameProcessor.changePanoStatus(newStatus, isCancelling); } @@ -442,7 +448,6 @@ public class PanoCaptureModule implements CameraModule, PhotoController { mUI.setLayout(mOutputSize); startBackgroundThread(); mUI.enableShutter(true); - mUI.setSwitcherIndex(); mUI.initializeShutterButton(); } |