From 15ac3c0b7e2fb41531676dca2bb3ce5c9e019ab9 Mon Sep 17 00:00:00 2001 From: Evan Laird Date: Fri, 16 Jun 2023 16:17:16 +0000 Subject: [PATCH] Update Felix inner corner assets from design New corner spec imported from design that properly becomes flush with the vertical and horizontal sides. Bounding box set based on a 79px size, via a 5.28mm corner and a conversion of 1px = 66.9um Test: adb shell setprop debug.screenshot_rounded_corners 1 && Fixes: 283827918 Change-Id: I41b976243ac1497e45f74d4172c75093e8334268 --- .../SystemUI/res/drawable/rounded_corner_bottom.xml | 13 ++++++------- .../SystemUI/res/drawable/rounded_corner_top.xml | 13 ++++++------- 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/felix/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml b/felix/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml index 0dabd1d..691f734 100644 --- a/felix/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml +++ b/felix/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml @@ -1,5 +1,5 @@ - + android:width="79px" + android:height="79px" + android:viewportWidth="14.975" + android:viewportHeight="14.975"> + android:pathData="m0.001,14.975C0.001,13.015 -0.028,10.472 0.209,8.513c0.255,-2.103 0.859,-4.258 2.453,-5.852C4.256,1.068 6.411,0.464 8.513,0.209 10.472,-0.028 13.015,0.001 14.975,0.001H0.001v14.974Z"/> diff --git a/felix/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml b/felix/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml index 5c11068..691f734 100644 --- a/felix/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml +++ b/felix/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml @@ -1,5 +1,5 @@ - + android:width="79px" + android:height="79px" + android:viewportWidth="14.975" + android:viewportHeight="14.975"> + android:pathData="m0.001,14.975C0.001,13.015 -0.028,10.472 0.209,8.513c0.255,-2.103 0.859,-4.258 2.453,-5.852C4.256,1.068 6.411,0.464 8.513,0.209 10.472,-0.028 13.015,0.001 14.975,0.001H0.001v14.974Z"/>