diff options
author | Adrian Roos <roosa@google.com> | 2020-02-12 15:05:27 -0800 |
---|---|---|
committer | Jorim Jaggi <jjaggi@google.com> | 2020-02-17 14:30:25 +0100 |
commit | db5b0c232140c7e9481e0b5648592cdaf03e169e (patch) | |
tree | eedafab624e0da435104f8983cd1e747935189f0 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | e96570e2915247f85c43925acbdb75dbe502cd16 (diff) |
WindowInsetsAnimation: Clean up API
Fixes issues the app developers have raised with
the WindowInsetsAnimation API:
- it really makes more sense to have the Animation
as the outer class, and the Callback nested within
- it was not obvious previously that multiple animations
could be running at the same time. A new argument to
onProgress now makes this abundantly clear by passing
in the list of running animations.
- The dispatch mode really fits better as a final
property on the callback, rather than it being
queried once from a getter.
Also fixes lint warnings.
Fixes: 143556682
Test: make checkapi; atest WindowInsetsControllerTests
Change-Id: I8cd8faac70dd5a15d779d2c983f0a0ea5d6bbd8e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions