3b7f23f8818d496c4afea597e0b5158a481131ed |
|
07-Feb-2013 |
Chris Banes <chrisbanes@google.com> |
bitmapfun: Add support to use inBitmap option This adds support for devices running Honeycomb or newer to use the inBitmap BitmapFactory option when decoding images. The way it accomplishes this is by adding a second level 'memory cache' using SoftReferences. When an item is removed from the LruCache it is added to this SoftReference Set. The next time an image is decoded, the Set is searched to see if it contains a bitmap that can be re-used. Change-Id: I8f980160ddc7116731b25e6f3f110c38f207f286 Signed-off-by: Chris Banes <chrisbanes@google.com>
|
03ceb37f79e31626aaac5318b3143a2cfafaea42 |
|
08-Aug-2012 |
Adam Koch <akoch@google.com> |
Updating code sample for "displaying bitmaps efficiently" training class. Changes: -Use updated versions of ImageWorker & ImageCache from I/O 2012 app -Use copied DiskLruCache from system (rather than custom) -Use copied AsyncTask from system (to keep behavior consistent) -Ensure no strict mode violations or lint errors -Other misc bug fixes -Move single-use static methods in Utils to corresponding class Change-Id: If21e045db1e1a80391169f3c9c9258d48345ab6b
|
2bab0137e0af92c374d3efb2ed0e1d894981e015 |
|
30-Mar-2012 |
Adam Koch <akoch@google.com> |
Sample app for Android U class: Displaying Bitmaps Efficiently Change-Id: I21da4e60f719b7159ada83894cca8d108bedd3d5
|