summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* add support for non-standard iso keys and valuescodeworkx2018-01-263-8/+82
| | | | 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
* Snap: Fix filtering of unsupported camcorder color effectsMichael Bestas2018-01-261-0/+6
| | | | Change-Id: I365deeb17995175db873f6799cf0cde43ee61e96
* SnapdragonCamera: Reset camera state after taking pictureSultanxda2018-01-261-0/+5
| | | | | | mCameraState gets stuck to SNAPSHOT_IN_PROGRESS after taking a picture using autofocus/not ZSL, thus breaking camera capture. Properly reset the camera state after taking a picture to fix this.
* Camera2: Add option to set max screen brightnessMichael Bestas2018-01-2610-3/+59
| | | | | | * Set maximum screen brightness while the user is inside the camera app Change-Id: I8b16ba47a933bc7d6b0c1cd62bfd6ca54875ce1e
* Camera2: Headset shutter modeDave Daynard2018-01-263-0/+16
| | | | | | | Use play button on headset to take a picture/video/panorama Use media next/previous for zoom Change-Id: I25c22646b041e5e0941fbe361eccfe77a2a1e42f
* Camera: Handle keys only while in appMichael Bestas2018-01-263-11/+25
| | | | | | Thanks to Lars Greiss (SlimRoms) Change-Id: I63f757d25260fba4683f494f8b4daf178a2b4e13
* Camera: Cleanup hardware key handlingMichael Bestas2018-01-267-15/+102
| | | | | | | | | | | | | | | | | * Fix power shutter behaviour in camcorder mode * Disable volume change while in panorama mode, volume buttons should only handle camera operations while in the camera * Add camera/power/volume key shutter handling in panorama mode On devices with a hardware camera key: * Disable power & volume shutter features * Volume buttons control the zoom On devices without a hardware camera key: * When power shutter is disabled, volume buttons control the shutter (like AOSP) * When power shutter is enabled, volume buttons control the zoom Change-Id: I141946d5b6f5aec8b1e9a9f99270d30295596079
* Camera2: tweak volume key zoom and cleanupLars Greiss2018-01-264-42/+27
| | | | | | | | | - cleanup unused code - cleanup codestyle - add more zoom steps for smother zooming - show zoom circle indicator during zoom Change-Id: I5214fc2620a0c5167bfdc8e85f7115966c3b8bcf
* Camera: Powerkey shutter (2/2)Michael Bestas2018-01-2612-3/+111
| | | | | | | | | | | | | | 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
* Camera2: implement volume key zoom in video modejt11342018-01-262-0/+25
| | | | Change-Id: I140e8cfb3e39700f60e40c35b38e92c83a3c26de
* Camera: Change volume hard key button to zoom functionSu Liu2018-01-264-5/+79
| | | | | | | | Able to capture image through volume hard key button in camera application, change the function to zoom function. Change-Id: Iab9fc2492b2e2ff89cd58c21bac2f147f47b77e2
* Camera: separate settings for color effectsjt11342018-01-264-4/+5
| | | | | | | 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-264-0/+31
| | | | Change-Id: I83a2675e109dc7924cdd9240b26051ac218f532a
* Camera2: Remove CAF video duration codeMichael Bestas2018-01-2610-107/+4
| | | | 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: Don't report incorrect supported picture formatsLars Greiss2018-01-261-1/+1
| | | | | | | | | | | If camera HAL does not return valid picture formats do not show wrong defaults Currently it falls back to jpeg and raw to choose for the user. All our devices which do not have a proper return of picture format only support jpg. So remove the entry to choose in this case completely Change-Id: Ib4e4094ba0a57e7751f6568f6ec3c3f1dfc1ffb8
* camera: Make some parameter lookups saferSteve Kondik2018-01-261-21/+45
| | | | | | | | * Unsupported parameters that return int values will throw an exception at the framework level if they aren't supported. Handle this better and prevent crashes. Change-Id: If5a3807dba33167ef95e4ec9e9cbeb15ed4ed591
* Camera: Fix saturation, contrast, sharpness parametersEthan Chen2018-01-262-6/+6
| | | | | | | * Old-style QCOM HALs use <setting>-max, new style HALs use max-<setting> for these parameters. Change-Id: I3b0dbd04f072cb69d09c44b5b3af1097560205b3
* Camera2: More thorough compatibility fixesRyuinferno2018-01-262-6/+12
| | | | | | | Certain chipsets (such as omap) have contrast, sharpness and saturation set, but no max integer given for those Change-Id: I58efaef4d0a511aefc803a440e0c3aa3dbdc9483
* Camera: fix preview for landscape devicesPawit Pornkitprasan2018-01-263-9/+9
| | | | | | | | | | Landscape devices have broken preview because PORTRAIT mode is being abused to check for screen rotation. Use proper rotation check to fix. Ported from cm-10.2 Change-Id: I75588cbce9843e180e4be7591f6a43bcec788506
* Camera2: Preview needs to be stopped when changing resolutionPawit Pornkitprasan2018-01-261-0/+6
| | | | | | | | This was done in startPreview as a hack, but was removed in f729b85e12cfa2674048d8cce2f724014b8fc910. Specifically add it back when the resolution is changed. Change-Id: I306abd788bafdff4e6fba7eec4e6ff05bb3cc47c
* camera: Remove ICS hack to stop preview after takePictureSteve Kondik2018-01-261-6/+0
| | | | Change-Id: Idcecfc6399421bd5dc25dcf79548949cdd14621f
* 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: Proper fix for the missing video-sizes issueSteve Kondik2018-01-261-2/+5
| | | | | | * Just honor the defined camcorder profiles. Change-Id: I83e8fe2ca9bb489332f37767906bc7c56389f949
* camera: Check if video sizes are availableSteve Kondik2018-01-261-2/+3
| | | | | | | * Some drivers don't report video sizes and we should avoid using fine resolution lookup, otherwise a crash results. Change-Id: I8010e66d1a3a5e6f8a505ff3b50146cd24fc2b9c
* Camera: Add red-eye flash mode supportMichael Bestas2018-01-269-1/+11
| | | | | | Signed-off-by: Michael Bestas <mikeioannina@gmail.com> Change-Id: I3db982732d15fb4eb83d5e37bff1a123225d4e8e
* camera: Add all focus modes, scene modes, and color effects.Steve Kondik2018-01-266-70/+260
| | | | Change-Id: I255d73b6e221655f9592047ccf848460d985c3b3
* camera: Remove the luma-adaptation seekbarSteve Kondik2018-01-262-93/+0
| | | | | | * Not useful for any hardware I have encountered. Change-Id: I93cca2b3bf907cc01946a55111de9eb883475d24
* camera: Cleanup and compatibility fixesSteve Kondik2018-01-264-27/+62
| | | | | | | * Don't crash for unavailable integer parameters * Kill logspam Change-Id: I6dbcf5560f96ce6173a847501721f589766889bc
* camera: Add parameter debugging supportSteve Kondik2018-01-263-11/+31
| | | | Change-Id: Ifc1653f0046af169ba36d94796b4d9a3055c6798
* SnapdragonCamera: Hide UI after error-checking video preferencesSultanxda2018-01-261-1/+2
| | | | | | | | | | * Hiding the UI before error-checking the video preferences when video recording starts results in a broken UI when one of the error cases evaluates to be true. * Hide the UI after the error checking to prevent the UI from breaking when an error is found. Change-Id: Ia98798dbf2a33800d47497630714af17865767c6
* SnapdragonCamera: Re-enable ZSL after exiting HDR modeSultanxda2018-01-261-0/+4
| | | | | | * Make sure to check that HDR was changed before forcing ZSL back on. Change-Id: Ifb76263c3a50b919762fd2a313d6013295c0619f
* SnapdragonCamera: Initialize overlay before control-by-intentSultanxda2018-01-261-1/+1
| | | | | | | | * initializeControlByIntent() expects mVideoMenu to not be null and initializeOverlay() initializes mVideoMenu when it isn't null * Change the order the functions are called to prevent possible NPE Change-Id: I6d240892f3bd318031983243760d87ab46b25edb
* Snap: Bump targetsdk to 26Arne Coucheron2018-01-261-2/+1
|
* Snap: update iconjrizzoli2018-01-265-0/+0
| | | | | Change-Id: Ib155068ae1d4cb8f799fb06b4b37aa6dc4ce6417 Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* Snap: Remove old iconsMichael Bestas2018-01-266-9/+0
| | | | Change-Id: I07da25f50e52b4085deec1d520806afc6da5e1da
* Snap: Use AOSP app labelMichael Bestas2018-01-263-8/+6
| | | | Change-Id: I3d589945ea31f40890a94b43555268b6b3060e37
* snap: Fix module name conflictSteve Kondik2018-01-263-4/+4
| | | | | | * Change jni_imageutil to jni_snapimageutil Change-Id: I61eef66a439d1f7f3ef252a9e505789af80a2ace
* Snap: Fix jni compiler warningsMichael Bestas2018-01-263-5/+5
| | | | Change-Id: I091a8928a9a0674c54759ff8b384259d8f16793e
* tests: fix class nameDan Pasanen2018-01-262-2/+2
| | | | | | * fixes compile, we are not camera2 Change-Id: Ia7c463745e91ee02aa12f77c9e9d06b602692c4c
* Rename SnapdragonCamera to SnapMichael Bestas2018-01-266-11/+13
| | | | Change-Id: I1474550af7f45e53aa97819b42a91c961eeb6684
* Revert "SnapdragonCamera:Fix icons overlap"Arne Coucheron2018-01-261-2/+0
| | | | This reverts commit f47cca2d5e92cf2ed9ed154c32995e1e7e38b176.
* Revert "SnapdragonCamera: Add missing permissions"Arne Coucheron2018-01-261-2/+1
| | | | This reverts commit 53e8b4a71dd0515d922964f1326cbd550d6229f8.
* Revert "SnapdragonCamera: Reduce number of countdown timer option"Gopal G Goberu2018-01-261-2/+2
| | | | | | This reverts commit 57d77499b09d207187c8a1051bf043ba9fb43c84. Change-Id: I91faf90357f5563e594756c0b7a942c34bbee344
* Revert "SnapdragonCamera: Forbid volume key can take picture"Michael Bestas2018-01-264-15/+2
| | | | | | This reverts commit e73e717b8be1ba834161914af4debc61c1feb8be. Change-Id: Iee719f34f6016f89ec0bb1c078bfa25c2f718436
* Merge 3f48183d9994b7379b2abdf451ebc68e4053b681 on remote branchLinux Build Service Account2018-01-2013-20/+257
|\ | | | | | | Change-Id: I3434c43f6c4b34756aa8d848f6b8e6c71f2cdaee
| * Promotion of camera.lnx.3.0-00063.Linux Build Service Account2018-01-1612-19/+256
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CRs Change ID Subject -------------------------------------------------------------------------------------------------------------- 2165781 I50fdb2e04df8fcf7d5a09e248b6dc523afba6125 SnapdragonCamera:fix multi camera switch 2165781 Ieeb6f462024c3b155dc5fb532fd737313b9904de SnapdragonCamera:support multi camera switch 2165781 I4e69a5371b60ce55dee2468634b1e14956811f22 Snapdragon: Add bokeh enable options in dev 2165781 Ib0bef784648c0b76a5cb122eaed9859d724a899f Add SWITCH MODE Change-Id: I3e4f819a7c3e2a67019d56bbedd33ee9ef556276 CRs-Fixed: 2165781
| | * Merge "Snapdragon: Add bokeh enable options in dev" into camera.lnx.3.0-devCamera Software Integration2018-01-167-2/+114
| | |\