diff options
author | shawnlin <shawnlin@google.com> | 2020-03-24 16:45:47 +0800 |
---|---|---|
committer | shawnlin <shawnlin@google.com> | 2020-03-27 16:29:45 +0800 |
commit | 0264a6cb29eb8c67d4cc4dff5b6d164807c20f56 (patch) | |
tree | 12ebd2c79d07286462a2217b920d16b55532b89e /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | e5f640004209c77e90181f11170f304cf15f546c (diff) |
Fixed incorrect rounded corner size
When top and bottom radius are different:
1. If rounded corners are shown by top and bottom overlays
- Apply top radius to corners on top overlay
- Apply bottom radius to corners on bottom overlay
2. If rounded corners are shown by left and right overlays
- Apply top and bottom radius according to current rotation.
Fixes: 152004675
Test: atest ScreenDecorationsTest
Change-Id: I0251134cdd784fe3865d01ea6ad6cd2b7eee53db
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions