summaryrefslogtreecommitdiff
path: root/tools/bit/command.cpp
diff options
context:
space:
mode:
author Evan Rosky <erosky@google.com> 2022-01-31 14:40:01 -0800
committer Evan Rosky <erosky@google.com> 2022-02-09 17:12:31 -0800
commit91a630b912b0c87536f7d509064c514e1c47aa51 (patch)
treead436715b64e43d72a310e68ecfdd1b08b43c4c1 /tools/bit/command.cpp
parent9c29783be8d0367014ea2ef3638bb400fe1ce5a5 (diff)
Hook up fixed-rotation logic to shell transitions
This works by separating an app launching to 2 phases (similar to legacy fixed rotation). First it launches the app into a different rotation. Once the animation finishes it creates a new seamless display-rotation transition. Because we have displayRotation in windowconfiguration, we can directly rotate a window's surface instead of checking explicitly for fixedRotationState. Since the second-phase is a transition, we don't (ab)use seamlessRotator. Once the display lines-up, the surfaces and configurations automatically update. Since we still want to explore shell-transitions style rotation (single-transition), add a system property to turn it off and on. Bug: 217560545 Test: existing tests and manual tests Change-Id: I0b34b32ff5b2650a519d3c195df452de446cf515
Diffstat (limited to 'tools/bit/command.cpp')
0 files changed, 0 insertions, 0 deletions