| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
When AutoFocus is started during Video Recording, CancelAutoFocus
is called after KEY_FOCUS_TIME seconds. CancelAutoFocus has the
side effect of resetting the sensor AF position and will result in
instant loss of focus which is not a desired event when AF is
manually triggered in case of Video Recording.
Change-Id: Icee7f6dfd4ad083c9b383ee2a4df6a34e4668de6
|
|
|
|
|
|
|
|
|
| |
During video recording if screen is tapped repeatedly, autofocus is
started while the snapshot is taken. This would either result in an
out of focus snapshot which would also disturb the focus in the recorded
video or crash the sensors that can't handle autofocus during snapshot.
Change-Id: If2763094f5ab7536e4409469276de54580e803c8
|
|
|
|
|
|
|
|
|
| |
* Available when video snapshots are not supported.
* Original from CodeAurora Forum.
Sultanxda: Adapted to Snapdragon Camera
Change-Id: I232c178430db08e7366aa9f91b4926d07e7c225d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix camcorder crashes on older devices
Revert "SnapdragonCamera: Fix compatibility issues with KK."
This reverts commit 0d33346534a728a1f8efaec05fcdccbe3e5440e1.
Revert "SnapdragonCamera: Throw error popup for unsupported video profile."
This reverts commit 3e50703cff0bc243b922a2299c58a45a4cbd91a9.
Change-Id: I1152180a590650a7583430936f3759d1831e91dd
|
|
|
|
|
|
| |
* Set maximum screen brightness while the user is inside the camera app
Change-Id: I8b16ba47a933bc7d6b0c1cd62bfd6ca54875ce1e
|
|
|
|
|
|
|
| |
Use play button on headset to take a picture/video/panorama
Use media next/previous for zoom
Change-Id: I25c22646b041e5e0941fbe361eccfe77a2a1e42f
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I140e8cfb3e39700f60e40c35b38e92c83a3c26de
|
|
|
|
|
|
|
| |
Store color effect settings for the camera and
video camera in their own separate preferences.
Change-Id: I8faa59b8663154737910b338906d27f9736d5ad9
|
|
|
|
| |
Change-Id: I83a2675e109dc7924cdd9240b26051ac218f532a
|
|
|
|
| |
Change-Id: I583e212f3c43a5ddf80fdb16557b3ddd9e3161c2
|
|
|
|
|
|
|
| |
* Don't crash for unavailable integer parameters
* Kill logspam
Change-Id: I6dbcf5560f96ce6173a847501721f589766889bc
|
|
|
|
| |
Change-Id: Ifc1653f0046af169ba36d94796b4d9a3055c6798
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
If the video resoultion is 4K, disable SeeMore and
show a toast message
Change-Id: Ieb947f889d92fb8f9af5bf52c865555dce7eb1c4
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
|
|
|
| |
regional feature
Change-Id: I4c80b4970ff4f628080cad20980aa545add6fdcf
CRs-Fixed: 815630
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Instead of defaulting to CIF, set the highest supported video
resolution as the default video profile.
Change-Id: I6cb1eab905d193cbc03f528d0fbc81f5af49ab89
|
|/
|
|
|
|
|
| |
Check if the quality selected has a matching camcorder profile
associated and show error popup if not supported.
Change-Id: If3e1e3d62b4e2e9c8c16b9e4a346cbfa93c0f92b
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
| |
Low power mode has to be disabled if DIS or Flip are enabled,
because we need pproc to process these.
Change-Id: I00cc015f23f8e16d3acadc995ad2f6839c2d8333
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
If low power mode is supported, set it ON by default.
Change-Id: If51754220a333be1d2733bf97a5adedc94d9fd5a
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- 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
|
|/
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Add preview thumbnail button and touch it to go to gallery
Change-Id: Ib80ef94c677c204d7f0826356792aba2aa11d4d1
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Use MDP composition instead of GPU
Change-Id: I4f47d26365bd611242a21e66b232d7521b502b04
|
|\| |
|
| |
| |
| |
| |
| |
| | |
Modified SnapdragonCamera setting menus with new icons
Change-Id: I726296dfb100ac81ad6f1cd84420ae27c0ae1201
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
|
|
|
|
| |
This changes allows user to enable 1080P and
720p mirroring conditionally based on a system
property (persist.camera.mirroring.enable)
Change-Id: I7ec2cf7140682e496622c5874bc6667c33b03ad8
|
|\ |
|