Skip to content
Commit f41034c7 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Use task bounds as local animation frame in fixed rotation

When switching to a fixed rotation transformed activity, the activity
will be rotated but display and task are still in original rotation.
So the local animation should use the same coordinate space as display.

The insets for animation are not handled because aspect-scaled-thumbnail
animation is no longer used (replaced by recents animation). So the
methods in rotator are also simplified.

Bug: 151709552
Test: DisplayContentTests#testApplyTopFixedRotationTransform
Test: Enable fixed_rotation_transform and launch activity with
      ActivityOptions#makeClipRevealAnimation in different orientation.

Change-Id: I7c924719eb535252509305cd842cdb4e0279b858
parent 4d39f7bb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment