diff options
author | Robert Carr <racarr@google.com> | 2017-01-31 13:20:31 -0800 |
---|---|---|
committer | Robert Carr <racarr@google.com> | 2017-01-31 13:51:35 -0800 |
commit | 8e7be8e808b0e7f27e745985c4f3672437f3ee2f (patch) | |
tree | b16239115ce65edeb1947246aa441e9da0166ba4 /tools/aapt2/diff/Diff.cpp | |
parent | cb07efbf74e99dd92230de5394834561bdba3326 (diff) |
Fix PiP animation errors introduced in crop refactoring.
Firstly, pinned stack now uses final crop only, so we need to scale
to the width/height computed there, not as computed for the crop.
Furthermore mTmpClipRect is no longer used directly to set the crop,
so clearing it in the pinned animation code had no effect. This fixes
the worst of the visual errors so people stop filing bugs while I
rework this logic entirely.
Bug: 34823229
Bug: 32881014
Bug: 33245930
Test: Manual with PiP activities on Fugu.
Change-Id: I45d2def5138f3cc278408a9209b5e5c40cece80b
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions