| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
Two instances of camera preference were created and caused
the wrong preference instance is referenced when changing the
camera2 mode. Due to this, it corrupted the camera setting on
the other camera device.
To resolve the issue, create single instance of camera
preference and re-use it.
Change-Id: Ia1a6923a10b83e4c5777fb1318677c1f191942fb
CRs-fixed: 1025776
|
|
|
|
|
|
|
| |
Initialize preference before making the views visible.
Change-Id: Ie3d541c7fcb29ed86e0e9fd52a1a1e4ea870f009
CRs-Fixed: 982842
|
|
|
|
|
|
|
|
|
|
|
| |
Add SettingsManager to work as a database for settings.
It will handle all dependencies and populate the values.
Add scene mode and filter.
Restructure UI and menu by combining them and leave the
handling of settings to SettingsManager
Change-Id: I185163fdddbffd29434e6a9c41b33be6d3388f88
CRs-Fixed: 1018118
|
|
|
|
|
|
|
| |
Add zoom support to Camera2
CRs-Fixed: 989750
Change-Id: Id6b558ff5215f04ca7c201b1d1807521d615c353
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
A workaround to remove preview cover after picture is taken, if
preview cover is not removed right after preview started.
Change-Id: I723d70fde6ecaf7302714daa6648c85d8a40d1b4
CRs-Fixed: 1016691
|
|
|
|
|
|
|
|
| |
Instead of removing and adding the entire root view, changing only
core surface view on module change.
Change-Id: I5c39cf23b2a58280f4e4e8484865bbed0b12e1cf
CRs-Fixed: 979254
|
|
|
|
|
|
|
| |
Turning off LONGSHOT mode to off when ubifocus scene mode
is enabled.
Change-Id: I5a1ce6a2c9fa08715da40a41f4aae694bd7f8654
CRs-Fixed: 984742
|
|
|
|
|
|
|
|
| |
* Duplicate commit
This reverts commit 5933a0b131eb0d53f3ae0fb06d3a76a8f7a6c6a2.
Change-Id: Ib60d5c9dd463c007a3cffdc9be7897539713cd3d
|
|
|
|
|
|
|
|
|
| |
* On the OP3, we can only use Longshot in a single scene mode without
conflicting with other built-in postprocessing features which cannot
be disabled. Add support for this. When a scene specified in the
longshot-scenemodes list is active, continuous shot will be enabled.
Change-Id: I79878e5ac918e907ddc5b3ca168e49f4e06656c3
|
|
|
|
| |
Change-Id: I0d9b982dc9d817b40d59fc5fa58d542a213a3d1f
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
| |
* Most cameras do this by default, but on at least one device
it starts with the option disabled. This stops AEC from
updating during touch focus.
Change-Id: I4bdb6cdbad86f3798c0288d6a32b7e8062e297f3
|
|
|
|
|
|
|
|
|
|
|
|
| |
The toast "Enable Advanced Capture will disable Continuous Shot"
was shown every time when update the camera parameters, that made
user confused.
Move the toast to onSharedPreferenceChanged, show it only when
turn on the advanced features.
Change-Id: I34df735bb3928597093ba91a0ad10542014eeaae
CRs-Fixed: 869438
|
|
|
|
|
|
| |
add scene mode for optizoom and preference entry for chromaflash
Change-Id: I859a42e3273d340a7dda7e24c6cb2e08ddb0f7bf
|
|
|
|
|
|
|
|
|
|
| |
The camera device parameter was not re-set when the camera is
switched back from camcorder mode. This causes the camera mode
uses previous camera focus mode which was selected before
switching to camcorder mode.
CRs-Fixed: 1006900
Change-Id: I20bce0413d7f422da86acd44c39b27582593614d
|
|
|
|
|
|
|
|
|
|
|
|
| |
Occasionally, the previous preview frame is presented and
caused the screen flashing, when continuously triggering
suspend/resume.
To resolve the issue, hide the preview surface during
suspend and make it visible during resume. This helps
to clear the remaining preview frames in the buffer.
CRs-Fixed: 991416
Change-Id: I96fff0fdae6bd14263f33b1a9032604596cf49c1
|
|
|
|
|
|
|
| |
Reset the settings menu when the device is rotated
Change-Id: I6c4fed7207a4d26a9d7c29d18f6a7af17ef3d4f9
CRs-Fixed: 981504
|
|
|
|
|
|
|
|
| |
Calling media notify only once after the burst mode is finished.
This reduces latency of the processing call back.
Change-Id: I5ff4a369705cab4c8cee95f793733d2a0046e1d0
CRs-Fixed: 933866
|
|
|
|
|
|
|
| |
Fixes ui operation on background thread issue with always
enabling FD with TruePortrait on.
Change-Id: I976d206c2114aba1e1c5ae4b53959093c2836942
|
|
|
|
|
|
|
|
| |
Face detection should always be on when TruePortrait is enabled.
Menu item for FD will show on and disabled (not toggleable) when
TruePortrait is on.
Change-Id: Ibbe8b5aaede2590d2587e9f8094d84f8717a037a
|
|
|
|
|
|
|
|
|
|
|
| |
In Macro+ mode, it always started the refocus editor view when clicked
the preview thumbnail, that caused user could not view other pictures.
Reset the flag mLastPhotoTakenWithRefocus to false when onResume,start
the refocus editor only one time after take a picture with macro+ mode.
Change-Id: I07772772be0e6227b87c4f58c900a6c024cd2fdc
CRs-Fixed: 896098
|
|
|
|
|
|
|
| |
Cancel countdown capture when long press shutter button for longshot.
Change-Id: Ie33aba13139b0476085eb1f5256459f289d8af86
CRs-Fixed: 823502
|
|
|
|
|
|
|
|
|
|
| |
When the system try to unmount SDcard, it will kill the process which
hold the instance of media provider.
When camera is in idle state, do not keep the media provider instance.
Change-Id: Ie1edf2397544e613435f0930dba73da9660616cd
CRs-Fixed: 823334
|
|
|
|
|
|
|
|
|
| |
The menu may be not initialized when switch save path in PhotoModule.
Check the menu initialized state before switch save path.
Change-Id: Ibdc8d5510924b45f5abfc13f4d70dcf9620c8b7d
CRs-Fixed: 801619
|
|
|
|
|
|
|
|
|
| |
In non-zsl snapshot, focus manager is set to unlock AEC after setting
camera parameters in startpreview(). Due to this, AEC gets unlocked
only after next touch focus or any set param call. Fixed this by
changing the order during startpreview().
Change-Id: I320d7b37c7107ce2242a52979505ff04029a83fa
|
|
|
|
|
|
|
|
| |
HDR and continuous shot cannot be enabled at the same time. When
HDR scene mode is selected, disable the continuous shot feature
Change-Id: I2ba6d0fd6d09a3cd9de393e7d2c16303d434f972
CRs-Fixed: 979676
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If seeMore is enabled, send a disable command to HAL
to disable the CDS and TNR features.
Change-Id: I91bac0a01c58cb13ba32296739b47f74dc296003
SnapdragonCamera: Enable SeeMore option for 4k.
Currently SeeMore option for 4k recording is disabled.
As per requirements, enabling the same.
Change-Id: I69e84e0c20c199d80fc819f8aa6be62605bfbd79
SnapdragonCamera: Turning off CDS and TNR while SeeMore is on.
Ensuring turning off of CDS and TNR while see more feature is on.
Change-Id: I74c76f8b07046b8dca9db2be162b7ef20ba2d96d
CRs-Fixed: 937242
Camera2: Add StillMore option in Camera app menu
Add menu item for StillMore feature under the Advanced
Features item during camera preview.
Change-Id: I89ae260339896878ff4f1c5099885c6f3b05a18b
SnapdragonCamera: Changes to enable TNR processing by default.
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: Checking whether SeeMore is available
Checking if the preference is available.
Change-Id: Ie885b9312f2fe054e272d15b9a38e2cedf756632
CRs-Fixed: 957117
|
|
|
|
| |
Change-Id: Id93d5807fb4c4d14eeea33be0776a6f705a6c435
|
|
|
|
|
|
|
|
|
|
| |
Previously, we were checking if the selected JPEG quality was 100%
and not setting the JPEG quality if some conditions were met.
There isn't any history nor explanation on why we weren't setting
the JPEG quality to 100%, so just remove the redundant check.
Change-Id: Ie0ab555ad35942bd115751fd10e4f4c11fa7a76d
|
|
|
|
|
|
|
|
| |
Keep using modules instead of creating.
Don't remove the view without cleaning it.
Change-Id: I260a660cac3d770f7d02dfdc1881e15490da66a0
CRs-Fixed: 958510
|
|
|
|
|
|
| |
LGE HDR needs ZSL enabled
Change-Id: I563b7f7cd49fcf8aad35ca4b93f839dc0a591f01
|
|
|
|
|
|
| |
* Check if a preferred photo preview size is valid before using it.
Change-Id: Ia9580b68b60df9784f657df16b317748ff40a696
|
|
|
|
|
|
| |
Camera HAL not always return proper values
Change-Id: Id81fe40ac84b0ffb70560e55077d90544139e463
|
|
|
|
|
|
| |
* Hook up available metadata to the new focus manager.
Change-Id: I793df67a2682d8bb2dee994193111227dd8c8d5a
|
|
|
|
|
|
| |
This reverts commit 57799db3c1757618e00d331fe659ac4058624352.
Change-Id: I6027d853c9791a1b14c0dffcce038b450019735a
|
|
|
|
|
|
|
| |
* Don't needlessly break touch-to-focus during various modes
* Set focus parameters immediately for better UX
Change-Id: I39b287562c3d2b62a1d5c8953577e366b11b8e15
|
|
|
|
|
|
|
|
| |
Move the UI setting change to the UI thread instead of in
Camera thread.
CRs-Fixed: 931802
Change-Id: Ia38d0adf426c4ef7b3424df9649392ead9b0e604
|
|
|
|
|
|
|
|
|
|
| |
Some devices send multiple shutter callbacks for one captured frame in
longshot mode. As this causes mismatch between the calculated number of
captured frames and the calculated number of JPEGs received for those,
which in turn leads to longshot mode never being ended properly,
protect against that scenario by discarding all but the first callback.
Change-Id: I0c3a270f664a0cd16354fb0a13c5941a52001650
|
|
|
|
|
|
|
| |
* Some cameras simply don't set this parameter.
* Also set cur-focus-diopter to 0 if it's null.
Change-Id: Ib1049012de9a58279560c14ed77f83f52c07fe30
|
|
|
|
| |
Change-Id: I23e53333a0bbe2a12e64e87ec8594aeaa503e9fc
|
|
|
|
|
|
|
|
| |
* If ZSL is enabled, we should not resetTouchFocus between shots.
* Instead, re-kick the timer for each shot. If I set a focus point,
I want that point to stick while I take a succession of shots.
Change-Id: I407bb1e248cc902355d0294f47b071cc8a32fac3
|
|
|
|
|
|
|
| |
Introducing SelfieFlash feature.
Change-Id: I7b73d9db585038640b715092b01e037538ef68aa
CRs-Fixed: 937232
|
|
|
|
|
|
|
|
| |
On layout change, need to call preview size change again
as it's not guaranteed it's called first always.
Change-Id: I8a687fbf162924f36f2ff7be2a3ba1c6304b27f6
CRs-Fixed: 893423
|
|
|
|
|
|
|
|
|
| |
There is a corner case that onShutterButtonClick() is called before
camera device is configured. The change will make sure the camera
device exists before continuing the operation.
Change-Id: I2212572ea5c6073c3f62bdd38e83716b2427c87d
CRs-Fixed: 962579
|
|
|
|
|
|
|
| |
* java.lang.Integer.valueOf(string) method can't parse
hexadecimal values
Change-Id: I42706db72fc9c1093a7aa16440af449f731e5176
|
|
|
|
|
|
|
|
|
| |
Ensure that all of the updated camera parameters are propagated to the camera
HAL prior to restarting the preview. This fixes the split-exposure observed when
turning ZSL off and on without exiting the app.
Change-Id: I392549ae7cc75b150e01cf8b635d2e3f1ad6ffb9
Signed-off-by: Sultanxda <sultanxda@gmail.com>
|
|
|
|
|
|
|
|
|
| |
The exposure and white balance get stuck after taking photos with ZSL.
Always unlock the exposure and white balance after taking photos with
ZSL.
Change-Id: Ia34a54522048fdd619f44ac1f6d2924ce2c3fc6a
|
|
|
|
|
|
|
| |
User can now control the focus mode used while recording video.
Change-Id: I340c01a3f88314de67ca024279672276eff453ed
Signed-off-by: Sultanxda <sultanxda@gmail.com>
|