commit | 097ec9451eff1597b16d66178e4b8a4d94eb8be8 | [log] [tgz] |
---|---|---|
author | Derek Sollenberger <djsollen@google.com> | Wed Aug 30 14:38:40 2017 -0400 |
committer | Derek Sollenberger <djsollen@google.com> | Wed Aug 30 14:38:40 2017 -0400 |
tree | 3f092ce186ffd310b885677e21919294321f9f86 | |
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