summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRobert Carr <racarr@google.com>2018-01-31 18:08:39 -0800
committerRobert Carr <racarr@google.com>2018-02-28 11:41:21 -0800
commit217e7cc2212204bb14eae15c055ee0c2d640e861 (patch)
tree7e99a565dea5e740aad213760911e8e6386ef80b /tools/aapt2/java/JavaClassGenerator_test.cpp
parent824095856be2745050d5c45d91bd88492f2940f4 (diff)
Nuke WindowState#mShownPosition. Rework mXOffset/mYOffset.
Ignoring Wallpaper Offsets, the WindowStateAnimator is now always positioned at (0,0), so we don't need to calculate or store this. For Wallpaper Offsets we can manipulate the position of the WindowStateAnimator surface directly. This seems to be a nice level to model the concept of scrolling a buffer larger than the "Window" to which it is assigned. Everything on top of WSA can ignore the offsets by only interacting with the WS and above. Seamless rotation may mess with the position so we need to be sure to reset it to 0,0. Test: Manual. go/wm-smoke Bug: 72038766 Change-Id: I961d190d1f1ee71faaede095617092a0ad32e16f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions