OSDN Git Service

Handle the alpha in the group setting and fix the fill issue.
authorztenghui <ztenghui@google.com>
Fri, 30 May 2014 23:23:47 +0000 (16:23 -0700)
committerztenghui <ztenghui@google.com>
Tue, 3 Jun 2014 17:54:14 +0000 (10:54 -0700)
commit2af745b56cf4bdfdd9c05d90a4ccc740bf77a4fe
tree464b2de55681ccbd1e79520dc4c89ca2bb96213a
parent4d24caf1dec2babf273b18c99638fe2a0635ced4
Handle the alpha in the group setting and fix the fill issue.

The fill used to be dafault as "none".
Now it is default to opaque black, which is consistent with svg now.
So it is better to always set the fill value.

bug:15288554

Change-Id: I07ac41c5adc77665e66e52f2c0220139586fb09b
12 files changed:
graphics/java/android/graphics/drawable/VectorDrawable.java
tests/VectorDrawableTest/res/drawable/vector_drawable06.xml
tests/VectorDrawableTest/res/drawable/vector_drawable12.xml
tests/VectorDrawableTest/res/drawable/vector_drawable14.xml
tests/VectorDrawableTest/res/drawable/vector_drawable17.xml
tests/VectorDrawableTest/res/drawable/vector_drawable18.xml
tests/VectorDrawableTest/res/drawable/vector_drawable19.xml
tests/VectorDrawableTest/res/drawable/vector_drawable24.xml [new file with mode: 0644]
tests/VectorDrawableTest/res/drawable/vector_test01.xml
tests/VectorDrawableTest/res/drawable/vector_test02.xml
tests/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawable01.java
tests/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawablePerformance.java