diff options
author | Derek Sollenberger <djsollen@google.com> | 2017-08-30 14:38:40 -0400 |
---|---|---|
committer | Derek Sollenberger <djsollen@google.com> | 2017-08-30 14:38:40 -0400 |
commit | 097ec9451eff1597b16d66178e4b8a4d94eb8be8 (patch) | |
tree | 3f092ce186ffd310b885677e21919294321f9f86 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 579317d4eb9648845f6f45bfbea2a98fa7813de4 (diff) |
Avoid generating an outline that is not contained within view's bounds.
Given that the outline rect starts with an origin of (-1,-1) when we
combine that with the clipRect that has an origin of (0,0) it causes
the HWUI renderer to perform pathOps and draw more complex shadows than
necessary.
Bug: 64487466
Test: SystemUiJankTests#testRecentAppsFling
Change-Id: Icb932343e6bbc053335bd007d49692262dbba72a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions