summaryrefslogtreecommitdiffstats
path: root/res
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Snap: Bring back original shutter icons and animation"Paul Keith2018-01-2728-3/+140
| | | | | | | | No reason to do use caf ones This reverts commit a465e3a0cf7a81c7cb9a0e80cbfa7527e7d7de77. Change-Id: I611351ddfa0b24087cc58466dcba95ab4999d1bd
* Snap: Rip out hdr-need-1x optionPaul Keith2018-01-274-46/+1
| | | | | | | | | | * This breaks HDR on every device that has this param, because this makes the camera HAL return *1* e*x*tra frame at 0 exposure, and since Snap doesn't know what to do with this extra frame, it erroneously saves it as a second picture on device storage * Remove this option entirely to make HDR great again Change-Id: I8ef4072eb030f4ab6e608a0da268274a3dc58e34
* Snap: Update HDR iconsArne Coucheron2018-01-273-16/+29
| | | | | | | Current ones are so small, I can hardly see them. These new ones are bigger and looks more in line with the rest of the icons. Change-Id: Idaeec67a78d66105a375f09b6701a49dce43fd22
* Snap: Bring back original shutter icons and animationArne Coucheron2018-01-2728-140/+3
| | | | Change-Id: I843ba306053ea7f14fbf805c8633c02a854f84df
* Snap: Fix panorama layoutArne Coucheron2018-01-271-1/+1
| | | | | | Loosely based on old cyngn patches. Change-Id: I7fdb6ba82243f2f28e8ea655f83f0339d49de5ad
* Snap: Remove "help screen on first start" featureArne Coucheron2018-01-277-113/+4
| | | | | | | | | | | | | | | | | | | | Revert "SnapdragonCamera: Add help menu to camera2" This reverts commit 0dbfdffc9994a17e60c57b17c3cc5743cc75e155. Change-Id: Icb4e4bbc2b7883fa232483615a18d3197b2577bd Revert "SnapdragonCamera: Move help menu string to ressource" This reverts commit 901130273dbfc753ef883941a4e93b50056177e4. Change-Id: I82815ee7ef80985c88315c40d6b222f688fd6b75 Revert "SnapdragonCamera: Adding help screen on first start" This reverts commit 666692bf730a1c46210cc74781a56afb4b6fcf28. Change-Id: I8f2ee58c263537c3a02248aa344516f5321de13f
* Snap: Adjust scene and filter mode layout dimensionsArne Coucheron2018-01-271-4/+4
| | | | Change-Id: I1518c2d72f54e294a8793a1c151a69049d697c5b
* Snap: Disable warped pano previewArne Coucheron2018-01-271-1/+1
| | | | Change-Id: I6412a012f8d3739b6002685b87f0e64cedfe952f
* Snap: Show remaining photos on initial startArne Coucheron2018-01-271-1/+1
| | | | | | Also increase margin a bit. Change-Id: Id8ddb1137094f03bd26b487575b555bbadd80432
* Add overlay for restarting camera preview for additional camerasLuK13372018-01-271-0/+3
| | | | Change-Id: I95eb7237b101b73d66fe231a11d0c8d5156bfe47
* Always apply frame size reduction to panorama picturesGabriele M2018-01-271-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 availablecodeworkx2018-01-261-0/+3
| | | | | | Also add overlay option to enable support for Camera2 to retain current behaviour. Change-Id: I20939e33f4bb687e4abea11bbcdb9bf246b156e4
* snap: Panorama fixesSteve Kondik2018-01-264-10/+11
| | | | Change-Id: I9474219c57fc204dd16797aa8921296e61cc9d37
* Snap: update caf iconsJoey Rizzoli2018-01-2684-159/+418
| | | | | Change-Id: I1adaf709253637bde037b5aea1f856fc5b9029c7 Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
* Use material versions of share/delete/edit icons.Danny Baumann2018-01-2613-23/+37
| | | | Change-Id: I5cbcd574802170747973c8d685cdfdebf61d5a4f
* De-uglify menu.Danny Baumann2018-01-2616-106/+24
| | | | Change-Id: I19d8a3d5a12c4be06bced056b80ad1a354c6b761
* Snap: Add icons to all scene modesjrizzoli2018-01-2638-39/+742
| | | | | Change-Id: Ie34f455460eb205de12c24be10a361e380db761f Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* Snap: Add icons to all remaining preferencesjrizzoli2018-01-2636-63/+636
| | | | | Change-Id: I0a06b550ae4137d0e665947d8a8574c3b26fcb95 Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* Snap: update shutter button stylejrizzoli2018-01-269-25/+73
| | | | Change-Id: Ide5fc0ff1c54e216ac7cd9bea202002d1d4dfa12
* Remove unused menu indicators code.Danny Baumann2018-01-2610-256/+0
| | | | Change-Id: I0ce48da277a532b46fdde15027f636de4d7585b7
* Snap: remove captureUI pngdrawablesjrizzoli2018-01-2647-0/+0
| | | | | | | CM now supports 90/270 degrees rotated vectordrawables Change-Id: I13b36463c60430564c00bd1e36393fff7ddbfdae Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* Snap: Material toastsMichael Bestas2018-01-2610-5/+9
| | | | | | * Match the framework toast appearance Change-Id: I886862f3087bcd5cb1cfa76f72731292b7511d07
* Snap: initial materializationjrizzoli2018-01-26282-100/+1017
| | | | | | | Just for initial ship Change-Id: I8d6c0d71d1b94e6eb2f43ab962fb92de0e6c7093 Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* 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