summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2016-04-04 20:25:41 -0700
committerJorim Jaggi <jjaggi@google.com>2016-04-06 19:08:51 +0000
commitf583427b0de21037b9bda8a8a66b1ca4e4e1c9b9 (patch)
treef3172a2ad7cde4cb14c232111b51b15cc4f51288 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent39f1311b545f1f8732ee3a8b565018dcd0da7323 (diff)
Fix dialog placement
When calculating the frame for non-fullscreen windows, we incorrectly used the wrong bounds to calculate the frame, which lead to wrong positioning. To fix this, we use the inset bounds, which we consider the source of truth for all layout related aspects, to calculate the frame, and then offset everything by the difference between the inset bounds and the task bounds to position them correctly. Bug: 28012565 Bug: 27860956 Bug: 27441808 Change-Id: I90d45054e0bcce78d021ad2cd20e5ef7f79ded3d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions