summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2016-02-29 14:41:09 +0100
committerJorim Jaggi <jjaggi@google.com>2016-03-01 09:00:29 +0000
commit8175846ed686077736c985f0ae4d236b7a4c647c (patch)
tree42b8fa88fd910a5fdf814c5493886ef01ccba6fa /tools/aapt2/java/JavaClassGenerator_test.cpp
parent300efaa0eac384ddf9d29d0f6e5390a8a1974353 (diff)
Fix popup window calculation for multi-window
If ignoreBottomDecorations=true, the display size was extracted from the resources. However, this didn't work if the parent window was in multi-window, as all the calculations went wrong. Instead, introduce View.getWindowDisplayFrame which returns the "full" frame of the task the window is currently in, without any insets, and use that to calculate the bottom edge. Bug: 26255254 Change-Id: I8b235b335775022ae399ee082d1200aa76cc047c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions