Merge "Update camera cutout" into main

This commit is contained in:
Kimi Hsu 2023-10-23 02:03:50 +00:00 committed by Android (Google) Code Review
commit 5c663d0f86
4 changed files with 10 additions and 10 deletions

View file

@ -267,7 +267,7 @@
<bool name="config_fillMainBuiltInDisplayCutout">true</bool>
<!-- Display cutout configuration -->
<string translatable="false" name="config_mainBuiltInDisplayCutout">
m 719,101 a 46.5,46.5 0 0 0 -93,0 46.5,46.5 0 0 0 93,0 z
m 719,99.5 a 47,47 0 0 0 -94,0 47,47 0 0 0 94,0 z
@left
</string>

View file

@ -13,10 +13,10 @@
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="225px"
android:height="225px"
android:viewportWidth="11.89"
android:viewportHeight="11.89">
android:height="227px"
android:viewportWidth="225"
android:viewportHeight="227">
<path
android:fillColor="#000000"
android:pathData="M 0.01,11.89 C 0.01,9.94 -0.05,7.94 0.57,6.07 0.94,4.88 1.61,3.78 2.45,2.86 3.28,1.96 4.32,1.25 5.46,0.8 6.19,0.51 6.94,0.29 7.72,0.19 9.11,-0.03 10.52,0.01 11.92,0.01 H 0.01 V 11.89 z"/>
android:pathData="M 0.59,226.74 C 0.65,189.7 -0.53,151.68 11.27,116.08 18.2,93.33 30.79,72.51 46.68,55.03 62.32,37.81 81.87,24.38 103.33,15.71 116.99,10.15 131.24,6.03 145.86,4.09 171.91,-0.05 198.52,0.75 224.81,0.6 H 0.59 V 226.74 z"/>
</vector>

View file

@ -13,10 +13,10 @@
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="225px"
android:height="225px"
android:viewportWidth="11.89"
android:viewportHeight="11.89">
android:height="227px"
android:viewportWidth="225"
android:viewportHeight="227">
<path
android:fillColor="#000000"
android:pathData="M 0.01,11.89 C 0.01,9.94 -0.05,7.94 0.57,6.07 0.94,4.88 1.61,3.78 2.45,2.86 3.28,1.96 4.32,1.25 5.46,0.8 6.19,0.51 6.94,0.29 7.72,0.19 9.11,-0.03 10.52,0.01 11.92,0.01 H 0.01 V 11.89 z"/>
android:pathData="M 0.59,226.74 C 0.65,189.7 -0.53,151.68 11.27,116.08 18.2,93.33 30.79,72.51 46.68,55.03 62.32,37.81 81.87,24.38 103.33,15.71 116.99,10.15 131.24,6.03 145.86,4.09 171.91,-0.05 198.52,0.75 224.81,0.6 H 0.59 V 226.74 z"/>
</vector>

View file

@ -22,7 +22,7 @@
<resources>
<!-- Configure 13px of extra protection around the front-facing camera -->
<string translatable="false" name="config_frontBuiltInDisplayCutoutProtection">
m 585.74,68.4 a 49.16,60.6 0 0 0 -91.47,0 49.16,60.6 0 0 0 91.47,0 Z
m 732,99.5 a 60,60 0 0 0 -120,0 60,60 0 0 0 120,0 z
</string>
<!-- Camera 1 is the front camera -->