History log of /packages/apps/Gallery2/src/com/android/gallery3d/data/DecodeUtils.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a625b6562d3bfc86465778b336c96fb42064be21 04-Sep-2012 Owen Lin <owenlin@google.com> Set inMutable to true if we may reuse the bitmap.

bug: 7092330
Change-Id: I0def7e2e9ce57d09ba7f5e001b33cc605a6af44c
/packages/apps/Gallery2/src/com/android/gallery3d/data/DecodeUtils.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/DecodeUtils.java
b8be1e0ad76b6abc0da7ead39f7a9811195d001e 17-Apr-2012 Chih-Chung Chang <chihchung@google.com> Add thumb pool the cache Bitmap used for thumbnails.

Change-Id: Ib710f2a6fc1aa86fe4abdd18d1fa7ac71396a3b4
/packages/apps/Gallery2/src/com/android/gallery3d/data/DecodeUtils.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/DecodeUtils.java
7b83fb8e3a8978b33a6b9bfc56d85fe2c1a9cf06 22-Feb-2012 Chih-Chung Chang <chihchung@google.com> Remove unused code.

Change-Id: I167596ab023671651df298ddb2b80b7c782f4223
/packages/apps/Gallery2/src/com/android/gallery3d/data/DecodeUtils.java
b289d441eb5af97ac8716479831b1a2c5fe2e878 14-Oct-2011 Chih-Chung Chang <chihchung@google.com> Fix 5398768: Add requestCreateBitmapRegionDecoder for InputStream.

Change-Id: Ied273ffbabc134fdd930e6415fc175a6221eb662
/packages/apps/Gallery2/src/com/android/gallery3d/data/DecodeUtils.java
6c8d0fd879242f78a0c1a7daf4c037043663a49f 19-Sep-2011 Chih-Chung Chang <chihchung@google.com> Fix 5337270: Thumbnail is not generated for large GIF images.

Change-Id: I8e2e8cafb01b2289f59b28b7e2eadae3dc5c0c50
/packages/apps/Gallery2/src/com/android/gallery3d/data/DecodeUtils.java
5da31f8fd85d7c1e33133473bd1fbc5e3a240f2d 13-Sep-2011 Owen Lin <owenlin@google.com> Add a hard limit on the size of the widget images.

There is a limit on the size of the data transfered by binder.
For now, we just add a hard limit (360 pixel) to ensure the widget's image
can be passed by binder.

Also adjust the size of widget to make it looks better.

Fix a bug in DecodeUtils which cause OOM for a image in size 12200x1920.
In that case, we should generate a screen nail of size 640x101 instead of
4066x640.

Change-Id: Ia8227d8e5368471fe7af94bf164d67017aa321fa
fix: 5273271
/packages/apps/Gallery2/src/com/android/gallery3d/data/DecodeUtils.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/DecodeUtils.java
c060a99d0d0f6a0bbcf3cd6bbc6ee9d91e15814d 19-Aug-2011 Owen Lin <owenlin@google.com> Fix unknown type for GL issue.

fix: 5171449

Change-Id: Ib62e3237584144e94be6be773c292002bea5d21c
/packages/apps/Gallery2/src/com/android/gallery3d/data/DecodeUtils.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/DecodeUtils.java