summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Snap: Support 1:1 aspect ratio"Arne Coucheron2016-02-161-4/+0
| | | | | | This reverts commit 4b6ac957f76dc33e77b05fe265a73737050ba50f. Change-Id: I7585ee977789eb9f90fe165870dcd1c230afc441
* 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-1521-136/+42
| | | | Change-Id: I19d8a3d5a12c4be06bced056b80ad1a354c6b761
* Snap: add resolutions used on Nexus 6Prazorloves2016-02-152-0/+6
| | | | Change-Id: If2b34b20ccd4d60b51b98ca1fea27c2eb4dd94aa
* Automatic translation importMichael Bestas2016-02-1455-112/+2276
| | | | Change-Id: I7590024e38db54ca4ee8cab74e0683196a65089f
* SnapdragonCamera: Fix NULL pointer exceptionJay Wang2016-02-111-1/+2
| | | | | | | | | There is a corner case that onShutterButtonClick() is called before camera device is configured. The change will make sure the camera device exists before continuing the operation. Change-Id: I2212572ea5c6073c3f62bdd38e83716b2427c87d CRs-Fixed: 962579
* Snap: Material toastsMichael Bestas2016-02-1010-3/+9
| | | | | | * Match the framework toast appearance Change-Id: I886862f3087bcd5cb1cfa76f72731292b7511d07
* Fix crash if Exif-Tag buffer-length and component-count are both 0tobigun2016-02-101-1/+1
| | | | Change-Id: Iad9b60d135b4f682c08c3bfc9698cdd10e1086ab
* Camera2: Only autofocus before a snap if we are actually in "auto" mode.Steve Kondik2016-02-101-4/+1
| | | | | | Original commit by cyanogen 7daaa72d35c1f8820117768e4b129acd030bcefb Change-Id: I51853913f6459b599176910f7f486f59972eaf36
* Snap: Fix crash when set infinite touch-focus durationMichael Bestas2016-02-102-2/+2
| | | | | | | * java.lang.Integer.valueOf(string) method can't parse hexadecimal values Change-Id: I42706db72fc9c1093a7aa16440af449f731e5176
* Snap: Expose video snapshot size settingMichael Bestas2016-02-071-0/+1
| | | | Change-Id: I6bf76a0a607e4c275a63c60b042ae239d893095f
* SnapdragonCamera: Set camera parameters before restarting previewSultanxda2016-02-071-0/+1
| | | | | | | | | Ensure that all of the updated camera parameters are propagated to the camera HAL prior to restarting the preview. This fixes the split-exposure observed when turning ZSL off and on without exiting the app. Change-Id: I392549ae7cc75b150e01cf8b635d2e3f1ad6ffb9 Signed-off-by: Sultanxda <sultanxda@gmail.com>
* Snap: Separate default focus time between camera/videoSultanxda2016-02-073-2/+3
| | | | | | | | | | | | | | 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-073-9/+19
| | | | | | | | | | | 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-02-074-0/+15
| | | | Change-Id: I5432554a40d7375ed7893c38cb2741a12cc8cc80
* SnapdragonCamera: Unlock AE/AWB after taking a photo with ZSLSultanxda2016-02-071-0/+1
| | | | | | | | | The exposure and white balance get stuck after taking photos with ZSL. Always unlock the exposure and white balance after taking photos with ZSL. Change-Id: Ia34a54522048fdd619f44ac1f6d2924ce2c3fc6a
* SnapdragonCamera: Lock AE and AWB for tap-to-focus in camcorderSultanxda2016-02-071-0/+20
| | | | | | | | Lock the auto exposure (AE) and auto white balance (AWB) when tap-to-focus is used in the camcorder. Change-Id: Ieb24e04b74a06b2390eb9302e74b4f69b1486951 Signed-off-by: Sultanxda <sultanxda@gmail.com>
* SnapdragonCamera: Always lock AE and AWB when auto-focus is usedSultanxda2016-02-071-0/+7
| | | | | | | | Lock the auto exposure (AE) and auto white balance (AWB) when tap-to-focus is used. Change-Id: I9d8e9b4928516e8b2bad7be958e5c4849db19ab6 Signed-off-by: Sultanxda <sultanxda@gmail.com>
* SnapdragonCamera: Add focus-mode option to camcorderSultanxda2016-02-078-27/+59
| | | | | | | 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
* Automatic translation importMichael Bestas2016-02-0249-16/+3030
| | | | Change-Id: Ibf6570431f34e33bdcec72bcae2a93aa3aabba80
* Snap: Don't crash when hardcoded gallery intent failsEthan Chen2016-02-011-8/+16
| | | | | | | * startActivity may also throw IllegalArgumentException in addition to ActivityNotFoundException when the component can't be found. Change-Id: Ia3124591c625f4c249f3c6f76a226e8178df6e9d
* 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
* Automatic translation importMichael Bestas2016-01-25104-15924/+11895
| | | | Change-Id: I8a5ba161884f24c304c4ed250f1a68f3177a5f68
* Snap: Restore flash mode settingCamera Software Integration2016-01-241-8/+33
| | | | | | | | | | | After user changes the scene mode back to "AUTO", making sure the flash mode is restored back to the correct value. Previously, the flash mode is forced to "OFF" if the scene mode is changed from others to "AUTO". Change-Id: I648ecc6945abb108c7bafa00c8e3e6d0cdd8f086 CRs-fixed: 927985 Signed-off-by: Zdrowy Gosciu <ZdrowyGosciu+GITHUB@gmail.com>
* Snap: Add icons to all scene modesjrizzoli2016-01-2438-39/+742
| | | | | Change-Id: Ie34f455460eb205de12c24be10a361e380db761f Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* Snap: Add icons to all remaining preferencesjrizzoli2016-01-2433-58/+597
| | | | | Change-Id: I0a06b550ae4137d0e665947d8a8574c3b26fcb95 Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* Snap: update shutter button stylejrizzoli2016-01-249-25/+73
| | | | Change-Id: Ide5fc0ff1c54e216ac7cd9bea202002d1d4dfa12
* Snap: do not restart preview during longshotscodeworkx2016-01-221-8/+9
| | | | Change-Id: I6ad439dc0be7c6e0d13ac7c22aacdc0ad559d051
* Fix up layout of auto HDR notice and histogram view.Danny Baumann2016-01-208-264/+230
| | | | Change-Id: I61f93c68b52d81c5e19919a5b0b894cf51dd35c4
* Remove unused menu indicators code.Danny Baumann2016-01-2013-547/+2
| | | | Change-Id: I0ce48da277a532b46fdde15027f636de4d7585b7
* Avoid static member variable.Danny Baumann2016-01-206-18/+24
| | | | Change-Id: I3758bb219552d22768afa0af83c69c6a5460693b
* Improve CameraControls layout code.Danny Baumann2016-01-203-322/+152
| | | | | | 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
* SnapdragonCamera: Fix UI alignment glitches when nav-bar is enabledSultanxda2016-01-202-2/+2
| | | | | | | | | Snapdragon Camera is immersive (i.e. fullscreen), so we expect to receive the actual size of the display here, not the modified size when the nav-bar is enabled. Change-Id: I942829f77dda0dbb9dd65a60e66a540eecf708e7 Signed-off-by: Sultanxda <sultanxda@gmail.com>
* Snap: Don't enable ZSL when disabling HDRGabriele M2016-01-201-1/+2
| | | | | | | Instead, restore the default value. This prevents issues on devices that don't support ZSL. Change-Id: I9c456cd6503df29800e2bc7ccaa691cb3fb42681
* 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: Fix overly-aggressive auto rotationSultanxda2016-01-191-2/+2
| | | | Change-Id: I534c0e36ac826b1d46befe99182bfbfb3b0f22da
* SnapdragonCamera: Clarify antibanding settingsSultanxda2016-01-191-2/+2
| | | | | | | 50Hz => Europe 60Hz => USA Change-Id: Id439a441e5883e64595f4abbde9c5c987930e054
* SnapdragonCamera: Add option to control antibanding in camcorderSultanxda2016-01-193-16/+14
| | | | | | | 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: Enlarge the saving queue size to 60Mlikaid2016-01-182-3/+3
| | | | | | | | | | | | | | | The picture would not be saved if the saving queue is full. Currently, the queue is very easy to reach 50M during continuous shot with the 13M pixel pictures, that caused many pictures lost during continuous shot. Change the saving queue max size to 60M will avoid this issue, mean while change the LOW_STORAGE_THRESHOLD_BYTES as the same value. CRs-Fixed: 851554 Change-Id: Ib93f05404371872f2b82d489378c01a6122ccb6b Signed-off-by: Zdrowy Gosciu <ZdrowyGosciu+GITHUB@gmail.com>
* Revert "Camera: Propagate power mode selection from UI to lower layers."Ricardo Cerqueira2016-01-168-105/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | 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-153-8/+1
| | | | 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-1534-243/+2134
| | | | | | | * 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: Actually select the highest quality video by defaultChristopher R. Palmer2016-01-152-2/+9
| | | | | | | | | | | Prior to this commit Snap assumes that the HAL returns the list of supported video sizes in descending order of quality and simply picks the first one from the list as the default quality. Instead, find the first matching entry of pref_video_quality_entryvalues that the HAL indicated was supported. Change-Id: Ifea79e0e16a9015557539e098317536a32b9ff1f