| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Reduce countdown timer option to "off, 2 secs, 5 secs and 10 secs"
Change-Id: I7ee49c0b7b7e8649b6d128d58de3562549ec2644
|
|\ \ \ \
| | |/ /
| |/| /
| |_|/
|/| | |
Change-Id: I7c9a290836bb0892d81f7cb329c1d70d298661d5
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
If snapshot is running avoid changing the
camera application state during handling of
'ON_PREVIEW_STARTED' messages.
Change-Id: I1654752d431d41d3219f235a08f77e1d7dd10c27
CRs-Fixed: 747816
|
|\| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is a new Longshot feature where in the snapshot frames
captured at ISP is @ 3fps and output JPEG encoded rate is @ 1.2 fps.
This can be enabled by setting following setprop with
the maximum number of snapshots.
adb shell setprop persist.camera.longshot.max <max_number>
e.g.:adb shell setprop persist.camera.longshot.max 10
If the number is -1, then the existing Longshot will be used.
Main changes:
1) The number of Snapshot/Preview/Metadata buffers are increased to
make sure no frames will be dropped @ ISP and to maintain burst fps.
e.g.: For max number of 10 snapshots, Snapshot buffers are increased to 9
from existing 6.
This buffer numbers are derived considering snapshot YUV frames @ 3 fps
and JPEG encoding @ 1.2 fps.
2) Shutter will be played after receiving YUV frame instead of reprocess frame.
3) New Longshot stop command is sent after receiving all the required YUV
callbacks or releasing the shutter before reaching Max number.
4) Existing Longshot off command is sent after receiving all JPEG CB.s for the issued
TakePictures() and also shutter button will be disabled until all the JPEG
callbacks are received.
Change-Id: Id0c21aeb67245530768bf3ab859d39dea7e2bc40
|
|/
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \ |
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
src/com/android/camera/PhotoModule.java
Change-Id: Ic27022cce6728704aeabcbb6bbcdf75850e45eaa
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When module is switched from camcorder to camera, on UI thread, it calls
setFlipValue and then setParameters in onOrientationChanged. Meanwhile,
background OpenCameraThread is modifying mParameters in startPreview().
This leads to a ConcurrentModificationException.
Check camera state in onOrientationChanged. If it's not IDLE, skip
setFlipValue and setParameter since these will be done in startPreview.
This change also fixes camera UI orientation during a landscape launch.
Change-Id: I15ed1e2bbbfc95f1b53b7309b72942d98350c564
CRs-Fixed: 815034
|
| | |\ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
When switch to camera in landscape, the UI is not to set to
landscape which make the setting icon display abnormal.
When switch to camera in landscape, make the UI to reset
the orientation.
Change-Id: I7c49cf7ac2bebfc2debd5b6e90449931ca6d6d74
CRs-Fixed: 803557
|
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fix preview broken when user goes to gallery using thumbnail in
portrait, rotates to landscape in gallery and back key to come
back to camera
Change-Id: Ib9a8ce69bfbb85573cae55da79901705f726cc22
CRs-Fixed: 802169
|
|\ \ \ \
| |_|_|/
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
regional feature
Change-Id: I4c80b4970ff4f628080cad20980aa545add6fdcf
CRs-Fixed: 815630
|
|\ \ \ \ |
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Coordinate direction is opposite in RTL mode.
Modify Coordinate direction in RTL mode.
Change-Id: I3fcd42fc27d430b486f9cccdde5ecec0d0468d30
CRs-Fixed: 819310
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
getCachedSize() has been changed recently resulting in an increased
failure rate. Restore old behavior in longshot memory check. Also,
remove some class members to save a little memory.
Change-Id: Ib5c22201be04387ffecb4052a8bbc92b2e924deb
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Camera give Gallery2 the newest picture's index is wrong
in RTL mode.
Give Gallery2 the correct index.
Change-Id: Ie0f3835f0a9ab46b408ffe0b4ea5dd60906267e0
CRs-Fixed: 816284
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Parameters if updated from different threads will lead to
concurrent modification exception in frameworks. To avoid
this, use synchronize block whereever the parameters are being
updated.
Change-Id: I51dd27e1b4836ddef910224331551806ff66b24d
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The app doesn't not eanble this funtion for setting SD card as the
default storage postion in Smartfren.
Check persist.env.camera.saveinsd overlay flag at Smartfren mode,
when sdCard is writeable, set sdCard as default storage for the
first time.
Change-Id: Ia71e5d97a78da121a8bccfcd0032928a17566023
CRs-Fixed: 815639
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In panorama capture mode, when user moved to the opposite from the
original direction, stop the capture and save current picture.
Change-Id: I716a08f2fc497301fb8a6c6a124211b855cd9a77
CRs-Fixed: 801022
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add broadcast receiver to monitor SDcard status, update the storage
space and hint when the SDcard was mounted or unmounted.
Change-Id: I4b114d42d26091588d745fee874c04d595d5cfa1
CRs-Fixed: 790983
|
|\ \ \ \ |
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When enter gallery quickly after taking snap,the onPictureTaken
in framework will not response which cause the picture can not
be saved and make this bug happen.
When judge the camera state is in the snap progress,not enter to
gallery so that the picture can be saved.
Change-Id: I79f74cdaf4c90ad71eb3f9b10a46027939fbffa7
CRs-Fixed: 811686
|
|\ \ \ \ |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The camera shutter button may be double clicked very quickly during
monkey test, which caused take_pic was dispatched twice.
Add flag to avoid multi thread invoke in onShutterButtonClick.
Change-Id: I7fb1f266f1c557327f0e5578f2c25e20092f0cf4
CRs-Fixed: 791045
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
It will pop up a alert dialog if something goes wrong while
generating mosaic. The alert dialog's rotation is not right,
as a result, the alert dialog's UI will gose wrong.
Use RotateLayout to set the rotation before we show the alert.
Change-Id: Iaa91e811393a90c9f28f98404d782d2cc2ad9fe9
CRs-Fixed: 805471
|
|\ \ \ \ \ |
|
| | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
When switch to camera in landscape, the UI is not to set to
landscape which make the setting icon display abnormal.
When switch to camera in landscape, make the UI to reset
the orientation.
Change-Id: I7c49cf7ac2bebfc2debd5b6e90449931ca6d6d74
CRs-Fixed: 803557
|
|\ \ \ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Change-Id: Id2d94a3be141a068f8a5e8ba461901b07700b7cb
|
|\| | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Change-Id: Ie585527fc0b8679359753b3ff6245add3d1e5530
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
|
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The postion of preview view wasn't centered after rotated device with
camera in background.
Adjust the view position when camera draws preview layout each time.
Change-Id: I488c25cda23f101cf1f1a10c54ca3d537474e53c
CRs-Fixed: 795482
|
| |_|/ /
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: Ia451a2fff983f3bfc850f066d7346d90d0a91dab
|
|\ \ \ \ |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
Add HDR as a scene mode to scene mode menu
Change-Id: I0d6d9c87d09e72dd24f6d1a2e26fab91f7cb700e
|
|\ \ \ \ |
|