History log of /frameworks/opt/bitmap/src/com/android/bitmap/DecodeTask.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1ef4c6b7fdbc6e36c030e4a6fab3a8ccf8ba524b 23-Jan-2014 Mark Wei <markwei@google.com> Check if input stream is null first before blocking. This allows us to detect
null cases without filling up the Executor queue.

Bug: 11789572
Change-Id: Icef2f8da1239fdd8db9d74480a147081a15456bc
/frameworks/opt/bitmap/src/com/android/bitmap/DecodeTask.java
a07e0af0f1997ce3d40df6a8a9f44cb0b2e4c07f 14-Jan-2014 James Kung <kingkung@google.com> Store null results in the cache

Change-Id: I034fa56a8c646a65781236fe832c0f54d9f86984
/frameworks/opt/bitmap/src/com/android/bitmap/DecodeTask.java
c7ad691a967e860a93d76bedb7c5d207dd083591 12-Dec-2013 Mark Wei <markwei@google.com> We expect the BitmapRegionDecoder to fail on a GIF. We need to reset the
InputStream so the BitmapFactory decoder doesn't choke on a consumed
InputStream.

Bug: 12099499
Change-Id: Ie066e04f369cc51b783e2ce95ca4be5e5f8e8871
/frameworks/opt/bitmap/src/com/android/bitmap/DecodeTask.java
5030ae34cd5978a8ab8a06f6c3b69b8645873122 01-Nov-2013 Mark Wei <markwei@google.com> Modify ExtendedBitmapDrawable to be more flexible for clients.

Introducing ExtendedOptions:

Clients can now specify the features they want out of a ExtendedBitmapDrawable:
1) Ordered display (decode aggregator)
2) Parallax
3) State changes (placeholder and/or progress bar)

Clients can also specify parameters to those features. These parameters can be
modified and changes take effect immediately.

Change-Id: I15e4f1dbc20473db6798888b07b4bd34c712db21
/frameworks/opt/bitmap/src/com/android/bitmap/DecodeTask.java
2e4d0863dba53435372ec96538f2ef3e1c3675bf 30-Oct-2013 Mark Wei <markwei@google.com> Make ExtendedBitmapDrawable extend BasicBitmapDrawable.

Modify sample app to use ExtendedBitmapDrawable with the following features:
Parallax,
Placholder and progress,
Decode aggregator.

Change-Id: Ia9e0fe6e6fdab018077a465ddf2a40109efbddf7
/frameworks/opt/bitmap/src/com/android/bitmap/DecodeTask.java
22955165fab693684cc3614c84ee81883ae933c8 31-Oct-2013 Mark Wei <markwei@google.com> Manually inline methods that cause proguard to crash.

Bug: 11437985
Change-Id: Idf1b354bfcc97e6077e0855640a2abd6a9b36904
/frameworks/opt/bitmap/src/com/android/bitmap/DecodeTask.java
9c6ac19d4a3d39b7c2992060957920118ff56a65 24-Oct-2013 Mark Wei <markwei@google.com> Relax BasicBitmapView to allow non-BasicBitmapDrawables to be assigned to it.

Rename BasicBitmapView to BitmapDrawableImageView.

Allow asynchronous creating of file.

Change-Id: I0407bf0bf36ae92ce45d2175121a15483f8f72f2
/frameworks/opt/bitmap/src/com/android/bitmap/DecodeTask.java
cea0c012d538f11b3ee97d4b7e78f4c1ea73d5be 22-Oct-2013 Mark Wei <markwei@google.com> Modifications to bitmap library to make integrating into BigTop simpler.

RequestKey returns ParcelFileDescriptor instead of AssetFileDescriptor to make
it easier to read files off of internal cache.

Do not assume we want a top-1/3 crop. Provide vertical center in DecodeTask
constructor.

Move DecodeTask params into DecodeOptions to avoid param bloat.

Add option to not limit bitmap density in BasicBitmapDrawable.

Name AsyncTask threads in pool. Link DEBUG flags.

Change-Id: I9416ac647c0c4935ee488b7db43cccd9de565c54
/frameworks/opt/bitmap/src/com/android/bitmap/DecodeTask.java
40662f4b39e795d9c64502b13036e7c37fa2d373 16-Oct-2013 Sam Blitzstein <sblitz@google.com> Change BitmapRequestKey to be more cleanly implementable.

Change-Id: I831586688605e6c6c2f2f7a879c6be23175f71de
/frameworks/opt/bitmap/src/com/android/bitmap/DecodeTask.java
93a35b93dc582e38ff8ee5979754a16b4bf4da0c 09-Oct-2013 Sam Blitzstein <sblitz@google.com> Initial commit from Gmail's Cache system.

Change-Id: I14168ab3bc02b77399a1812f62bd77ac797232c5
/frameworks/opt/bitmap/src/com/android/bitmap/DecodeTask.java