| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In some situation, a portion of pref (enableRecordingLocation) is
created without first calling upgradeGlobalPreference first.
Leaving the pref without the version field and makes the application
thinks that the pref is in old version.
When it tries to do an upgrade on the pref later, it tries to getBoolean
for that location field, but that location field is already in string
format, making getBoolean throws an exception.
The best is to call upgradeGlobalPreference and upgradeLocalPreference
when the application starts.
However it should be no harm just add a simple guard in getBoolean
to avoid that sitation.
FEIJ-1258
Change-Id: Ic73078556b1a198a58968806091f8b0afd1ad6cc
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
Change-Id: I5432554a40d7375ed7893c38cb2741a12cc8cc80
|
|
|
|
|
|
|
| |
User can now control the focus mode used while recording video.
Change-Id: I340c01a3f88314de67ca024279672276eff453ed
Signed-off-by: Sultanxda <sultanxda@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
Instead of depending on a large matching table, generated the list
of picture sizes to show to the user directly from the supported
list returned by the camera. The list is filtered to remove
uselessly small resolutions on modern devices, to group resolutions
by aspect ratio, and to filter out fairly similar sizes.
Change-Id: I47a67a89786543baec133cf7e71df9819793ebac
|
|
|
|
|
| |
Change-Id: I9807c7f9303f17eb971ff1a82fbd35dfbdbfa529
Signed-off-by: Zdrowy Gosciu <ZdrowyGosciu+GITHUB@gmail.com>
|
|
|
|
|
|
|
| |
Removes the face detection option from preference list if
the "face-detection" camera parameter is blank/doesn't exist.
Change-Id: I2ec82ae38505b6674f1a34e98d1b1fb2dbc2a714
|
|
|
|
| |
Change-Id: I3f4dd8b76044389ee4d0d257e47b4ac90262ccc1
|
|
|
|
| |
Change-Id: Iaff1bee5ad6d48df2efe189955ba91bca8ec5c32
|
|
|
|
| |
Change-Id: I7721613f10a24cbd36eb0a3c5b0a46a98e828679
|
|
|
|
|
|
|
|
|
|
|
| |
Prior to this commit Snap assumes that the HAL returns the
list of supported video sizes in descending order of quality and
simply picks the first one from the list as the default quality.
Instead, find the first matching entry of pref_video_quality_entryvalues
that the HAL indicated was supported.
Change-Id: Ifea79e0e16a9015557539e098317536a32b9ff1f
|
|
|
|
|
|
|
|
| |
* Drop the use of the touchaf-aec parameter entirely. No camera needs
this anymore.
Change-Id: I83154a75e5375901dc6c0fc93aef23637cfdf425
(cherry picked from commit 8ba41f452222c87a733fd2d045f9c513fd8d7799)
|
|
|
|
| |
Change-Id: Iefee1f15f5649c2f93c59fcbdedcf953e9e0bc54
|
|
|
|
|
|
|
|
| |
* Older devices do not support parameters.getSupportedVideoSizes()
* Assume that the device reports valid profiles in media_profiles
* Remove dead code
Change-Id: Ic3488b6762496bd9498bc6bf8b48b2a2212bad51
|
|
|
|
| |
Change-Id: Id3393280c7c1c2f292d71587ba099e8dbafd1340
|
|
|
|
|
|
| |
Signed-off-by: Michael Bestas <mikeioannina@gmail.com>
Change-Id: Ib2c2c152a52b2616dd0da6f071f572d34fe64065
|
|
|
|
| |
Change-Id: Idf845a5f55abf9b72f61ac4bac59ee2258043482
|
|
|
|
| |
Change-Id: I3a948495cdf84dae3c1734d50ff91b4a5d3d9fc0
|
|
|
|
| |
Change-Id: I365deeb17995175db873f6799cf0cde43ee61e96
|
|
|
|
|
|
| |
* Set maximum screen brightness while the user is inside the camera app
Change-Id: I8b16ba47a933bc7d6b0c1cd62bfd6ca54875ce1e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
| |
Store color effect settings for the camera and
video camera in their own separate preferences.
Change-Id: I8faa59b8663154737910b338906d27f9736d5ad9
|
|
|
|
| |
Change-Id: I583e212f3c43a5ddf80fdb16557b3ddd9e3161c2
|
|
|
|
|
|
|
|
|
|
|
| |
If camera HAL does not return valid picture formats do not show wrong defaults
Currently it falls back to jpeg and raw to choose for the user. All our devices
which do not have a proper
return of picture format only support jpg. So remove the entry to choose in
this case completely
Change-Id: Ib4e4094ba0a57e7751f6568f6ec3c3f1dfc1ffb8
|
|
|
|
|
|
|
| |
* Old-style QCOM HALs use <setting>-max, new style HALs use
max-<setting> for these parameters.
Change-Id: I3b0dbd04f072cb69d09c44b5b3af1097560205b3
|
|
|
|
|
|
|
| |
Certain chipsets (such as omap) have contrast, sharpness and saturation
set, but no max integer given for those
Change-Id: I58efaef4d0a511aefc803a440e0c3aa3dbdc9483
|
|
|
|
|
|
| |
* Just honor the defined camcorder profiles.
Change-Id: I83e8fe2ca9bb489332f37767906bc7c56389f949
|
|
|
|
|
|
|
| |
* Some drivers don't report video sizes and we should avoid using fine
resolution lookup, otherwise a crash results.
Change-Id: I8010e66d1a3a5e6f8a505ff3b50146cd24fc2b9c
|
|
|
|
| |
Change-Id: I255d73b6e221655f9592047ccf848460d985c3b3
|
|
|
|
|
|
|
| |
* Don't crash for unavailable integer parameters
* Kill logspam
Change-Id: I6dbcf5560f96ce6173a847501721f589766889bc
|
|
|
|
|
|
| |
Add video encoder bit rate for 3840x2160@60FPS
Change-Id: Ieb7dc37dc658462b06dd316553fd6478b5132d01
|
|
|
|
|
|
| |
Move property to PersistUtil
Change-Id: I0735d8215ba302ef4c632d6a15ad95a04cd259a0
|
|
|
|
|
|
|
| |
Hide Chromaflash on Android O
Change-Id: I0a1e8f6db21fc3c9009fb50c3c090d2cd5c820d1
CRs-Fixed: 2027214
|
|
|
|
|
|
|
|
|
| |
1. Wrapper for Parameters
2. Wrapper for CameraInfo
3. Wrapper for CamcorderProfile
4. Wrapper for Camera
5. Wrapper for ExtendedFace
Change-Id: I8c8605db3696bffc4d975c0bb6f74944ed23a6bd
|
|\
| |
| |
| | |
camera.lnx.1.0-dev.1.0
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
|
|
|
|
| |
When mStride > mWidth, use the whole yuv bytebuffer to save JPG.
Add properties to control whether to print log.
CRs-Fixed: 1101620
Change-Id: I18cd27de8be542fc9440be6071ee55149b598ac5
|
|
|
|
| |
Change-Id: Ic681e0bcfabddcb313943d64e4487f15b934bd50
|
|
|
|
|
|
|
|
| |
Revert "SnapdragonCamera: Camera switches from bayer and mono on switching to front camera"
CR1088821 issue only fix in C7, revet on mainline
CRs-Fixed: 1088821
Change-Id: Iaf97765c1e9e77a1be92010b9503c7066ef21b96
|
|
|
|
|
|
|
|
|
|
|
| |
camera
Dual camera was not supported, camera was switched one by one.
Solution:
only select bayer when user switch front camera to rear camera
Change-Id: I814552aed1ee8889f309cb5de8df84f9bee42093
CRs-Fixed: 1088821
|
|
|
|
|
|
|
|
| |
- Configure the video encoder bit rate to the recommended value
- Add 60fps video frame rate support
Change-Id: I477487c4c4fab5479534896d90e08c3eadddc54f
CRs-Fixed: 1074187
|
|
|
|
|
|
|
|
|
|
|
| |
Update the supported video encoder list based on video
resolution. In addition, re-factor the run-time filtering
of HFR list to follow the same approach.
Finally, simplify the beautification dependency handling
logic by fixing the supported video resolution to 720x480.
CRs-Fixed: 1081552
Change-Id: I32b96f7ccf152ddf01400e9564e072e1bf1b68d1
|
|
|
|
|
|
|
|
|
|
| |
Add new UI called OneUI to Camera2.
It replaces icons, adds 2 new activities for scene menu
and setting menu.
There is no module change anymore
Change-Id: If712e6af7bbc29726dae387168aefbcd2d7c1ea9
CRs-Fixed: 1066519
|
|
|
|
|
|
|
| |
Shutter sound menu to choose on/off
Change-Id: Id5ea22a837cd658c3278160a21c74b519f1bc212
CRs-Fixed: 1050663
|
|
|
|
|
|
|
| |
Selfie mirror menu for front camera1.
Change-Id: I2e6845c9e25481106f51772b5d3dfd0a971a2be7
CRs-Fixed: 1050663
|
|\
| |
| |
| | |
camera.lnx.1.0-dev.1.0
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Filter picture resolution with duplicate name.
There can be 2 different picture resolutions with the same name.
Take only the first one.
Change-Id: I9a472d958b829d3dce9559d4fcacb5d0dfd3e598
CRs-Fixed: 1025767
|
|\| |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Fix initial camera id to proper value.
Previously it was always using 0 as initial id
Change-Id: Ifc8d63ba2bccb4afcc25445d6713e28732e7deb4
CRs-Fixed: 1018118
|