History log of /frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawablePerformance.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9af77a4ce22540726fbddd275f89e65fd1a1edf8 02-Apr-2015 ztenghui <ztenghui@google.com> Add group scaling factor into stroke width.

Originally, stroke width is independent of group scaling.
But that is a bug and causing animation trouble.

b/19501782

Change-Id: I33d5e44f2f8b2a82fee1a5a326223a39aaffa86c
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawablePerformance.java
996f22f4dfff977806106013e6042aaa3cc1f42d 21-Nov-2014 ztenghui <ztenghui@google.com> Supporrt tapas build for vector tests

Such that UX team has less pain on building the VD / AVD assets.
This also requires removing internal API dependence in the test.

To build the VectorDrawableTest with prebuilt SDK.
<root dir>/tapas VectorDrawableTest
<root dir>/make -j64 showcommand
Then later for incremental build.
<root dir>/mmm ./frameworks/base/tests/VectorDrawableTest/ -j20

b/18260896

Change-Id: Id559074df78d7c2a5c529c545834da23986bc15f
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawablePerformance.java
5e7a29f6774f0672a51761297e5c6dbdbc8f794d 13-Nov-2014 ztenghui <ztenghui@google.com> Fix the starting pen's position when a path close.

We have to cache the starting point for the latest "move", then apply it after
we close the path.

b/18214929

Change-Id: I8e8e5c810d720a1c194b8f59d74867a0efbb7662
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawablePerformance.java
4cc3e2704a93197213ca0978b8c940abcb59e49a 07-Oct-2014 ztenghui <ztenghui@google.com> Support dot separation as the svg path data did.

Like "0.0.0" will be separated to "0.0 .0" now, just to make sure we are more
complied with svg path data.

b/17892882

Change-Id: Id7b64e9882f5174aa794a0256e2a29d66c724876
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawablePerformance.java
d1c89b1dd68dc39031578dfc6a881c81f742637a 06-Aug-2014 ztenghui <ztenghui@google.com> Add stroke related test to the VectorDrawableTest

Change-Id: I7dceebd58d9365cf8e2a31dfeec418aa439bacb6
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawablePerformance.java
8d0d24f7a2b1a59060aa18926984491691d3c667 09-Jul-2014 ztenghui <ztenghui@google.com> Fix the render order to follow the XML file order.

So we put path and group into a big list, then use reflectiont to handle them
differently.

bug:16162141

Change-Id: I4c84dc952d5d9b49412301dcd6459395e21d3b31
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawablePerformance.java
2af745b56cf4bdfdd9c05d90a4ccc740bf77a4fe 31-May-2014 ztenghui <ztenghui@google.com> 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
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawablePerformance.java
4d24caf1dec2babf273b18c99638fe2a0635ced4 29-May-2014 ztenghui <ztenghui@google.com> Add the tree hierarchy for the group

bug:15288554

Change-Id: I7caedb8466d078a0d9a6148e00d02eded4a4d234
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawablePerformance.java
452f6ece7fe2fd1a85fca53f54e90bf041083b21 28-May-2014 ztenghui <ztenghui@google.com> Add translation and scale to the group tag and related tests.

bug:15288554

Change-Id: Iebe176d0a9c2c566d1910674a068e65e15569829
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawablePerformance.java
6d9c422de5e0a3890dd723cb1b9264d4507053e9 23-May-2014 ztenghui <ztenghui@google.com> Bring the group tag back to VectorDrawable.

This is the first step, including:
1. Bring the group tag back by reverting.
2. If there is no group tag, then treat all the paths as a single group.
Make sure our test cases covering both cases.

At the same time, fix one tiny UI bug in the test.

TODO:
1. Move the rotation to the group tag.
2. Add translation/scale to the group tag.
3. Convert the group into a tree hierarchy.

This reverts commit 404211630ba3bb865109434aba4433e7541b39d3.

Conflicts:
graphics/java/android/graphics/drawable/VectorDrawable.java

Change-Id: Ife65bb6a7fc85f9947124b8e356cd5b82119796a
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawablePerformance.java
498213a265e05134b4a4fbf93dce69de1a47973c 06-May-2014 ztenghui <ztenghui@google.com> First step on API cleaning on the VectorDrawable to disable animation support

Cleaning on the API level, and related tests.
The animated icon will be only showing the initial state.

TODO: Deep clean on the functionality part and attributes.

Change-Id: I5723bc5b64f796c3a273d74bde02095751160a88
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawablePerformance.java
fba3bad3870d607ecaed4f147788885c841c2ab3 03-Apr-2014 ztenghui <ztenghui@google.com> Clean up on VectorDrawable.

Rename the test from DynamicDrawableTest to VectorDrawableTest.
Remove duplicate function calls in the test.
Fix comments in VectorDrawable

Change-Id: I1ef87137088ccc10b1abdb40ca368345d9dbadab
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawablePerformance.java