summaryrefslogtreecommitdiff
path: root/src/com/android/camera/PhotoModule.java
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge "SnapdragonCamera: update storage space after changing storage path"Linux Build Service Account2015-01-171-2/+6
|\ \ \ | |_|/ |/| |
| * | SnapdragonCamera: update storage space after changing storage pathkaiyiz2015-01-141-2/+6
| |/ | | | | | | | | | | | | | | | | | | | | | | The left storage space wasn't update after changing storage path from SD card to phone storage. After change the storage path, update the mStorageSpaceBytes to get the current left storage space. CRs-Fixed: 779471 Change-Id: Icc99193503bff93ef52029387b715b7f1526bc0b
* / SnapdragonCamera: better estimation for remaining photosLikai Ding2015-01-121-8/+14
|/ | | | | | | | | Only re-estimate remaining photos upon onResume or picture size/quality change. Decrease the estimation by one after each shot. It meets user expectation better. Change-Id: If09e3b018a9fdbb09797bf797437005b6ab3c1b0 CRs-Fixed: 776376
* Merge "SnapdragonCamera: Don't override preferences for CMCC misc settings."Linux Build Service Account2015-01-071-11/+21
|\
| * SnapdragonCamera: Don't override preferences for CMCC misc settings.Sai Kumar Sanagavarapu2015-01-051-11/+21
| | | | | | | | | | | | | | | | Instead of overriding preferences and giving no way to change them again, just reset the preferences to corresponding off/default values, so that user can still be able to change them. Change-Id: I49f654d79af8268f170a611d5cbca28a2fa716ae
* | Merge "SnapdragonCamera: Fix camera double open issue."Linux Build Service Account2015-01-071-0/+8
|\ \
| * | SnapdragonCamera: Fix camera double open issue.Sai Kumar Sanagavarapu2015-01-041-0/+8
| |/ | | | | | | | | | | | | | | If switch camera occurs before open camera thread completes, it will result in camera double open exception. Hence wait for open thread and then do switch. Change-Id: Id12f149a2b850dc7cf1c872cec016c95e604f713
* / SnapdragonCamera: Do not prompt remember location pop up twice.Santhosh Kumar Thimmanna Bhattar2015-01-041-1/+1
|/ | | | | | | | | | - Remember location pop up is shown twice as start preview is called twice when the snapdragon camera application is launched for the first time. - Fix is to not to start the preview if it is already started Change-Id: I5435acec3e731b2536c24b947e5e720c1a8d0d6b
* SnapdragonCamera: Fix continuous shot not display location infokaiyiz2015-01-031-7/+12
| | | | | | | | | | | Location info isn't write into the Media Database when store image, which leadcore location info couldn't show in details. Get the location info and write it into media database during longshot. CRs-Fixed: 708198 Change-Id: I5e4aa982e7689244a511865536f54a05a852d3f2
* SnapdragonCamera: show how many more pictures can be takenLikai Ding2014-12-221-0/+33
| | | | | | | Prompt to user an estimation of how many more pictures can be taken, calculated based on available storage. Change-Id: Iabc8268d548d3f6d86a6d065b511641b837a1de5
* SnapdragonCamera: Stop face detection when preview is stopped.Sai Kumar Sanagavarapu2014-12-051-0/+1
| | | | | | Face detection is not required when preview is stopped. Change-Id: Ic6c0179e1b76b9a34bd8e3e08c89129f9e66cf73
* Merge "Camera2: Disable shutter animation based on setprop"Linux Build Service Account2014-12-011-1/+8
|\
| * Camera2: Disable shutter animation based on setpropSai Kumar Sanagavarapu2014-11-281-1/+8
| | | | | | | | | | | | | | Use the following setprop to disable shutter animation: adb shell setprop persist.camera.capture.animate 0 Change-Id: Ic70891f7e56048740d1f0b685ebba272f60aaba4
* | Merge "SnapdragonCamera: Forbid volume key can take picture"Linux Build Service Account2014-12-011-1/+5
|\ \
| * | SnapdragonCamera: Forbid volume key can take picturekaiyiz2014-11-131-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In CMCC Mode, don't need take picture when press volume key. Add a boolean value for judge whether need to take picture when press volume key, and overlay it in Carrier package. CRs-Fixed: 685391 Change-Id: Ice83c93ea417c1e64cbc5c6751d5f7e38c07606a
* | | Merge "SnapdragonCamera: Fix compatibility issues with KK."Linux Build Service Account2014-11-271-1/+1
|\ \ \ | |_|/ |/| |
| * | SnapdragonCamera: Fix compatibility issues with KK.Sai Kumar Sanagavarapu2014-11-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Remove openLegacy call to open camera. 2. Use generic camcorder profile query mechanism instead of hardcoding profile enums in app. 3. Fix NPE during startpreview if mParameters is null. Change-Id: I7bfc00f68f512c3029ca8ba75863583f1b376094
* | | SnapdragonCamera: Remove resetExposureCompensation in OnResumeTasks().satyavaraprasad yerramsetti2014-11-241-1/+0
|/ / | | | | | | | | | | | | | | | | | | Issue:App does not retain the Exposure setting when hit the home button and then reopen the camera app. Fix: resetExposureCompensation() is removed in OnResumeTasks()to retain Exposure value when suspending and resuming Camera app. CRs-Fixed:745622 Change-Id: Icd4fb2c689275b839f35b7318ffa5b9b90d7926b
* | SnapdragonCamera: Add back missing setting menusByunghun Jeon2014-11-191-3/+4
| | | | | | | | | | | | Adding back missing setting menus Change-Id: I803d3f694b1953aa6a8932cbba6bb55c0d0e6352
* | SnapdragonCamera: Add preview thumbnail buttonByunghun Jeon2014-11-191-0/+4
| | | | | | | | | | | | Add preview thumbnail button and touch it to go to gallery Change-Id: Ib80ef94c677c204d7f0826356792aba2aa11d4d1
* | SnapdragonCamera: Use MDP composition instead of GPUByunghun Jeon2014-11-171-21/+23
| | | | | | | | | | | | Use MDP composition instead of GPU Change-Id: I4f47d26365bd611242a21e66b232d7521b502b04
* | SnapdragonCamera: Modify SnapdragonCamera UIByunghun Jeon2014-11-171-0/+4
|/ | | | | | Modified SnapdragonCamera setting menus with new icons Change-Id: I726296dfb100ac81ad6f1cd84420ae27c0ae1201
* Merge "SnapdragonCamera: Add support for manual 3A params."Linux Build Service Account2014-11-091-24/+586
|\
| * SnapdragonCamera: Add support for manual 3A params.Sai Kumar Sanagavarapu2014-11-071-24/+586
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add UI support to take inputs from user for the following 3A paramters 1. Manual focus : a. Scale mode 0-100 b. Diopter mode 0-10 2.White balance: a. CCT b. RGB gains 3. Exposure control a. ISO b. exposure time Change-Id: I92ea3719fa2224e02943bb2191987c7654aaf9ea
* | Merge "SnapdragonCamera: Picture flip fix in zsl mode"Linux Build Service Account2014-11-091-6/+4
|\ \ | |/ |/|
| * SnapdragonCamera: Picture flip fix in zsl modeDimitar Borisov2014-11-051-6/+4
| | | | | | | | | | | | | | | | | | | | | | - Picture flip needs to be changed from horizontal to vertical and vice-versa in zsl mode. - This is needed after the last pproc changes where rotation and then flip are applied for the captured images in both zsl and non zsl mode. CRs-Fixed: 747275 Change-Id: I915d0f6e81ea2ce4d2f3cc7e0bc0e1c6ec2e3677
* | Merge "SnapdragonCamera: Fix NPE in camera open if UI creation takes time."Linux Build Service Account2014-11-041-8/+30
|\ \
| * | SnapdragonCamera: Fix NPE in camera open if UI creation takes time.Sai Kumar Sanagavarapu2014-11-031-8/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | Sometimes null pointer exception is seen because open camera thread might try to access photo UI though its not created by that time, due to some timing issues. So, let focus manager initialize without photo UI and later update it when photo UI is ready. Change-Id: I7b4c344586115e45269483a614de1e91e1a6ab81
* | | Merge "Camera2: Set preview size based on setprop"Linux Build Service Account2014-11-041-0/+39
|\ \ \
| * | | Camera2: Set preview size based on setpropSuman Mukherjee2014-11-031-0/+39
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the following setprop to set the Preview resolution instead of setting it based on snapshot aspect ratio Eg: adb shell setprop persist.camera.preview.size 1 value: 0 - Default size as per snapshot aspect ratio value: 1 - 640x480 value: 2 - 720x480 value: 3 - 1280x720 value: 4 - 1920x1080 Change-Id: Ied399ca04dfcd8e0861920ecf4e3478e713e26b3
* | | Merge "Camera2: Add Multi-touch UI and control in apps."Linux Build Service Account2014-11-041-10/+37
|\ \ \
| * | | Camera2: Add Multi-touch UI and control in apps.Santhosh Kumar Thimmanna Bhattar2014-10-271-10/+37
| | | | | | | | | | | | | | | | | | | | | | | | Changes to support multi-touch focus feature in application Change-Id: I3dc0f3bf5cd71554856a00795e82d52f36066eeb
* | | | Merge "Camera2: Add FSSR in Advanced features menu."Linux Build Service Account2014-11-041-0/+26
|\| | |
| * | | Camera2: Add FSSR in Advanced features menu.Santhosh Kumar Thimmanna Bhattar2014-10-271-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1.Add FSSR option in Advanced features menu. 2.Query supported FSSR modes and enable FSSR. Change-Id: I40b9c7875483d022a1561b17aeb90d2e4cb789ce
* | | | Merge "Camera2: Add TruePortrait in Advanced features menu."Linux Build Service Account2014-11-041-6/+30
|\| | |
| * | | Camera2: Add TruePortrait in Advanced features menu.Sai Kumar Sanagavarapu2014-10-271-6/+30
| | |/ | |/| | | | | | | | | | | | | | | | 1.Add TruePortrait option in Advanced features menu. 2.Query supported TruePortrait modes and enable TP. Change-Id: I3e9bd54ab8e495eabb591bd380cf0553715e938a
* | | Merge "SnapdragonCamera: Add OptimalJpegThumbnailSize selction logic in APP."Linux Build Service Account2014-11-041-0/+14
|\ \ \ | |_|/ |/| |
| * | SnapdragonCamera: Add OptimalJpegThumbnailSize selction logic in APP.satyavaraprasad yerramsetti2014-10-311-0/+14
| |/ | | | | | | | | | | | | | | | | | | | | - Set a jpegthumbnail size that is closest to the Picture height and has the right aspect ratio. - Earlier this logic was implemented in HAL but due to CTS2 testJpegExif failure, moving this to APP CRs-Fixed: 748114 Change-Id: Ia2c97bf8cec7198ee291e63c3be9bbe5fb18b3b7
* | Merge "Camera2: fix NPE happened when use key DPAD_LEFT or DPAD_RIGHT"Linux Build Service Account2014-11-021-2/+2
|\ \ | |/ |/|
| * Camera2: fix NPE happened when use key DPAD_LEFT or DPAD_RIGHTkaiyiz2014-10-151-2/+2
| | | | | | | | | | | | | | | | | | | | mFocusManager maybe not initialize when use Key DPAD_LEFT or DPAD_RIGHT. Check null before use it. CRs-Fixed: 713558 Change-Id: I16b4c75853c6bfd390cf1a83c83abdf6c35113d0
* | Merge "Camera2: Add setprop control to disable some features."Linux Build Service Account2014-10-241-0/+11
|\ \
| * | Camera2: Add setprop control to disable some features.Sai Kumar Sanagavarapu2014-10-201-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following features can be enabled/disabled by using setprop: 1. ZSL 2. Face detection 3. Touch AF/AEC 4. Wavelet denoise 5. Focus 6. Flash Setprop to be used to disable these : adb shell setprop camera.qcom.misc 1 Change-Id: I248c075be474b9db960875393ac66f367765f1ba
* | | Merge "Restart face detection after caturing image in zsl mode."Linux Build Service Account2014-10-231-0/+1
|\ \ \
| * | | Restart face detection after caturing image in zsl mode.Santhosh Kumar H E2014-10-131-0/+1
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | When user does touch to focus face detection will restated after a delay. But if user initiate a take picture in between all the pending messages are cleared so face detection will not start automatically. This happens only in ZSL has preview will not be restarted. This change restarts the face detection if it is not started. CRs-Fixed: 712889 Change-Id: I5cda7a3c2e7c8352cf6d9e423ca06eb63f6d6265
* | | Merge "Camera: open Camera and start Preview in a seperate thread."Linux Build Service Account2014-10-211-54/+107
|\ \ \
| * | | Camera: open Camera and start Preview in a seperate thread.Sai Kumar Sanagavarapu2014-10-201-54/+107
| | |/ | |/| | | | | | | | | | | | | | | | | | | Start openCamera and start preview in a separate thread so that UI initialization and preview can run parallely. This is to improve camera cold start latency. Change-Id: I57af45bc90a4db1630c73449d543c3ff0992e55c
* | | Merge "While stopping FD, pause UI to avoid further drawing with stale data."Linux Build Service Account2014-10-211-0/+1
|\ \ \
| * | | While stopping FD, pause UI to avoid further drawing with stale data.Santhosh Kumar H E2014-10-151-0/+1
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When user disables FD from settings, app will stop FD and sets the callback listeners to null. By the time callbacks are set to null, framework had posted the data and it was not received in the app yet. So even though application clears the UI after setting null callbacks one set of data is getting drawn and it will not be cleared at all. Present change will pause the UI as soon as FD is disabled. When FD is enabled again, photoUI resumes drawing by default so not calling resume again. Change-Id: Iac3887eca6bc002439092390c47c25ae3b216b26
* | | Merge "Camera2: Do not restart preview to update flip params on new orientation"Linux Build Service Account2014-10-211-8/+15
|\ \ \ | |_|/ |/| |
| * | Camera2: Do not restart preview to update flip params on new orientationSanthosh Kumar H E2014-10-161-8/+15
| |/ | | | | | | | | | | | | | | | | | | | | | | | | When there was a orientation change flip paramter had to be changed. Currently all parameters are set again and preview is being restarted. so preview will not be smooth when user rotae the device. This change makes sure only necessary params are updated and preview will not be restarted. CRs-Fixed: 710129 Change-Id: I564431ef8cedaf68c9d12e2a84a3a430c845ab6d