davinci: overlay: Adjust window rounded corners

to make sure they will completely cover the display

Signed-off-by: Marco Rizzo <marco.rizzo.00@outlook.com>
Change-Id: I5ff1a727545c383692b02dabdbcf8810b70df1a1
This commit is contained in:
yankarinRG 2020-05-18 00:28:39 +02:00 committed by Arian
parent 0b15b7fb4e
commit bfd3451ff5
No known key found for this signature in database
GPG Key ID: 48029380598CE3B9
2 changed files with 29 additions and 3 deletions

View File

@ -597,9 +597,6 @@
<!-- Height of the status bar in portrait -->
<dimen name="status_bar_height_portrait">35.0dip</dimen>
<!-- Radius of the software rounded corners. -->
<dimen name="rounded_corner_radius">103px</dimen>
<!-- Vibrator pattern for feedback about a long screen/key press -->
<integer-array name="config_longPressVibePattern">
<item>0</item>

View File

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2020, 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.
*/
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Radius of the software rounded corners. -->
<dimen name="rounded_corner_radius">103px</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">22px</dimen>
</resources>