• Home
  • History
  • Annotate
  • only in /frameworks/opt/bitmap/src/com/android/bitmap/view/
History log of /frameworks/opt/bitmap/src/com/android/bitmap/view/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
856e2a9d72fe3a79cd7bfa5cf443d13a60495c4b 14-Apr-2015 Mark Wei <markwei@google.com> Update bitmap drawables with RTL support.

Change-Id: Iafcbb41208b2e7e3396f2b86bee994cbaf57009f
itmapDrawableImageView.java
a8b1e1f5cad36086e89c052007473609c379ccbd 18-Dec-2014 Oleksandr Kyreiev <shoora@google.com> Import latest changes.

Change-Id: I27973b3441d3738a85481de9c774da0ac08afd7c
itmapDrawableImageView.java
d732a611bd661fc2ac3c801a545cfbba0f179484 27-Mar-2014 Mark Wei <markwei@google.com> Fix bug where state changes were being suppressed if the drawable was offscreen.

Bug: 13563559
Change-Id: Iea22f1a4ae7b71dd6a555fdd2efb9047a61522a6
itmapDrawableImageView.java
5b46c679794d2f4362e8064b0291c578835d75e0 18-Mar-2014 Mark Wei <markwei@google.com> unbind() will not keep track of the previous key unless we specify that the
unbind is temporary. This prevents race conditions that cause an old key to be
bound on attach to window.

Bug: 13507371
Change-Id: I5187ddd956fe28472fde1ef11360840059d15423
itmapDrawableImageView.java
ad97cd0e0753930ec68f189e6be1023dc0f62f75 03-Mar-2014 Mark Wei <markwei@google.com> When detached from window, the last known RequestKey is saved inside of the 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
itmapDrawableImageView.java
1a340d4fca7babcb67d6cfa754f58c1a756dfca0 21-Feb-2014 Mark Wei <markwei@google.com> Rebind on attach to window if previously unbinded on detach from window.

Change-Id: I67d83689de85e14a5b20b644e2dbcc533ac544dd
itmapDrawableImageView.java
d7654f820a99358a7d2b2afb9b3a174690e213f6 14-Feb-2014 Mark Wei <markwei@google.com> Do not call methods which do not exist on ICS.

Change-Id: Id7c6c550960949af51357062b13bb19a161a469d
itmapDrawableImageView.java
9024423249c9b1779f523cc4fe757fda2d205844 07-Feb-2014 Mark Wei <markwei@google.com> Allow setting transient state on BitmapDrawableImageView so we don't unbind()
during animations.

Change-Id: I9275ef69f52058de1f6a1b3bb574b9fd5e030c82
itmapDrawableImageView.java
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
itmapDrawableImageView.java
b6ec2afe9710112214d79b36b2233fef6a52845a 08-Dec-2013 Mark Wei <markwei@google.com> Allow placeholder drawable to be sized by the client. First try to use the
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
itmapDrawableImageView.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
asicImageView.java
itmapDrawableImageView.java
46616414f6dabb6d57b0ac433a5fabe2abb8b5a9 23-Oct-2013 Mark Wei <markwei@google.com> Add copyright.

Change-Id: I319143db9975244480d0bf4d8c1c3407ae719b14
asicImageView.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
asicImageView.java