summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorVishnu Nair <vishnun@google.com>2018-09-20 20:16:18 -0700
committerVishnu Nair <vishnun@google.com>2018-09-20 20:16:18 -0700
commitec634068d3bec341d1be975bd7e6469a1d87c394 (patch)
treeb23dc7f13f783ca414ef58696a675d9bd7dcbd46 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent5ee1ff7599b3f3deb962c0623a6d0ee9cf557b93 (diff)
WM: Fix seamless rotation when multiple windows are drawn
Currently seamless rotation applies a transformation to unrotate the AppWindowToken surface to undo the device rotation. The transformation is removed in a defered transaction tied to when the client draws the next frame in the new orientation. This breaks if the AppWindowToken has multiple sufaces drawing to it, such as in the case of Camera with a visible PopupWindow. If the PopupWindow draws first, it will remove the transform on the AppWindowToken surface causing a flicker. The fix applies the unrotate transformation to the WindowState surface so each window will seamlessly rotate indepedently being carefult to apply the transforms to the WindowState surface position as well. Fixes: 115664709 Test: go/wm-smoke Change-Id: I1dcdeea4554ef912d9dca885c480989c360b7032
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions