| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The picture would not be saved if the saving queue is full. Currently,
the queue is very easy to reach 50M during continuous shot with the
13M pixel pictures, that caused many pictures lost during continuous
shot.
Change the saving queue max size to 60M will avoid this issue,
mean while change the LOW_STORAGE_THRESHOLD_BYTES as the same value.
CRs-Fixed: 851554
Change-Id: Ib93f05404371872f2b82d489378c01a6122ccb6b
Signed-off-by: Zdrowy Gosciu <ZdrowyGosciu+GITHUB@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Photos taken in camcorder can't be previewed on PC via MTP mode. The
root cause is that, the actual image file size does not always match
the _size column in media provider database. During the saving process,
EXIF data are rewritten, but the size sent to media provider is not
updated accordingly.
Record bytes written in ExifOutputStream and OrderedDataOutputStream so
that after rewritting, the correct image size could be sent to media
provider.
Change-Id: I74d91e86d712c121eb50daecaf879ab4f5be97fc
CRs-Fixed: 711522
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When internal storage is full, switch to SD card for storage.
Change the save path from internal storage to SD card when
updateStorageSpace is called if:
1. Internal storage is the current save path and does not have
enough space
2. SD card has enough space
Display a toast message and update display of the save path menu
item when the storage path is switched.
CRs-Fixed: 687210
Change-Id: I6a9804e4f64e6d55c6aebd889ac2ce5e887cfa5a
|
|
|
|
|
|
|
| |
Add mime type 'image/jpeg', along with 'jpeg',
So the DISPLAY_NAME of captured picture is correctly saved.
Change-Id: I40a3c660311f1a3c69078ae3580dd74def9d69ba
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a feature to choose use SDcard or phone to store picture
and video captured by camera and camcorder.
Some of the changes are taken from:
I987a691c93edc4250fe0366d0623c85ea0152117
CRs-Fixed: 619806
Change-Id: I009df4c70f0a1b49b20750f806c799f025bb6197
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Delay onResume tasks to speed up lockscreen onResume->onPause->onResume launch sequence.
Import translations. DO NOT MERGE
gcam: Clean up placeholders, and add deletion robustness.
Fix issue of focus indicator staying on without being hidden
Ensure view size gets updated after phone decors change.
Show the 100% state of the progress at least one frame.
Add parameters and deduplicate parameter changes
Revert parallel opening camera in photo mode.
Differentiate the InProgressData from the normal PhotoData.
Close mode menus if another control is touched
Start gcam module directly when handling capture intent.
Import translations. DO NOT MERGE
Add a null check to fix NPE
Add logging to various actions
Ensure mOpenCameraThread has been setup before dereferencing.
Add logging to various actions
Ensure mOpenCameraThread has been setup before dereferencing.
Add GCam progress indicator.
hide preview cover on arrival of new preview data if hidden
Fix photo mode is getting stuck in a single CameraState.
...
Conflicts:
res/layout/photo_module.xml
res/values/arrays.xml
src/com/android/camera/CameraActivity.java
src/com/android/camera/PhotoUI.java
src/com/android/camera/Storage.java
src/com/android/camera/WideAnglePanoramaModule.java
src/com/android/camera/ui/FilmStripView.java
Change-Id: Ic41b4e7e07b2b0ed7936b78a6c5f05270d05985f
|
| |
| |
| |
| |
| | |
Bug: 11708734
Change-Id: I8a017a382f12165be27afbf78e733bcc1fc0ef6f
|
| |
| |
| |
| |
| |
| | |
Bug: 11050749
Change-Id: I374c5919d6da0609fccd21c09775fa91894d5a24
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- The longshot/burst pipeline mode uses an
optimized path for triggering 'takePicture()'
on each shutter callback. This should improve
the shot-2-shot time. In addition to this
there is also support for jpeg callbacks
that only contain a jpeg file path. The
callback in this case will only move the
file stored by the lower layers in the
correct directory.
- The longshot burst pipeline can be enabled
via this property:
"persist.camera.longshot.enable"<-"0/1"
- This change will allow longshot mode to
be triggered in non-zsl mode as well.
(Cherry picked from: I693366a7d06d3b386a8d96f86ee9a0574749c50b)
(Cherry picked from: Id630b2033f18d1c04a636597e910e695a8692ac8)
Change-Id: Idda8d58fc6d889128c1812c9c5ddadca3993c246
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
Previously picture format only have option for jpeg and raw,
but detailed raw image format is misssing from menu to choose.
Also, changes to save raw image to coorect path
are included.
(cherrypicked from commit c0028f9dbe178c3fed1bcb4af96eb0db4d2e2973)
Change-Id: Ifab7fd80e4a83370b2dc6932340005a06cc3552f
(cherry picked from commit 27f9245f35d0284c17d8d2fdf5576ea3879e7d33)
(cherry picked from commit 3c66703af119c06697f16303fadadbe956646cb3)
|
|
|
|
|
|
|
|
|
|
| |
1. Storage.LOW_STORAGE_THRESHOLD -> Storage.LOW_STORAGE_THRESHOLD_BYTE.
2. Checks for low storage before start preview in wide-angle pano mode.
3. Add low storage warning message for debugging when in wide-angle pano mode.
bug:10691367
Change-Id: Iffd96d322b33591c8f235fcf5680e86cf0f06571
|
|
|
|
|
|
|
|
|
| |
Move the exif related code under src.com.android.camera.exif.
Refactor the member variables under LocalMediaData.java.
Refactor the LocalData to make sure they are immutables for thread safety.
bug:10367037
Change-Id: I0e84bcc0097925b2be749fe016984177a68e0a4d
|
|
|
|
|
|
| |
bug:10263696
Change-Id: I3a16dba3aabe52b8103a2c591cfa39907265a263
|
|
|
|
|
|
|
| |
Note: Camera2 is a clone of Gallery2 right now.
Note 2: I will bring .mk files back later.
Change-Id: Ida958654296f5ebaacb6bb0ff59d52a7c37ce6fc
|
|
|
|
|
| |
bug:8115825
Change-Id: Iefcbbddbb7f9fed0c386214b428d4743f67d0dd9
|
|
Change-Id: I968efe4d656e88a7760d3c0044f65b4adac2ddd1
|