diff options
author | Likai Ding <likaid@codeaurora.org> | 2014-12-10 18:09:27 +0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2015-01-14 02:10:45 -0800 |
commit | 762b4350b731e1c2189c871dc77627df2be87549 (patch) | |
tree | 53c044e25c0c270b98bef785a86b74d04a00149d /src/com/android/camera/PhotoUI.java | |
parent | ee168be7e40e15c1921b32f6b863ad3843c91bfd (diff) | |
download | android_packages_apps_Snap-762b4350b731e1c2189c871dc77627df2be87549.tar.gz android_packages_apps_Snap-762b4350b731e1c2189c871dc77627df2be87549.tar.bz2 android_packages_apps_Snap-762b4350b731e1c2189c871dc77627df2be87549.zip |
SnapdragonCamera: implement refocus feature
Add a scene mode for refocus. If the latest photo is taken with
refocus, user can click on the preview thumbnail, then refocus it
by tapping on the photo.
Change-Id: I2fd69439467f5a1e33d23d8d239aa3472d88b585
Diffstat (limited to 'src/com/android/camera/PhotoUI.java')
-rw-r--r-- | src/com/android/camera/PhotoUI.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/android/camera/PhotoUI.java b/src/com/android/camera/PhotoUI.java index b4e08c398..86be3165d 100644 --- a/src/com/android/camera/PhotoUI.java +++ b/src/com/android/camera/PhotoUI.java @@ -529,6 +529,10 @@ public class PhotoUI implements PieListener, task.execute(); } + public void showRefocusToast(boolean show) { + mCameraControls.showRefocusToast(show); + } + private void openMenu() { if (mPieRenderer != null) { // If autofocus is not finished, cancel autofocus so that the @@ -962,6 +966,7 @@ public class PhotoUI implements PieListener, ret = true; } onShowSwitcherPopup(); + mCameraControls.showRefocusToast(false); return ret; } |