diff options
author | Riddle Hsu <riddlehsu@google.com> | 2019-02-25 13:35:53 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2019-02-25 14:01:12 +0000 |
commit | c90c4a54b7df390be0af8f6362976dc63ca32776 (patch) | |
tree | 64c6bc1752218afd6e8b191f4f84d254ba7d4c03 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | ddc0fa515588f6545f7ffbc4e9d03b55565020f8 (diff) |
Only rotate seamlessly if the app window fills its parent
e.g. An activity with fixed aspect ratio:
----------
| | -----------------
| | || | | |
|Activity| -> || | Activity | |
| | || | | |
|________| || | | |
| Lbox | -----------------
========== <^ ^ Letterbox
Navigation bar
The relative position is changed after rotation, so it may
look like a sudden jump when rotating seamlessly.
Bug: 112288258
Test: atest DisplayPolicyTests#testShouldRotateSeamlessly
Change-Id: I520534e11b35e3d570bc7f65198bc3cc3c82aac1
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions