diff options
author | Robert Carr <racarr@google.com> | 2015-09-25 14:56:38 -0700 |
---|---|---|
committer | Robert Carr <racarr@google.com> | 2015-09-25 14:56:38 -0700 |
commit | 2f0fe62c5426533ccdf9ec7ef28027c367286979 (patch) | |
tree | 1c1cb3b4fdf1cb634e71db92f239a9c777cb5d95 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 440f0a34ff68ecd2d630c582ba2dde37c6375ccc (diff) |
WindowStateAnimation: Clear transformation clip rect.
Ensure the clip rect taken from transformations is cleared
when there is no transformation. Normally the failure to
clear the clip would not cause a problem, as the final clip
would be equal to the window size. However, in the event that
the window scale goes on to change (WindowState::m(H/V)Scale that is)
the clip will now be specified at the inappropriate scale (notice the
way the clip must be divided by H/VScale as SurfaceFlinger will apply
the surface transform to the clip).
Bug:23974105
Change-Id: I4548e8ecea8d66d4942e99823653a7b05f87cea0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions