summaryrefslogtreecommitdiffstats
path: root/res
Commit message (Collapse)AuthorAgeFilesLines
* Snap: Separate default focus time between camera/videoSultanxda2018-01-262-1/+2
| | | | | | | | | | | | | | For the camera, the user expects a default tap-to-focus duration of 3 seconds with exposure locking. For the camcorder, however, the user expects a tap-to-focus duration of 0 seconds with no exposure locking, as the rapid change in exposure while recording would negatively impact the video. Separate the tap-to-focus option to reflect the recommended defaults. [mikeioannina]: Adapted to Snap Change-Id: I75bc0610f5d301c9728b4bc104b86e0fab5493fb Signed-off-by: Sultanxda <sultanxda@gmail.com>
* Snap: Cleanup focus time duration entriesMichael Bestas2018-01-262-10/+4
| | | | | | | | * Add 3s which was the default before we added the option * Remove 15/20/30s * Fix default duration Change-Id: Ieaad13f248ec9966eefb546beeb6b386156e3b11
* Snap: Add ability to set the tap-to-focus duration to 0 secSultanxda2018-01-262-1/+4
| | | | | | | | | | | Setting a tap-to-focus duration of 0 seconds allows for a quick, manual refocus of the subject without interfering with the exposure. This is particularly useful when recording videos. [mikeioannina]: Adapted to Snap Change-Id: Ie3d92e50f755c938e9725438ba5baad0d0985485 Signed-off-by: Sultanxda <sultanxda@gmail.com>
* Snap: Add focus time support in camcorderMichael Bestas2018-01-261-0/+6
| | | | Change-Id: I5432554a40d7375ed7893c38cb2741a12cc8cc80
* SnapdragonCamera: Add focus-mode option to camcorderSultanxda2018-01-263-5/+23
| | | | | | | User can now control the focus mode used while recording video. Change-Id: I340c01a3f88314de67ca024279672276eff453ed Signed-off-by: Sultanxda <sultanxda@gmail.com>
* camera: Touch focus support for camcorderSteve Kondik2018-01-261-0/+5
| | | | | | | | | * Available when video snapshots are not supported. * Original from CodeAurora Forum. Sultanxda: Adapted to Snapdragon Camera Change-Id: I232c178430db08e7366aa9f91b4926d07e7c225d
* CameraNext: dynamically generate available photo resolutionsWilhelm Fitzpatrick2018-01-2669-972/+22
| | | | | | | | | | 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-01-261-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-01-261-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-01-261-0/+3
| | | | | | Camera HAL not always return proper values Change-Id: Id81fe40ac84b0ffb70560e55077d90544139e463
* Snap: Cleanup flash iconsMichael Bestas2018-01-264-0/+13
| | | | | | * Adapt some forgotten ones to material Change-Id: Ie50a7f58b78def8e1da2eae92ae458c729fd7ddb
* SnapdragonCamera: Remove 'off' option for antibandingSultanxda2018-01-262-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-01-262-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-01-263-28/+0
| | | | | | | | * Drop the use of the touchaf-aec parameter entirely. No camera needs this anymore. Change-Id: I83154a75e5375901dc6c0fc93aef23637cfdf425 (cherry picked from commit 8ba41f452222c87a733fd2d045f9c513fd8d7799)
* Snap: special handling of hdr-mode parameter for lge devicescodeworkx2018-01-261-0/+3
| | | | Change-Id: Iefee1f15f5649c2f93c59fcbdedcf953e9e0bc54
* Snap: Fix aapt warningsLars Greiss2018-01-2661-401/+5
| | | | Change-Id: I6d48105f0407ded104244eb5ace4a3ace76eb402
* Snap: Remove CAF Chinese translationsMichael Bestas2018-01-262-492/+8
| | | | Change-Id: Icb15ed42b62a8a85a7691c5cfc606307689cbcae
* Snap: add support for mw_continuous-picture focus modecodeworkx2018-01-262-0/+4
| | | | Change-Id: If165370b52d7454c69e2cdeb9d837d049010b0e8
* Snap: add support for shutter speedcodeworkx2018-01-263-0/+81
| | | | Change-Id: Id3393280c7c1c2f292d71587ba099e8dbafd1340
* Snap: Add touch-to-focus timeout duration settingsjt11342018-01-263-0/+37
| | | | | | Signed-off-by: Michael Bestas <mikeioannina@gmail.com> Change-Id: Ib2c2c152a52b2616dd0da6f071f572d34fe64065
* Snap: make openLegacy an optioncodeworkx2018-01-261-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. Change-Id: Ic392a4ae9403ebae36940ddf0727237d9cb9e8f0
* add options to restart preview onPictureTakencodeworkx2018-01-261-0/+6
| | | | Change-Id: I7ce9d6f2323e367743e6d4c9662b846d3052f2a4
* option to set manufacturer specific parameters on startupcodeworkx2018-01-261-0/+4
| | | | Change-Id: If734a7f4c25465876e657926700763b9169d786e
* add support for non-standard iso keys and valuescodeworkx2018-01-261-0/+10
| | | | Change-Id: I3a948495cdf84dae3c1734d50ff91b4a5d3d9fc0
* add additional ISO valuescodeworkx2018-01-262-0/+32
| | | | Change-Id: I373457adfa7c6808a1b0303f2f6b10e0b27a1ecb
* Snap: Add ISO values for sony devicesMichael Bestas2018-01-262-0/+56
| | | | Change-Id: I6d76e2c02ed6222e06aaa59161b3b16e885e6462
* Camera2: Add option to set max screen brightnessMichael Bestas2018-01-263-0/+19
| | | | | | * Set maximum screen brightness while the user is inside the camera app Change-Id: I8b16ba47a933bc7d6b0c1cd62bfd6ca54875ce1e
* Camera: Powerkey shutter (2/2)Michael Bestas2018-01-264-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-01-261-1/+1
| | | | | | | Store color effect settings for the camera and video camera in their own separate preferences. Change-Id: I8faa59b8663154737910b338906d27f9736d5ad9
* Camera2: implement exposure compensation settings in video modejt11342018-01-261-0/+5
| | | | Change-Id: I83a2675e109dc7924cdd9240b26051ac218f532a
* Camera2: Remove CAF video duration codeMichael Bestas2018-01-266-67/+0
| | | | Change-Id: I583e212f3c43a5ddf80fdb16557b3ddd9e3161c2
* Camera2: some aapt warnings cleanupLars Greiss2018-01-263-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-01-261-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-01-268-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-01-265-66/+258
| | | | Change-Id: I255d73b6e221655f9592047ccf848460d985c3b3
* camera: Remove the luma-adaptation seekbarSteve Kondik2018-01-261-10/+0
| | | | | | * Not useful for any hardware I have encountered. Change-Id: I93cca2b3bf907cc01946a55111de9eb883475d24
* Snap: update iconjrizzoli2018-01-265-0/+0
| | | | | Change-Id: Ib155068ae1d4cb8f799fb06b4b37aa6dc4ce6417 Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* Snap: Remove old iconsMichael Bestas2018-01-265-0/+0
| | | | Change-Id: I07da25f50e52b4085deec1d520806afc6da5e1da
* Snap: Use AOSP app labelMichael Bestas2018-01-262-2/+0
| | | | Change-Id: I3d589945ea31f40890a94b43555268b6b3060e37
* Revert "SnapdragonCamera: Forbid volume key can take picture"Michael Bestas2018-01-261-1/+0
| | | | | | This reverts commit e73e717b8be1ba834161914af4debc61c1feb8be. Change-Id: Iee719f34f6016f89ec0bb1c078bfa25c2f718436
* Merge "Snapdragon: Add bokeh enable options in dev" into camera.lnx.3.0-devCamera Software Integration2018-01-163-1/+18
|\
| * Snapdragon: Add bokeh enable options in devzhuw2018-01-033-1/+18
| | | | | | | | | | | | | | | | | | | | add bokeh enable options in dev. value: true->enable false->disable blur->enter int value Change-Id: I4e69a5371b60ce55dee2468634b1e14956811f22 CRs-Fixed: 2164757
* | Merge "SnapdragonCamera:support multi camera switch" into camera.lnx.3.0-devCamera Software Integration2018-01-163-0/+15
|\|
| * SnapdragonCamera:support multi camera switchjunjiez2018-01-033-0/+15
| | | | | | | | | | | | | | add a new option in dev options to swtich camera by camera Id. Change-Id: Ieeb6f462024c3b155dc5fb532fd737313b9904de
* | SnapdragonCamera: Rename the resource Id to fix CTS issue.Santhosh Kumar Thimmanna Bhattar2017-12-272-2/+2
|/ | | | | | | | | | | | | Issue: CTS test case testImageCapture is failing due to mismatch in resource Id of OK button in SnapdragonCamera app and CTS . After take picture , CTS app is sending click event for OK button in SnapdragonCamera. But event is failed due to mismatch in Id. Fix: Rename resource Id of OK button as per the CTS. Change-Id: I7d3b087e4ac73fc7ee1034b7d2845241e6023b29
* SnapdragonCamera: Complete the function of QCFAxianming wang2017-09-074-0/+35
| | | | | | | | Add support for quadraCFA in HAL3, and Complete the function of QCFA. CRs-Fixed: 2104228 Change-Id: I5ae17d1af3fc433402d0f183c48baf7488768328
* Merge "SnapdragonCamera:Disalbe options in RTB" into camera.lnx.3.0-devCamera Software Integration2017-08-071-3/+10
|\
| * SnapdragonCamera:Disalbe options in RTBjunjiez2017-08-031-3/+10
| | | | | | | | | | | | | | | | Disable some options in the setting when it's in real time bokeh mode and modify the style of seekbar and bokeh text. Change-Id: If6f2fe40c3a405ac8a4451029d18e38d93305ef5
* | Merge "SnapdragonCamera:modify RTB UI" into camera.lnx.3.0-devCamera Software Integration2017-08-037-0/+0
|\|
| * SnapdragonCamera:modify RTB UIjunjiez2017-07-267-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. reduce the size of the bokeh focus circle. 2. hide bokeh focus circle and seekbar when it's not needed. 3. update the location of the seekbar according the location of the bokeh focus circle 4. convert depth map buffer to rgb then compress to jpeg Change-Id: Ibfa4d1d90413939566129247a23325f941507691