commit | 656f6506fbbee34f2f66f013702ad860b738a73a | [log] [tgz] |
---|---|---|
author | Jorim Jaggi <jjaggi@google.com> | Mon Apr 11 21:08:17 2016 -0700 |
committer | Jorim Jaggi <jjaggi@google.com> | Tue Apr 12 19:35:24 2016 -0700 |
tree | 7092150ddf21dd9c70616c31d8fc7659fcde5bb5 | |
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