summaryrefslogtreecommitdiffstats
path: root/res
Commit message (Collapse)AuthorAgeFilesLines
...
* | CameraNext: dynamically generate available photo resolutionsWilhelm Fitzpatrick2018-11-2070-989/+21
| | | | | | | | | | | | | | | | | | | | 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
* | snap: Add constrained longshot modeSteve Kondik2018-11-201-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 Bestas2018-11-201-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 Kumajaya2018-11-201-0/+3
| | | | | | | | | | | | Camera HAL not always return proper values Change-Id: Id81fe40ac84b0ffb70560e55077d90544139e463
* | SnapdragonCamera: Remove 'off' option for antibandingSultanxda2018-11-202-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 camcorderSultanxda2018-11-202-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 Kondik2018-11-203-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 devicescodeworkx2018-11-201-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 Greiss2018-11-2061-401/+5
| | | | | | | | Change-Id: I6d48105f0407ded104244eb5ace4a3ace76eb402
* | Snap: Remove CAF Chinese translationsMichael Bestas2018-11-202-492/+8
| | | | | | | | Change-Id: Icb15ed42b62a8a85a7691c5cfc606307689cbcae
* | Snap: Add support for mw_continuous-picture focus modecodeworkx2018-11-202-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 speedcodeworkx2018-11-203-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 settingsjt11342018-11-203-0/+31
| | | | | | | | | | Change-Id: Ib2c2c152a52b2616dd0da6f071f572d34fe64065 Signed-off-by: Michael Bestas <mikeioannina@gmail.com>
* | Snap: Make openLegacy an optioncodeworkx2018-11-201-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 onPictureTakencodeworkx2018-11-201-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 startupcodeworkx2018-11-201-0/+4
| | | | | | | | Change-Id: If734a7f4c25465876e657926700763b9169d786e
* | add support for non-standard iso keys and valuescodeworkx2018-11-201-0/+10
| | | | | | | | Change-Id: I3a948495cdf84dae3c1734d50ff91b4a5d3d9fc0
* | Snap: Add support for additional ISO valuesMichael Bestas2018-11-202-0/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Bestas2018-11-203-0/+19
| | | | | | | | | | | | * Set maximum screen brightness while the user is inside the camera app Change-Id: I8b16ba47a933bc7d6b0c1cd62bfd6ca54875ce1e
* | Camera: Powerkey shutter (2/2)Michael Bestas2018-11-204-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 effectsjt11342018-11-201-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 modejt11342018-11-201-0/+5
| | | | | | | | Change-Id: I83a2675e109dc7924cdd9240b26051ac218f532a
* | Camera2: Remove CAF video duration codeMichael Bestas2018-11-206-67/+0
| | | | | | | | Change-Id: I583e212f3c43a5ddf80fdb16557b3ddd9e3161c2
* | Camera2: some aapt warnings cleanupLars Greiss2018-11-203-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 Pornkitprasan2018-11-171-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 Bestas2018-11-178-0/+8
| | | | | | | | | | | | Signed-off-by: Michael Bestas <mikeioannina@gmail.com> Change-Id: I3db982732d15fb4eb83d5e37bff1a123225d4e8e
* | camera: Add all focus modes, scene modes, and color effects.Steve Kondik2018-11-175-66/+258
| | | | | | | | Change-Id: I255d73b6e221655f9592047ccf848460d985c3b3
* | camera: Remove the luma-adaptation seekbarSteve Kondik2018-11-171-10/+0
| | | | | | | | | | | | * Not useful for any hardware I have encountered. Change-Id: I93cca2b3bf907cc01946a55111de9eb883475d24
* | Snap: Remove old iconsMichael Bestas2018-11-165-0/+0
| | | | | | | | Change-Id: I07da25f50e52b4085deec1d520806afc6da5e1da
* | Snap: Use AOSP app labelMichael Bestas2018-11-162-2/+0
| | | | | | | | Change-Id: I3d589945ea31f40890a94b43555268b6b3060e37
* | Revert "SnapdragonCamera: Forbid volume key can take picture"Michael Bestas2018-11-131-1/+0
|/ | | | | | This reverts commit e73e717b8be1ba834161914af4debc61c1feb8be. Change-Id: Iee719f34f6016f89ec0bb1c078bfa25c2f718436
* SnapdragonCamera: Completed the function of Manual WBxianming wang2018-09-032-0/+16
| | | | | | | Completed the function of Manual WB gains and cct. CRs-Fixed: 2297603 Change-Id: Ia161307fe4b305e86953560b802d749b86f848b3
* Remove 4k DCI for not PORed.jinwu2018-08-291-2/+0
| | | | Change-Id: I84709f77aaec59752ac78b5ffbb92ab166528c84
* Merge "SnapdragonCamera: Complete the function of MFNR/MFSR"Linux Build Service Account2018-08-054-0/+65
|\
| * SnapdragonCamera: Complete the function of MFNR/MFSRxianming wang2018-08-034-0/+65
| | | | | | | | | | | | | | Complete the function of MFNR/MFSR. CRs-Fixed: 2275738 Change-Id: Icc45de57a2d1febbdb74e57f3e6e0b76d08a51b6
* | Merge "SnapdragonCamera: Change the default PictureSize is 8M"Linux Build Service Account2018-08-041-0/+1
|\ \
| * | SnapdragonCamera: Change the default PictureSize is 8Mxianming wang2018-08-031-0/+1
| |/ | | | | | | | | | | | | Change the default PictureSize is 8M. CRs-Fixed: 2270429 Change-Id: I76d63b176cd90fb91c14167138dad67467bd065b
* | Merge "SnapdragonCamera: Complete manual exposure gains function"Linux Build Service Account2018-08-042-0/+4
|\ \
| * | SnapdragonCamera: Complete manual exposure gains functionxianming wang2018-08-032-0/+4
| |/ | | | | | | | | | | | | Complete manual exposure gains function. CRs-Fixed: 2288985 Change-Id: I57e19027b4dd05c862e25d1646f8cde3c4ac3a36
* / SnapdragonCamera:Fix stats visualizerjunjiez2018-08-031-4/+4
|/ | | | | | | | | catch the IllegalArgumentException in case of HAL doesn't have needed vendor tags, and update the layout to fit the size of the bitmap in view. Change-Id: Ieab9d260e5a152eca7136d65724f96757f5f171d
* Remove earlyPCR setting optionzhuw2018-07-294-32/+3
| | | | | | | remove earlyPCR in dev option only disable earlyPCR in HFR mode Change-Id: I2847019a6d350664409ccf1fc2176939a70bd18e
* Merge "SnapdragonCamera: Added stats visualizer"Linux Build Service Account2018-07-165-30/+54
|\
| * SnapdragonCamera: Added stats visualizerMukund Mittal2018-07-095-30/+54
| | | | | | | | | | | | | | Added stats visualizer for displaying stats in overlay at preview Change-Id: I0c0492bd525e1a9145384cd167a1b6846e96f41b
* | Revert change 2323574/7zhuw2018-07-101-1/+1
|/ | | | | | change default value to disable Change-Id: I4ac8776a413343706cce13207034d0e94a8851ed
* SnapdragonCamera:Fix CTS issuejunjiez2018-06-281-1/+1
| | | | | | | | | Change the id of the review done button to match the requirement of CTS test Change-Id: I93859d78fa64a7fe9baad72019932e99833fb268 CRs-Fixed: 2226102
* SnapdragonCamera: Add 480fps in app menu for videoxianming wang2018-06-272-0/+8
| | | | | | | Add 480fps in app menu for video CRs-Fixed: 2267453 Change-Id: Ib9e2a081f6b72fdb2d33abc2430d82f2713f45c9
* SnapdragonCamera:Fix CTS issuejunjiez2018-06-221-1/+3
| | | | | | | | | | When DPAD_CENTER is pressed, capture a image to pass CTS test and set the default focused view to avoid DPAD_CENTER key event lost. Change-Id: I75601cf0576251492140e8da30eac0b3d149b5c8 CRs-Fixed: 2226102
* Change earlyPCR default value to enablezhuw2018-06-031-1/+1
| | | | | | | change default value to enable for earlyPCR enable by default and no need dev option Change-Id: I9a261e8299987ba2e8d9784d860f3a6e8eaf20fc
* SDcamera: Add option for early PCRzhuw2018-05-304-0/+33
| | | | | | add vendor tag and dev option for early PCR Change-Id: I9aa9f5092a288798b00d0dba42680856062194d4
* Fix dev afmode setting don't work after snapshotzhuw2018-05-272-1/+5
| | | | | | | | the afmode is set to 4 after unlockfocus. so change the afmode set to builder if dev is opened and the value is valid. Change-Id: Ic10af057fa944db39b2e94ec162fb99452ed9365