summaryrefslogtreecommitdiffstats
path: root/sample
Commit message (Collapse)AuthorAgeFilesLines
* Modify ExtendedBitmapDrawable to be more flexible for clients.Mark Wei2013-11-046-4/+11
| | | | | | | | | | | | | | 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
* Make ExtendedBitmapDrawable extend BasicBitmapDrawable.Mark Wei2013-10-3117-7/+104
| | | | | | | | | Modify sample app to use ExtendedBitmapDrawable with the following features: Parallax, Placholder and progress, Decode aggregator. Change-Id: Ia9e0fe6e6fdab018077a465ddf2a40109efbddf7
* Merge "Make the bitmap sample app buildable in git." into klp-ub-devMark Wei2013-10-303-4/+90
|\
| * Make the bitmap sample app buildable in git.Mark Wei2013-10-303-4/+90
| | | | | | | | | | | | | | | | | | | | The proguard config file causes proguard to fail on the analysis step when building with blaze in google3, proguard 4.9 It does not cause proguard to fail when building in git, proguard 4.4 Bug: 11437985 Change-Id: I67b2fd749c54ae8f5c5fda0dd7742a0f88918685
* | Relax BasicBitmapView to allow non-BasicBitmapDrawables to be assigned to it.Mark Wei2013-10-293-8/+8
|/ | | | | | | | Rename BasicBitmapView to BitmapDrawableImageView. Allow asynchronous creating of file. Change-Id: I0407bf0bf36ae92ce45d2175121a15483f8f72f2
* Add BasicImageView to unbind on detach for clients with long-lived caches.Mark Wei2013-10-224-52/+8
| | | | | | | Change visibility of mBitmap back to private. Expose through getter. Bug: 11337575 Change-Id: I511976388cc3b6962434416d9e7a632e6d8a1b72
* Remove unused import.Mark Wei2013-10-211-1/+0
| | | | Change-Id: I94aed7408c3765a2c2fc05573aa55bb98c72b17a
* Fix bitmap sample.Mark Wei2013-10-211-1/+2
| | | | Change-Id: I067a1b7f49ef0ad6ba746b7c35efde61de2cfc88
* Modifications to bitmap library to make integrating into BigTop simpler.Mark Wei2013-10-211-1/+1
| | | | | | | | | | | | | | | | 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
* Trace without reflection. Avoid crashing on ICS.Mark Wei2013-10-172-2/+6
| | | | Change-Id: Ic75143a38d252278329a6f775c137ff1321eaf28
* Add copyright notices, and clarify documentation.Sam Blitzstein2013-10-167-2/+96
| | | | | | | Remove ineffectual interface methods from RequestKey and replace with a comment in the class's documentation to the same meaning. Change-Id: I4d27407d18a798b27dfe138b38a5ee3a2718e127
* Add sample app to bitmap library.Sam Blitzstein2013-10-1610-0/+331
Change-Id: Iec98361f576289447a274f51694d46974f1534ac