summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/SettingsManager.java
Commit message (Collapse)AuthorAgeFilesLines
* CameraNext: dynamically generate available photo resolutionsWilhelm Fitzpatrick2016-11-021-7/+7
| | | | | | | | | | Instead of depending on a large matching table, generated the list of picture sizes to show to the user directly from the supported list returned by the camera. The list is filtered to remove uselessly small resolutions on modern devices, to group resolutions by aspect ratio, and to filter out fairly similar sizes. Change-Id: I47a67a89786543baec133cf7e71df9819793ebac
* SnapdragonCamera: Add exif thumbnail to Camera2 capturesJay Wang2016-09-271-0/+5
| | | | | | | Add embedded thumbnails for Camera2 captures. CRs-Fixed: 1068516 Change-Id: I5c0fdb3ddee3dd676a6b1ab91e5e7c33322e49b1
* SnapdragonCamera:Fix instance of SettingsManager is nulljunjiez2016-09-141-19/+1
| | | | | | | | | | | When there are two CameraActivities, one of them is destroyed, the instance of settingsManager will be destroyed too. When the other CameraActivity invokes SettingsManager.getInstance(), it may return null and cause exceptions.Create and hold a instance of SettingsManager in each CameraActivity to make sure it's not null. Change-Id: Id2c355bf63f61e09f914113082db2876f28b9658 CRs-Fixed: 1060909
* SnapdragonCamera: Add shutter sound to camera2Byunghun Jeon2016-08-161-0/+1
| | | | | | | | Add shutter sound menu to settings and allow user to turn on/off shutter sound in camera2 mode CRs-Fixed: 1050117 Change-Id: I624f28428415b8dde7da6e4908c26dd59bb3fbdb
* SnapdragonCamera: Add selfie flash to camera2Byunghun Jeon2016-08-161-0/+5
| | | | | | | Add selfie flash to camera2 CRs-Fixed: 1047161 Change-Id: I2ee7033d7854bb15fb9eabe215aaf063b440aee4
* SnapdragonCamera: Add High Framerate Video captureByunghun Jeon2016-08-161-0/+102
| | | | | | | | Add high framerate video capture. Only show supported options for current video size. CRs-Fixed: 1045405 Change-Id: Ib0dd7e63c167ead0fd734382d3ad4fdc7a64f8cc
* SnapdragonCamera: Bestpicture scene filterJack Yoo2016-08-161-0/+3
| | | | | | | Adding best picture selection scene filter Change-Id: Ifa0f544e80d161eaef743d611c712d8db48e5631 CRs-Fixed: 1050663
* SnapdragonCamera: StillMore to camera2Jack Yoo2016-08-161-0/+2
| | | | | | | Adding stillmore to camera2 Change-Id: I82bd9931168b831bf1c819935c47113f37d7a188 CRs-Fixed: 1050663
* SnapdragonCamera: Saving MPO and DDM without CSJay Wang2016-07-261-0/+3
| | | | | | | Saving MPO and DDM without CS CRs-Fixed: 993611 Change-Id: Ie04bce460c57454b4cf57c88b47ef2a495b6e078
* SnapdragonCamera: Replacing mono surfaceJack Yoo2016-07-071-1/+1
| | | | | | | Replacing mono surface to allocation dummy surface Change-Id: I8ed7396e6bee7fd34e223f285c0d9693ff04527a CRs-Fixed: 1035245
* SnapdragonCamera: Adding ubifocus post proc filterJack Yoo2016-07-071-1/+18
| | | | | | | Introducing ubifocus to camera2. Change-Id: I611bea207b9cbbde56a23720b22a5a5e3daa215f CRs-Fixed: 1035245
* SnapdragonCamera: FrameListener and Video frame processorJack Yoo2016-07-071-1/+40
| | | | | | | | Adding FrameListener with TrackingFocus Adding VideoFrameProcessor with beautification Change-Id: Id51a0417af43140ed27ea5859ff939adc2e78c43 CRs-Fixed: 1035245
* Merge "SnapdragonCamera: Allow take snapshot while recording video" into ↵Camera Software Integration2016-07-041-0/+7
|\ | | | | | | camera.lnx.1.0-dev.1.0
| * SnapdragonCamera: Allow take snapshot while recording videoByunghun Jeon2016-06-291-0/+7
| | | | | | | | | | | | | | | | Allow take snapshot while recording video by showing shutter button. Directly call capture when shutter button is pressed. Change-Id: Iae4d42d8878ea82b459ec67709b0ad8e340c8226 CRs-Fixed: 1028463
* | Merge "SnapdragonCamera: Add face detection to camera2" into ↵Camera Software Integration2016-07-041-0/+22
|\| | | | | | | camera.lnx.1.0-dev.1.0
| * SnapdragonCamera: Add face detection to camera2Byunghun Jeon2016-06-291-0/+22
| | | | | | | | | | | | | | | | Add face detection to camera2. Receive face data from camera2 and use faceView UI to draw it Change-Id: Id9c49ab6dd73de316398c57981cc0b9df0400b45 CRs-Fixed: 1025797
* | Merge "SnapdragonCamera: Use json file to read setting dependency" into ↵Camera Software Integration2016-07-041-187/+122
|\| | | | | | | camera.lnx.1.0-dev.1.0
| * SnapdragonCamera: Use json file to read setting dependencyByunghun Jeon2016-06-291-187/+122
| | | | | | | | | | | | | | Instead of writing the dependency in java, read the dependency from json file Change-Id: I5a46d35b66a289e2a3ee8b72d0059fd9929891f2
* | Merge "SnapdragonCamera: Add video to Camera2 module" into ↵Camera Software Integration2016-07-041-0/+94
|\| | | | | | | camera.lnx.1.0-dev.1.0
| * SnapdragonCamera: Add video to Camera2 moduleByunghun Jeon2016-06-291-0/+94
| | | | | | | | | | | | Add video to Camera2 module and combine the UI Change-Id: I0bcd86eb6b95fe2180856780ddd794682259e799
* | Merge "SnapdragonCamera: Fix the camera setting corruption issue" into ↵Camera Software Integration2016-07-011-1/+4
|\ \ | |/ |/| | | camera.lnx.1.0-dev.1.0
| * SnapdragonCamera: Fix the camera setting corruption issueJay Wang2016-06-211-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | Two instances of camera preference were created and caused the wrong preference instance is referenced when changing the camera2 mode. Due to this, it corrupted the camera setting on the other camera device. To resolve the issue, create single instance of camera preference and re-use it. Change-Id: Ia1a6923a10b83e4c5777fb1318677c1f191942fb CRs-fixed: 1025776
* | SnapdragonCamera: Add touchAE to camera2Byunghun Jeon2016-06-211-3/+16
|/ | | | | | | | | Add touchAE to camera by setting AE_Region. It uses the same logic as touchAF to calculate the region. Also fixed the region calculation of AF. Change-Id: Id83f3bd3042d41e2a36c18eb30e476ff1a66dfae CRs-Fixed: 1025759
* Merge "SnapdragonCamera: Filter duplicate picture resolution" into ↵Camera Software Integration2016-06-201-0/+1
|\ | | | | | | camera.lnx.1.0-dev.1.0
| * SnapdragonCamera: Filter duplicate picture resolutionByunghun Jeon2016-06-091-0/+1
| | | | | | | | | | | | | | | | | | Filter picture resolution with duplicate name. There can be 2 different picture resolutions with the same name. Take only the first one. Change-Id: I9a472d958b829d3dce9559d4fcacb5d0dfd3e598 CRs-Fixed: 1025767
* | Merge "SnapdragonCamera: Add redeye reduction" into camera.lnx.1.0-dev.1.0Camera Software Integration2016-06-201-0/+20
|\|
| * SnapdragonCamera: Add redeye reductionByunghun Jeon2016-06-091-0/+20
| | | | | | | | | | | | | | Add redeye reduction to Camera2 Change-Id: Iae4beb9287a0a927330ba987238fac6a2dae058e CRs-Fixed: 1018118
* | Merge "SnapdragonCamera: Fix initial camera id" into camera.lnx.1.0-dev.1.0Camera Software Integration2016-06-201-2/+11
|\|
| * SnapdragonCamera: Fix initial camera idByunghun Jeon2016-06-091-2/+11
| | | | | | | | | | | | | | | | Fix initial camera id to proper value. Previously it was always using 0 as initial id Change-Id: Ifc8d63ba2bccb4afcc25445d6713e28732e7deb4 CRs-Fixed: 1018118
* | Merge "SnapdragonCamera: Sharpshooter post filter" into camera.lnx.1.0-dev.1.0Camera Software Integration2016-06-201-0/+2
|\|
| * SnapdragonCamera: Sharpshooter post filterJack Yoo2016-06-081-0/+2
| | | | | | | | | | | | | | Adding Sharpshooter post process filter Change-Id: I8f3c1962db437e7dfbe2973f806a3f9a26480eb7 CRs-Fixed: 1023183
* | SnapdragonCamera: Multiple fixes in SettingManagerJay Wang2016-06-151-4/+20
|/ | | | | | | | | | | | | - Setting manager instance was not destroyed when camera activity onDestroy is called and a new instance is created again when onCreate is called. Make change to destroy the setting manager during onDestroy. - Include high resolution picture sizes to the picture size list Change-Id: Id6cb52da1419f7e723304236b5d2c204d217398c CRs-Fixed: 1025845, 1025789
* SnapdragonCamera: FrameProcessorJack Yoo2016-06-011-0/+1
| | | | | | | Introducing Frameprocessor with beautifiation. Change-Id: Ie6d8f4157a7d0c1a21e6f347457e84685e397286 CRs-Fixed: 1023183
* SnapdragonCamera: PostProcessor and OptizoomJack Yoo2016-06-011-1/+8
| | | | | | | Introducing PostProcessor with Optizoom filter Change-Id: Ib9ac6d4a9526be3a5163d02e298ed783daad48c1 CRs-Fixed: 1023183
* SnapdragonCamera: Fix front camera and scene mode picture taking issuesByunghun Jeon2016-05-311-3/+15
| | | | | | | | | | | Fix front camera picture taking issues. Fix scene mode picture taking issues. For both front camera and scene mode issue, focus state was not updating properly so it was stuck waiting for focus to finish. So added another logic to check such case and continue to next step. Change-Id: I99d2164a77cc2903f3df50c7ff9478e718b112c0 CRs-Fixed: 1018118
* SnapdragonCamera: Update settingsManager and add Dual mode to Scene modeByunghun Jeon2016-05-311-51/+238
| | | | | | | Update settingsManager and add Dual mode to Scene mode Change-Id: I508430840c3fb8c7d0b56a2a63e09b271754fcb4 CRs-Fixed: 1018118
* SnapdragonCamera: Add ISO and exposureByunghun Jeon2016-05-311-0/+67
| | | | | | | Add ISO and exposure to CaptureModule Change-Id: If6f3c142bcfbbcc049c10d7be2fe5a4c86d31fe6 CRs-Fixed: 1018118
* SnapdragonCamera: Add SettingsManager, scene, and filterByunghun Jeon2016-05-311-0/+539
Add SettingsManager to work as a database for settings. It will handle all dependencies and populate the values. Add scene mode and filter. Restructure UI and menu by combining them and leave the handling of settings to SettingsManager Change-Id: I185163fdddbffd29434e6a9c41b33be6d3388f88 CRs-Fixed: 1018118