summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/24/changes
diff options
context:
space:
mode:
authorRobert Carr <racarr@google.com>2016-04-26 20:44:30 -0700
committerRobert Carr <racarr@google.com>2016-04-26 20:44:30 -0700
commit9848c84d026186aa9a186d4587b615aae06a2ef6 (patch)
tree9e3f0f9051c94725365c99133c626f97430fcdad /docs/html/sdk/api_diff/24/changes
parent97ef0e77afa3be6255b70c8567843ac298386251 (diff)
Fix surfaceInset adjustment.
surfaceInsets are relative and have the same sign direction for left/top/right/bottom. This means we want to subtract the left/top insets and add the right/bottom in order to expand the surface. The current code is adding the left/right insets before adding them to the right, while still subtracting from the left. This ends up expanding the surface by 3*inset pixels instead of 2*inset pixels. Bug: 28368990 Change-Id: I6495e39283c7d2494c962f89e95672c5f1f6e1cd
Diffstat (limited to 'docs/html/sdk/api_diff/24/changes')
0 files changed, 0 insertions, 0 deletions