diff options
author | Derek Sollenberger <djsollen@google.com> | 2017-08-28 11:07:46 -0400 |
---|---|---|
committer | Derek Sollenberger <djsollen@google.com> | 2017-08-28 16:36:54 -0400 |
commit | 003db4e4d1c8a11b65d5b44f8bf5851294047911 (patch) | |
tree | 99e3f2f80b9088f990f27f7579a28cee1146c7a7 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions