Customize adjustment for window rounded corner
Barbet rounded corner radius: 108px
15% Adjustment radius : 16px
Test: make and flash
Test: Trigger quick switch and observe window rounded corner
Bug: 190139030
Change-Id: I5b230a484faebcf5d8d3387e770b6a3658d13ab6
diff --git a/barbet/overlay/frameworks/base/core/res/res/values/config.xml b/barbet/overlay/frameworks/base/core/res/res/values/config.xml
index b6f9630..f7148b9 100755
--- a/barbet/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/barbet/overlay/frameworks/base/core/res/res/values/config.xml
@@ -219,6 +219,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">16px</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>