History log of /packages/apps/Gallery2/src/com/android/gallery3d/data/LocalImage.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e56abc7049e35f705161086fe51d0ecdbf451b8b 21-Sep-2013 John Hoford <hoford@google.com> prevent editing of GIF

bug:10642974
Change-Id: Ic61da19f6106c9d42c5b39ae9cc0cf0765f6d1ae
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalImage.java
723bf81990245a07739146ac10357703c9839de1 08-Aug-2013 Sascha Haeberling <haeberling@google.com> Remove Camera from Gallery2.

Change-Id: I89adebffcacd1269217d7bd8c630c2f78886f590
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalImage.java
09169dd269f1a82efb83ea1cebf75abe4daabd26 18-Jul-2013 ztenghui <ztenghui@google.com> Update Uri instead of removing

In this way, the processing service can have a better presentation.
The cache key now include the file Uri and local abs path if exists.

bug:9468909

Change-Id: I0919c09ad26bea2e798c99ad376996547f8f2bf8
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalImage.java
24d6ec7beb37eb3a5449f1fa49b4adb123391d24 13-Jul-2013 nicolasroard <nicolasroard@google.com> Add background processing service

bug:7298624

Change-Id: Ie79f88fd84fdf8f4dab6a8071f06a819e247b357
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalImage.java
b3f62e4ed7a80010017dc3893460ca9043afb383 11-Jun-2013 ztenghui <ztenghui@google.com> Setup the saving framework to support hiding original photo for editor.

This new approach will try to hide the original image into an auxiliary
directory. User will only see one edited image, while being able to go
back to the original image in the editor.

Refactor SaveCopyTask for more private funcs and more comments.

bug:9468909
Change-Id: I866321d23e6db0b3dbd08fec2a6a7e3142b17b65
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalImage.java
6e6a524390d8ddebce5de0dcc8ae258e652ec80a 12-Mar-2013 Ruben Brunk <rubenbrunk@google.com> Exif parser modifications.

Bug: 8018327
Change-Id: I66a2ec309f9807ac255bbf29d8f5f26de60e89b8
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalImage.java
dcb9deb9654ba141bfbf9788eab2bc3c83a8f24f 06-Dec-2012 Earl Ou <shunhsingou@google.com> Apply ExifModifier for rotation

Change-Id: Ifa3cee7816ffeacab2415f479234856916acfecf
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalImage.java
4b4dbd225685502f4249c2bf25bf74f7ce526645 18-Oct-2012 George Mount <mount@google.com> Remove panorama checks from supported operations.

Bug 7351383
Bug 7349438
Move panorama support checks from getSupportedOperations so
that calls to getSupportedOperations are consistent. Panorama
checks are moved to only based on callbacks.

Change-Id: Id9ff138204df84c6fb0a4c971dcea59f1220aee2
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalImage.java
84440670da46866867ace3be2c358a54db984a6d 14-Oct-2012 Wu-cheng Li <wuchengli@google.com> Remove old camera classes.

bug:7201108
Change-Id: I539d02c411c654238d7e5e0c34e9ec3e6e6d4d90
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalImage.java
5273e8306410d19e2e2cf6234bfe0a05097be874 12-Oct-2012 Bobby Georgescu <georgescu@google.com> Improve performance of filmstrip

Bug: 7336758

Change-Id: I22dbf2e75bc069341a9bbc2c4dcdf7750f23be7f
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalImage.java
423e45e492d4ebdc41ecfeba73299de23b1463c4 12-Oct-2012 Mangesh Ghiware <mghiware@google.com> Refresh panorama image after stitching completion

Bug: 7336784

Updating photo refreshes the supported operations which indiate if said
MediaItem is a panorama or not.

Change-Id: If3a169c9256b3f898594a30740930b5dfd96dba0
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalImage.java
825afb1b3e7d15b5c258d664ee008dc68da1c407 11-Oct-2012 Mangesh Ghiware <mghiware@google.com> Move calls to LightCycleHelper off the UI thread.

Bug: 7320303

Replace multiple methods in LightCycleHelper with a single one that
returns relevant metadata.

Change-Id: Iaa75b3c1ccc8a5b724b253cec654b5b5acb4878e
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalImage.java
682163e115a8e679b3038f4cb9886851e12a4035 10-Oct-2012 Mangesh Ghiware <mghiware@google.com> Disable in-place crop for 360 panorama

