From 5e7a29f6774f0672a51761297e5c6dbdbc8f794d Mon Sep 17 00:00:00 2001 From: ztenghui Date: Wed, 12 Nov 2014 16:19:03 -0800 Subject: 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 --- .../res/drawable/vector_drawable30.xml | 28 ++++++++++++++++++++++ .../test/dynamic/VectorDrawablePerformance.java | 1 + 2 files changed, 29 insertions(+) create mode 100644 tests/VectorDrawableTest/res/drawable/vector_drawable30.xml (limited to 'tests') diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable30.xml b/tests/VectorDrawableTest/res/drawable/vector_drawable30.xml new file mode 100644 index 0000000..3dff196 --- /dev/null +++ b/tests/VectorDrawableTest/res/drawable/vector_drawable30.xml @@ -0,0 +1,28 @@ + + + + + + + diff --git a/tests/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawablePerformance.java b/tests/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawablePerformance.java index 1cd6533..5a2e5a7 100644 --- a/tests/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawablePerformance.java +++ b/tests/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawablePerformance.java @@ -57,6 +57,7 @@ public class VectorDrawablePerformance extends Activity { R.drawable.vector_drawable27, R.drawable.vector_drawable28, R.drawable.vector_drawable29, + R.drawable.vector_drawable30, }; @Override -- cgit v1.1