summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Program.java
diff options
context:
space:
mode:
authorlumark <lumark@google.com>2019-12-26 22:05:12 +0800
committerlumark <lumark@google.com>2020-01-14 01:15:17 +0800
commit8571866ccd956557aa70baa497cb328d249bdbe0 (patch)
tree071d00fef9cd87419940e7cd0f15b1303746f0da /rs/java/android/renderscript/Program.java
parente8bab7970d38449763e698fb8f8c9a8c2d49f23c (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/Program.java')
0 files changed, 0 insertions, 0 deletions