Bug: 7281479
Change-Id: Id89e25a883a5eab8a91604ebfeab4f178ba1066f
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalImage.java
4e091eb758a3ac1016b373419cea1ada1b977bc5 10-Oct-2012 George Mount <mount@google.com> Change how stitched images are inserted into Gallery.

Bug 7299396
Stitching images now use normal LocalImages for their MediaItem
instead of LightCycleItems. They are no longer part of a special
album.

Change-Id: Ic62822a44b9743829dee50bcfa6f455cd538afa7
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalImage.java
51ebe5f71b9f00af95c8d64f1ff895fc7b9aa018 08-Oct-2012 Mangesh Ghiware <mghiware@google.com> Share only 360-degree panoramas with new MIME type

Bug: 7302972

Instead of using the UsePanoramaViewer attribute in XMP metadata,
ensure that the panorama is full 360 degree by checking if the
cropped width is same as the full panorama width.

Change-Id: I66d864df96052f96db5fa19fb02b3abe214b4dec
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalImage.java
b57e72bb1a093afc5aee276855656c8b285c73b3 03-Oct-2012 Mangesh Ghiware <mghiware@google.com> Disable destructive rotate for lightcycle panorama

Bug: 7276024
Change-Id: I2b223d3928517b083cc982db8142770da02dd5b9
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalImage.java
4f32d514ee7474d867d04bf3934f9e11e9e92783 24-Sep-2012 Mangesh Ghiware <mghiware@google.com> Use vendor specific MIME type for sharing LightCycle panoramas

Bug: 7150324
Change-Id: I78d426672e9a8fc69f0b9b564438e40eb0230719
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalImage.java
133c49e9bda0b3dcc005a0dfc7ab999926c0ef7f 19-Sep-2012 Earl Ou <shunhsingou@google.com> Fix metadata of cropped image for details display.

+ drop the old thumbnail of the cropped image
+ update DateTime tag in EXIF
+ add EXIF Software tag
+ display DATE_MODIFIED in details instead of DATE_TAKEN

Bug:7192433
Change-Id: I89dcb29dd3242f58fe96cd25398217e94f42fc97
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalImage.java
f8a39c644637a15b9291eb9299762b8cf91cd76a 18-Sep-2012 George Mount <mount@google.com> Add UriImage support for viewing LightCycle panoramas.

Change-Id: I7f61cef39370fd23b9481708dc3c902c17873074
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalImage.java
a535522fa7661771351e42465c67ed70825ed2e4 07-Sep-2012 George Mount <mount@google.com> Show play icon for panorama.

Bug 7124494

Change-Id: I17fdb5d6bcab1f3997a1ab92fcf45e0309b394b3
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalImage.java
f10ed2d3355f808304e33cb145d0c232a787d03a 07-Sep-2012 George Mount <mount@google.com> Use XmpUtil to detect panorama instead of caption.

Bug 7124493

Change-Id: I7a21206b47aea701428132d8500fa0873cb3c91a
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalImage.java
4f59a411667f1c75c1b3ea2ad0ec07e82defa5d1 04-Sep-2012 Angus Kong <shkong@google.com> Move LightCycle checking to the closed source.

bug:7076779
Change-Id: Ieebe0343a46257ca07f06483beb9391a90d7727a
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalImage.java
83be4e0c9b8e3372eff8f9b1a396afd961b72921 24-Aug-2012 Angus Kong <shkong@google.com> Invoke LightCycle viewer for panoramas.

1. Add SUPPORT_PANORAMA_VIEW to supported operations.
2. Add helper methods in LightCycleHelper:
a. checks if the image file is a panorama.
b. invokes the panorama view activity.

bug:6912297
Change-Id: I7909e49632cad02a795943a113bca6aec17df9dd
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalImage.java
bc8808a30e524e943b28b484d974b52769694e37 09-Aug-2012 Owen Lin <owenlin@google.com> Extract EXIF info only for JPEG files

bug: 6489840
Change-Id: I0ad682bffa5374d0d61ebaa502cc8b90e469b4c8
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalImage.java
7817979db0c52ffeacb951625b1e821eba303285 30-Jul-2012 Ahbong Chang <cwahbong@google.com> Code clean up.

Remove unused imports.
Remove unused fields.
Remove unnecessary cast.
Add missing override annotations.

Change-Id: Idad2e587697a5015eb5363d7b71fab9de9cc8ffb
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalImage.java
df4763cf8752fb1babc7244fc2be33ed87d3b072 28-Jun-2012 Owen Lin <owenlin@google.com> Don't reuse bitmap before HoneyComb.

Change-Id: I0df9bf0a8f43e28ed25b436d4c584dc3ceb43c1d
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalImage.java
3a45725ad42324cd2db172fb082fe80772d94d3f 28-Jun-2012 Owen Lin <owenlin@google.com> Don't use Build.VERSION_CODES.

Since they won't be available on old platform.

bug: 6752318

Change-Id: I55a9e83dbf05b93c83c68cb31f6edcbc29793283
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalImage.java
2cff26966184986441109053d351d522c9bcb643 26-Jun-2012 Chih-Chung Chang <chihchung@google.com> am 27a76801: am c7e89dae: Update thumbnail if a picture is deleted in background.

* commit '27a768018b18f45b9dd912bafd09dea64460f852':
Update thumbnail if a picture is deleted in background.
c7e89daeb178a895de211c411d09a822de52e4e9 26-Jun-2012 Chih-Chung Chang <chihchung@google.com> Update thumbnail if a picture is deleted in background.

Bug: 6712751
Change-Id: I17f56c9ff04441e51f28b3e3bec23b1ac308b70c
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalImage.java
b47927b7b43679e7315e6099e0a610760320d18d 21-Jun-2012 Owen Lin <owenlin@google.com> Use MediaColumns.WIDTH and MediaColumns.HEIGHT only when they are available.

bug:6698720

Change-Id: Iaabfd1d5fe16b5d89f564d688a78e773ad36c8bd
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalImage.java
f5ce6aeba448f418c99736465f7a02dacd7715bb 11-May-2012 Chih-Chung Chang <chihchung@google.com> Show gray tile for screennails not loaded yet.

Bug: 6452217
Change-Id: Ied9c2e2c91f4ffe218a73ba1a123df92a2aab98a
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalImage.java
214993dc4abf87c386123af50e3c34184ba11cb6 11-May-2012 Chih-Chung Chang <chihchung@google.com> Better data change handling for PhotoDataAdapter and PhotoView.

Change-Id: I0f67d918b95000d10786d2035286e036346bfa4e
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalImage.java
4bb5912e85f6d1bd8a6b78d6d52b4c4da7aeb740 07-Mar-2012 Owen Lin <owenlin@google.com> Reuse bitmap for all micro thumb images to prevent GC.

Change-Id: I27d3002e5bb745a597f52962fe24744c8329441c
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalImage.java
04a9a44fb85263c4590ca68f92adff6f9da360e9 03-Nov-2011 Ray Chen <raychen@google.com> Fix 5481444 Face clustering should use PWA profile shot instead of random photo

Change-Id: Ie4e3f9ae19431ab5b36d216cd7f4c626de503bbf
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalImage.java
cac63ebeb6848920b37ee883ddc22f3e5d1e1d61 20-Sep-2011 Chih-Chung Chang <chihchung@google.com> Fix 5224359: query width and height from media provider.

Change-Id: Ib7a560822a1d1fdc2be8c572d4d9319f908f7c16
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalImage.java
bc2154199aee16762e3758ad0cfed685323d9a9f 19-Sep-2011 Chih-Chung Chang <chihchung@google.com> Fix 5299746: New UI layout, part 2.

- Replace various icons and add xhdpi/sw600dp-mdpi versions of them.
- When user press on the thumbnails, show a color overlay on it.
- For a wide (w/h > 2) picture, add panorama overlay on it.
- Align photo count label position when there is no icon for it.
- Adjust offline page layout.

Change-Id: I327d25806e99843bfa05d3ca0e9be5a8f9375595
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalImage.java
113bfc77c4468411da9ae1290553c3be89f8df9a 30-Aug-2011 Owen Lin <owenlin@google.com> Improve the performance of Reviewing a photo.

fix: 5144370

There is two componenet in the photo page. One is the large photo and the
other is the thumbnail strip. They idenpendently load their own data and images.

This change fixes several issues here:

1. Prevent sending to many jobs to ThreadPool and block others.
In a worse case, if the thumbnail strip send image requests first,
it may block the ThreadPool very long.
2. Improve the performance of extracting thumbnails from local files.
Now we try to extract the thumbnails from EXIF data first.

Change-Id: I45100d4daa025efb479f47c4f105de2b4731b498
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalImage.java
f9a0a4306d589b4a4e20554fed512a603426bfa1 17-Aug-2011 Owen Lin <owenlin@google.com> Initial code for Gallery2.

fix: 5176434

Change-Id: I041e282b9c7b34ceb1db8b033be2b853bb3a992c
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalImage.java