diff options
author | Chris Li <lihongyu@google.com> | 2021-09-16 21:20:01 +0800 |
---|---|---|
committer | Chris Li <lihongyu@google.com> | 2021-09-21 08:31:07 +0800 |
commit | e045dd6e81be1bc0faf02b6bb1a42a05146a157e (patch) | |
tree | 50044aefdf483ef3ce09330cbb8234c8e74055b7 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 211d6cf754ad22981829d5b72ff9436ae11aada9 (diff) |
Use TaskFragment bounds instead of TaskBounds for Activity animation
The animation bounds is used as the RemoteAnimationTarget#localBounds.
It should be the TaskFragment bounds instead of Task bounds because the
Activity may not fill the Task when it is in a TaskFragment.
Also clean up ROOT_TASK_CLIP_BEFORE_ANIM which has no more use case.
Bug: 196173550
Test: test with demo app
Test: atest WmTests:ActivityRecordTests
Change-Id: Iff58afdb0bbae95d3f6a5756de06c0d2dfff7c88
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions