commit | 003db4e4d1c8a11b65d5b44f8bf5851294047911 | [log] [tgz] |
---|---|---|
author | Derek Sollenberger <djsollen@google.com> | Mon Aug 28 11:07:46 2017 -0400 |
committer | Derek Sollenberger <djsollen@google.com> | Mon Aug 28 16:36:54 2017 -0400 |
tree | 99e3f2f80b9088f990f27f7579a28cee1146c7a7 | |
parent | 0516e16ec100a33480a1d9778c5c3c2198028121 [diff] |
Reduce number of unique paths used when drawing the battery icon. By clipping the canvas instead of the path we can avoid both the computation of the new path on the UI Thread and get cache reuse of the existing path on the RenderThread. Bug: 64487466 Test: SystemUiJankTests#testNotificationListPull Change-Id: Ic237aa1bc6b50b452eb9c71e23748b5d454dfa3c