avicii: Set rounded corner overlays

Change-Id: I11baf8b76d45152a32a4da86db2a82baac4111ce
This commit is contained in:
KakatkarAkshay
2023-01-25 14:59:52 +05:30
committed by Philipp Albrecht
parent 3fab13d29c
commit 8221a995e1
6 changed files with 64 additions and 0 deletions

View File

@@ -326,6 +326,7 @@ PRODUCT_PACKAGES += \
OPlusFrameworksResTarget \
OPlusSettingsResCommon \
OPlusSystemUIResCommon \
OPlusSystemUIResTarget \
WifiResTarget
# Partitions

View File

@@ -12,4 +12,7 @@
<dimen name="status_bar_height_portrait">113px</dimen>
<dimen name="status_bar_height_landscape">28dp</dimen>
<!-- Default radius of the software rounded corners. -->
<dimen name="rounded_corner_radius">100px</dimen>
</resources>

View File

@@ -0,0 +1,9 @@
//
// Copyright (C) 2022 The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//
runtime_resource_overlay {
name: "OPlusSystemUIResTarget",
device_specific: true,
}

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2022 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.systemui.overlay.oplus.target">
<overlay
android:isStatic="true"
android:priority="350"
android:targetPackage="com.android.systemui" />
</manifest>

View File

@@ -0,0 +1,11 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="200px"
android:height="200px"
android:viewportWidth="200"
android:viewportHeight="200">
<path
android:fillColor="#ff000000"
android:pathData="M 0.9401 114.6228 C 1.2391 96.1938 1.5141 79.8438 3.1211 66.8988 C 4.7241 53.9548 7.6571 44.4118 12.4421 36.1618 C 17.2261 27.9118 23.8641 20.9548 32.0031 15.8278 C 40.1411 10.7018 49.7841 7.4068 59.1171 5.3408 C 68.4501 3.2738 77.4751 2.4378 87.4811 1.9188 C 97.4861 1.3978 108.4731 1.1968 118.4451 1.0188 C 128.4151 0.8398 137.3691 0.6848 147.3201 0.5178 C 157.2691 0.3508 168.2111 0.1728 180.1961 0.0838 C 192.1791 -0.0042 205.2001 -0.0042 217.7381 -0.0042 L 0.0001 -0.0042 L 0.0001 209.8958 C 0.0001 196.6958 0.0001 185.3798 0.1621 169.4688 C 0.3211 153.5558 0.6411 133.0498 0.9401 114.6228" />
</vector>

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2009, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** 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.
*/
-->
<!-- These resources are around just to allow their values to be customized
for different hardware and product builds. -->
<resources>
<!-- Respect drawable/rounded.xml intrinsic size for multiple radius corner path customization -->
<bool name="config_roundedCornerMultipleRadius">true</bool>
</resources>