| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | |
| |
| |
| |
| |
| |
| |
| | |
Add intent interface to allow APT changing the UI settings
by adb command.
Change-Id: I28276ed398a09dceca6c5e59c755339fb229d1fd
CRs-Fixed: 1043197
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Camera1 uses CameraHolder for opening/releasing camera and
it does not release right away when closing camera.
This is done to optimize opening/closing but since Camera2
does not use CameraHolder, state is not proper when switching
between camera1 and camera2.
So ignore the timer and release right away when going from
camera1 to camera2.
Change-Id: Ibc40297817ebfca04e19097bd463f78aec4d75cd
CRs-Fixed: 1019338
|
| | |
| |
| |
| |
| |
| |
| | |
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
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When user quickly trigger the shutter button several times,it is
possible that taking picture fail and casues trigger snapshot
from start preview.
To resolve issue, reset the snapshot status when switch camera.
Change-Id: Ida4961d03668ac09e3fc35bff2d645e4d755eb10
CRs-fixed: 1042288
|
| |/
|
|
|
|
|
|
|
|
| |
When user triggers snapshot from key button, it is possible that
the camera control menu is not initialized and causes NPE.
To resolve issue, only process the snapshot request after control
menu is initialized.
Change-Id: I14f8739e48406d6008ae6e1d5463dffe997b0bd9
CRs-Fixed: 1045625
|
| |\
| |
| |
| | |
into camera.lnx.1.0-dev.1.0
|
| | |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |\
| |
| |
| |
| |
| | |
* changes:
SnapdragonCamera: Fix the crash caused by Ubifocus help menu
SnapdragonCamera: Adjust the low memory device threshold
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
In some cases, the Ubifocus UI operation is called from camera
thread and caused the exception. To resolve the issue, make sure
UI operation is done only in UI thread.
Change-Id: I07ef3392577169ecd642bf98a6c39de3580e963d
CRs-Fixed: 1032532
|
| |/
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |\
| |
| |
| | |
camera.lnx.1.0-dev.1.0
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |/
|
|
|
|
|
|
|
|
|
| |
1. Disable instant capture when ZSL is off or advanced features
are enabled
2. Change the instant capture option to support the selection of
aggressive AEC and fast AEC
CRs-Fixed: 998509
Change-Id: I60f7ed3a0fc93627dbf7527fbec2a60605aad683
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |\
| |
| |
| | |
camera.lnx.1.0-dev.1.0
|
| | |
| |
| |
| |
| |
| |
| |
| | |
1. Fix the logic on validating the auto HDR detection.
2. Move teh HDR indicator to more visible area
CRs-Fixed: 999660
Change-Id: I797f69edc847b94f60c637373b80278783c3dac8
|
| |\ \
| | |
| | |
| | | |
camera.lnx.1.0-dev.1.0
|
| | |/
| |
| |
| |
| |
| |
| |
| | |
Instead of removing and adding the entire root view, changing only
core surface view on module change.
Change-Id: I5c39cf23b2a58280f4e4e8484865bbed0b12e1cf
CRs-Fixed: 979254
|
| |\ \
| | |
| | |
| | | |
camera.lnx.1.0-dev.1.0
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The instant capture flag is set in a delayed runnable
and causes a race condition that the flag is not set before
camera thread configures the camera parameters.
To resolve the issue, sets the instant capture flag in the
main thread.
Change-Id: Ic44a5df4d10fb2c641835e94cd4ec6790c759b36
CRs-Fixed: 994361
|
| |\ \
| | |
| | |
| | |
| | |
| | | |
* changes:
SnapdragonCamera: Fix occasional touch AF/AEC detection failure.
SnapdragonCamera: Hide remaining photo counter
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
1. Fix the issue that during pause/resume, the preview region was
not set properly and focus manager ignore bottom part of preview
region.
2. On device with sensitive touch screen, single tap can be
detected as scroll gesture. Make change to consider scroll
gesture as single tap gesture if it is not the left swipe gesture.
Change-Id: I2139274e60799eac866b8bb70ea66144548b5845
CRs-Fixed: 997843
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |/
|
|
|
|
|
| |
Add zoom support to Camera2
CRs-Fixed: 989750
Change-Id: Id6b558ff5215f04ca7c201b1d1807521d615c353
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
Keep turning on face detection while beautification is on.
Change-Id: I6039b6fecf8cc8d11dea925eff18af6ddc9a0da7
CRs-Fixed: 986633
|
| |
|
|
|
|
|
| |
Turning off LONGSHOT mode to off when ubifocus scene mode
is enabled.
Change-Id: I5a1ce6a2c9fa08715da40a41f4aae694bd7f8654
CRs-Fixed: 984742
|
| |
|
|
|
|
|
|
|
|
|
|
| |
A developer option is added to support instant capture feature
in the camera HAL. Once option is enabled, Snapdragon camera
application will take a snapshot as soon as it is resumed from
the lock screen by pressing power button twice. For this to
work, user also needs to enable "Press power button twice
for camera" under display setting.
Change-Id: I84794759ee1edc9424c37b71bd0c2b761a77bee1
CRs-Fixed: 970691
|
| |
|
|
|
|
|
| |
Reset the settings menu when the device is rotated
Change-Id: I6c4fed7207a4d26a9d7c29d18f6a7af17ef3d4f9
CRs-Fixed: 981504
|
| |
|
|
|
|
|
| |
Initialize preference before making the views visible.
Change-Id: Ie3d541c7fcb29ed86e0e9fd52a1a1e4ea870f009
CRs-Fixed: 982842
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
Adding a property to skeip the memory check during continuous shot
CRs-Fixed: 978195
Change-Id: I45b24edd528339e9ca716581381c6890f355c8b7
|
| |
|
|
|
|
|
| |
This reverts commit bb4f9d9aaf595ca698946a9c6ab7ce747060367d.
CRs-Fixed: 978195
Change-Id: Iac7da127db7bb15bfd5607609c4c2be47a638aa7
|
| |
|
|
|
|
|
| |
If LongShot state is still active, avoid calling single snapshot.
Change-Id: I5dafa31cbbf669333f9fc385de08d5414cbaa1f5
CRs-Fixed: 965742
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Continuous pause & resume operation by pressing the power button
can cause the blank preview. The application close the camera when
there is onPause or screen off intent. Sometimes the resume comes
after screen off intent when user resumes the device quickly after
pausing the device. Because of this race-condition, the camera is
closed unintentionally.
To resolve the issue, re-structure the code to receive screen-off
intent only during video recording and stop the recording when
intent is received.
Change-Id: Ic993b83527b41dbbf53f63ef8ca25fa3a12fb77e
CRs-Fixed: 970172
|
| |
|
|
|
|
|
|
| |
Keep using modules instead of creating.
Don't remove the view without cleaning it.
Change-Id: I260a660cac3d770f7d02dfdc1881e15490da66a0
CRs-Fixed: 958510
|
| |
|
|
|
|
|
|
| |
To improve continuous shot fps, reduce the frequency of checking
memory and storage available.
Change-Id: I25a92103573186b11530f26cf2690ee3f1b088c2
CRs-Fixed: 933866
|
| |
|
|
|
|
|
|
|
| |
Closing pie renderer on auto focus change in case of
incomplete focus attempt.
Move focusmode menu to developer option too
Change-Id: I97faf95b640a8f4fedea8c5f2f8ca4ab020c8cca
CRs-Fixed: 961396
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Issue:
Both App & HAL not restarting the preview if Preview
"feature.restart" setprop is enabled and so app got freeze.
Fix:
Restart preview in APP if NON ZSL HDR is enabled.
CRs-Fixed: 953442
Change-Id: I4e2c9db20d5148de2b6b63288dc0d3eb75ee5a9c
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
Introducing SelfieFlash feature.
Change-Id: I7b73d9db585038640b715092b01e037538ef68aa
CRs-Fixed: 937232
|
| |
|
|
|
|
|
|
|
|
| |
Currently preview cover will be hidden shortly after preview started,
but if the actual first frame comes late, the main screen will flash.
Register a oneshot preview callback to hide preview cover.
Register the callback before calling startPreview.
Change-Id: Ia9910c4302a598bd1faef87eb630c5c838e12d3b
CRs-Fixed: 909772
|
| |
|
|
|
|
|
|
|
|
| |
After user changes the scene mode back to "AUTO", making sure
the flash mode is restored back to the correct value. Previously,
the flash mode is forced to "OFF" if the scene mode is changed
from others to "AUTO".
Change-Id: I8170597f7f4f22fd010d13e3f5de52de0f93ca32
CRs-fixed: 927985
|
| |
|
|
|
|
|
|
|
| |
While generalizing SnapdragonCamera app for any number of cameras we
have to handle a special case if number of camera's are less than 2.
If there is only 1 camera in the app then there is no camera switch
option and hence the corresponding switch icon object is null
Change-Id: I672708bb98a30054adaf916bb272b50cdd8d0091
|
| |
|
|
|
|
|
|
| |
Move the UI setting change to the UI thread instead of in
Camera thread.
CRs-Fixed: 931802
Change-Id: Ia38d0adf426c4ef7b3424df9649392ead9b0e604
|