diff options
author | chaviw <chaviw@google.com> | 2017-12-28 11:35:53 -0800 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2018-01-04 20:55:30 +0000 |
commit | f43b6aeb90640da98dc9923b8541c57fc9ccf5ec (patch) | |
tree | 7c08cc9abe342d219e8d4473692a965cd76094bf /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | e6c890c57f4183a10d6b03d9f3ab4e096246180c (diff) |
Ensure the correct animation bounds for STACK_CLIP_BEFORE
Previously the animation clip was intersected with the stack bounds.
Instead, the stack bounds should be intersected with the animation clip.
Also make sure the stack bounds are offset to 0,0 so they don't take
into account position.
Test: Minimize primary in split screen. Lock screen and unlock. Minimized
screen is now correct crop.
Test: Set an app in primary and secondary split screen. Lock screen and
unlock. Both primary and secondary should be in the correct place with
the correct crop.
Test: WindowAnimationSpecTest
Change-Id: Ia8b4f77a8e71b63c19e759b8af7de446a20d8a56
(cherry picked from commit 977482aa7407ae9c1b7684627b0133784eaaf137)
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions