summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/VideoMenu.java
Commit message (Collapse)AuthorAgeFilesLines
* Snap: Arrange video menu so it's similar to photo menuArne Coucheron2019-10-251-7/+7
| | | | Change-Id: I3bd89db44663594871a992e6856f55fef8a70c85
* SnapdragonCamera: Add missing toast on HSR/HFR overrideAlex Naidis2019-10-251-0/+2
| | | | | | | | | Add in a missing toast to warn a user when the wanted HSR/HFR mode gets overriden due to the incompatibility with image stabilization. Change-Id: Ib81c50e8fad0bca075e6b33399321da42d77eb03 Signed-off-by: Alex Naidis <alex.naidis@linux.com>
* Snap: Allow switching beyond just 2 camerasChristian Frisson2019-10-251-1/+3
| | | | | | | | Some devices have dual rear cameras, which means that they will have more than just 2 camera ID's (0 and 1). For example, the LG G5 has 0, 1 and 2. Allow Snap to run cycle through more than just 0 and 1 Change-Id: I50d8b6c02c97961990b1fbf69b9cf706c422381c
* De-uglify menu.Danny Baumann2019-10-251-7/+4
| | | | Change-Id: I19d8a3d5a12c4be06bced056b80ad1a354c6b761
* Snap: Add focus time support in camcorderMichael Bestas2019-10-251-0/+2
| | | | Change-Id: I5432554a40d7375ed7893c38cb2741a12cc8cc80
* Snap: Expose video snapshot size settingMichael Bestas2019-10-251-0/+1
| | | | Change-Id: I6bf76a0a607e4c275a63c60b042ae239d893095f
* SnapdragonCamera: Add focus-mode option to camcorderSultanxda2019-10-251-0/+2
| | | | | | | User can now control the focus mode used while recording video. Change-Id: I340c01a3f88314de67ca024279672276eff453ed Signed-off-by: Sultanxda <sultanxda@gmail.com>
* Snap: Make developer menu more accessibleMichael Bestas2019-10-251-0/+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: Add option to control antibanding in camcorderSultanxda2019-10-251-0/+1
| | | | | | | 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
* Camera2: Add option to set max screen brightnessMichael Bestas2019-10-251-1/+3
| | | | | | * Set maximum screen brightness while the user is inside the camera app Change-Id: I8b16ba47a933bc7d6b0c1cd62bfd6ca54875ce1e
* Camera: Powerkey shutter (2/2)Michael Bestas2019-10-251-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
* Camera: separate settings for color effectsjt11342019-10-251-2/+2
| | | | | | | | | | | | | | | | | | | | | Author: jt1134 <jt1134@gmail.com> Date: Mon Jan 20 19:45:13 2014 +0200 Camera: separate settings for color effects Store color effect settings for the camera and video camera in their own separate preferences. Change-Id: I8faa59b8663154737910b338906d27f9736d5ad9 Author: Michael Bestas <mikeioannina@gmail.com> Date: Tue Aug 26 06:11:21 2014 +0300 Snap: Fix filtering of unsupported camcorder color effects Change-Id: I365deeb17995175db873f6799cf0cde43ee61e96 Change-Id: I7ee41923f8a7313eee06d5e0bf7e29a365d0af86
* Camera2: implement exposure compensation settings in video modejt11342019-10-251-0/+2
| | | | Change-Id: I83a2675e109dc7924cdd9240b26051ac218f532a
* Camera2: Remove CAF video duration codeMichael Bestas2019-10-251-2/+0
| | | | | Change-Id: I583e212f3c43a5ddf80fdb16557b3ddd9e3161c2 Signed-off-by: Chippa-a <vusal1372@gmail.com>
* SnapdragonCamera: Wrapper for QC APIweijiew2017-08-291-1/+1
| | | | | | | | | 1. Wrapper for Parameters 2. Wrapper for CameraInfo 3. Wrapper for CamcorderProfile 4. Wrapper for Camera 5. Wrapper for ExtendedFace Change-Id: I8c8605db3696bffc4d975c0bb6f74944ed23a6bd
* Merge "napdragonCamera: Fix crash when swith to fisheye" into ↵Camera Software Integration2017-02-281-14/+18
|\ | | | | | | camera.lnx.1.0-dev.1.0
| * napdragonCamera: Fix crash when swith to fisheyejunjiez2017-02-221-14/+18
| | | | | | | | | | | | | | | | Add judgement to avoid crash when preference of CameraSettings.KEY_VIDEO_HIGH_FRAME_RATE is null. Change-Id: Ifb8ffd585b6bc802d2252d63709da5d178bbd55d CRs-Fixed: 1111662
* | SnapdragonCamera: Add zoom option to developer optionJay Wang2017-02-191-1/+2
|/ | | | | | | | For automation testing, we need a way to adjust the zoom without using the pinch gesture. Therefore, adding zoom option preference to the developer option. Change-Id: I37f8c1b4f51682cb398d0a5f779f45128bdc19ec
* SnapdragonCamera: Fix FC does`t support Video high frame ratemingwax2017-01-201-12/+14
| | | | | | | | When the phone does`t support KEY_VIDEO_HIGH_FRAME_RATE, add judgment is not null pointer of condition. CRs-Fixed: 1112739 Change-Id: Ie3b860a96b4ae41c6c4669aab24a86974be61960
* SnapdragonCamera: Modify video preview UIjunjiez2016-12-121-2/+0
| | | | | | | | Ensure all the unuseful icons are hide when Show the video preivew UI. Change-Id: Ia59bb9d50a0d4e2cd8892faa74e6074725c4776e CRs-Fixed: 1099277
* SnapdragonCamera: Fix OutOfBoundsException in monkey testmingwax2016-09-071-0/+3
| | | | | | | | | | | | | In monkey test, set defaultValue operation in xml file, parsing XML in framework code, pref.getValue() return null when defaultValue not ready. When findIndexOfValue() failed to get the index of the value, it will return -1, but -1 can`t be the index of the array, it will cause exception. So if can`t find the index of the value, just go back and don`t execute the following code. Change-Id: I2b5595d7d558e3ab3863287e3d1424df141c5d59 CRs-Fixed: 1063228
* SnapdragonCamera: disable HFR when image stabilization turned onweijiew2016-08-161-0/+34
| | | | | | | | | HFR/HSR recording not supported with image stabilization, timelapse,HDR option.HFR/HSR menu must be disable when image stabilization,timelapse,HDR option are turn on Change-Id: I12573e57dab274297dff82b1a9082bc7602f2933 CRs-fixed: 1046239
* Merge "SnapdragonCamera: Remove custom location permission request window" ↵Linux Build Service Account2016-07-251-0/+5
|\ | | | | | | into camera.lnx.1.0-dev.1.0
| * SnapdragonCamera: Remove custom location permission request windowJay Wang2016-07-191-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
* | SnapdragonCamera: Add a persist setting to remvoe 4K limitationJay Wang2016-07-201-3/+7
|/ | | | | | | | When persist.camcorder.4k.nolimit is set to true, application allows the user to enable EIS and SeeMore at 4K resolution Change-Id: Ia838f78aa0d7dbdc981bf61b4640e2504d9ab75d CRs-Fixed: 1043548
* SnapdragonCamera: Changes to enable TNR processing by default.Guruprasad Gaonkar2016-04-141-2/+1
| | | | | | | | | TNR was disabled by default from UI. Change configures TNR for camera stream to improve image quality. CDS is disabled as TNR is enabled by default from now. Change-Id: I7c1bf9533c52b8642fb15f79625cec57cc85b6cf Crs-fixed: 890243
* SnapdragonCamera: Remove accessing to dialog stringsJay Wang2016-03-291-3/+3
| | | | | | | | | | Accessing to translatable strings can lead to unexpected behavior when non-English is selected as system language. Making change to remove any accessing to translatable strings. Change-Id: I687abdff984bf0e5680c34861fac8c1271b88ead CRs-Fixed: 993382
* SnapdragonCamera: Add face detection icon to videoJay Wang2016-03-021-0/+1
| | | | | | | Add video face detection to developer option CRs-Fixed: 978207 Change-Id: I9308573a5a1004fc3803a955bc96f495ecbfc6c7
* SnapdragonCamera: Disable NR when SeeMore is enabledJay Wang2016-02-191-58/+69
| | | | | | | | - Add condition to disable NR when SeeMore is enabled - Clean up the SeeMore conditional checking logic Change-Id: I191794c034e0c70818cee785516575d5642497ca CRs-Fixed: 972044
* SnapdragonCamera: Fix menu highlight issue when rotating deviceByunghun Jeon2016-02-061-0/+1
| | | | | | | | Fix menu highlight issue when rotating device by resetting highlight after rotation. Change-Id: Ib2dea3801e04afa69e8d43369213bfc2f166e413 CRs-Fixed: 970646
* SnapdragonCamera: Fix the memory leak on view.Jack Yoo2016-01-301-9/+2
| | | | | | | | Keep using modules instead of creating. Don't remove the view without cleaning it. Change-Id: I260a660cac3d770f7d02dfdc1881e15490da66a0 CRs-Fixed: 958510
* SnapdragonCamera: Fix the menu key name of filter mode.Jack Yoo2016-01-241-2/+2
| | | | | | | Correcting the key name of the filter mode menu. Change-Id: If52b31c55f62ffd5b65bc8336ec443cde0328101 CRs-Fixed: 951550
* SnapdragonCamera: Color Effect shows the current statusJack Yoo2016-01-241-4/+25
| | | | | | | Let the icon shows the current status of the color effect on/off Change-Id: I1c3719db15d4dd920b89591064cda372c7ab89be CRs-Fixed: 951550
* SnapdragonCamera: Checking whether SeeMore is availableCamera Software Integration2016-01-061-1/+2
| | | | | | | Checking if the preference is available. Change-Id: Ie885b9312f2fe054e272d15b9a38e2cedf756632 CRs-Fixed: 957117
* SnapdragonCamera: Turning off CDS and TNR while SeeMore is on.Camera Software Integration2015-12-221-0/+14
| | | | | | | Ensuring turning off of CDS and TNR while see more feature is on. Change-Id: I74c76f8b07046b8dca9db2be162b7ef20ba2d96d CRs-Fixed: 937242
* SnapdragonCamera: Moving Image Stabilization option to the menuCamera Software Integration2015-12-221-1/+19
| | | | | | | Moving Image Stabilization option to the menu Change-Id: I7fb025a3d1909af436e7a52ee9d602b2ce2dc68b CRs-Fixed: 937237
* SnapdragonCamera: add video snapshot size optionByunghun Jeon2015-10-291-1/+2
| | | | | | | | Add developer option to choose video snapshot size. The "Auto" option will revert back to old behavior of choosing the largest size with the same aspect ratio as the preview. Change-Id: Ice68aef1963c1199d30e1edde4cccf7203f8fbbf
* Revert "SnapdragonCamera: Use floating components during video record."Byunghun Jeon2015-10-291-2/+1
| | | | | | This reverts commit 59b05fd1d75943f037aec41def16cdceb6443ecf. Change-Id: I807bdbf0fe669a989d58484ab11451c891acaf5b
* SnapdragonCamera: Add noise reduction modes.Neelam Abhinav Karthik2015-09-281-0/+1
| | | | | | - Add menu for noise reduction modes Change-Id: Ie5cd6590e08938fb8fbb668ac1b48aac5fe801c3
* SnapdragonCamera: Use floating components during video record.Jay Wang2015-09-161-1/+2
| | | | | | | | During recording, there are only 2 widgets on UI. Directly attaching them to window manager and making main UI layer fully transparent can reduce power consumption. Change-Id: I8c4f4768ab91d50fc72080f0f6d7316ee2e60ef4
* SnapdragonCamera: Close setting/scene mode when setting is selectedByunghun Jeon2015-08-281-5/+1
| | | | | | | Close setting/scene mode when setting is selected Change-Id: I584b7eaea25774ec4906a40ddae2eda89646893e CRs-Fixed: 898871
* SnapDragon: Changes to fix popup menu issue in camcorderGuruprasad Gaonkar2015-04-291-3/+3
| | | | | | | In Camorcer application, setting menu were not responding sometime. Change is to fix popup state machine issue. Change-Id: I8bde95171caf30dccaaf8222dd6ecbfd92849da3
* Merge "SnapdragonCamera: Fix app FC when time lapse and HFR is set to ON"Linux Build Service Account2015-04-241-2/+31
|\
| * SnapdragonCamera: Fix app FC when time lapse and HFR is set to ONlikaid2015-03-201-2/+31
| | | | | | | | | | | | | | | | | | | | | | After HFR and time lapse both are on, the ListMenu is initialize again and mListMenu is set null which lead to NullPointerException happened. Don't initialize listmenu when it's showing, move toast to VideoMenu reference similar code in PhotoModule. Change-Id: I9eaa308cc1b5eccb7bc86a3da6ae99f09b280be9 CRs-Fixed: 796135
* | SnapdragonCamera: Popup menu doesn't support RTL modelikaid2015-04-091-35/+86
|/ | | | | | | | | Coordinate direction is opposite in RTL mode. Modify Coordinate direction in RTL mode. Change-Id: I3fcd42fc27d430b486f9cccdde5ecec0d0468d30 CRs-Fixed: 819310
* SnapdragonCamera: Set Flash to be the first menu in settingsByunghun Jeon2015-03-171-3/+3
| | | | Change-Id: Ia451a2fff983f3bfc850f066d7346d90d0a91dab
* Merge "SnapdragonCamera: Fix null pointer exception during monkey test"Linux Build Service Account2015-02-091-3/+6
|\
| * SnapdragonCamera: Fix null pointer exception during monkey testlikaid2015-02-091-3/+6
| | | | | | | | | | | | CRs-Fixed: 788421 788422 788437 788445 Change-Id: Ie77a53a73182b6642ce2e9f7de7c4c127e192f51
* | SnapdragonCamera: Do not show the filter button if not supportlikaid2015-02-051-1/+5
|/ | | | | | | | | | | The filter mode switcher button was always shown after video recording stopped. Check device capability from preference, if the device doesn't support filter mode, do not show the button. Change-Id: I0e3297437e4c22ba9c8ec8b36e0de60d673ce7b1 CRs-Fixed: 790252
* SnapdragonCamera: fix portrait orientationLikai Ding2015-02-021-42/+58
| | | | | | | | | | | | 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