summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorVishnu Nair <vishnun@google.com>2020-01-23 16:28:33 -0800
committerVishnu Nair <vishnun@google.com>2020-01-23 16:31:02 -0800
commitf6ef1c7071f3ca7250cc6d9078155b9d6b1d9fa8 (patch)
tree6018cb3f557828c4f7138f7abb2cc4e20297db1b /tools/aapt2/java/JavaClassGenerator_test.cpp
parentcce89e27853c1a0969e08c48f092b6a0ec1a3188 (diff)
Switch to compositor shadows for PiP and Freeform windows (disabled by default)
Shadows are generated on PiP and Freeform windows by setting an elevation on the window's DecorView. The elevation is passed back to wm as surface insets to generate a large enough surface for the client to draw its content and render shadows around it. This cl introduces a new settings which overrides the setElevation call in DecorView and sets a shadow on the task surface. The elevation of the DecorView and the surface insets will remain unset. Add a surface crop to the task surface so we have proper bounds to draw shadows. Test: go/wm-smoke Bug: 136561771 Change-Id: Icc45e4fac3d495df5272d2e5f37163b9e7caeb4c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions