summaryrefslogtreecommitdiffstats
path: root/tests/VectorDrawableTest/src
diff options
context:
space:
mode:
authorztenghui <ztenghui@google.com>2014-11-20 23:11:33 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-11-20 23:11:38 +0000
commit002bc810882c0a322a09d0e4527ab8083547e145 (patch)
tree6e970ffdfda38cd2881a1298676a25b075ba8433 /tests/VectorDrawableTest/src
parent18ab5c216c62d90a4b86f37a4c993c1c8b56835d (diff)
parent5b84eace6cb79c42fe43480f08c68b7dea4e074a (diff)
downloadframeworks_base-002bc810882c0a322a09d0e4527ab8083547e145.zip
frameworks_base-002bc810882c0a322a09d0e4527ab8083547e145.tar.gz
frameworks_base-002bc810882c0a322a09d0e4527ab8083547e145.tar.bz2
Merge "ASLD: ASLD's XML reversible flag can turn off the reverse behavior now." into lmp-mr1-dev
Diffstat (limited to 'tests/VectorDrawableTest/src')
-rw-r--r--tests/VectorDrawableTest/src/com/android/test/dynamic/AnimatedStateVectorDrawableTest.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/VectorDrawableTest/src/com/android/test/dynamic/AnimatedStateVectorDrawableTest.java b/tests/VectorDrawableTest/src/com/android/test/dynamic/AnimatedStateVectorDrawableTest.java
index 566cc4b..5386555 100644
--- a/tests/VectorDrawableTest/src/com/android/test/dynamic/AnimatedStateVectorDrawableTest.java
+++ b/tests/VectorDrawableTest/src/com/android/test/dynamic/AnimatedStateVectorDrawableTest.java
@@ -27,9 +27,16 @@ public class AnimatedStateVectorDrawableTest extends Activity {
private static final String LOGCAT = "AnimatedStateVectorDrawableTest";
protected int[] icon = {
+ // These shows pairs of ASLD , the left side set the reversible to true.
+ // the right side set to false.
R.drawable.state_animation_vector_drawable01,
+ R.drawable.state_animation_vector_drawable01_false,
R.drawable.state_animation_vector_drawable02,
+ R.drawable.state_animation_vector_drawable02_false,
R.drawable.state_animation_vector_drawable03,
+ R.drawable.state_animation_vector_drawable03_false,
+ R.drawable.state_animation_drawable04,
+ R.drawable.state_animation_drawable04_false,
};
@Override
@@ -39,7 +46,7 @@ public class AnimatedStateVectorDrawableTest extends Activity {
ScrollView scrollView = new ScrollView(this);
GridLayout container = new GridLayout(this);
scrollView.addView(container);
- container.setColumnCount(5);
+ container.setColumnCount(2);
for (int i = 0; i < icon.length; i++) {
CheckBox button = new CheckBox(this);