summaryrefslogtreecommitdiffstats
path: root/tests/VectorDrawableTest/src/com/android/test
diff options
context:
space:
mode:
authorztenghui <ztenghui@google.com>2014-10-07 15:09:32 -0700
committerztenghui <ztenghui@google.com>2014-10-10 11:11:34 -0700
commit897f6daeffe965d546ebdc9a05c99a638b37f37d (patch)
tree14fb0526b861ffa6e8c1822d699ab50684de62e1 /tests/VectorDrawableTest/src/com/android/test
parent4cc3e2704a93197213ca0978b8c940abcb59e49a (diff)
downloadframeworks_base-897f6daeffe965d546ebdc9a05c99a638b37f37d.zip
frameworks_base-897f6daeffe965d546ebdc9a05c99a638b37f37d.tar.gz
frameworks_base-897f6daeffe965d546ebdc9a05c99a638b37f37d.tar.bz2
Support negative value in exponential data in the pathData.
Now "1e-5" will not be separated as "1e" and "-5". Add one test for this use case. Make sure we print out the pathData when path parsing has error. b/17919923 Change-Id: I10a00ce21166cfb5a009c49c1a93f40eeb956d83
Diffstat (limited to 'tests/VectorDrawableTest/src/com/android/test')
-rw-r--r--tests/VectorDrawableTest/src/com/android/test/dynamic/AnimatedVectorDrawableTest.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/VectorDrawableTest/src/com/android/test/dynamic/AnimatedVectorDrawableTest.java b/tests/VectorDrawableTest/src/com/android/test/dynamic/AnimatedVectorDrawableTest.java
index c4dfb84..3045839 100644
--- a/tests/VectorDrawableTest/src/com/android/test/dynamic/AnimatedVectorDrawableTest.java
+++ b/tests/VectorDrawableTest/src/com/android/test/dynamic/AnimatedVectorDrawableTest.java
@@ -26,6 +26,7 @@ public class AnimatedVectorDrawableTest extends Activity implements View.OnClick
private static final String LOGCAT = "AnimatedVectorDrawableTest";
protected int[] icon = {
+ R.drawable.ic_open_animation,
R.drawable.ic_rotate_2_portrait_v2_animation,
R.drawable.ic_signal_airplane_v2_animation,
R.drawable.ic_hourglass_animation,