summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2021-09-17 02:49:22 +0800
committerRiddle Hsu <riddlehsu@google.com>2021-09-23 12:36:27 +0000
commit570b2eb491155c222d452f6342c6efa0951b021b (patch)
treee4a2d37e826a038bef3dab56580658d179ad763d /tools/aapt2/java/JavaClassGenerator_test.cpp
parent9fbadb5a3bbcb5f34cb2c9e1a14098a6b4e3d206 (diff)
Use rotation transition to handle display config change
1. Support fade animation with rotation delta 0. Rotation animation is also used to cover display configuration change, e.g. density, font size. 2. Use normal rotation animation when app requests orientation, e.g. from Activity#setRequestedOrientation. 3. Fix flickering of rotation animation The layers are: Transition Root - Animation leash - RotationLayer - Windowing layer So the higher layer should be leash instead of RotationLayer. Bug: 199836343 Test: ShellTransitionTests Test: setprop persist.debug.shell_transit 1; reboot Change font size in Settings, there should be a fade out animation for transiting to new configuration. Toggle portrait and landscape from app without specifying rotation animation type, seamless rotation should not be used. Change-Id: I7ec9553cc8df2b98f89b6fbda67c3834d018883b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions