Revert "Revert "New corner specs for husky/shiba""

This reverts commit aa6ffea6c5.

Reason for revert: Fixing the issue that caused the revert

Added new assets (same for top/botom) for husky and shiba, as well as
tuned the holepunch cutout antialiasing curves based on the following
specs:

Husky:
- corner size 146.5px
- holepunch center coords: (672px, 75px)
- holepunch radius: 43.25px

Shiba:
- corner size 128px
- holepunch center coords: (540px, 68.5px)
- holepunch radius: 36.5px

Test: needs manual validation
Bug: 243693886

Change-Id: I0b951f6a06a5421fdd22a7d67290468946e3c50b
This commit is contained in:
Evan Laird 2023-06-02 20:11:06 +00:00
parent df4540ccfe
commit f90fd259f3
6 changed files with 34 additions and 32 deletions

View file

@ -248,9 +248,9 @@
<!-- Display cutout configuration -->
<string translatable="false" name="config_mainBuiltInDisplayCutout">
M 626.5,75.5
a 45,45 0 1 0 90,0
a 45,45 0 1 0 -90,0
M 628.75,75
a 43.25,43.25 0 1 0 86.5,0
a 43.25,43.25 0 1 0 -86.5,0
Z
@left
</string>

View file

@ -1,5 +1,5 @@
<!--
Copyright (C) 2021 The Android Open Source Project
Copyright (C) 2023 The Android Open Source Project
You may obtain a copy of the License at
@ -12,11 +12,11 @@
limitations under the License.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="115px"
android:height="115px"
android:viewportWidth="115"
android:viewportHeight="115">
android:width="146.5px"
android:height="146.5px"
android:viewportWidth="21.56"
android:viewportHeight="21.56">
<path
android:fillColor="#000000"
android:pathData="m 100.6831,1.9816622 c -29.806898,6.3378 -49.540698,16.5907998 -66.898198,34.7579998 -17.004,17.7973 -25.7170003,35.315 -31.8043003,63.943898 L -9.8267718e-5,114.99996 V -3.7795276e-5 H 114.9999 L 100.6834,1.9814622 Z"/>
android:pathData="m0,21.56C0,18.524 -0.037,15.685 0.701,12.679c0.717,-2.922 2.089,-5.584 4.241,-7.736C7.093,2.791 9.755,1.419 12.678,0.701 15.684,-0.037 18.524,0 21.56,0H0v21.559Z"/>
</vector>

View file

@ -1,5 +1,5 @@
<!--
Copyright (C) 2022 The Android Open Source Project
Copyright (C) 2023 The Android Open Source Project
You may obtain a copy of the License at
@ -12,11 +12,11 @@
limitations under the License.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="120px"
android:height="120px"
android:viewportWidth="12"
android:viewportHeight="12">
android:width="146.5px"
android:height="146.5px"
android:viewportWidth="21.56"
android:viewportHeight="21.56">
<path
android:fillColor="#000000"
android:pathData="M 0.1412,10.432865 C 0.28411,9.343999 0.78655,7.653078 1.29623,6.570671 2.05506,4.959135 3.44108,3.316382 4.96049,2.258588 6.2561,1.356598 7.39814,0.809879 9.86951,0.280664 10.2831,0.192 11.33241,0.03432 12,0 H 0 V 11.999999 C 0.02856,11.4764 0.0066,11.458694 0.1412,10.432865 Z"/>
android:pathData="m0,21.56C0,18.524 -0.037,15.685 0.701,12.679c0.717,-2.922 2.089,-5.584 4.241,-7.736C7.093,2.791 9.755,1.419 12.678,0.701 15.684,-0.037 18.524,0 21.56,0H0v21.559Z"/>
</vector>