summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorBill Lin <lbill@google.com>2021-04-16 15:10:40 +0800
committerBill Lin <lbill@google.com>2021-04-29 12:14:29 +0800
commit57f37bf14397a06f2240e56c41e3cc5596d77ac8 (patch)
treed7dcf663dd6470ea6945c82bc8ae3b0d75cabc11 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent2dd3fdce69658238e0915b3334921268a186d9f1 (diff)
Refactor OHM to use (float)offset for translating windows
The core function of OHM is translate all windows down instead of resize, it's unnecessary to set WCT & app bounds that will introduce DA require to cache configuration in DAInfo as well as handle configuration changes stuffs This change ensure App Compat mode works good: - Remove wct.setBounds() & wct.setAppBounds() - Use float instead of bounds for transition/animation - Remove unused code - Reset setWindowCrop(leash, -1, -1) after rotate - Reset setCornerRadius(leash, -1) after rotate - Add dump() for OneHandedAnimationController - Add dump() for OneHandedSurfaceTransactionHelper Test: atest WMShellUnitTests Test: maunal trigger OHM, rotate, and obseve function works Bug: 184091042 Bug: 181091031 Change-Id: I401d9b8a79a2a1526b8683362a1e0330458141b1
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions