summaryrefslogtreecommitdiff
path: root/src/com/android/bitmap/drawable/CircularBitmapDrawable.java
AgeCommit message (Collapse)Author
2014-07-09Call setLocalMatrix before setShader.android-wear-5.1.1_r1android-wear-5.1.0_r1android-wear-5.0.0_r1android-m-preview-2android-m-preview-1android-m-previewandroid-cts-5.1_r9android-cts-5.1_r8android-cts-5.1_r7android-cts-5.1_r6android-cts-5.1_r5android-cts-5.1_r4android-cts-5.1_r3android-cts-5.1_r28android-cts-5.1_r27android-cts-5.1_r26android-cts-5.1_r25android-cts-5.1_r24android-cts-5.1_r23android-cts-5.1_r22android-cts-5.1_r21android-cts-5.1_r20android-cts-5.1_r2android-cts-5.1_r19android-cts-5.1_r18android-cts-5.1_r17android-cts-5.1_r16android-cts-5.1_r15android-cts-5.1_r14android-cts-5.1_r13android-cts-5.1_r10android-cts-5.1_r1android-cts-5.0_r9android-cts-5.0_r8android-cts-5.0_r7android-cts-5.0_r6android-cts-5.0_r5android-cts-5.0_r4android-cts-5.0_r3android-5.1.1_r9android-5.1.1_r8android-5.1.1_r7android-5.1.1_r6android-5.1.1_r5android-5.1.1_r4android-5.1.1_r38android-5.1.1_r37android-5.1.1_r36android-5.1.1_r35android-5.1.1_r34android-5.1.1_r33android-5.1.1_r30android-5.1.1_r3android-5.1.1_r29android-5.1.1_r28android-5.1.1_r26android-5.1.1_r25android-5.1.1_r24android-5.1.1_r23android-5.1.1_r22android-5.1.1_r20android-5.1.1_r2android-5.1.1_r19android-5.1.1_r18android-5.1.1_r17android-5.1.1_r16android-5.1.1_r15android-5.1.1_r14android-5.1.1_r13android-5.1.1_r12android-5.1.1_r10android-5.1.1_r1android-5.1.0_r5android-5.1.0_r4android-5.1.0_r3android-5.1.0_r1android-5.0.2_r3android-5.0.2_r1android-5.0.1_r1android-5.0.0_r7android-5.0.0_r6android-5.0.0_r5.1android-5.0.0_r5android-5.0.0_r4android-5.0.0_r3android-5.0.0_r2android-5.0.0_r1master-soonglollipop-wear-releaselollipop-releaselollipop-mr1-wfc-releaselollipop-mr1-releaselollipop-mr1-fi-releaselollipop-mr1-devlollipop-mr1-cts-releaselollipop-devlollipop-cts-releaseLeon Scroggins III
This is now required in order to affect the Paint. BUG:14315916 Change-Id: I7afa525d4a1d0e71d0ca5c79780c7d8b9100a959
2014-06-25Import latest changes to the bitmap library.Mark Wei
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
2014-03-02Add backward compatibility to CircularBitmapDrawable API change.Mark Wei
Change-Id: Ie83f3fc85043d1e27fbc2932d14ae1ec961b963e
2014-03-02CircularBitmapDrawable is now an ExtendedBitmapDrawable. Avatars can now ↵Mark Wei
fade in! Change-Id: I79fae35f0949a17309bce0cffd6b10e7e6d8db2c
2014-01-07Export some useful custom classes that I wrote back into the bitmap library.Mark Wei
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