127d31a6842b6cca49885c3607e7ea35b1885b6f |
|
19-Jan-2018 |
Leon Scroggins III <scroggo@google.com> |
Expose AnimatedImageDrawable Bug: 63908092 Test: I85979ae3d8c6a6dae6e4299dc3be291e12024290 Implement Animatable2, adding listeners for starting and ending the animation. Add setLoopCount for changing the loop count. Add the ability to inflate from XML, by using the name of the class or "animated-image", which mimics "nine-patch", "bitmap" etc. Move internal variables to a State class so that they can be transferred to a default constructed AnimatedImageDrawable. Change-Id: Ice8149e7de55f7ffb4b4ba9dd9c856582fc42bc9
/frameworks/base/graphics/java/android/graphics/drawable/DrawableInflater.java
|
50954d2b4ea938d787ef5021d75f6bc02826607a |
|
15-Apr-2017 |
Adam Lesinski <adamlesinski@google.com> |
Propagate density through AdaptiveIconDrawable and BitmapDrawable Resources#getDrawableForDensity now propagates the overridden density through to AdaptiveIconDrawable so that the density can be propagated to leaf BitmapDrawables correctly. This enables AdaptiveIconDrawable to support higher resolution foreground/background bitmaps for use in Launcher. Bug: 36039665 Test: bit CtsContentTestCases:android.content.res.cts.ResourcesTest Change-Id: Iaa9a5592626e38e1ff839a76f7c6cfb9e16e5dc1
/frameworks/base/graphics/java/android/graphics/drawable/DrawableInflater.java
|
be8835e86bc39570994af32ead381875e3ee54d5 |
|
17-Feb-2017 |
Hyunyoung Song <hyunyoungs@google.com> |
Change MaskableIconDrawable to AdaptiveIconDrawable Test: $ make -j31 dist Bug: 35399620 Change-Id: I5e54f75b3df21ffe546e0e54dbd7ea29499d1789
/frameworks/base/graphics/java/android/graphics/drawable/DrawableInflater.java
|
f665a3295000941e98175ab5d2f355d4b46959ce |
|
10-Jan-2017 |
Hyunyoung Song <hyunyoungs@google.com> |
Adds MaskableIconDrawable class to android.graphics.drawable package Test: manual test ag/1774462, cts tests ag/1813947 Bug: 32063838 Design doc: http://go/layered-icons-eng - Reads in the mask path from config. - If <maskable-icon> is dynamically created, clip the drawable using the mask path. - Instead of using clipPath method, used BitmapShader for performance. Change-Id: If5b4a24127bf823477c6c5d8a81d5093501d58e7
/frameworks/base/graphics/java/android/graphics/drawable/DrawableInflater.java
|
c725e8d5ea04ffb5821e00db1c6b45cfe2130e05 |
|
31-Aug-2015 |
Alan Viverette <alanv@google.com> |
Add missing @param in ResourceManager, set InflateException source Bug: 11695070 Change-Id: I94a4980688a952c1f59f1cb15cf2192e3c51de90
/frameworks/base/graphics/java/android/graphics/drawable/DrawableInflater.java
|
caca720b176a0dab0a43a20496e676687e8d78f7 |
|
28-Aug-2015 |
Alan Viverette <alanv@google.com> |
Allow inner classes to be used as custom drawables Bug: 22627299 Change-Id: I2f21927966470594f1b96feac6d5abaa397f2d15
/frameworks/base/graphics/java/android/graphics/drawable/DrawableInflater.java
|
02fc5fef36357467eba22a0ee250a96734daf791 |
|
27-Aug-2015 |
Alan Viverette <alanv@google.com> |
Extract drawable inflation to its own class, inflate from class name Bug: 22627299 Change-Id: Icd2ac88af4f3102e08e52f6f0f7565839da6437a
/frameworks/base/graphics/java/android/graphics/drawable/DrawableInflater.java
|