diff options
author | lumark <lumark@google.com> | 2019-12-26 22:05:12 +0800 |
---|---|---|
committer | lumark <lumark@google.com> | 2020-01-14 01:15:17 +0800 |
commit | 8571866ccd956557aa70baa497cb328d249bdbe0 (patch) | |
tree | 071d00fef9cd87419940e7cd0f15b1303746f0da /rs/java/android/renderscript/ProgramStore.java | |
parent | e8bab7970d38449763e698fb8f8c9a8c2d49f23c (diff) |
Fix some cases when enabling hierarchical animation
- Fix split-screen primary stack's thumbnail won't animate:
- in ActivityRecord#attachThumbnailAnimation, using WC#getAnimatingContainer
to align the current animating layer.
- Fix animation surface position shifted when launching activity in
split-screen secondary stack:
- Using WC#getRelativeDisplayedPosition in WC#getAnimationAdapter
to get relative position of leash parent.
Also, refined below logics:
- Refine logics in WindowContainer#getAnimationBounds with
getDisplayBounds for fixing a regression issue that launching activity
from split screen secondary stack the animation will moving to top stack rather
then moving to bottom stack.
Bug: 142617871
Bug: 131661052
Test: Refectoring CL, all existing tests passed.
Test: Manual testing for:
1) Enable hierarchical animation flag by using adb command:
adb shell setprop persist.wm.hierarchical_animations 1
2) Entering split-screen mode from recents app.
3) Make sure task scroll-up thumbnail animation for split-screen primary
stack can animated.
4) Launch app to split-screen secondary stack, make sure launching
animation position will right below divider instead going to top-side
of screen.
Change-Id: I3ccc39ab1f3f02cecff8631512dc94f2f01c4be3
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions