summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAlan Viverette <alanv@google.com>2015-09-02 13:33:58 -0400
committerAlan Viverette <alanv@google.com>2015-09-02 13:33:58 -0400
commit3da32b768899e7dabe3a16333edf5eca2b9ebe93 (patch)
treefe6702158566934b6fa920983beede3803944a0c /tools/aapt2/java/JavaClassGenerator_test.cpp
parent3d21421a440bb86dcd80bad8bc85fb1e859cd0d8 (diff)
Use floating-point value for Drawable level
This allows us to run fine-grained level animations. Backwards compatibility: Another CL will add DrawableCompat.setLevel(float) to forward calls to the existing integer-based method. For callbacks, developers can override onLevelChanged(int) and use DrawableCompat.getLevelFloat() to obtain the floating-point level. Overriding onLevelChanged(float) will only work on current API. Bug: 23566299 Change-Id: I431fe6f3679c8f23f9cf3c2bb1f92a4059ee68e3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions