summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/VideoMenu.java
Commit message (Collapse)AuthorAgeFilesLines
* Improve RTL layout behaviour.Danny Baumann2016-12-231-116/+57
| | | | | | | | - 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
* Use transparent navigation bar.Danny Baumann2016-12-231-14/+11
| | | | | | | Ensures a 16:9 preview isn't scaled on a 16:9 screen just due to the navigation bar being shown. Change-Id: I7ca7778b0405d3e9ac7ae1db3e7a56cacd703e3b
* Snap: Make developer menu more accessibleMichael Bestas2016-11-211-1/+30
| | | | | | | | | | | | | | * 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: UX improvements v1Steve Kondik2016-11-131-38/+21
| | | | | | | | | | | | | * 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
* De-uglify menu.Danny Baumann2016-11-021-7/+4
| | | | Change-Id: I19d8a3d5a12c4be06bced056b80ad1a354c6b761
* Snap: Expose video snapshot size settingMichael Bestas2016-11-021-0/+1
| | | | Change-Id: I6bf76a0a607e4c275a63c60b042ae239d893095f
* Snap: Add focus time support in camcorderMichael Bestas2016-11-021-0/+2
| | | | Change-Id: I5432554a40d7375ed7893c38cb2741a12cc8cc80
* SnapdragonCamera: Add focus-mode option to camcorderSultanxda2016-11-021-2/+2
| | | | | | | User can now control the focus mode used while recording video. Change-Id: I340c01a3f88314de67ca024279672276eff453ed Signed-off-by: Sultanxda <sultanxda@gmail.com>
* Avoid static member variable.Danny Baumann2016-11-021-2/+1
| | | | Change-Id: I3758bb219552d22768afa0af83c69c6a5460693b
* camera: Touch focus support for camcorderSteve Kondik2016-11-021-0/+2
| | | | | | | | | * Available when video snapshots are not supported. * Original from CodeAurora Forum. Sultanxda: Adapted to Snapdragon Camera Change-Id: I232c178430db08e7366aa9f91b4926d07e7c225d
* Camera2: Add option to set max screen brightnessMichael Bestas2016-11-021-1/+3
| | | | | | * Set maximum screen brightness while the user is inside the camera app Change-Id: I8b16ba47a933bc7d6b0c1cd62bfd6ca54875ce1e
* Camera: Powerkey shutter (2/2)Michael Bestas2016-11-021-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 effectsjt11342016-11-021-2/+2
| | | | | | | 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 modejt11342016-11-021-0/+2
| | | | Change-Id: I83a2675e109dc7924cdd9240b26051ac218f532a
* Camera2: Remove CAF video duration codeMichael Bestas2016-11-021-2/+0
| | | | Change-Id: I583e212f3c43a5ddf80fdb16557b3ddd9e3161c2
* 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
* 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: Add back missing setting menusByunghun Jeon2014-11-191-124/+560
| | | | | | Adding back missing setting menus Change-Id: I803d3f694b1953aa6a8932cbba6bb55c0d0e6352
* Camera2: Add See More feature in the menuSanthosh Kumar Thimmanna Bhattar2014-10-271-0/+1
| | | | | | - User can select See More feature in video mode. Change-Id: I13636846cce67caeb6eb0b3e073399fdae2be471
* SnapdragonCamera: Add support for CDS and TNR settingsDimitar Borisov2014-09-301-1/+48
| | | | | | | | | | | | | Add support for CDS and TNR settings - CDS and TNR can be controlled in photo mode and video mode. - CDS is set to off and cannot be set to other value when TNR is enabled - CDS value is restored when TNR is disabled again CRs-Fixed: 715042 Change-Id: Idf08403e38d0e3e634b047a955f2328b4237e691
* Camera: Add support for video rotationApurva Rajguru2014-09-031-0/+1
| | | | | | Adding menu items for video rotation. Change-Id: Ic684dd279f6c2f867e607ba6fbe3919db67b96f8
* SnapdragonCamera: Switch to SD card when internal storage is fullkaiyiz2014-08-211-0/+8
| | | | | | | | | | | | | | | | When internal storage is full, switch to SD card for storage. Change the save path from internal storage to SD card when updateStorageSpace is called if: 1. Internal storage is the current save path and does not have enough space 2. SD card has enough space Display a toast message and update display of the save path menu item when the storage path is switched. CRs-Fixed: 687210 Change-Id: I6a9804e4f64e6d55c6aebd889ac2ce5e887cfa5a
* Rename module and package name to co-exist with AOSP appSachin Shah2014-08-161-1/+1
| | | | | | | | Rename package from com.android.camera2 to org.codeaurora.snapcam, module name from Camera2 to SnapdragonCamera and app name from "Camera" to "Snapdragon Camera" Change-Id: I2800070e72631e119a15fe0132424d1047be9f0c