summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorlumark <lumark@google.com>2019-12-14 01:54:02 +0800
committerlumark <lumark@google.com>2020-01-07 14:54:44 +0800
commit5341d1c7cc72486ffcfb002bfcae590109ccb008 (patch)
tree3382de50b31ac650755dacdb2199004952f7e351 /rs/java/android/renderscript/ProgramStore.java
parentc4a819f5f5a749e6e1974e7a3f3ad4437f245311 (diff)
Make WC#applyAnimation can apply on Task / TaskStack layer (1/N)
- Use WC#getDisplayContent instead WC#mDisplayContent in WC#okToAnimation and WC#okToAnimate. - Fix some places that calls isAnimating() needs to add PARENTS flag. - Add unit tests to verify Task / Stack can applyAnimation with expected animation state. - In Task#createRemoteAnimationTarget(), use WC#getTopMostActivity to get top most activity rather than using getTopVisibleActivity, to prevent closing activity may not get corresponding activity instance case. - Fix WC#isWaitingForTransitionStart and WC#isAppTransition won't get correct result when animating app transition on Task / TaskStack container. - To ensure onAppTransitionFinished will be called when enabling hierarchical animation, needs to let activity.onAnimationFinished() also be called. - Implement Task#getAnimationBounds to get stack's bounds when appStackClipMode is STACK_CLIP_BEFORE_ANIM. Bug: 142617871 Bug: 131661052 Test: atest WindowContainerTests Change-Id: Id97087819cab54ba35fb4b9ae4b5b95a572ad377
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions