History log of /frameworks/opt/bitmap/sample/src/com/example/bitmapsample/BitmapView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
89e59f00d67791754e44e65413baa95f94056df4 21-Nov-2013 Mark Wei <markwei@google.com> Decouple parallaxSpeedMultiplier from setDecodeDimensions().

Expose decode vertical center through ExtendedOptions.

Genericize BitmapDrawableImageView#getTypedDrawable().

Bug: 11691744
Change-Id: I62e05ab2136cf031eaf1752dba728156c97c87a6
/frameworks/opt/bitmap/sample/src/com/example/bitmapsample/BitmapView.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/sample/src/com/example/bitmapsample/BitmapView.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/sample/src/com/example/bitmapsample/BitmapView.java
a23358fbfd62c7aa1c84bfa8395b4dc427a71ce6 23-Oct-2013 Mark Wei <markwei@google.com> Add BasicImageView to unbind on detach for clients with long-lived caches.

Change visibility of mBitmap back to private. Expose through getter.

Bug: 11337575
Change-Id: I511976388cc3b6962434416d9e7a632e6d8a1b72
/frameworks/opt/bitmap/sample/src/com/example/bitmapsample/BitmapView.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/sample/src/com/example/bitmapsample/BitmapView.java
9d46a01e044696eb4d101778992fed4966520251 17-Oct-2013 Mark Wei <markwei@google.com> Trace without reflection. Avoid crashing on ICS.

Change-Id: Ic75143a38d252278329a6f775c137ff1321eaf28
/frameworks/opt/bitmap/sample/src/com/example/bitmapsample/BitmapView.java
25ad6f98516a7af1ca71cfa07fb503d46dc8a7f1 17-Oct-2013 Sam Blitzstein <sblitz@google.com> Add copyright notices, and clarify documentation.

Remove ineffectual interface methods from RequestKey and replace with a comment in the class's
documentation to the same meaning.

Change-Id: I4d27407d18a798b27dfe138b38a5ee3a2718e127
/frameworks/opt/bitmap/sample/src/com/example/bitmapsample/BitmapView.java
d2e1718fa8e1199b03dc0d069711b24e946aa858 17-Oct-2013 Sam Blitzstein <sblitz@google.com> Add sample app to bitmap library.

Change-Id: Iec98361f576289447a274f51694d46974f1534ac
/frameworks/opt/bitmap/sample/src/com/example/bitmapsample/BitmapView.java