5004032ebc2aee97c5884b7f91cc33d2f98ae8b5 |
|
26-Sep-2014 |
Alan Viverette <alanv@google.com> |
Fixed mutate() for RippleDrawable, ASLD, AVD, fix applyTheme in VD BUG: 17646144 Change-Id: I58c111d86224dc8f7f557073c0bcbc22ad74aa1b
/frameworks/base/graphics/java/android/graphics/drawable/AnimatedVectorDrawable.java
|
98916d146afe2ff25a439603f7d9559e74a790ca |
|
23-Sep-2014 |
ztenghui <ztenghui@google.com> |
Fix AVD for CTS failure. Mostly about changingConfig flags, the fix is just a copy from VectorDrawable. b/17631551 Change-Id: Ibad9c2f61cd86b15e9bca1d1991c8cd147897bb0
/frameworks/base/graphics/java/android/graphics/drawable/AnimatedVectorDrawable.java
|
6f6578e81c1df207da47e2e1337382341f271206 |
|
06-Sep-2014 |
Chet Haase <chet@google.com> |
Use constant state in AnimatedVectorDrawable Complex animated vector drawables can be expensive to load due to sub-optimal parsing of the String-based pathData. Suffering that penalty every time the same drawable is loaded (such as material-themed ProgressBars) is painful. The new approach caches constant state of both the VectorDrawable (including the pathData geometry) and the animators (which includes potentially expensive path-based interpolators). issue #17366831 Material ProgressBar taking 200+ms to inflate Change-Id: Iba3b541e24cfce8c07f5aa9fe6aa7d7b92b2fe1c
/frameworks/base/graphics/java/android/graphics/drawable/AnimatedVectorDrawable.java
|
fd3c4744f265c5277e6e2641a18d5ec3dff19f6b |
|
08-Sep-2014 |
George Mount <mount@google.com> |
Use intrinsic size for path animation in AnimatedVectorDrawable Bug 16984007 Animated Vector Drawables were using the viewport dimensions for calculating the allowable animation error. Instead of using viewport dimensions, it is better to use the intrinsic dimensions. Using the viewport dimensions meant that a small viewport (e.g. 1x1) would mean that animation paths within would only have an accuracy of 50% of the dimensions of the drawable. Change-Id: Id0152eabb4effd1e50c644eea7a371b38baeb7c1
/frameworks/base/graphics/java/android/graphics/drawable/AnimatedVectorDrawable.java
|
a94900e587dca6e342bf29ed1acb720c594066c0 |
|
22-Aug-2014 |
ztenghui <ztenghui@google.com> |
Merge "Fixing AVD animation with startOffset" into lmp-dev
|
14aedd1fbf52f1b844064a15d583ccfbda6ce57d |
|
22-Aug-2014 |
ztenghui <ztenghui@google.com> |
Fixing AVD animation with startOffset b/17160751 Change-Id: If030ca04f5a7dd7e732dcc5dfb18d51faa7e7b79
/frameworks/base/graphics/java/android/graphics/drawable/AnimatedVectorDrawable.java
|
06cd7dce24876b54870f9ef3831237f8298773a9 |
|
20-Aug-2014 |
Alan Viverette <alanv@google.com> |
Forward additional drawable methods in AVD BUG: 17156349 Change-Id: I1d7b41fc8d0399b31db4cf21aa47180e96bfbcfe
/frameworks/base/graphics/java/android/graphics/drawable/AnimatedVectorDrawable.java
|
06eaf193bde2f8455a3f957f1df4b1c328ac1432 |
|
06-Aug-2014 |
ztenghui <ztenghui@google.com> |
End the animator when stop() is called bug:16830053 Change-Id: If27ba904b0f78ee8c59df3522a97f5f86509ca0e
/frameworks/base/graphics/java/android/graphics/drawable/AnimatedVectorDrawable.java
|
a95c8abb366d9c39450513335f550b56da13b30a |
|
23-Jul-2014 |
ztenghui <ztenghui@google.com> |
API REVIEW: VectorDrawable - Merge <size> and <viewport> attributes all in to top-level <vector> tag - Indent attributes under <group> in java doc. - Updata android:stroke to be android:strokeColor, likewise android:fill - Instead of android:clipToPath, make this a different clip-path tag. - Document units of the various attributes - Add example code for defining a VectorDrawable resource More than that: = Refactor the code to better support clipPath as a sub-class. = Update all the xml files to use the new attributes and clip-path tag. TODO: -- Remove clipToPath, since that should happen on build break Friday. bug:16488254 Change-Id: I6db5680ef83cb26c8f064a60fc7d6e7142974b0f
/frameworks/base/graphics/java/android/graphics/drawable/AnimatedVectorDrawable.java
|
7bc6a3f023ca3e1dde91fc97b6036dee3ba538a2 |
|
16-Jul-2014 |
ztenghui <ztenghui@google.com> |
Add more reverse support to AnimatedVD bug:16162242 Change-Id: Ie0b7618beeb65ebeb65db41600165837524bcee4
/frameworks/base/graphics/java/android/graphics/drawable/AnimatedVectorDrawable.java
|
6e0a9fa6ed86e918bfed5310d2522b2c2a527ef0 |
|
14-Jul-2014 |
Alan Viverette <alanv@google.com> |
DO NOT MERGE Add support for AVD reverse() to ASLD, clean up transition handling BUG: 16162242 Change-Id: I29336491d01d40e5369503ece858bcbe5aa99b19 (cherry picked from commit 4e9c797a9c024e5a4226ed37eece16e3db2edb78)
/frameworks/base/graphics/java/android/graphics/drawable/AnimatedVectorDrawable.java
|
482eb53c8a7d5180a2d0ce3b0a779c18960aa8cd |
|
14-Jul-2014 |
ztenghui <ztenghui@google.com> |
Enable the bitmap cache for the VectorDrawable b/16299765 Change-Id: Ia2c0fd366abc097d1ce485936de74e4e898cc07a
/frameworks/base/graphics/java/android/graphics/drawable/AnimatedVectorDrawable.java
|
55f765441c6cec6b2990de12f68d1c4ac444d35c |
|
08-Jul-2014 |
ztenghui <ztenghui@google.com> |
Add constant state support back to VectorDrawable At the same time, AVD is using a mutated version of VD. And AVD won't support constant state. Move the targetsMap down into constant state. bug:16017895 Change-Id: I12fbc52a8719362adba9df1e0f97288decbd33b2
/frameworks/base/graphics/java/android/graphics/drawable/AnimatedVectorDrawable.java
|
9cb5b4c2d93acb9d6f5e14167e265c328c487d6b |
|
27-Jun-2014 |
ztenghui <ztenghui@google.com> |
Use AnimatedVectorDrawable for progress bar. Change-Id: I419197ef38a611757f27ca3192350ad4bd403875
/frameworks/base/graphics/java/android/graphics/drawable/AnimatedVectorDrawable.java
|
7e7ea9da6785a8345feffb754ddcb55b16cf69c9 |
|
20-Jun-2014 |
ztenghui <ztenghui@google.com> |
Make AnimatedVectorDrawable public. Clean up some useless VectorDrawable functions. Add comments, too. Change-Id: I8cc2165d14d09fd71f5830c4f61f9e8ac1d7c8da
/frameworks/base/graphics/java/android/graphics/drawable/AnimatedVectorDrawable.java
|
e5e92602a41a4ddc7b42cd1c171a0edfbd09b8da |
|
03-Jun-2014 |
ztenghui <ztenghui@google.com> |
Add AnimatedVectorDrawable Currently as a hidden class. It can support many the animations now as far as ObjectAnimator and hierarchical group can support. And we don't have path morphing yet. Also support the Animator / Interpolator inflation from Context and Resources. Change-Id: I948bbdf7373ad291171eed0b497959dce8c2edf3
/frameworks/base/graphics/java/android/graphics/drawable/AnimatedVectorDrawable.java
|