pipa: Update rounder corners overlays
* Based on stock overlays Change-Id: Ib239bfc3f7abea580abbd77c18999115ba0d8861
This commit is contained in:
committed by
Sebastiano Barezzi
parent
2f2ed35f44
commit
66dcc78609
@@ -13,16 +13,10 @@
|
||||
-->
|
||||
<resources>
|
||||
<!-- Default paddings for content around the corners. -->
|
||||
<dimen name="rounded_corner_content_padding">55px</dimen>
|
||||
<dimen name="rounded_corner_content_padding">40px</dimen>
|
||||
|
||||
<!-- Default radius of the software rounded corners. -->
|
||||
<dimen name="rounded_corner_radius">126px</dimen>
|
||||
|
||||
<!-- Default 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 corner. -->
|
||||
<dimen name="rounded_corner_radius_adjustment">25px</dimen>
|
||||
<dimen name="rounded_corner_radius">46px</dimen>
|
||||
|
||||
<!-- Height of the status bar.
|
||||
Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
<!--
|
||||
Copyright (C) 2020 The Android Open Source Project
|
||||
You may obtain a copy of the License at
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="260px"
|
||||
android:height="237px"
|
||||
android:viewportWidth="260.0"
|
||||
android:viewportHeight="237.0">
|
||||
|
||||
<path
|
||||
android:pathData="M259.51,0C226.69,0 180.55,-0.1 147.73,0.89C137.84,1.19 127.96,1.6 118.09,2.3C109.36,2.92 100.68,3.76 92.02,5.14C73.26,8.13 56.11,13.49 40.55,25.27C32.5,31.36 25.5,38.72 19.83,47.06C14.93,54.25 11.23,61.78 8.47,70.03C5.73,78.23 4.15,86.55 3.09,95.11C1.86,105.12 1.33,115.14 0.96,125.21C-0.11,154.31 0,207.89 0,237L0,0L259.51,0Z"
|
||||
android:fillColor="#000000" />
|
||||
|
||||
</vector>
|
||||
@@ -1,21 +0,0 @@
|
||||
<!--
|
||||
Copyright (C) 2020 The Android Open Source Project
|
||||
You may obtain a copy of the License at
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="218px"
|
||||
android:height="218px"
|
||||
android:viewportWidth="218.0"
|
||||
android:viewportHeight="218.0">
|
||||
|
||||
<path
|
||||
android:pathData="M0,218C0,187.36 -0.13,148.14 1.23,119.51C1.64,110.9 2.2,102.32 3.16,93.76C3.99,86.31 5.11,78.95 6.9,71.65C8.66,64.49 11.01,57.69 14.35,51.09C18.34,43.19 23.47,36.1 29.74,29.84C36,23.58 43.09,18.46 50.99,14.47C57.6,11.14 64.4,8.79 71.56,7.04C78.86,5.25 86.22,4.13 93.68,3.3C102.25,2.34 110.83,1.78 119.44,1.37C148.1,0.01 187.34,0.15 218,0.15L0.07,0L0,218Z"
|
||||
android:fillColor="#000000" />
|
||||
|
||||
</vector>
|
||||
@@ -20,11 +20,6 @@
|
||||
<!-- These resources are around just to allow their values to be customized
|
||||
for different hardware and product builds. -->
|
||||
<resources>
|
||||
<!-- Default rounded corner curve (a Bezier). Must match (the curved path in) rounded.xml.
|
||||
Note that while rounded.xml includes the entire path (including the horizontal and vertical
|
||||
corner edges), this pulls out just the curve.
|
||||
-->
|
||||
<string name="config_rounded_mask" translatable="false">M22,0C19.94,0.01 18.83,0.04 17.73,0.11C16.91,0.17 16.09,0.25 15.3,0.36C14.5,0.48 13.72,0.62 12.95,0.81C11.42,1.19 9.97,1.72 8.65,2.43C7.32,3.14 6.12,4.02 5.08,5.07C4.04,6.11 3.15,7.31 2.44,8.64C1.73,9.97 1.19,11.42 0.82,12.94C0.63,13.7 0.48,14.49 0.37,15.29C0.25,16.09 0.17,16.9 0.12,17.72C0.05,18.82 0.02,19.93 0.01,21.55</string>
|
||||
|
||||
<!-- A path similar to frameworks/base/core/res/res/values/config.xml
|
||||
config_mainBuiltInDisplayCutout that describes a path larger than the exact path of a display
|
||||
|
||||
@@ -16,9 +16,6 @@
|
||||
*/
|
||||
-->
|
||||
<resources>
|
||||
<dimen name="config_rounded_mask_size">156px</dimen>
|
||||
<dimen name="config_rounded_mask_size_top">@dimen/config_rounded_mask_size</dimen>
|
||||
<dimen name="config_rounded_mask_size_bottom">@dimen/config_rounded_mask_size</dimen>
|
||||
|
||||
<!-- The padding on the side of the navigation bar. Must be greater than or equal to
|
||||
navigation_extra_key_width -->
|
||||
|
||||
Reference in New Issue
Block a user