summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/PhotoMenu.java
Commit message (Collapse)AuthorAgeFilesLines
* SnapdragonCamera: Add SettingsManager, scene, and filterByunghun Jeon2016-08-251-11/+3
| | | | | | | | | | | Add SettingsManager to work as a database for settings. It will handle all dependencies and populate the values. Add scene mode and filter. Restructure UI and menu by combining them and leave the handling of settings to SettingsManager Change-Id: I185163fdddbffd29434e6a9c41b33be6d3388f88 CRs-Fixed: 1018118
* SnapdragonCamera: Make switcher visible only when it wasJack Yoo2016-08-251-1/+13
| | | | | | | | Make switcher button be visible only when it was set to be visible in first place. Change-Id: Id0df702b990bbada02ac25eb6981c6bd5e4082b0 CRs-Fixed: 995902
* SnapdragonCamera: Add Camera2 modeByunghun Jeon2016-08-251-1/+28
| | | | | | | Use camera2 API to show preview and take snapshot CRs-Fixed: 989750 Change-Id: I07e2d6743529b3d3d5acecf667e9493465a094c9
* Snap: Make developer menu more accessibleMichael Bestas2016-08-201-24/+27
| | | | | | | | | | | | | | * 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
* SnapdragonCamera: Remove custom location permission request windowJay Wang2016-08-181-0/+5
| | | | | | | | When user enables the GPS locaion setting, use Android's run-time permission request interface to get the permission. Change-Id: Ib17171aeff5ccf20e2b00da08243dee1a3383611 CRs-Fixed: 1038039
* snap: Fixes for advanced features and scene modesSteve Kondik2016-08-031-0/+12
| | | | | | | | * Get rid of the annoying toast when longshot is disabled * Add support for ChromaFlash as a scene mode * Adjust overrides for various scene modes Change-Id: Ifda1990f4e9b3435655664f2a6c2b31fc3ae23fa
* SnapdragonCamera: implement optizoom and chromaflash UILikai Ding2016-08-031-0/+13
| | | | | | add scene mode for optizoom and preference entry for chromaflash Change-Id: I859a42e3273d340a7dda7e24c6cb2e08ddb0f7bf
* SnapdragonCamera: Fix the issue that camera control is removedJay Wang2016-08-031-4/+7
| | | | | | | | Fix the issue that camera control menu is removed after HDR icon is clicked from camera control menu. Change-Id: I6e7c1a81fa356d0fa6cb5eb336ef844266a1bbf0 CRs-Fixed: 1038311
* SnapdragonCamera: Resolve camera control overlapping issueJay Wang2016-08-031-0/+4
| | | | | | | | | | Clicking beautification icon right after clicking camera switching icon can cause overlapping of camera controls and beautification controls. To resolve issue, hide the UI controls during camera switching. Change-Id: I5c4b96ce10c0d44e8c63c41207a4ec3d09312b51 CRs-Fixed: 977967
* SnapdragonCamera: Fix menu highlight issue when rotating deviceByunghun Jeon2016-08-031-0/+1
| | | | | | | | Fix menu highlight issue when rotating device by resetting highlight after rotation. Change-Id: Ib2dea3801e04afa69e8d43369213bfc2f166e413 CRs-Fixed: 970646
* SnapDragan: Changes to enable UI option for ASD mode.Guruprasad Gaonkar2016-07-301-0/+6
| | | | | | | ASD menu was not available on latest snapdragon application. Changes provided to enable scene modes. Change-Id: If02e97c4912ade7463055c8fefc35d10009a7c9e
* Snap: Extend user menu, disable dev menucodeworkx2016-05-141-15/+27
| | | | Change-Id: Iaa64372e5d196fd0117a32a386686bdb1fd51e45
* Improve RTL layout behaviour.Danny Baumann2016-04-251-138/+64
| | | | | | | | | | - Swap top menu items order in RTL - Swipe in menu from the right in RTL - Make it possible to select scene/filter items in RTL - Remove/clean up some nonsense code Change-Id: I884a06f5cc6e72a1d2ee19dbdf32ce511c8466ec JIRA:NIGHTLIES-2849
* Properly respect navigation bar size when laying out menus.Danny Baumann2016-04-031-26/+22
| | | | | | | | For top level menus, add padding so all menu items can be scrolled to not be covered by the navigation bar. For sub menus, place them to not be covered by the navigation bar. Change-Id: I22961c19b7bf80a26eec03b5feabfda10e910669
* SnapdragonCamera: Implementing SelfieFlash featureCamera Software Integration2016-02-171-0/+2
| | | | | | | Introducing SelfieFlash feature. Change-Id: I7b73d9db585038640b715092b01e037538ef68aa CRs-Fixed: 937232
* De-uglify menu.Danny Baumann2016-02-151-14/+7
| | | | Change-Id: I19d8a3d5a12c4be06bced056b80ad1a354c6b761
* Avoid static member variable.Danny Baumann2016-01-201-2/+1
| | | | Change-Id: I3758bb219552d22768afa0af83c69c6a5460693b
* SnapdragonCamera: Hide all camera setting when countdown timer startslikaid2016-01-141-0/+17
| | | | | | | | | | | | Camera setting including module switcher scene mode filter mode and front/back camera switcher should not be used during countdown timer, since it may cause unexpected concurrent errors. Hide all the camera settings when countdown timer starts, show them again after countdown. Change-Id: I79c2add63c61d304fe0948e1c9fefe3a8c1a6fee CRs-Fixed: 900086
* Snap: Remove touch AF/AEC optionSteve Kondik2016-01-141-3/+0
| | | | | | | * Drop the use of the touchaf-aec parameter entirely. No camera needs this anymore. Change-Id: I83154a75e5375901dc6c0fc93aef23637cfdf425
* SnapdragonCamera: Fix rtl photo menu touch issuelikaid2016-01-081-0/+5
| | | | | | | | The touch rect is not correctly checked on RTL mode. Recheck touch rect range on preview menu. Change-Id: I40e980377f1765c9caea397a3be085142dd006ce CRs-Fixed: 904563
* Snap: Fix NPE when switching flash modesmyfluxi2016-01-071-3/+5
| | | | | | If device does not support AE bracketing. Change-Id: I6ec89518addbc786a01291e9f7dd3be3d83cb588
* SnapdragonCamera: Enable the TNR option in camera modeTanmaya Godbole2016-01-071-1/+0
| | | | | | | | | | | The TNR option was previously greyed out in the menu for camera mode, so it was not possible to enable temporal denoise. Now, the TNR option is no longer greyed out, and users may enable or disable this feature as they wish. Change-Id: Id6c0f613982e954ecb1410f1290a10608cbfc675 CRs-Fixed: 791534
* Snap: add support for shutter speedcodeworkx2016-01-061-0/+2
| | | | Change-Id: Id3393280c7c1c2f292d71587ba099e8dbafd1340
* Snap: Add touch-to-focus timeout duration settingsjt11342015-09-201-0/+2
| | | | | | Signed-off-by: Michael Bestas <mikeioannina@gmail.com> Change-Id: Ib2c2c152a52b2616dd0da6f071f572d34fe64065
* Snap: Remove CAF beautification featureMichael Bestas2015-09-201-192/+16
| | | | | | | | | | | | Revert "SnapdragonCamera: Move the files to the correct location" This reverts commit c25b2d510285512dbb60547353190433f1dbb984. Revert "SnapdragonCamera: Add beautification feature to SnapdragonCamera." This reverts commit c1cea7c15b2e463f37c17f2a4ce61ce689ec7088. Change-Id: If01e4f438a58e4210a3eddf090d426895ecbae87
* Camera2: Add option to set max screen brightnessMichael Bestas2015-09-171-1/+3
| | | | | | * Set maximum screen brightness while the user is inside the camera app Change-Id: I8b16ba47a933bc7d6b0c1cd62bfd6ca54875ce1e
* Camera: Powerkey shutter (2/2)Michael Bestas2015-09-171-1/+4
| | | | | | | | | | | | | | 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
* Revert "SnapdragonCamera: Move focus mode to developer mode"Gopal G Goberu2015-08-031-1/+2
| | | | | | This reverts commit 4d37b1187636819cc06ef099fdf2ac7a5fec49f5. Change-Id: I58866cba3af38dee6416714be7458d766f7560ce
* SnapdragonCamera: Move focus mode to developer modeByunghun Jeon2015-07-141-2/+1
| | | | | | | Move focus mode to developer mode since it cannot be selected unless ZSL is turned on which is also in developer mode Change-Id: Id441da1c706f8151df2fc291247e8267428d19b6
* SnapdragonCamera: Popup menu doesn't support RTL modelikaid2015-04-111-35/+85
| | | | | | | | | Coordinate direction is opposite in RTL mode. Modify Coordinate direction in RTL mode. Change-Id: I3fcd42fc27d430b486f9cccdde5ecec0d0468d30 CRs-Fixed: 819310
* SnapdragonCamera: Add beautification feature to SnapdragonCamera.Zhang Zhenzhen2015-03-231-16/+193
| | | | Change-Id: Ie585527fc0b8679359753b3ff6245add3d1e5530
* Merge "SnapdragonCamera: Set Flash to be the first menu in settings"Linux Build Service Account2015-03-191-2/+2
|\
| * SnapdragonCamera: Set Flash to be the first menu in settingsByunghun Jeon2015-03-171-2/+2
| | | | | | | | Change-Id: Ia451a2fff983f3bfc850f066d7346d90d0a91dab
* | Snapdragon: Add HDR to scene mode menuByunghun Jeon2015-03-171-14/+29
|/ | | | | | Add HDR as a scene mode to scene mode menu Change-Id: I0d6d9c87d09e72dd24f6d1a2e26fab91f7cb700e
* Merge "SnapdragonCamera: Disable filter mode when HDR is on"Linux Build Service Account2015-02-091-15/+13
|\
| * SnapdragonCamera: Disable filter mode when HDR is onkaiyiz2015-01-231-15/+13
| | | | | | | | | | | | | | | | | | | | | | | | When HDR was on, filter mode was invalid,it has no effect on preview, besides, scene mode had been changed to auto, but the scene icon didn't change. When HDR is ON, disable filter mode, and change scene mode icon to auto. Change-Id: I1e43021f0441b13549b6511a18252679299beec8 CRs-Fixed: 782599
* | SnapdragonCamera: fix portrait orientationLikai Ding2015-02-021-53/+69
|/ | | | | | | | | | | | Fix camera activity to portrait, so there is no delay when rotation occurs. Main changes are: 1. RotateLayout now supports padding and dynamically added child. 2. Camera controls and gesture detetion are now orientation-aware. 3. Toasts are replaced with RotateTextToast. 4. Obselete layout files are removed. Change-Id: I338849bd7fb84b847eb357f771a24a5cc09bf6fa
* Merge "SnapdragonCamera: implement refocus feature"Linux Build Service Account2015-01-181-0/+11
|\
| * SnapdragonCamera: implement refocus featureLikai Ding2015-01-141-0/+11
| | | | | | | | | | | | | | | | Add a scene mode for refocus. If the latest photo is taken with refocus, user can click on the preview thumbnail, then refocus it by tapping on the photo. Change-Id: I2fd69439467f5a1e33d23d8d239aa3472d88b585
* | SnapdragonCamera: Fix null pointer exception in SnapdragonCamerakaiyiz2015-01-151-4/+10
|/ | | | | | | | | | Null Pointer exception occurred in Camera during monkey test. Add null pointer check before use them. Change-Id: I992f6b8f8dc6b91947ec3e4d703b4e9b72996f67 CRs-Fixed: 780252
* SnapdragonCamera: fix settings list can't disappear after resume camerakaiyiz2015-01-101-7/+10
| | | | | | | | | | | | | Normal the animateFadeOut will be called when activity paused, but if click sub menu just before pause activity, the animateFadeOut will be blocked by flag POPUP_IN_ANIMATION. Make animateFadeOut and animateSlideOut use different flags for judge whether need to start animation or not. Change-Id: I49a0cb8f70771ccdd292b589a266a5417f78c6ef CRs-Fixed: 778167
* SnapdragonCamera: Fix app crash when camera not support scenemodeJing (Mia) Wang2014-12-201-7/+7
| | | | | | | | | | | The front camera is not support set scenemode, the layout for show scenemode isn't initialize and NPE happened, which lead to app crash. The scene mode button shouldn't display when scene mode is not support. CRs-Fixed: 773391 Change-Id: I9c65fb5b65ecb276660b3281a5a591f7a3f2a134
* SnapdragonCamera: Add back missing setting menusByunghun Jeon2014-11-191-272/+875
| | | | | | Adding back missing setting menus Change-Id: I803d3f694b1953aa6a8932cbba6bb55c0d0e6352
* SnapdragonCamera: Add support for manual 3A params.Sai Kumar Sanagavarapu2014-11-071-1/+7
| | | | | | | | | | | | | | | | Add UI support to take inputs from user for the following 3A paramters 1. Manual focus : a. Scale mode 0-100 b. Diopter mode 0-10 2.White balance: a. CCT b. RGB gains 3. Exposure control a. ISO b. exposure time Change-Id: I92ea3719fa2224e02943bb2191987c7654aaf9ea
* Merge "Camera2: Add Multi-touch UI and control in apps."Linux Build Service Account2014-11-041-1/+4
|\
| * Camera2: Add Multi-touch UI and control in apps.Santhosh Kumar Thimmanna Bhattar2014-10-271-1/+4
| | | | | | | | | | | | Changes to support multi-touch focus feature in application Change-Id: I3dc0f3bf5cd71554856a00795e82d52f36066eeb
* | Merge "Camera2: Add FSSR in Advanced features menu."Linux Build Service Account2014-11-041-0/+3
|\|
| * Camera2: Add FSSR in Advanced features menu.Santhosh Kumar Thimmanna Bhattar2014-10-271-0/+3
| | | | | | | | | | | | | | 1.Add FSSR option in Advanced features menu. 2.Query supported FSSR modes and enable FSSR. Change-Id: I40b9c7875483d022a1561b17aeb90d2e4cb789ce
* | Merge "Camera2: Add TruePortrait in Advanced features menu."Linux Build Service Account2014-11-041-1/+4
|\|
| * Camera2: Add TruePortrait in Advanced features menu.Sai Kumar Sanagavarapu2014-10-271-1/+4
| | | | | | | | | | | | | | 1.Add TruePortrait option in Advanced features menu. 2.Query supported TruePortrait modes and enable TP. Change-Id: I3e9bd54ab8e495eabb591bd380cf0553715e938a