summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorLeon Scroggins III <scroggo@google.com>2018-02-23 16:11:37 -0500
committerLeon Scroggins III <scroggo@google.com>2018-03-02 16:11:37 -0500
commit6de55b88f7542cbce90e53b53f4b66a6ceaaad4b (patch)
tree64983fba34d52d4b70dfbea6b4b6dc7cee73ee78 /tools/aapt2/java/JavaClassGenerator.cpp
parentc9aa856559ca3b08c9409164b2f86c218c71505f (diff)
AID: Change loop to repeat and set from xml
Bug: 73529437 Test: I60fbee6d3610070413e8c46f363ec3c19c2e7c52 Allow setting AnimatedImageDrawable's loop count in xml. Use "repeatCount" to match the existing attr used by other objects, and change the Java api from "loop" to "repeat". Cache the repeat count in the State object for the situation where we inflate but are waiting on a theme, so that when we get a src we can apply the existing repeat count. Change-Id: Ie723fe9a40c64dd0e1e8fd7b5d5cf81e5c5ccd0d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions