diff options
author | Riddle Hsu <riddlehsu@google.com> | 2021-05-05 23:50:06 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2021-05-05 23:50:06 +0800 |
commit | 2595465821b2c39aa88d5714d224374e032eb1ef (patch) | |
tree | 1f9a116c07aaec5f3ded5c830c1038680deb6418 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | bd351242a9699d466efd37d0967a35633c666c86 (diff) |
Load icon of splash screen only once
It is unnecessary to load icon without scale and load again
with scale. Just load the scaled one directly.
The construction time of SplashScreenView:
Dialer : 36ms -> 24ms
Messages: 21ms -> 13ms
Contacts: 27ms -> 16ms
Bug: 187104264
Test: OpenAppMicrobenchmark
Change-Id: I0b71d3038f85a0839af862e5822e10fccbe1395d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions