diff options
author | wilsonshih <wilsonshih@google.com> | 2021-04-13 18:56:02 +0800 |
---|---|---|
committer | wilsonshih <wilsonshih@google.com> | 2021-04-26 12:36:54 +0800 |
commit | 1d699ec6b1ac4283aab012a16119465bc5da40a0 (patch) | |
tree | 4e526217a295d696db35d2c2e1fa670c90b7786c /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | fd0acf04c5c2b6814289f6a090161c3a5ccec0f8 (diff) |
Load higher resolution resource for icon on splash screen when needed
Enlarge the basic icon visible size to 160dp, and loading higher icon
drawable if available. For replaced icon we also enlarge the visible
area.
And if the icon does not need to draw the background, apply another 1.3
times scale than normal case.
TODO: need to handle legacy icon.
Bug: 182883560
Test: atest SplashscreenTests
Change-Id: Ia72a72a743a7ef5f80f247393c1a5bd0b6653a48
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions