Customize adjustment for window rounded corner

Barbet rounded corner radius: 108px
8% Adjustment radius : 8px

Test: make and flash
Test: Trigger quick switch and observe window rounded corner
Bug: 190139030
Change-Id: Ie6b90293e75049d887a663fd3418abbc738cb223
This commit is contained in:
Bill Lin
2021-06-08 19:19:34 +08:00
parent dbe0e5d4e9
commit bfdafe2056

View File

@@ -228,6 +228,12 @@
<!-- Radius of the software rounded corners. -->
<dimen name="rounded_corner_radius">108px</dimen>
<!-- Top adjustment for the software rounded corners since corners are not perfectly
round. This value is used when retrieving the "radius" of the rounded corner in cases
where the exact bezier curve cannot be retrieved. This value will be subtracted from
rounded_corner_radius to more accurately provide a "radius" for the rounded corners.-->
<dimen name="rounded_corner_radius_adjustment">8px</dimen>
<!-- Height of the status bar in portrait. The height should be
Max((status bar content height + waterfall top size), top cutout size) -->
<dimen name="status_bar_height_portrait">145px</dimen>