diff options
author | Andrii Kulian <akulian@google.com> | 2016-10-11 20:06:27 -0700 |
---|---|---|
committer | Andrii Kulian <akulian@google.com> | 2016-10-12 17:15:15 -0700 |
commit | 4dfb9c4bbb014ac4625dcae419b212d00f541ef0 (patch) | |
tree | 14ab1bcac1cc4c51332aba6e345dcb8ef398d598 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 5890f31b017cd82bf2b968c01441e3d949d13ca3 (diff) |
Fix bounds rotation logic
Reuse code that computes window bounds for seamless rotation in
DisplayContent#rotateBounds. Also make sure that we operate with
display rect adjusted for the requested orientation.
Bug: 31005451
Bug: 29586417
Test: Tests in ActivityManagerAppConfigurationTests pass.
Change-Id: I921ec184c9eaad6dbd15ac3e0def1f5e623a363e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions