summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2016-04-11 21:08:17 -0700
committerJorim Jaggi <jjaggi@google.com>2016-04-12 19:35:24 -0700
commit656f6506fbbee34f2f66f013702ad860b738a73a (patch)
tree7092150ddf21dd9c70616c31d8fc7659fcde5bb5 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parentb72c9ad721e5ff5b9d5a45ca4ba2608940815388 (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 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions