| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| | |
This reverts commit 57d77499b09d207187c8a1051bf043ba9fb43c84.
Change-Id: I91faf90357f5563e594756c0b7a942c34bbee344
|
|\ \
| | |
| | |
| | | |
Change-Id: I4b111d981352b99ff7f9e6c2dc43915d30aef16b
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Move focus mode to developer mode since it cannot be selected
unless ZSL is turned on which is also in developer mode
Change-Id: Id441da1c706f8151df2fc291247e8267428d19b6
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The video duration limit read from intent is later overwritten by the
value from preference. Change the order to honor the intent value.
Change-Id: I833b1fbcecbbaeff48ff51144f5e584e91fb1838
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
1) Don't disable the camera activities if atleast
one camera is detected.
2) Pass CameraID to know profile is supported or not.
Change-Id: I307bf0c5ca228eef2ae69596f648fbdabff83398
|
|\ \ \ \
| |/ / /
|/| / /
| |/ / |
Change-Id: Id3b9c49abaf37f414e116a0bd8c25671c5db0db8
|
| |\|
| | |
| | |
| | | |
Change-Id: Ic93d1c84122b5aaf6b852f0797badf124d12ed5f
|
| | |\ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The image size may change after add the jpeg exif header. If the real
file size was not match the _size column in media provider database,
the picture will not be opened on PC via MTP mode.
Get the real file size after add exif, and save it into provider db.
Change-Id: I832d24f4e38e0fd2e2f0fa536bb94927c4ab442a
CRS-Fixed: 854308
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When the captured picture was 3:2 aspect ratio (e.g 720x480),
the image was deformed on camera preview, since it
was treated as 4:3 ratio on preview layout.
Change-Id: I4c170f53c9dfdc7e90ee736631be02cef1f574c2
CRs-Fixed: 857138
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When the captured picture was 3:2 aspect ratio (e.g 720x480),
the image was deformed on camera preview, since it
was treated as 4:3 ratio on preview layout.
Change-Id: I4c170f53c9dfdc7e90ee736631be02cef1f574c2
CRs-Fixed: 857138
|
|\| |
| | |
| | |
| | | |
Change-Id: I0a3817609dff98fec486666e2b63686c075f1ae3
|
| | |
| | |
| | |
| | |
| | |
| | | |
Fix Zoom UI's orientation
Change-Id: I9c14b08729e099c263d612289ccb8b7ed757168b
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
In monkey usecases, shutter button can be clicked really fast
even before app's state is set properly. This can lead to
multiple takepicture calls to lower layers. Since HAL
maintains state machine and doesnt allow such operations, error
will be thrown.
To avoid such situations, make onShutterButtonClick() a synchronized
method so that only one thread can access it at a time.
Change-Id: Icbb052966dc671521bafb3404f4ced58d723bc71
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Made changes to pass Auto HDR enable/disable status
from Applicaiton to HAL using string instead of key
Change-Id: I6e8d1b83e10b390f4d5a8eee113238797316e821
|
|\ \ \ \
| | |/ /
| |/| |
| | | | |
Change-Id: Ie693f6e825fc448c6303315592eb4192ef5765ea
|
| |\ \ \
| | | |/
| | |/|
| | | | |
Change-Id: I17e24633ed9618c9bffb89703e15b5fe3faa067d
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|\ \ \ \ |
|