History log of /frameworks/opt/bitmap/src/com/android/bitmap/drawable/CircularBitmapDrawable.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a8b1e1f5cad36086e89c052007473609c379ccbd 18-Dec-2014 Oleksandr Kyreiev <shoora@google.com> Import latest changes.

Change-Id: I27973b3441d3738a85481de9c774da0ac08afd7c
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/CircularBitmapDrawable.java
c5644927c0e7e121049b063046296ee8a59a4b37 15-Jul-2014 Mark Wei <markwei@google.com> Import latest bitmap library changes.

Change-Id: Ic3a79a1154fb1329bf4c163ea6aeb32f8bd3857d
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/CircularBitmapDrawable.java
5c102db5a1a16a2adcc7728693a6e65a981f91ae 09-Jul-2014 Leon Scroggins III <scroggo@google.com> Call setLocalMatrix before setShader.

This is now required in order to affect the Paint.

BUG:14315916
Change-Id: I7afa525d4a1d0e71d0ca5c79780c7d8b9100a959
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/CircularBitmapDrawable.java
df01966f999ddcc69b3e479c9efbd733ad86bc84 26-Jun-2014 Mark Wei <markwei@google.com> Import latest changes to the bitmap library.

Main development is now going on in the Bigtop fork. This import includes the
following changes:

cl/68071490
Cache BitmapShader instance in CircularBitmapDrawable.
This simple implementation is eliminating almost all of the BitmapShader
construction during startup.

cl/69907083
Add compatibility mode to StyledCornersBitmapDrawable for b/15023700 in 4.4.3

The rounded corners and flaps are now drawn on the canvas, instead of clipped
with a path. This part is in the bitmap library.

The drawn corners must match the color of the background color of the
container. The bt_megalist_selected_item_background color has been pre-mixed
with @android:color/white so it's in a ColorDrawable instead of a
LayerDrawable, and so its color can be used to draw the fake corners. This part
is in the Bigtop codebase.

Change-Id: I21a22d8550fbe1dd3de7410cd82969ff947c27ea
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/CircularBitmapDrawable.java
8dd5cac690e42383d6bfc20af04eb781abd14f54 03-Mar-2014 Mark Wei <markwei@google.com> Add backward compatibility to CircularBitmapDrawable API change.

Change-Id: Ie83f3fc85043d1e27fbc2932d14ae1ec961b963e
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/CircularBitmapDrawable.java
09f46006437e7de33afdb51192bf0bdc08e97040 03-Mar-2014 Mark Wei <markwei@google.com> CircularBitmapDrawable is now an ExtendedBitmapDrawable. Avatars can now fade in!

Change-Id: I79fae35f0949a17309bce0cffd6b10e7e6d8db2c
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/CircularBitmapDrawable.java
ad6ca3f895022ded1a11f3eedc50d70ea90cd4da 07-Jan-2014 Mark Wei <markwei@google.com> Export some useful custom classes that I wrote back into the bitmap library.

Added:
- CircularBitmapDrawable: Use this if you want to display circular images with
an optional border stroke. This class uses BitmapShaders, the preferred way of
masking a bitmap, instead of using a non-rectangular clip region or overlaying
views.
- StyledCornersBitmapDrawable: Use this if you want the corners of your images
to be stylized. You can choose from rounded or flap corners, with an optional
border stroke and optional flap color. This class uses a non-rectangular clip
region. In the future, this may change to use a BitmapShader.
- ResourceRequestKey: Use this if you want a simple RequestKey implementation
that loads images from a resource asset.

Change-Id: If64440f3389f56f8a5b799a32a2660f3f9a19385
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/CircularBitmapDrawable.java