diff options
author | Yunfan Chen <yunfanc@google.com> | 2019-12-06 15:43:43 +0900 |
---|---|---|
committer | Yunfan Chen <yunfanc@google.com> | 2020-02-03 12:31:34 +0900 |
commit | b5d2db77383be02fdbf546a90a8cb6739093a5ad (patch) | |
tree | a66625e8a43ac641b3a3576a5d685e3e62df1d53 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 75f5bf33b087bd12c9b791962fef3fe43b096004 (diff) |
Implement Transient Insets Animation
This implements the transient insets animation. To have InsetsPolicy run
the animation, this patch:
1. Let InsetsPolicy implements InsetsAnimationControlCallbacks;
2. Make several properties, methods and subclasses in InsetsController
public, to let InsetsPolicy re-use them when possible.
3. Do everything necessary in InsetsPolicy to let the animation run
correctly.
Other misc changes in this CL includes:
1. Removed some un-necessary imports;
2. Implemented two toString method, for debug purpose.
Bug: 118118435
Test: Manual test with the new Insets API test app, everything works as
expected;
Test: go/wm-smoke
Test: atest InsetsPolicyTest
Change-Id: I6c45bd557573fcabb1a3f5aea3dcd58229280613
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions