summaryrefslogtreecommitdiffstats
path: root/res/values
Commit message (Collapse)AuthorAgeFilesLines
* Snap: Make developer menu more accessibleMichael Bestas2016-08-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
* Minimum viable Android M runtime permissions handling for H.zafir2016-08-181-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Creates new activity for permissions handling: both checking for permissions and handling error condition when critical permissions are not present. The reason for creating a new activity is so the app does not attempt to continue executing OnCreate, OnResume etc, which opens the camera while the dialogs are showing. This should not slow the app down because the permissions activity will only run when a) the first time the app has insufficient permissions and b) when a critical permission is missing and the app needs to shut down. Bug: 21273463 CRs-Fixed: 1019847 Change-Id: I603acfb3057ba26b9cfa7935eb4cb24b5d547cb5 (cherry picked from commit ad44cda82fe6ec5ee090115129223c6314f9e1bb) Fixes to M permissions. Previously, we called PermissionsActivity with startActivityForResult(). However, this creates race conditions as we check for permissions and the CameraActivity continues to operate. Now, we end CameraActivity and launch a new instance upon successful permissions resolution. We can also put the preload filmstrip logic back in its original place in onCreate. The checks for permissions happen in both onCreate and onResume. Bug: 22442745, 22478144, 22497152 CRs-Fixed: 1019847 Change-Id: I82e9125a46581db44aa61d4ee94aec5a820e9df0 (cherry picked from commit ac0e2425e77a9b69e76d2f31876798825ea44584) SnapdragonCamera: Fixed M permission issue - Resolved NPE while sending permission request - Made change to request non-critical permissions once only, but the critical permssions all th time. - Removed unused contant defines CRs-Fixed: 1019847 Change-Id: Ib997244cbcc041d86c094c7ee7a902bff56e92ad snap: Remove platform signature * We are using runtime permissions now. Change-Id: I3386214dbbc0915251941ef490e7cbaf27e6ed45
* Snap: String improvementsMichael Bestas2016-08-142-9/+9
| | | | Change-Id: I19f2f857afc848502fded5cc0632e94cf3a65152
* Snap: Support 9.6 MP 16:9 picture resolutionZhao Wei Liew2016-08-112-0/+4
| | | | | | This is the highest 16:9 picture resolution supported by Galaxy S4. Change-Id: I61ce779d7965ec87478ed31f8a1e7595c8eba7b0
* snap: fix untraslatablesJoey Rizzoli2016-08-051-2/+2
| | | | | Change-Id: I3e07d9f4d641470c225f86c4516fc45256678bb3 Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
* snap: Add constrained longshot modeSteve Kondik2016-08-031-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: Add missing resourceSteve Kondik2016-08-031-0/+2
| | | | Change-Id: Ia0fb05bc14c8f332ad685e905eaf1ad75cba39e7
* SnapdragonCamera: implement optizoom and chromaflash UILikai Ding2016-08-032-0/+15
| | | | | | add scene mode for optizoom and preference entry for chromaflash Change-Id: I859a42e3273d340a7dda7e24c6cb2e08ddb0f7bf
* SnapdragonCamera: adjust video recording duration marginsJay Wang2016-08-031-1/+1
| | | | | | | | | Video recording duration overlays with mute button for low resolution display. Resolve the issue but adjusting the margins Change-Id: I526529dd71190f65b2b97c1bd79844129e2773f9 CRs-Fixed: 1019589
* SnapDragan: Changes to enable UI option for ASD mode.Guruprasad Gaonkar2016-07-301-0/+3
| | | | | | | ASD menu was not available on latest snapdragon application. Changes provided to enable scene modes. Change-Id: If02e97c4912ade7463055c8fefc35d10009a7c9e
* SnapdragonCamera: Disable CDS and TNR if SeeMore is enabledShwetha Kotekar2016-07-303-5/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If seeMore is enabled, send a disable command to HAL to disable the CDS and TNR features. Change-Id: I91bac0a01c58cb13ba32296739b47f74dc296003 SnapdragonCamera: Enable SeeMore option for 4k. Currently SeeMore option for 4k recording is disabled. As per requirements, enabling the same. Change-Id: I69e84e0c20c199d80fc819f8aa6be62605bfbd79 SnapdragonCamera: Turning off CDS and TNR while SeeMore is on. Ensuring turning off of CDS and TNR while see more feature is on. Change-Id: I74c76f8b07046b8dca9db2be162b7ef20ba2d96d CRs-Fixed: 937242 Camera2: Add StillMore option in Camera app menu Add menu item for StillMore feature under the Advanced Features item during camera preview. Change-Id: I89ae260339896878ff4f1c5099885c6f3b05a18b SnapdragonCamera: Changes to enable TNR processing by default. TNR was disabled by default from UI. Change configures TNR for camera stream to improve image quality. CDS is disabled as TNR is enabled by default from now. Change-Id: I7c1bf9533c52b8642fb15f79625cec57cc85b6cf Crs-fixed: 890243 SnapdragonCamera: Checking whether SeeMore is available Checking if the preference is available. Change-Id: Ie885b9312f2fe054e272d15b9a38e2cedf756632 CRs-Fixed: 957117
* Snap: Fix name for OnePlus 3 resolutiondianlujitao2016-06-292-3/+5
| | | | | | | * 4640x3480 isn't 16:9 * 4640x2610 is 16:9 Change-Id: I027c104439296952c389bfd358e8eb52250c8729
* Snap: Add picture resolutions for OnePlus 3dianlujitao2016-06-202-0/+18
| | | | Change-Id: Iceab9172656e21cef6e80da724af841cec6503c8
* SnapdragonCamera: Recording screen to be dynamicJack Yoo2016-05-261-0/+2
| | | | | | | Let the recording rotate layout to be removed by default and added when it's needed. Change-Id: I2b910897956b914c150941276b299160e9147055
* Snap: Restore previous default denoise valueKetut Putu Kumajaya2016-05-211-1/+1
| | | | Change-Id: Ifdf412d0e0ec7e75b7e55645a907464408b11c91
* Snap: Support override maker and model exif tagKetut Putu Kumajaya2016-05-011-0/+3
| | | | | | Camera HAL not always return proper values Change-Id: Id81fe40ac84b0ffb70560e55077d90544139e463
* Beautify and optimize histogram view.Danny Baumann2016-03-291-1/+2
| | | | | | | Make it semi-transparent, draw a predictable number of grid lines and drop the unneeded drawing to a bitmap. Change-Id: I07e3cb8507f5bebbd06730ccc28acb8053bc1d1a
* SnapdragonCamera: Implementing SelfieFlash featureCamera Software Integration2016-02-172-0/+15
| | | | | | | Introducing SelfieFlash feature. Change-Id: I7b73d9db585038640b715092b01e037538ef68aa CRs-Fixed: 937232
* Add 11.9MP 16:9 and 8.9MP picture resolutionsAndreas Schneider2016-02-162-0/+8
| | | | | Change-Id: I21f97329ada2f7e49134bee5a35cc67caf95cdb9 Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* De-uglify menu.Danny Baumann2016-02-152-7/+8
| | | | Change-Id: I19d8a3d5a12c4be06bced056b80ad1a354c6b761
* Snap: add resolutions used on Nexus 6Prazorloves2016-02-152-0/+6
| | | | Change-Id: If2b34b20ccd4d60b51b98ca1fea27c2eb4dd94aa
* Snap: Material toastsMichael Bestas2016-02-102-0/+5
| | | | | | * Match the framework toast appearance Change-Id: I886862f3087bcd5cb1cfa76f72731292b7511d07
* Snap: Separate default focus time between camera/videoSultanxda2016-02-071-0/+1
| | | | | | | | | | | | | | 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 Bestas2016-02-072-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 secSultanxda2016-02-072-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>
* SnapdragonCamera: Add focus-mode option to camcorderSultanxda2016-02-072-5/+16
| | | | | | | User can now control the focus mode used while recording video. Change-Id: I340c01a3f88314de67ca024279672276eff453ed Signed-off-by: Sultanxda <sultanxda@gmail.com>
* Snap: support more resolutionsfefifofum2016-02-062-0/+8
| | | | Change-Id: Ic9d718a55ddb63a83edc7074e3ebcfefbcf5d1f8
* Improve maps app stringMichael Bestas2016-01-291-1/+1
| | | | Change-Id: Ie8780bc8581d5b07f308e945ece5fed4e1368970
* Snap: support resolutions used by Moto X PlaySultan Qasim Khan2016-01-262-0/+8
| | | | Change-Id: Ib633d835df83838db1ca2978d89e5460d640e563
* Snap: Add icons to all scene modesjrizzoli2016-01-241-39/+39
| | | | | Change-Id: Ie34f455460eb205de12c24be10a361e380db761f Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* Snap: update shutter button stylejrizzoli2016-01-241-1/+1
| | | | Change-Id: Ide5fc0ff1c54e216ac7cd9bea202002d1d4dfa12
* Fix up layout of auto HDR notice and histogram view.Danny Baumann2016-01-201-0/+1
| | | | Change-Id: I61f93c68b52d81c5e19919a5b0b894cf51dd35c4
* Improve CameraControls layout code.Danny Baumann2016-01-201-1/+1
| | | | | | Improve control placement, and clean up redundant code. Change-Id: Ia650b09be48a81d34241f7ab22c6b3db5032ada7
* Fix transparent background color.Danny Baumann2016-01-201-1/+1
| | | | | | Got broken in commit a4a443b4e2e393d3b0d0e201075a95b02fe0c377 Change-Id: I56d09ebcf762e51c98bd979541a65dad3037e1c0
* Snap: Add missing ISO350 to ISO arraysMichael Bestas2016-01-191-0/+2
| | | | Change-Id: I2c5a8f2ce3c51f03fe7b95c3a4f99a83c981b067
* Snap: Set some more qcom features as untranslatableMichael Bestas2016-01-191-2/+2
| | | | Change-Id: I6bd19bbd06588d9235c70b29a73c12c07f8f10f4
* SnapdragonCamera: Remove 'off' option for antibandingSultanxda2016-01-192-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: Clarify antibanding settingsSultanxda2016-01-191-2/+2
| | | | | | | 50Hz => Europe 60Hz => USA Change-Id: Id439a441e5883e64595f4abbde9c5c987930e054
* Revert "Camera: Propagate power mode selection from UI to lower layers."Ricardo Cerqueira2016-01-162-18/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 5302d2e099de0ae1c3cb4a9cda993fe28b0e8c46, runtime power-mode changes are causing stability issues in camcorder Change-Id: I118f7c47bea2d07296dc18ed8a3a790eef592ca2 Revert "SnapdragonCamera: Disable LPM if DIS/Flip are enabled." This reverts commit 6cd860119a45b4a44d3e1314981862d9dac47955. Revert "SnapdragonCamera: Set low power mode by default." This reverts commit d4fccc04331a6a5a7038a542f7d17ecefa4ac95a. Revert "SnapdragonCamera: Enable low power mode in Camera." This reverts commit 195fccbe69e92b0312822aa762bb53d301c0f56f. Change-Id: I623626e60efc850fe182e54d9e9997ca41275579 [mikeioannina]: Remove the now obsolete power mode setting and unhide the video snapshot size setting Change-Id: I118f7c47bea2d07296dc18ed8a3a790eef592ca2
* Don't needlessly make menu button larger than the other toggle buttons.Danny Baumann2016-01-152-7/+0
| | | | Change-Id: Iebe831d3933b8738fded74db5c0304a06ddaa448
* Snap: Set some qcom features as untranslatableMichael Bestas2016-01-151-5/+5
| | | | Change-Id: I4b6f3efae9c2d9ba6035530ab60131ef9767681c
* Drop new focus indicator into Camera2.Paul Rohde2016-01-152-0/+5
| | | | | | | * Create a new custom focus view that interacts with physical lens diopter changes. * Replace all occurances of the old focus indicator with the new one. Change-Id: Ia02646ce4d1eb059ecb8a1dfccc15dfc9c167e1b
* CameraActivity: Don't hide navigation barDanny Baumann2016-01-151-0/+1
| | | | | | * Make it transparent instead. Change-Id: I08b06ac72d88aaf62ae7f52a3dde9ba865bc3542
* Snap: Remove touch AF/AEC optionSteve Kondik2016-01-142-15/+0
| | | | | | | * Drop the use of the touchaf-aec parameter entirely. No camera needs this anymore. Change-Id: I83154a75e5375901dc6c0fc93aef23637cfdf425
* Snap: support more resolutionsJason Riordan2016-01-122-96/+114
| | | | | | Added for Zenfone 2 but may support others Change-Id: I857de8948f4c70dd95e2fd3a9578c7b1a435d7d7
* Snap: Add more resolutionsEthan Chen2016-01-112-0/+8
| | | | | | * Add some 16:9 20MP resolutions Change-Id: I85dc481a4f1df98d75d1e3176ba1a72002d1a2c8
* Snap: More strings cleanupMichael Bestas2016-01-112-55/+54
| | | | | | | | | * Set untranslatables * Move all resolution strings in one place & improve them * TODO: Automatically calculate MP from picture size and get rid of the resolutions array Change-Id: I579d6ba7378849d891d7ed64a6b8c70e2b62ca3c
* Snap: special handling of hdr-mode parameter for lge devicescodeworkx2016-01-111-0/+3
| | | | Change-Id: Iefee1f15f5649c2f93c59fcbdedcf953e9e0bc54
* Snap: support setting default preview resolution via overlaycodeworkx2016-01-101-1/+5
| | | | Change-Id: I14c17aec6e5d582cc1f884eba40868a58cab1d03
* Snap: Set untranslatablesMichael Bestas2016-01-111-88/+89
| | | | Change-Id: Iff00f7e61abdf75ca0735752d8985a9818508157