summaryrefslogtreecommitdiffstats
path: root/res/values/config.xml
Commit message (Collapse)AuthorAgeFilesLines
* Snap: Disable warped pano previewArne Coucheron2019-10-251-1/+1
| | | | Change-Id: I6412a012f8d3739b6002685b87f0e64cedfe952f
* Always apply frame size reduction to panorama picturesGabriele M2019-10-251-1/+1
| | | | | | | | | | | | | | | | Panorama mode requires quite some memory, especially after the frame num bump done with commit aa0733567c30 ("Make panorama able to go 270 degrees in landscape"). Some devices run out of memory while taking a panorama picture and force close Snap before the picture is complete. We have a config to reduce the memory requirements that reduces the size of each frame, but it's applied only if ro.config.low_ram is true. Bump the default value to 100 and always respect it. Devices having ro.config.low_ram set to true will have to override this config from their device tree. BUGBASH-326 Change-Id: Ic6d24b17b2293adf8d715904c8c1874a4c624e99
* Snap: Detect and use Camera2 if availablecodeworkx2019-10-251-0/+3
| | | | | | | | | | | | | | | | | | | | Author: codeworkx <daniel.hillenbrand@codeworkx.de> Date: Sat Jan 28 14:56:35 2017 +0100 Snap: detect and use Camera2 if available Also add overlay option to enable support for Camera2 to retain current behaviour. Change-Id: I20939e33f4bb687e4abea11bbcdb9bf246b156e4 Author: codeworkx <daniel.hillenbrand@codeworkx.de> Date: Sun Aug 13 12:22:05 2017 +0200 Snap: Add missing null check on isCamera2Supported Change-Id: I61c04c7cb8d344573ab7fb11f7114f09aaf24fb7 Change-Id: I339ead08d10ddff5dad491987d94367354a4b3f3
* CameraNext: dynamically generate available photo resolutionsWilhelm Fitzpatrick2019-10-251-0/+2
| | | | | | | | | | | 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 Signed-off-by: Chippa-a <vusal1372@gmail.com>
* snap: Add constrained longshot modeSteve Kondik2019-10-251-0/+6
| | | | | | | | | * On the OP3, we can only use Longshot in a single scene mode without conflicting with other built-in postprocessing features which cannot be disabled. Add support for this. When a scene specified in the longshot-scenemodes list is active, continuous shot will be enabled. Change-Id: I79878e5ac918e907ddc5b3ca168e49f4e06656c3
* Snap: Support override maker and model exif tagKetut Putu Kumajaya2019-10-251-0/+3
| | | | | | Camera HAL not always return proper values Change-Id: Id81fe40ac84b0ffb70560e55077d90544139e463
* Snap: Add special handling of hdr-mode parameter for LGE devicescodeworkx2019-10-251-0/+3
| | | | | | | | | | | | | | | | | | | | Author: codeworkx <codeworkx@cyanogenmod.org> Date: Sat Jan 9 11:52:01 2016 +0100 Snap: special handling of hdr-mode parameter for lge devices Change-Id: Iefee1f15f5649c2f93c59fcbdedcf953e9e0bc54 Author: codeworkx <codeworkx@cyanogenmod.org> Date: Mon May 9 21:28:40 2016 +0200 Snap: force enable zsl for lge hdr LGE HDR needs ZSL enabled Change-Id: I563b7f7cd49fcf8aad35ca4b93f839dc0a591f01 Change-Id: I139a4492ae85b87ca1cc84013f252b510200fffc
* Snap: Make openLegacy an optioncodeworkx2019-10-251-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | Using openLegacy on QCamera3 forces it to use QCamera2 and fall back to api v1 which is not what we want on v2 devices. Author: codeworkx <codeworkx@cyanogenmod.org> Date: Tue Jan 5 23:02:12 2016 +0100 make openLegacy an option Change-Id: Ia4142288ef0fafa62fa0ab855dc342b363b640cd Author: Zhao Wei Liew <zhaoweiliew@gmail.com> Date: Sun Jul 10 15:11:43 2016 +0800 Snap: Tighten openLegacy() try-catch block We only have to enclose the openLegacy() call in a try-catch block. This prevents us from re-calling open() when open() fails and throws a RuntimeException. Change-Id: I81396e453f57215338a0c4da41c4116f2b4d42ca Change-Id: Ic392a4ae9403ebae36940ddf0727237d9cb9e8f0
* Snap: Add options to restart preview onPictureTakencodeworkx2019-10-251-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Author: codeworkx <codeworkx@cyanogenmod.org> Date: Mon Jan 16 00:10:40 2006 +0100 Snap: Add options to restart preview onPictureTaken Change-Id: I7ce9d6f2323e367743e6d4c9662b846d3052f2a4 Author: LuK1337 <priv.luk@gmail.com> Date: Mon Jan 11 17:40:58 2016 +0100 Move mApplicationContext to init() Fixes following NPE: 01-11 17:36:42.607 4329 4391 E AndroidRuntime: FATAL EXCEPTION: Thread-235 01-11 17:36:42.607 4329 4391 E AndroidRuntime: Process: org.cyanogenmod.snap, PID: 4329 01-11 17:36:42.607 4329 4391 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.Resources android.content.Context.getResources()' on a null object reference 01-11 17:36:42.607 4329 4391 E AndroidRuntime: at com.android.camera.PhotoModule.updateCameraParametersPreference(PhotoModule.java:3492) 01-11 17:36:42.607 4329 4391 E AndroidRuntime: at com.android.camera.PhotoModule.setCameraParameters(PhotoModule.java:3714) 01-11 17:36:42.607 4329 4391 E AndroidRuntime: at com.android.camera.PhotoModule.startPreview(PhotoModule.java:2715) 01-11 17:36:42.607 4329 4391 E AndroidRuntime: at com.android.camera.PhotoModule.-wrap14(PhotoModule.java) 01-11 17:36:42.607 4329 4391 E AndroidRuntime: at com.android.camera.PhotoModule$OpenCameraThread.run(PhotoModule.java:265) Change-Id: I6ca0dfe402cab46dd7b6f102921062f3c7ec8d43 Author: codeworkx <codeworkx@cyanogenmod.org> Date: Fri Jan 22 17:17:53 2016 +0100 Snap: Do not restart preview during longshots Change-Id: I6ad439dc0be7c6e0d13ac7c22aacdc0ad559d051 Author: LuK1337 <priv.luk@gmail.com> Date: Sun Mar 19 10:43:33 2017 +0100 Snap: Add overlay for restarting camera preview for additional cameras Change-Id: I95eb7237b101b73d66fe231a11d0c8d5156bfe47 Change-Id: I49312aef5331bf549e38a0534b95f76a0b8bb8da
* option to set manufacturer specific parameters on startupcodeworkx2019-10-251-0/+4
| | | | Change-Id: If734a7f4c25465876e657926700763b9169d786e
* add support for non-standard iso keys and valuescodeworkx2019-10-251-0/+10
| | | | Change-Id: I3a948495cdf84dae3c1734d50ff91b4a5d3d9fc0
* Revert "SnapdragonCamera: Set navigation bar according to flag"Camera Software Integration2015-12-301-3/+0
| | | | | | This reverts commit 8fce47a5fb0277b3763b94a1fd23ea499d35e4b1. Change-Id: I955f7ad42df89d30b39b8c7c26473ceac69a9c9d
* SnapdragonCamera: Set navigation bar according to flagByunghun Jeon2015-08-071-0/+3
| | | | | | Set navigation bar according to flag and set it to show by default Change-Id: I5ddb9d5f8150d7fd1d182bacb25cd02651a2db5b
* SnapdragonCamera: Reduce panorama image resolution for 512MByunghun Jeon2015-02-241-1/+1
| | | | Change-Id: I599cbd5b54451e2e2a4ae58307f93e9dca22e995
* SnapdragonCamera: Add FullScreen Preview when in Panoramic shootJay Wang2015-02-091-0/+4
| | | | | | | | | Changed the Panoramic preview to full screen Resized the warped preview image to smaller Size and render on top of the full screen preview image Warped preview image can be turned on/off Change-Id: I859839542ce94c5f70d7fe7983e93b5e9534b415
* SnapdragonCamera: Make panorama frame size configurableLikai Ding2014-08-211-0/+4
| | | | | | | | For low RAM devices, allow reduction of the panorama frame size to save memory via the 'panorama_frame_size_reduction' config option. Change-Id: I26b98699341d5eedfe2ebe8a6ed417fe62933bd5 CRs-Fixed: 669381
* Copy camera resources into Gallery2Michael Kolb2013-01-291-0/+22
Change-Id: I3be2758b2ddca31dbc2f21457a62664310c39684