summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorEvan Rosky <erosky@google.com>2021-01-22 13:32:55 -0800
committerEvan Rosky <erosky@google.com>2021-03-17 15:08:10 -0700
commit1551cb73075900e5d71a174ca4e51652b0d1713e (patch)
tree13889b3dbdf65643b56a3ae74ad8b80a33175193 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentd96c8193e28c4f3a8e6068fdb7ebe4b9cd5d0faa (diff)
Initial support for display rotation in shell transitions
This puts display-content as another WC in a transition. It then adds WC rotation to change tracking. If there is a rotation, the shell-side handlers will play the transition. This replaces ScreenTransitionAnimation, seamless-rotation, and fixed-rotation: ScreenTransitionAnimation implementation will move to shell. seamless-rotation is redundant because the rotation setup is intrinsically "seamless": it requires shell to imbue an animation onto it rather than just doing the jump-cut. fixed-rotation is now just a custom animation where we counter-rotate the closing app on frame 1 and then perform the normal open animation on the opening app. Bug: 179270750 Test: DisplayContentTests#testShellTransitRotation enable shell transitions and rotate the device or launch and close apps in different orientations. Change-Id: I4bc23b2e614ba85bf9752f62da4c3f8d0c90436d
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions