summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/VideoModule.java
Commit message (Collapse)AuthorAgeFilesLines
...
* Camera2: implement volume key zoom in video modejt11342015-09-171-0/+9
| | | | Change-Id: I140e8cfb3e39700f60e40c35b38e92c83a3c26de
* Camera: separate settings for color effectsjt11342015-09-171-1/+1
| | | | | | | 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 modejt11342015-09-171-0/+22
| | | | Change-Id: I83a2675e109dc7924cdd9240b26051ac218f532a
* Camera2: Remove CAF video duration codeMichael Bestas2015-09-171-20/+1
| | | | Change-Id: I583e212f3c43a5ddf80fdb16557b3ddd9e3161c2
* camera: Cleanup and compatibility fixesSteve Kondik2015-09-171-1/+3
| | | | | | | * Don't crash for unavailable integer parameters * Kill logspam Change-Id: I6dbcf5560f96ce6173a847501721f589766889bc
* camera: Add parameter debugging supportSteve Kondik2015-09-171-0/+3
| | | | Change-Id: Ifc1653f0046af169ba36d94796b4d9a3055c6798
* SnapdragonCamera: Hide UI after error-checking video preferencesSultanxda2015-09-171-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
* Snapdragon Camera: Use consistent API for preview fps resetEmilian Peev2015-08-291-5/+3
| | | | | | | | | | Instead of using preview fps range API during preview framerate reset use the fixed fps API. This is to avoid any inconsistent behavior that can be triggered when using both APIs from MediaRecorder and Snapdragon application side. Change-Id: Ib5251d8ea4d697db9bdea4e5ebf20606b286f54f
* Validate preview format before setting it to camera device.Santhosh Kumar H E2015-08-291-2/+5
| | | | | | | | | For 720p and 1080p video resolutions, nv12_venus preview format is being set. But few targets doesn't support this preview format. So validate the preview format with supported list before setting it to camera device. Change-Id: I29b3b2b412b04abf82c61c732414e00aa1bff243
* Camera: Set preview fps after recording.Suman Mukherjee2015-08-291-0/+12
| | | | | | | | 4k DCI recorded FPS is getting picked up from profile and not getting reset to preview FPS after stop recording. Fix made to set the preview FPS range after stop recording. Change-Id: I4892e6fcee3eefbcbd6ca9426e56e2303cdad844
* Camera2: Disable SeeMore feature during 4K videoShwetha Kotekar2015-08-291-2/+13
| | | | | | | If the video resoultion is 4K, disable SeeMore and show a toast message Change-Id: Ieb947f889d92fb8f9af5bf52c865555dce7eb1c4
* SnapdragonCamera: honor video duration limit in intentLikai Ding2015-07-231-10/+8
| | | | | | | The video duration limit read from intent is later overwritten by the value from preference. Change the order to honor the intent value. Change-Id: I833b1fbcecbbaeff48ff51144f5e584e91fb1838
* SnapdragonCamera: Don't disable the cameraWei Ding2015-07-221-1/+1
| | | | | | | | 1) Don't disable the camera activities if atleast one camera is detected. 2) Pass CameraID to know profile is supported or not. Change-Id: I307bf0c5ca228eef2ae69596f648fbdabff83398
* Merge "SnapdragonCamera: Customize camera video quality"Linux Build Service Account2015-04-151-1/+7
|\
| * SnapdragonCamera: Customize camera video qualitylikaid2015-04-151-1/+7
| | | | | | | | | | | | | | | | | | | | | | SnapdragonCamera's default video quality value was set to highest supported video resolution whitch was "720P" Add the default video quality value string "pref_video_quality_default" and overlay it to "VGA" CRs-Fixed: 815638 Change-Id: I5013880a42028e0663a3d22ffa3cddf87990146b
* | SnapdragonCamera: customize camera picture qualitylikaid2015-04-091-1/+1
|/ | | | | | | regional feature Change-Id: I4c80b4970ff4f628080cad20980aa545add6fdcf CRs-Fixed: 815630
* SnapdragonCamera: Handle CAMERA_ERROR_SERVER_DIED message gracefully.Sai Kumar Sanagavarapu2015-03-201-1/+1
| | | | | | | | | Handle CAMERA_ERROR_SERVER_DIED message from lower layers by finishing the activity and there by closing camera session and app gracefully. In all other error cases, raise exception and kill app as exists already. Change-Id: I86c4caf174356148bd4725329ea13ec82e944b94
* SnapdragonCamera: Fix app FC when time lapse and HFR is set to ONlikaid2015-03-111-3/+0
| | | | | | | | | | | 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
* Merge "SnapdragonCamera: Set highest supported video resolution by default."Linux Build Service Account2015-02-271-11/+3
|\
| * SnapdragonCamera: Set highest supported video resolution by default.Sai Kumar Sanagavarapu2015-02-271-11/+3
| | | | | | | | | | | | | | Instead of defaulting to CIF, set the highest supported video resolution as the default video profile. Change-Id: I6cb1eab905d193cbc03f528d0fbc81f5af49ab89
* | SnapdragonCamera: Throw error popup for unsupported video profile.Sai Kumar Sanagavarapu2015-02-271-0/+14
|/ | | | | | | Check if the quality selected has a matching camcorder profile associated and show error popup if not supported. Change-Id: If3e1e3d62b4e2e9c8c16b9e4a346cbfa93c0f92b
* SnapdragonCamera: circular thumbnail iconLikai Ding2015-02-171-4/+0
| | | | | | | | | | 1. change thumbnail icon to circular and its background to transparent 2. speed up loading with optimal sample size and region decoder 3. fix orientation bug regarding panorama photos 4. don't fire load task on fake onDataLoaded() call Change-Id: I7f4eb8dad4c54a01a7ccd98907e06952e470840b (cherry picked from commit ac714ea974b4bd0ef99403def5aa7d8a3deecc5d)
* SnapdragonCamera: Disable LPM if DIS/Flip are enabled.Sai Kumar Sanagavarapu2015-02-131-6/+26
| | | | | | | Low power mode has to be disabled if DIS or Flip are enabled, because we need pproc to process these. Change-Id: I00cc015f23f8e16d3acadc995ad2f6839c2d8333
* Merge "SnapdragonCamera: Improve app stop latency"Linux Build Service Account2015-02-061-2/+3
|\
| * SnapdragonCamera: Improve app stop latencyShalaj Jain2014-12-091-2/+3
| | | | | | | | | | | | | | | | | | Disable shutter button before starting/stopping recording on a shutter button click and enable it after without any delay. Add logs to know when shutter button is disabled/enabled. Change-Id: Ibca1e964d2e2fc1c1bd47c104f87289eb2a507bf
* | SnapdragonCamera: fix portrait orientationLikai Ding2015-02-021-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | 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: Set low power mode by default."Linux Build Service Account2015-01-181-0/+5
|\ \
| * | SnapdragonCamera: Set low power mode by default.Sai Kumar Sanagavarapu2015-01-111-0/+5
| | | | | | | | | | | | | | | | | | If low power mode is supported, set it ON by default. Change-Id: If51754220a333be1d2733bf97a5adedc94d9fd5a
* | | SnapdragonCamera: Quick icon disappear after stop record by home keykaiyiz2015-01-071-2/+2
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | Color effect and switch camera icons disappear if re-launch camera after press home key during recording video. The icons are hided when start record video, but show icons aren't called after stop video record by press home key. Show and hide icons should always be called when stop and start record video, so move the functions to stopVideoRecord and startVideoRecord. Change-Id: Ie4fe9102e226452502fcc382329cc0e01799b0cf CRs-Fixed: 777114
* | SnapdragonCamera: Enable video recording pause/resume from applicationSanthosh Kumar Thimmanna Bhattar2014-12-231-2/+2
| | | | | | | | | | | | | | | | | | - Video recording pause/resume feature is not working as it is disabled by commenting out the pause/resume function call from snapdragon camera application. - Fix is to enable the pause/resume function call from application Change-Id: If75ab41000d0c62259a46135246fafe3398f5fd9
* | SnapdragonCamera: Enable CPP duplication by defaultRajaram Gudivada2014-12-101-7/+13
|/ | | | | | | | | | | Set NV12_VENUS for preview stream, when both the below conditions are met 1. setprop "persist.camera.cpp.duplication" is enabled(Default value is enabled) 2. If both preview & video resolution's are exactly same Change-Id: I2b58091071c36a624d986f14bbe1abe9c95a4c18
* SnapdragonCamera: Fix compatibility issues with KK.Sai Kumar Sanagavarapu2014-11-261-3/+3
| | | | | | | | | 1. Remove openLegacy call to open camera. 2. Use generic camcorder profile query mechanism instead of hardcoding profile enums in app. 3. Fix NPE during startpreview if mParameters is null. Change-Id: I7bfc00f68f512c3029ca8ba75863583f1b376094
* SnapdragonCamera: Add preview thumbnail buttonByunghun Jeon2014-11-191-0/+4
| | | | | | Add preview thumbnail button and touch it to go to gallery Change-Id: Ib80ef94c677c204d7f0826356792aba2aa11d4d1
* Merge "SnapdragonCamera: Use MDP composition instead of GPU"Linux Build Service Account2014-11-191-5/+7
|\
| * SnapdragonCamera: Use MDP composition instead of GPUByunghun Jeon2014-11-171-5/+7
| | | | | | | | | | | | Use MDP composition instead of GPU Change-Id: I4f47d26365bd611242a21e66b232d7521b502b04
* | Merge "SnapdragonCamera: Modify SnapdragonCamera UI"Linux Build Service Account2014-11-191-2/+5
|\|
| * SnapdragonCamera: Modify SnapdragonCamera UIByunghun Jeon2014-11-171-2/+5
| | | | | | | | | | | | Modified SnapdragonCamera setting menus with new icons Change-Id: I726296dfb100ac81ad6f1cd84420ae27c0ae1201
* | Merge "SnapdragonCamera: Fix shutter button is disable after stop record video"Linux Build Service Account2014-11-171-0/+1
|\ \ | |/ |/|
| * SnapdragonCamera: Fix shutter button is disable after stop record videokaiyiz2014-11-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | The shutter button is disable before take a snapshot, and shutter button will be enable when called onPictureTaken, but enable shutter code will not be run when onPictureTaken is called after stopVideoRecording and sometimes onPictureTaken still not called. Enable shutter button when stopVideoRecording. CRs-Fixed: 703000 Change-Id: I4e7e2d17cfee33c7b91091f5c47ae85718054912
* | SnapdragonCamera: enable cpp duplication using system propertyVijay kumar Tumati2014-11-121-4/+10
|/ | | | | | | | This changes allows user to enable 1080P and 720p mirroring conditionally based on a system property (persist.camera.mirroring.enable) Change-Id: I7ec2cf7140682e496622c5874bc6667c33b03ad8
* Merge "SnapdragonCamera: To enable duplication for 720p"Linux Build Service Account2014-11-061-3/+11
|\
| * SnapdragonCamera: To enable duplication for 720psatyavaraprasad yerramsetti2014-11-041-3/+11
| | | | | | | | | | | | | | | | This will enable output duplication from cpp for 720p camcorder resolution same like 1080p resolution Change-Id: I7b4713fe4f8db5a175242d4ce265806f5acbda84
* | Merge "Camera2: Add See More feature in the menu"Linux Build Service Account2014-11-041-0/+9
|\ \
| * | Camera2: Add See More feature in the menuSanthosh Kumar Thimmanna Bhattar2014-10-271-0/+9
| |/ | | | | | | | | | | - User can select See More feature in video mode. Change-Id: I13636846cce67caeb6eb0b3e073399fdae2be471
* | Merge "SnapdragonCamera: Add OptimalJpegThumbnailSize selction logic in APP."Linux Build Service Account2014-11-041-0/+13
|\ \
| * | SnapdragonCamera: Add OptimalJpegThumbnailSize selction logic in APP.satyavaraprasad yerramsetti2014-10-311-0/+13
| |/ | | | | | | | | | | | | | | | | | | | | - Set a jpegthumbnail size that is closest to the Picture height and has the right aspect ratio. - Earlier this logic was implemented in HAL but due to CTS2 testJpegExif failure, moving this to APP CRs-Fixed: 748114 Change-Id: Ia2c97bf8cec7198ee291e63c3be9bbe5fb18b3b7
* | Merge "SnapdragonCamera: Enable TNR only in Video mode"Linux Build Service Account2014-11-041-1/+1
|\ \
| * | SnapdragonCamera: Enable TNR only in Video modeDimitar Borisov2014-10-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | - TNR is enabled in Video mode only - KEY_QC_VIDEO_TNR_MODE is updated correctly CRs-Fixed: 739136 Change-Id: If2ed62f38199b4353ffaae6bab693de87f7634d8
* | | Merge "Camera2: Fix video duration is wrong issue"Linux Build Service Account2014-11-021-1/+6
|\ \ \ | |_|/ |/| |
| * | Camera2: Fix video duration is wrong issueliangche2014-10-091-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | When mMediaRecorderPausing is true, video duration is equal to mRecordingTotalTime, which can fix video duration is wrong issue if use pause/resume. Change-Id: I71d41414bba11564cfe84166fbc18608636a73d1