summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/RefocusActivity.java
Commit message (Collapse)AuthorAgeFilesLines
* SnapdragonCamera:Fix Camera1 force close when refocusing the picture.pezhan2017-03-071-3/+17
| | | | | | | | | | | | When the screen is PORTRAIT mode, we get the screen always height < width. But we get the image always height < width.Under this circumstance, the inSampleSize maybe incorrect , which will cause OOM when create bitmap. Need to check the screen's orientation,and choose the correct width and height to calculate the inSampleSize. Change-Id: I11743c862ebdb9d35c4fc5de7bf40003c69b7219 CRs-Fixed: 2013250
* SnapdragonCamera: Fix Can't edit UbiFocus mode picture when screen locked.pezhan2017-01-121-3/+22
| | | | | | | | | | | | | | | | | When enter the RefocusActivity, the keyguard will cover this activity. Add flags if it's SecureCamera and UbiFocus mode when enter RefocusActivity, the keyguard will dismiss. RefocusActivity will display normally. Add display the thumbnail when click shutter button under SecureCamera and UbiFocus mode also it is Refocus. Add display the thumbnail when when back from RefocusActivity under SecureCamera and UbiFocus mode also it is Refocus. Change-Id: I158d77b6c9132162a5414987dc4f5d61cc4ef31d CRs-Fixed: 1108273
* SnapdragonCamera: Attempt to get length of null arrayweijiew2016-10-271-0/+1
| | | | | | | | | Array was initialized in try block. while exception happens, initialization was skipped and cause NullPointException,so initialized array with new Object[0] in catch block. Change-Id: Ib9b41dc836e2a70fc82ff949f5ea1c8c9e3f1694 CRs-Fixed: 1081886
* SnapdragonCamera: Adding ubifocus post proc filterJack Yoo2016-07-071-7/+49
| | | | | | | Introducing ubifocus to camera2. Change-Id: I611bea207b9cbbde56a23720b22a5a5e3daa215f CRs-Fixed: 1035245
* SnapdragonCamera: UbiFocus take histogram to get depth at a pointByunghun Jeon2015-09-011-2/+32
| | | | | | | | Instead of directly reading one value, take a histogram around the touch point, to get more consistent value Change-Id: I93a7f9f04e08128c31670bcc50988dae53e669c2 CRs-Fixed: 900244
* SnapdragonCamera: add button borderLikai Ding2015-08-211-1/+7
| | | | | | | Add border for "All in Focus" button. Also some tweaks to meet UI spec. Change-Id: I56c458a420e503321cc9a3255a7dd4ae0a6d4637
* SnapdragonCamera: add touch animation for refocusLikai Ding2015-04-271-0/+104
| | | | | | also added a dialog to explain refocus mode Change-Id: I8c319c2cb64ca85d320eca453ade9c325fd4ac37
* SnapdragonCamera: implement refocus featureLikai Ding2015-01-141-0/+249
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