summaryrefslogtreecommitdiffstats
path: root/res
Commit message (Collapse)AuthorAgeFilesLines
* 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: Make developer menu more accessibleMichael Bestas2019-10-251-0/+4
| | | | | | | | | | | | | | * Not all devices have red eye reduction, which made it impossible to enable advanced options. Move the toggle to max brightness option which is present in all devices. * Allow enabling advanced options through camcorder settings. * Move hardcoded strings to cm_strings for translations. * Close menus when developer mode is toggled so we can see the extra options when the menu is reopened. * Decrease taps to 7, matching Settings tap-to-enable. * Properly reset tap counter. Change-Id: Iac39b9309388b92bf75a49a6091b483b13bd9154
* Snap: Support override maker and model exif tagKetut Putu Kumajaya2019-10-251-0/+3
| | | | | | Camera HAL not always return proper values Change-Id: Id81fe40ac84b0ffb70560e55077d90544139e463
* SnapdragonCamera: Remove 'off' option for antibandingSultanxda2019-10-252-5/+2
| | | | | | | | Antibanding is very important for UX with regard to photographing in artificial lighting, so don't provide users with an option to turn antibanding off. Change-Id: I080a48a88b6faee69a67df8706e0a3acd1c233f0
* SnapdragonCamera: Add option to control antibanding in camcorderSultanxda2019-10-252-2/+8
| | | | | | | The antibanding setting in camcorder is linked to the setting in camera mode for better UX (if you change one, the other will change accordingly). Change-Id: I98c1bc65472cf8eec530f5a7572f46458b0ab3fa
* Snap: Remove touch AF/AEC optionSteve Kondik2019-10-253-28/+0
| | | | | | | | | | | | | | | | | | | | | | | | | Author: Steve Kondik <shade@chemlab.org> Date: Wed Dec 25 15:10:58 2013 -0800 Snap: Remove touch AF/AEC option * Drop the use of the touchaf-aec parameter entirely. No camera needs this anymore. Change-Id: I83154a75e5375901dc6c0fc93aef23637cfdf425 Author: Steve Kondik <steve@cyngn.com> Date: Sun Jul 31 19:09:37 2016 -0700 snap: Always turn touch-af-aec on * Most cameras do this by default, but on at least one device it starts with the option disabled. This stops AEC from updating during touch focus. Change-Id: I4bdb6cdbad86f3798c0288d6a32b7e8062e297f3 Change-Id: Ia3f4a312af1b4b7b6e4c0d3f76c09efe798c730c
* 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: Fix aapt warningsLars Greiss2019-10-2561-401/+5
| | | | Change-Id: I6d48105f0407ded104244eb5ace4a3ace76eb402
* Snap: Remove CAF Chinese translationsMichael Bestas2019-10-252-492/+8
| | | | Change-Id: Icb15ed42b62a8a85a7691c5cfc606307689cbcae
* Snap: Add support for mw_continuous-picture focus modecodeworkx2019-10-252-0/+4
| | | | | | | | | | | | | | | | | | | | | | Author: codeworkx <codeworkx@cyanogenmod.org> Date: Wed Jan 6 12:25:10 2016 +0100 Snap: Add support for mw_continuous-picture focus mode Change-Id: If165370b52d7454c69e2cdeb9d837d049010b0e8 Author: Michael W <baddaemon87@gmail.com> Date: Sat Oct 22 14:47:09 2016 +0200 Snap: Fix possible NPE Seems like getSupportedFocusModes() can return null. Check for null before using it further Change-Id: I46860f780b99970cbe9857c8ba73691d69321488 Reference: BugDumps 20161014-20 L#131 Change-Id: I066a26043cc89b3037e457d8da340ed4b005ee1f
* Snap: Add support for shutter speedcodeworkx2019-10-253-0/+81
| | | | | | | | | | | | | | | | | | Author: codeworkx <codeworkx@cyanogenmod.org> Date: Wed Jan 6 11:35:40 2016 +0100 Snap: add support for shutter speed Change-Id: Id3393280c7c1c2f292d71587ba099e8dbafd1340 Author: codeworkx <codeworkx@cyanogenmod.org> Date: Fri Jan 8 19:38:15 2016 +0100 Snap: Restart preview when shutter-speed gets disabled Change-Id: I3884b23f1c855cfffeb20ca6e2a760732370d772 Change-Id: I82144c80d8fc2e7324b3dc8cde44b5b2934bdd50
* Snap: Add touch-to-focus timeout duration settingsjt11342019-10-253-0/+31
| | | | | Change-Id: Ib2c2c152a52b2616dd0da6f071f572d34fe64065 Signed-off-by: Michael Bestas <mikeioannina@gmail.com>
* 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
* Snap: Add support for additional ISO valuesMichael Bestas2019-10-252-0/+86
| | | | | | | | | | | | | | | | | | Author: Michael Bestas <mikeioannina@gmail.com> Date: Wed Oct 8 22:45:05 2014 +0200 Snap: Add ISO values for sony devices Change-Id: I6d76e2c02ed6222e06aaa59161b3b16e885e6462 Author: codeworkx <codeworkx@cyanogenmod.org> Date: Tue Jan 5 19:28:40 2016 +0100 add additional ISO values Change-Id: I373457adfa7c6808a1b0303f2f6b10e0b27a1ecb Change-Id: I82d11d55b96d8afd90478f08b2a1f0df056924e9
* Camera2: Add option to set max screen brightnessMichael Bestas2019-10-253-0/+19
| | | | | | * Set maximum screen brightness while the user is inside the camera app Change-Id: I8b16ba47a933bc7d6b0c1cd62bfd6ca54875ce1e
* Camera: Powerkey shutter (2/2)Michael Bestas2019-10-254-0/+43
| | | | | | | | | | | | | | Ported from cm-10.1 Including cm-10.1 camera commit: aa4ae80a41fbab763891c5ef6d67a9e5b4bb981b Don't mess around with pref local ID for power shutter initialization. Includes http://review.cyanogenmod.org/56986 [mikeioannina]: Updates for L Signed-off-by: Michael Bestas <mikeioannina@gmail.com> Change-Id: I0992baa558eefd306d00fbece59cb5c512d9448b
* Camera: separate settings for color effectsjt11342019-10-251-1/+1
| | | | | | | | | | | | | | | | | | | | | Author: jt1134 <jt1134@gmail.com> Date: Mon Jan 20 19:45:13 2014 +0200 Camera: separate settings for color effects Store color effect settings for the camera and video camera in their own separate preferences. Change-Id: I8faa59b8663154737910b338906d27f9736d5ad9 Author: Michael Bestas <mikeioannina@gmail.com> Date: Tue Aug 26 06:11:21 2014 +0300 Snap: Fix filtering of unsupported camcorder color effects Change-Id: I365deeb17995175db873f6799cf0cde43ee61e96 Change-Id: I7ee41923f8a7313eee06d5e0bf7e29a365d0af86
* Camera2: implement exposure compensation settings in video modejt11342019-10-251-0/+5
| | | | Change-Id: I83a2675e109dc7924cdd9240b26051ac218f532a
* Camera2: Remove CAF video duration codeMichael Bestas2019-10-257-75/+0
| | | | | Change-Id: I583e212f3c43a5ddf80fdb16557b3ddd9e3161c2 Signed-off-by: Chippa-a <vusal1372@gmail.com>
* Camera2: some aapt warnings cleanupLars Greiss2019-10-253-68/+0
| | | | | | | during the move from Gallery2 into new Camera2 package some unused values were moved as well. Remove them Change-Id: I4a514c76ccc70c61bb0a97ecafda7e1f9ede9f35
* Camera2: enable antibanding by defaultPawit Pornkitprasan2019-10-251-1/+1
| | | | | | | | | | | The default for antibanding should be "auto", otherwise there will be banding effect when taking photos in certain lighting. Normally, the default on most devices is "auto" (depends on Camera HAL). But the code from CAF changed it so that the Camera app explicitly change it to "off". Change-Id: Id0c2ef6e17bac74d22e12213ab2ed26c1c73783d
* Camera: Add red-eye flash mode supportMichael Bestas2019-10-258-0/+8
| | | | | | Signed-off-by: Michael Bestas <mikeioannina@gmail.com> Change-Id: I3db982732d15fb4eb83d5e37bff1a123225d4e8e
* camera: Add all focus modes, scene modes, and color effects.Steve Kondik2019-10-255-66/+258
| | | | Change-Id: I255d73b6e221655f9592047ccf848460d985c3b3
* camera: Remove the luma-adaptation seekbarSteve Kondik2019-10-251-10/+0
| | | | | | * Not useful for any hardware I have encountered. Change-Id: I93cca2b3bf907cc01946a55111de9eb883475d24
* Snap: Remove old iconsMichael Bestas2019-10-255-0/+0
| | | | Change-Id: I07da25f50e52b4085deec1d520806afc6da5e1da
* Snap: Use AOSP app labelMichael Bestas2019-10-252-2/+0
| | | | Change-Id: I3d589945ea31f40890a94b43555268b6b3060e37
* Revert "SnapdragonCamera: Forbid volume key can take picture"Michael Bestas2019-10-251-1/+0
| | | | | | This reverts commit e73e717b8be1ba834161914af4debc61c1feb8be. Change-Id: Iee719f34f6016f89ec0bb1c078bfa25c2f718436
* Add 32M pixels picture sizejinwu2019-05-302-0/+4
| | | | Change-Id: I19d15b5ea5b1269102cf59b608cc4d5bc83eb498
* Merge "SnapdragonCamera: Remove scene mode and deepportrait" into ↵Linux Build Service Account2019-04-181-4/+0
|\ | | | | | | camera-SnapdragonCamera.lnx.2.0
| * SnapdragonCamera: Remove scene mode and deepportraitxianming wang2019-04-101-4/+0
| | | | | | | | | | | | | | Remove scene mode only keep HDR mode, and remove deepportrait. CRs-Fixed: 2432037 Change-Id: I3f062dcc952f918dd51ee7fdfeefc8bf9c8d1c0f
* | rename dev-option "Auto Focus Mode"zhuw2019-04-101-1/+1
|/ | | | | | | rename it to "Set CONTROL_AF_MODE" CRs-Fixed:2418768 Change-Id: I0d28b537bc39fde6f1854f38e76bbd4e63ec3b61
* Merge "SnapdragonCamera: Add abortCaptures for flush" into ↵Linux Build Service Account2019-01-174-0/+34
|\ | | | | | | camera-SnapdragonCamera.lnx.2.0
| * SnapdragonCamera: Add abortCaptures for flushxianming wang2019-01-064-0/+34
| | | | | | | | | | | | | | | | | | | | | | Add abortCaptures for flush. (1) when exit app. (2) when switch cameraID. (3) start recording before closePreview session. (4) stop recording except enable EIS. CRs-Fixed: 2349737 Change-Id: I4546fbfefa3ffa4bcec688a6b5c6eea24045f232
* | SnapdragonCamera: Add 48min 144min No Limit for 480fpsxianming wang2019-01-063-0/+8
|/ | | | | | | Add 48min 144min and No Limit for 480fps. CRS-Fixed: 2361398 Change-Id: Ie89e00edcb5fe10a544d873e6800a9ae7a10c574
* Requirement from EIS teamzhuw2018-12-052-0/+4
| | | | | | | | don't set endofstream when pause by default add switcher for setting vendor tags when pasue CRs-Fixed:2353032 Change-Id: I7da748cff85584d65818834180a5f9a843c1009d
* SnapdragonCamera: Completed the function of FSxianming wang2018-11-144-0/+32
| | | | | | | Completed the function of FS for special sensor mode. CRs-Fixed: 2334834 Change-Id: Ia32111be5e1fd14bdb31407a43ad8eb3b97f5415
* Merge "change video noise reduction setting option" into ↵Linux Build Service Account2018-11-134-7/+7
|\ | | | | | | camera-SnapdragonCamera.lnx.2.0
| * change video noise reduction setting optionzhuw2018-11-074-7/+7
| | | | | | | | | | | | | | change default value to high-quality Change-Id: I9824f0c70773e0c5977dee37bdfa7756f399075e CRs-Fixed: 2343836
* | Merge "Change HAL-ZSL to default snapshot mode" into ↵Linux Build Service Account2018-11-131-1/+1
|\ \ | | | | | | | | | camera-SnapdragonCamera.lnx.2.0
| * | Change HAL-ZSL to default snapshot modejinwu2018-11-071-1/+1
| |/ | | | | | | Change-Id: I24ac6f457ccc91690b80f5301f7266a0a36f8c44
* | Merge "change default values of 2 setting" into camera-SnapdragonCamera.lnx.2.0Linux Build Service Account2018-11-121-2/+2
|\ \ | |/ |/|
| * change default values of 2 settingzhuw2018-10-251-2/+2
| | | | | | | | | | | | | | | | change picture quality value to high by default change ExposureMetering value to centerWeighted by default Change-Id: Ifbd1770f566934873a5ae4687c716c81b1235dfb CRs-Fixed:2327913
* | Merge "Remove default value 8M of picture sizes" into ↵Abhijit Trivedi2018-11-011-1/+0
|\ \ | | | | | | | | | camera-SnapdragonCamera.lnx.2.0
| * | Remove default value 8M of picture sizesjinwu2018-10-201-1/+0
| |/ | | | | | | Change-Id: I097d31523ad01e1b67b2e953f028b2124e8e70cd
* | Merge "SnapdragonCamera: Revert the original design of ISO" into ↵Abhijit Trivedi2018-11-013-2/+6
|\ \ | | | | | | | | | camera-SnapdragonCamera.lnx.2.0
| * | SnapdragonCamera: Revert the original design of ISOxianming wang2018-10-193-2/+6
| |/ | | | | | | | | | | | | | | Revert the original design of ISO in ProMode, add 3200ISO like the original design. CRs-Fixed: 2328914 Change-Id: I4ec658f2cc451a5515c50861d590e831ca10ad52
* | Merge "SnapdragonCamera: Set Anti-banding level to Auto by default" into ↵Linux Build Service Account2018-11-011-1/+1
|\ \ | | | | | | | | | camera-SnapdragonCamera.lnx.2.0