diff options
author | Jorim Jaggi <jjaggi@google.com> | 2016-04-11 21:08:17 -0700 |
---|---|---|
committer | Jorim Jaggi <jjaggi@google.com> | 2016-04-12 19:35:24 -0700 |
commit | 656f6506fbbee34f2f66f013702ad860b738a73a (patch) | |
tree | 7092150ddf21dd9c70616c31d8fc7659fcde5bb5 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | b72c9ad721e5ff5b9d5a45ca4ba2608940815388 (diff) |
Fix calculation of content insets
When calculating all the frames and insets, we need to use the actual
frame instead of layoutContainingFrame. To do this, we layout mFrame
with layoutContaining/layoutDisplayFrame, calculate all the content
frames and insets, and then offset everything by the constant offset.
Bug: 28075359
Change-Id: I78f0a54ca2a0cc6c7c8be21153c2b2c8f1d5c0a9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions