History log of /packages/apps/DocumentsUI/src/com/android/documentsui/ThumbnailCache.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d9caa6ab53aa784acaf241c0ded3c4ae2d342bf8 16-Sep-2016 Steve McKay <smckay@google.com> Move State to base and root stuff to roots.

And move Shared to base.
And lots more to base.

Change-Id: I8b01264a329473c13c59f0cd25a320ba73dbd82d
/packages/apps/DocumentsUI/src/com/android/documentsui/ThumbnailCache.java
eba5bb903df23de9d82cfc2df46bcdcccdb61f87 22-Jul-2016 Garfield, Tan <xutan@google.com> Evict thumbnail caches and delay dismissing spinner on refresh finish.

Bug: 28334455
Change-Id: I338f83744d7f8b2fe9a9265dcab7ed4ec81edbfb
/packages/apps/DocumentsUI/src/com/android/documentsui/ThumbnailCache.java
2056205cb85d529d732638c45fe459168168e1ee 10-Jun-2016 Garfield, Tan <xutan@google.com> Remove main looper assertions and attempts to run tests in main thread.

It looks like if we pass timeout_msec 300000 main thread is then
blocked. If we ever post a runnable to it synchronously in test, we'll
get a deadlock.

Change-Id: I7bd4ce2aaa1ffad72b83a343ff3331179896bd78
/packages/apps/DocumentsUI/src/com/android/documentsui/ThumbnailCache.java
c292378d3b7a6ebb3ebd5caef631a76a386c2974 08-Jun-2016 Garfield, Tan <xutan@google.com> Recycle after return to avoid returning an invalid value.

Also add some main thread assertions.

Change-Id: Id6314d6e92d530ce57a01902b5570381fa20044d
/packages/apps/DocumentsUI/src/com/android/documentsui/ThumbnailCache.java
16502a89099a6db229c813cb724273d78b5fe872 20-May-2016 Garfield, Tan <xutan@google.com> Load up-to-date thumbnail if the cached one is out of date.

Bug: 28557412
Change-Id: Ib3ef9962249305be22b7a1e49e26350f3596e430
/packages/apps/DocumentsUI/src/com/android/documentsui/ThumbnailCache.java
c8099c02f9294119835d1d5efd1505ce62371d74 02-May-2016 Garfield, Tan <xutan@google.com> Use thumbnail of other sizes if it's missing in current size.

Bug: 26881628

Change-Id: Id7aa6f5c8c1a415f7dd97143a088ba89fae43eea
/packages/apps/DocumentsUI/src/com/android/documentsui/ThumbnailCache.java
873daa3bd4d88e91fccf0dd6f05bacc5f2b1fef5 19-Aug-2013 Jeff Sharkey <jsharkey@android.com> Management actions, invalidate caches.

In manage mode, touching launches a VIEW intent for the file. Also
adds actions for sharing and deleting.

Move roots and thumbnail caches into Application object, and flush
cache when thumbnail size changes. Listen for package changes and
broadcasts that should invalidate our roots cache.

Pick default grid/list mode based on provider hint.

Bug: 10329983, 10330210, 10378834, 10330069
Change-Id: I75afb1c58ab71bb9d55852b1059da7257a376248
/packages/apps/DocumentsUI/src/com/android/documentsui/ThumbnailCache.java
8a8fb674767113b43ffe6c4f06b30f425aa1b67d 07-May-2013 Jeff Sharkey <jsharkey@android.com> Resized thumbnails; async; extend MatrixCursor.

When requesting thumbnails, check if their dimensions are larger
than requested, and downscale to avoid memory pressure. Load them
async and with LruCache.

Extend MatrixCursor so that RowBuilder can offer() columns without
requiring they know the projection map. This makes it easier to
respond to query() calls, where the remote side controls the
projection map. Use it to handle custom projections in external
storage backend.

Update date/time formatting to match spec.

Bug: 10333418, 10331689
Change-Id: I7e947a8e8068af8a39b55e6766b3241de4f3fc16
/packages/apps/DocumentsUI/src/com/android/documentsui/ThumbnailCache.java