History log of /packages/apps/Gallery2/src/com/android/gallery3d/util/JobLimiter.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7b83fb8e3a8978b33a6b9bfc56d85fe2c1a9cf06 22-Feb-2012 Chih-Chung Chang <chihchung@google.com> Remove unused code.

Change-Id: I167596ab023671651df298ddb2b80b7c782f4223
/packages/apps/Gallery2/src/com/android/gallery3d/util/JobLimiter.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/util/JobLimiter.java