summaryrefslogtreecommitdiffstats
path: root/res
Commit message (Collapse)AuthorAgeFilesLines
* Snap: make openLegacy an optioncm-14.1-wipcodeworkx2016-12-231-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
* Snap: update caf iconsJoey Rizzoli2016-12-2386-156/+416
| | | | | Change-Id: I1adaf709253637bde037b5aea1f856fc5b9029c7 Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
* Modernize look of review controls.Danny Baumann2016-12-2317-76/+106
| | | | Change-Id: I79f74502364a523a7c9c9f8ae3c63c3fcfebac3d
* Clean up module switcher.Danny Baumann2016-12-233-0/+23
| | | | | | | | - Get rid of Holo highlight color - Don't hardcode pixel sizes - Simplify code Change-Id: I3695b04e99308c266537eb9b837d0b65793a33f7
* Use transparent navigation bar.Danny Baumann2016-12-234-24/+31
| | | | | | | Ensures a 16:9 preview isn't scaled on a 16:9 screen just due to the navigation bar being shown. Change-Id: I7ca7778b0405d3e9ac7ae1db3e7a56cacd703e3b
* Use material versions of share/delete/edit icons.Danny Baumann2016-12-2313-23/+37
| | | | Change-Id: I5cbcd574802170747973c8d685cdfdebf61d5a4f
* Fix some photo UI layout issues.Danny Baumann2016-12-231-13/+17
| | | | Change-Id: I04a68fe2e379db4a228d19cbe6444a10a8024ce0
* Snap: Fix blatant UI string issuesZhao Wei Liew2016-12-011-6/+6
| | | | Change-Id: Iecae12836966dc32e4906c0b6bf9a549ab726342
* snap: Panorama fixesSteve Kondik2016-11-227-12/+13
| | | | | | | | * Fix animations and transitions * Disable warped preview overlay, this looks terrible and needs rewritten. Change-Id: I9474219c57fc204dd16797aa8921296e61cc9d37
* snap: Fix bottom bar layoutSteve Kondik2016-11-211-28/+36
| | | | | | | | * Fix all the widths so we resize properly when there are two shutter buttons, and so that we don't start the app with the controls off center. Change-Id: I51e0a5c9bbb6a55625d385d1e52b01a88338e6cf
* Snap: Remove obsolete xxhdpi scene mode drawablesZhao Wei Liew2016-11-2112-0/+0
| | | | | | | | These old, holo-looking drawables have been replaced by newer material-looking vector drawables since change I8d6c0d71d1b94e6eb2f43ab962fb92de0e6c7093. Change-Id: I69232e4fcf89cfce21648724974903e4ebe56490
* Fix mismatched scene mode arrays.Danny Baumann2016-11-211-8/+0
| | | | Change-Id: Ib0a63f8696489efa02ecc1f89f3b41d701ad6db1
* Snap: Make developer menu more accessibleMichael Bestas2016-11-211-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: Fix preview overlaysSteve Kondik2016-11-183-55/+45
| | | | | | * Fix Z-order and touch focus Change-Id: I05891f6b6c1c5e9a0a9b1142c0613c08fb451bd1
* snap: Improve the histogramSteve Kondik2016-11-172-1/+4
| | | | | | | * Make it work with the new UI * Make it pretty Change-Id: Ib920307639f997c82ed003e0712fb28e9912a8e8
* Remove unused menu indicators code.Danny Baumann2016-11-175-245/+0
| | | | Change-Id: I0ce48da277a532b46fdde15027f636de4d7585b7
* snap: Remove dividers from menuSteve Kondik2016-11-171-1/+2
| | | | | | * It's just ugly Change-Id: Ib5d1d30aec6a74ccfd3827be710b554e09a3ad63
* snap: Improve transitionsSteve Kondik2016-11-171-9/+6
| | | | | | | | * Synchronize animation to filmstrip with input * More code cleanups, introduce BaseModule * Animations are hard Change-Id: Ie664bb2059a28b3a9f3957fb491ec28fede521e5
* snap: Use new widgets for CaptureUISteve Kondik2016-11-141-24/+2
| | | | Change-Id: I1d142d60af3f51c71ce3711642d074faf7b456c2
* SnapdragonCamera: Screen goes black when saving panoramic picturesweijiew2016-11-132-4/+4
| | | | | | | | Layout() method can't be triggered and caused saving view missing when the phone was upside down, so set the view to invisible instead of gone Change-Id: Id331d14c0795a47b3acb6139089464742f40c404 CRs-Fixed: 1066232
* snap: UI checkpoint #2Steve Kondik2016-11-139-107/+168
| | | | | | | | | | * Fix bugs from previous commit * Factor out recording controls * Clean up layouts * Asynchronous control for video module * Performance improvements Change-Id: I9d5833cecbd9280845b740ee8a3c47f023470625
* snap: Better capture animationSteve Kondik2016-11-133-15/+18
| | | | | | | * Modified version from Camera2 * Also adjust the callbacks for better response Change-Id: I85ac23cdf35d9e2625799dd64b9f86aef103be7b
* snap: UX improvements v1Steve Kondik2016-11-1311-84/+168
| | | | | | | | | | | | | * Make the camera controls do sane things- get rid of the manual placement of every widget and use layouts * Animate everything correctly * Show ripples when clicking the shutter * Clean up a metric ton of dead code * Moved more code into BaseUI * Make setting up the camera controls less verbose and magical * Fixed up panorama layout Change-Id: Iaed44ca0201a2e2641e1c2460d3ff9ec3eae2d85
* Fix up layout of auto HDR notice and histogram view.Danny Baumann2016-11-023-17/+15
| | | | Change-Id: I61f93c68b52d81c5e19919a5b0b894cf51dd35c4
* Snap: Add icons to all scene modesjrizzoli2016-11-0238-7/+749
| | | | | Change-Id: Ie34f455460eb205de12c24be10a361e380db761f Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* CameraNext: dynamically generate available photo resolutionsWilhelm Fitzpatrick2016-11-0237-1863/+75
| | | | | | | | | | 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: Remove duplicate attributeSteve Kondik2016-11-021-1/+0
| | | | Change-Id: I691813c94412b80b6d3648c01e0122e21fcddf72
* snap: Remove unused preferenceSteve Kondik2016-11-021-8/+0
| | | | Change-Id: I7139b3885e4ff9c4d94ed86f521bce661e60cec5
* snap: Add constrained longshot modeSteve Kondik2016-11-021-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: Support override maker and model exif tagKetut Putu Kumajaya2016-11-021-0/+3
| | | | | | Camera HAL not always return proper values Change-Id: Id81fe40ac84b0ffb70560e55077d90544139e463
* Snap: update iconjrizzoli2016-11-025-0/+0
| | | | | Change-Id: Ib155068ae1d4cb8f799fb06b4b37aa6dc4ce6417 Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* Automatic translation importMichael Bestas2016-11-0240-60/+211
| | | | Change-Id: Ic01c27ccf8e2f1d063c14c605a1f6ca41fd8532a
* Snap: Cleanup flash iconsMichael Bestas2016-11-026-2/+15
| | | | | | * Adapt some forgotten ones to material Change-Id: Ie50a7f58b78def8e1da2eae92ae458c729fd7ddb
* De-uglify menu.Danny Baumann2016-11-0216-106/+24
| | | | Change-Id: I19d8a3d5a12c4be06bced056b80ad1a354c6b761
* Automatic translation importMichael Bestas2016-11-0255-112/+2276
| | | | Change-Id: I7590024e38db54ca4ee8cab74e0683196a65089f
* Snap: Material toastsMichael Bestas2016-11-0210-3/+9
| | | | | | * Match the framework toast appearance Change-Id: I886862f3087bcd5cb1cfa76f72731292b7511d07
* Snap: Separate default focus time between camera/videoSultanxda2016-11-022-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 Bestas2016-11-022-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-11-022-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 Bestas2016-11-021-0/+7
| | | | Change-Id: I5432554a40d7375ed7893c38cb2741a12cc8cc80
* SnapdragonCamera: Add focus-mode option to camcorderSultanxda2016-11-023-5/+23
| | | | | | | User can now control the focus mode used while recording video. Change-Id: I340c01a3f88314de67ca024279672276eff453ed Signed-off-by: Sultanxda <sultanxda@gmail.com>
* Automatic translation importMichael Bestas2016-11-0249-16/+3030
| | | | Change-Id: Ibf6570431f34e33bdcec72bcae2a93aa3aabba80
* Automatic translation importMichael Bestas2016-11-02103-15655/+11651
| | | | Change-Id: I8a5ba161884f24c304c4ed250f1a68f3177a5f68
* Snap: Add icons to all remaining preferencesjrizzoli2016-11-0233-55/+593
| | | | | Change-Id: I0a06b550ae4137d0e665947d8a8574c3b26fcb95 Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* Snap: update shutter button stylejrizzoli2016-11-029-25/+73
| | | | Change-Id: Ide5fc0ff1c54e216ac7cd9bea202002d1d4dfa12
* Fix transparent background color.Danny Baumann2016-11-021-1/+1
| | | | | | Got broken in commit a4a443b4e2e393d3b0d0e201075a95b02fe0c377 Change-Id: I56d09ebcf762e51c98bd979541a65dad3037e1c0
* Drop new focus indicator into Camera2.Paul Rohde2016-11-026-0/+18
| | | | | | | * 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
* Snap: remove captureUI pngdrawablesjrizzoli2016-11-0248-1/+0
| | | | | | | CM now supports 90/270 degrees rotated vectordrawables Change-Id: I13b36463c60430564c00bd1e36393fff7ddbfdae Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* Snap: special handling of hdr-mode parameter for lge devicescodeworkx2016-11-021-0/+3
| | | | Change-Id: Iefee1f15f5649c2f93c59fcbdedcf953e9e0bc54
* Snap: support setting default preview resolution via overlaycodeworkx2016-11-021-1/+5
| | | | Change-Id: I14c17aec6e5d582cc1f884eba40868a58cab1d03