| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Handle Camera device errors from lower layers gracefully by finishing
the activity and there by closing camera session and app.
Also, display a toast message signifying the error because of
which camera app is being shutdown.
Change-Id: I86c4caf174356148bd4725329ea13ec82e944b94
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently the AutoHDR functionality which handles
metadata callbacks always assumes that the length
of the callback data buffer will be equal to 12
bytes. It will always try to read and convert 3
32-bit integers. The check before this processing
is incorrect as it allows buffers which are less
than 12 bytes to be processed as well. This can
lead to array out of bounds exceptions, which are
also possible during FD snapshot metadata
callbacks that don't contain any faces. In this
particular scenario the metadata callback buffer
size will be 8 bytes.
Change-Id: I4094aaa56aa4135d2d806861353d49c8d7f9985c
CRs-Fixed: 799110
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently the application contains logic which
will lock AE&AWB before snapshot if AF didn't
get triggered. Unlocking happens during image
capture though and will get ignored because
the camera state is already set to
'SNAPSHOT_IN_PROGRESS". This sequence of events
can have side effects w.r.t. flash. To avoid
this AE&AWB should always be unlocked before
snapshot.
Change-Id: I7b1d53fdd87f7e9c1a1bb3530e4c5a87a7b05605
|
| |\ \ |
|
| | | |
| | |
| | |
| | | |
Change-Id: Ie585527fc0b8679359753b3ff6245add3d1e5530
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In continuous shot mode, we do not update the preview thumbnail for
each snapshot, instead, update it only once at the end of shotting
with the final jpeg data.
Change-Id: I388fb42688992f1e4ff8d3b7243d9f564bfe777a
CRs-Fixed: 795476
|
| |\ \ \
| | |/
| |/| |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Currently the flash mode on application side will
be set to 'auto' during scenes different from
'auto'. Due to the manual white balance modes used
in these scenes it makes more sense to actually
have flash mode set to off.
Change-Id: Iaae2bc0d392f9dc384a68ad6390f9510eb7a65ed
CRs-Fixed: 765000
|
| |\| | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Both AWB&AE are currently locked during longshot.
This can have side effects for cases which utilize
torch flash.
Change-Id: I1fec80a3a869c1a71be8d724b1b8771e88411ae5
CRs-Fixed: 770028
|
| |\| | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
An additional check needs to be added for the
focus manager initialization during handling
of the shutter button focus event.
Change-Id: Ie43a2376f42644ec493ffe1af53c9c5a1c279ec4
CRs-Fixed: 766843
|
| |\| |
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
If snapshot is running avoid changing the
camera application state during handling of
'ON_PREVIEW_STARTED' messages.
Change-Id: I1654752d431d41d3219f235a08f77e1d7dd10c27
CRs-Fixed: 747816
|
| |/
|
|
|
|
|
| |
Add menu item for StillMore feature under the Advanced
Features item during camera preview.
Change-Id: I89ae260339896878ff4f1c5099885c6f3b05a18b
|
| |
|
|
|
|
|
|
| |
Enable longshot to backend only after AF done. This will help
in storing 3A related params after AF result based on longshot
enable/disable event.
Change-Id: Iebdb9b324e758125704959d9a67ba0d0a6772e7a
|
| |
|
|
|
|
|
|
|
|
| |
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)
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
Set histogram rotation during orientation change.
Change-Id: I6f9a6fb9a1761fc3a7f926f16794f8db8b61c78c
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When the surface was ready, the preview data may not come yet, that
caused the desktop ui flashed in the camera when relaunching camera.
Delay the occasion of dismissing preview cover until onPreviewStarted.
Change-Id: I80b751bd19889683d784b94827b668efa817ff02
CRs-Fixed: 789076
|
| |\ \ \ |
|
| | | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Camera couldn't take a snapshot when the available storage space is
less than 50M. When calculate remaining photos, didn't subtract low
storage threshold bytes.
Subtract low storage threshold bytes when calculate the remaining photos.
Change-Id: I774442e97ef8847a731167f7ef00454642632902
CRs-Fixed: 779420
|
| |\ \ \ |
|
| | |/ /
| | |
| | |
| | |
| | |
| | | |
CRs-Fixed: 788421 788422 788437 788445
Change-Id: Ie77a53a73182b6642ce2e9f7de7c4c127e192f51
|
| |\ \ \
| |/ /
|/| | |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The remaining photo number wasn't update after change the save path
from SD card to phone storage, that caused the left number not matched
current setting.
Update it in onSharedPreferenceChanged, make it matched with the
current save path setting.
Change-Id: I544c5baca8a30f8c7dbd8d71962300ae320e9de5
CRs-Fixed: 786966
|
| |/
|
|
|
|
| |
Dont change copyright year of photomodule.
Change-Id: I6b07b652d8caaa7df6931af0cab9b62d0ab41760
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |/
|
|
|
|
|
| |
Use ZSL+HDR feature check to disable AE-bracketing if not supported,
because HDR internally uses AE-bracketing only.
Change-Id: I47abe4373e643b1a790c50ada34bd481b3ee0031
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
Add portrait option to scene mode
Change-Id: I5c29e896734eab25e8f21adb142006081ea1c851
CRs-Fixed: 777753
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The function update preview thumb is not called in macro+ mode.
Fix the logic about macro+ mode, treat 7th picture as a normal
picture taken.
Change-Id: Icdd8f93d3feeb09eea67a3077b5ebf82508543cc
CRs-Fixed: 783720
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If surface gets destroyed while Camera open thread is still trying
to start preview, camera app state machine will go into toss. Next
time when surface gets created again, it might try to set preview
surface again while previewing leading to app exception. So, sync
surface destruction and camera open threads.
Change-Id: I6ba4103559766c327d2bc55887a0f7df1b4b0d40
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| | |
updateRemainingPhotos() may be called from background thread. Fix
it by posting to main thread.
Change-Id: Iad14f0a40c10a245e3a7178f5a7f1383eca72ad8
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When switch from VideoModule to PhotoModule, opencamera will run in
onResume rather than init() and start preview must be executed after
open camera.This lead to start preview slowly.
Open camera when module init for run start preview as early as possible.
so the flag mIsModuleSwitchInProgress isn't needed.
Reference similar action in VideoModule's init().
CRs-Fixed: 741089
Change-Id: I5a8fd18ef944fbc28f1b61470a4f389d3096c8ef
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add a scene mode for refocus. If the latest photo is taken with
refocus, user can click on the preview thumbnail, then refocus it
by tapping on the photo.
Change-Id: I2fd69439467f5a1e33d23d8d239aa3472d88b585
|
| |\ \ \ |
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Null Pointer exception occurred in Camera during monkey test.
Add null pointer check before use them.
Change-Id: I992f6b8f8dc6b91947ec3e4d703b4e9b72996f67
CRs-Fixed: 780252
|