diff options
author | Mark Wei <markwei@google.com> | 2013-11-01 15:55:17 -0700 |
---|---|---|
committer | Mark Wei <markwei@google.com> | 2013-11-04 10:57:01 -0800 |
commit | 5030ae34cd5978a8ab8a06f6c3b69b8645873122 (patch) | |
tree | f92417f29c823b422f868eb0c2ae0b9b357e4338 /src/com/android/bitmap/DecodeTask.java | |
parent | 2e4d0863dba53435372ec96538f2ef3e1c3675bf (diff) | |
download | bitmap-5030ae34cd5978a8ab8a06f6c3b69b8645873122.tar.gz |
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
Diffstat (limited to 'src/com/android/bitmap/DecodeTask.java')
-rw-r--r-- | src/com/android/bitmap/DecodeTask.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/bitmap/DecodeTask.java b/src/com/android/bitmap/DecodeTask.java index 87beac1..0d814c4 100644 --- a/src/com/android/bitmap/DecodeTask.java +++ b/src/com/android/bitmap/DecodeTask.java @@ -509,6 +509,9 @@ public class DecodeTask extends AsyncTask<Void, Void, ReusableBitmap> { } } + /** + * Parameters to pass to the DecodeTask. + */ public static class DecodeOptions { /** |