summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2021-01-05 20:20:38 +0800
committerRiddle Hsu <riddlehsu@google.com>2021-02-08 12:25:27 +0800
commitc0e5b3d92f0d7328e84781d1f05a4f26a6d0b947 (patch)
tree930d968de73655476c5aa2ad1390c7559faa8d84 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent3919f6d224baa38e8339cfbf7b8855a134de6068 (diff)
Apply fixed rotation animation for pip to fullscreen
The activity surface is rotated by WM core when changing the windowing mode of PiP activity to fullscreen. And then PipTaskOrganizer#onFixedRotationStarted will be called before WindowContainerTransactionCallback#onTransactionReady. So PipTaskOrganizer can use the given new rotation to run the animation in current rotation. After the animation is done, PipTaskOrganizer will set the task to fullscreen, that makes previous top activity pause and then resume the next top activity (the original PiP). Finally, the fixed rotation is finished by transition done event, and then continue to rotate the display seamlessly. Also remove mInitialState from PipTaskOrganizer because it is no longer needed for predicting the fullscreen bounds. Bug: 165794724 Test: DisplayContentTests#testFixedRotationWithPip PipAnimationControllerTest#pipTransitionAnimator_rotatedEndValue Test: Expand PiP in portrait which was in landscape Change-Id: I5c1400ece9d80226bc35b497d308215010ead027
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions