summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRobert Carr <racarr@google.com>2018-02-23 12:17:51 -0800
committerRobert Carr <racarr@google.com>2018-02-28 11:43:10 -0800
commit74a66a2c7ba0ee3472d4863c958df5d41bbc3267 (patch)
tree703787656f48f170056baa278f9f4dd846f3eedb /tools/aapt2/java/JavaClassGenerator_test.cpp
parent217e7cc2212204bb14eae15c055ee0c2d640e861 (diff)
Various pinned animation bug fixes.
First we need to change the way the aspect scale cropping happens on the way down, previously we relied on the stack bounds to crop us and did not expand the stack bounds for shadows. Now that the stack surface bounds are expanded for shadows we have to do the additional cropping required by this animation at the WSA level. Namely we interpolate such that when the animation reaches 100% progress everything except the source bounds will be cropped out. If we didn't do this we would see a surfaceInsets sized sliver of the original app at the end of the animation. A second fix is to update the stack bounds when changing windowing modes to make sure we immediately expand for the pinned insets (as the WindowState level may now immediately reposition to compensate). A third fix is to correct the stack outset logic to match the client side in WindowManager.java A fourth fix is to bump the default and arbitrary surface size to allow for surfaces slightly larger than full-screen and positioned at a negative position, e.g. a full-screen-surface which retained it's insets due to a slow or non-cooperative client. Bug: 70666541 Test: Manual. go/wm-smoke. Change-Id: I045ddf191cd3875f5d32c2e15da6e01fb50f3a01
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions