summaryrefslogtreecommitdiff
path: root/src/com/android/bitmap/view
AgeCommit message (Collapse)Author
2014-03-26Fix bug where state changes were being suppressed if the drawable was offscreen.Mark Wei
Bug: 13563559 Change-Id: Iea22f1a4ae7b71dd6a555fdd2efb9047a61522a6
2014-03-18unbind() will not keep track of the previous key unless we specify that theMark Wei
unbind is temporary. This prevents race conditions that cause an old key to be bound on attach to window. Bug: 13507371 Change-Id: I5187ddd956fe28472fde1ef11360840059d15423
2014-03-02When detached from window, the last known RequestKey is saved inside of the ↵Mark Wei
BasicBitmapDrawable instead of referenced separately in the BitmapDrawableImageView. This fixes a bug where you could bind() a stale RequestKey to the drawable, after having called drawable.unbind() before it is attached back to the window. Change-Id: Idba62fea647871d5c1c495b2c89e10779289a53b
2014-02-21Rebind on attach to window if previously unbinded on detach from window.Mark Wei
Change-Id: I67d83689de85e14a5b20b644e2dbcc533ac544dd
2014-02-14Do not call methods which do not exist on ICS.Mark Wei
Change-Id: Id7c6c550960949af51357062b13bb19a161a469d
2014-02-07Allow setting transient state on BitmapDrawableImageView so we don't unbind()Mark Wei
during animations. Change-Id: I9275ef69f52058de1f6a1b3bb574b9fd5e030c82
2014-01-22Decouple parallaxSpeedMultiplier from setDecodeDimensions().Mark Wei
Expose decode vertical center through ExtendedOptions. Genericize BitmapDrawableImageView#getTypedDrawable(). Bug: 11691744 Change-Id: I62e05ab2136cf031eaf1752dba728156c97c87a6
2013-12-08Allow placeholder drawable to be sized by the client. First try to use theMark Wei
bounds, then try to use the intrinsic bounds. When a key is null, set load state to FAILED instead of UNINITIALIZED. The difference is that FAILED shows the placeholder as a static image while UNINITIALIZED hides it. Fix bug in BitmapDrawableImageView where detaching from the window would set its drawable to null, throwing away state. Change-Id: I0b3f6c931d750ec4042e13bc1cbcf2d63e260168
2013-10-29Relax BasicBitmapView to allow non-BasicBitmapDrawables to be assigned to it.Mark Wei
Rename BasicBitmapView to BitmapDrawableImageView. Allow asynchronous creating of file. Change-Id: I0407bf0bf36ae92ce45d2175121a15483f8f72f2
2013-10-22Add copyright.Mark Wei
Change-Id: I319143db9975244480d0bf4d8c1c3407ae719b14
2013-10-22Add BasicImageView to unbind on detach for clients with long-lived caches.Mark Wei
Change visibility of mBitmap back to private. Expose through getter. Bug: 11337575 Change-Id: I511976388cc3b6962434416d9e7a632e6d8a1b72