summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJackal Guo <jackalguo@google.com>2019-02-27 17:06:33 +0800
committerJackal Guo <jackalguo@google.com>2019-03-07 09:31:34 +0800
commitc2e12c459d80514fb7569b71c13b958adf7967a0 (patch)
treef9f736f7907ffd238bb202ecc4135e1e0b7da6c2 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent1b042a7c6efaf7837f4f9ac5c80d6d257f19a26d (diff)
Count letterbox into non-magnified bounds
On device with display cutout, apps could decide if their windows are allowed to extend into the cutout area. If not, a letterbox will be applied such that the window does not extend into the cutout. The letterbox area won't be magnified so we wouldn't draw magnification overlay there. In this case, the magnification overlay would draw around the entire screen when there is a heads-up notification or another bigger magnifiable window becomes visible on top of letterbox area at that moment. However, we don't really count the letterbox into non-magnifiable area which would be counted as dirty rect. Hence, we only redraw smaller dirty rect. The old bigger boundary is outside the dirty rect and still in the surface. Bug: 79117529 Test: a11y CTS & unit test Test: manual Change-Id: Ie1cee78713016716fa1a203ffd12cf1612329590
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions