diff options
author | lumark <lumark@google.com> | 2020-01-23 00:09:04 +0800 |
---|---|---|
committer | lumark <lumark@google.com> | 2020-03-09 22:24:17 +0800 |
commit | 2ec1912dfb8036d16aa5dc0dfd6d4f5135295b63 (patch) | |
tree | 2602b43ec0e8eb37af57e8ad3bf8f5920487a551 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 6a2213ae2e416dc81c2bef4f77a0073bae7f5f77 (diff) |
Add localBounds in RemoteAnimationTarget
With Hierarchical animation, the animation layer will no longer
be a fixed fullscreen layer but animate on the parent container's surface.
In order to run a remote animation, the animation controller needs to
know bounds of the target relative to both its parent and the screen.
The CL includes:
1) RemoteAnimationTarget changes:
- Add localBounds field for indicating the target bounds which
the coodiates relatives to its parent.
- Add screenScreenBounds field to replace souceContainerBounds
to reflect the target bounds relatives to the screen.
- Mark position & sourceContainerBounds as deprecated.
2) Modified related places to set correct localBounds information.
Test: build / run, make sure installing the old version of launcher on
the this new platform change still compatible without crash.
Test: manual as follow steps:
- Launching app from launcher to split-screen secondary stack
- Swipe up to overview screen and drag TaskView to see if the TaskView
surface is shfted, expected is not.
Bug: 148780840
Change-Id: Id9dbf6de193ab73fe94bc24ef6a27edc93380a14
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions