diff options
author | Yunfan Chen <yunfanc@google.com> | 2019-12-05 14:51:09 +0900 |
---|---|---|
committer | Yunfan Chen <yunfanc@google.com> | 2019-12-27 12:04:54 +0800 |
commit | 02abf55ab02cf120850018b05762f9fba5e2afb8 (patch) | |
tree | 5b3b022dbf7d7d710655ceed4dd503acaff2f16c /rs/java/android/renderscript/ProgramStore.java | |
parent | 1c1d1c0f0da91cb41a2a72803fd06dc3daf1104b (diff) |
Decoupling InsetsAnimationControlImpl and the client
Currently InsetsAnimationControlImpl is heavily rely on
InsetsSourceConsumer and InsetsController on the client side, which
caused difficulties to the server to re-use the code. Decoupling it to
make it re-usable.
This patch made the following changes:
1. Introduce a callback interface to let InsetsAnimationControlImpl talk
to InsetsController.
2. Use InsetsSourceControl instead of InsetsSourceConsumer in the
InsetsAnimationControlImpl.
3. Remove all the consumers in the InsetsAnimationControlImpl.
Test: atest InsetsAnimationControlImplTest
Test: manual test with the new insets API, it works as expected.
Test: go/wm-smoke
Test: atest FrameworksCoreTests:InsetsControllerTest
Change-Id: I30f5aa73ff31e07c0dd8d61edbb208f16c5a6775
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions