1<!--
2  ~ Copyright (C) 2018 The Android Open Source Project
3  ~
4  ~ Licensed under the Apache License, Version 2.0 (the "License");
5  ~ you may not use this file except in compliance with the License.
6  ~ You may obtain a copy of the License at
7  ~
8  ~      http://www.apache.org/licenses/LICENSE-2.0
9  ~
10  ~ Unless required by applicable law or agreed to in writing, software
11  ~ distributed under the License is distributed on an "AS IS" BASIS,
12  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  ~ See the License for the specific language governing permissions and
14  ~ limitations under the License.
15  -->
16
17<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
18
19    <!-- The bounding path of the cutout region of the main built-in display.
20         Must either be empty if there is no cutout region, or a string that is parsable by
21         {@link android.util.PathParser}.
22
23         The path is assumed to be specified in display coordinates with pixel units and in
24         the display's native orientation, with the origin of the coordinate system at the
25         center top of the display.
26
27         To facilitate writing device-independent emulation overlays, the marker `@dp` can be
28         appended after the path string to interpret coordinates in dp instead of px units.
29         Note that a physical cutout should be configured in pixels for the best results.
30         -->
31    <string translatable="false" name="config_mainBuiltInDisplayCutout">
32        M 0,0
33        L -72, 0
34        L -69.9940446283, 20.0595537175
35        C -69.1582133885, 28.4178661152 -65.2, 32.0 -56.8, 32.0
36        L 56.8, 32.0
37        C 65.2, 32.0 69.1582133885, 28.4178661152 69.9940446283, 20.0595537175
38        L 72, 0
39        Z
40        @bottom
41        M 0,0
42        L -72, 0
43        L -69.9940446283, -20.0595537175
44        C -69.1582133885, -28.4178661152 -65.2, -32.0 -56.8, -32.0
45        L 56.8, -32.0
46        C 65.2, -32.0 69.1582133885, -28.4178661152 69.9940446283, -20.0595537175
47        L 72, 0
48        Z
49        @dp
50    </string>
51
52    <string translatable="false" name="config_mainBuiltInDisplayCutoutRectApproximation">@*android:string/config_mainBuiltInDisplayCutout</string>
53
54    <!-- Whether the display cutout region of the main built-in display should be forced to
55         black in software (to avoid aliasing or emulate a cutout that is not physically existent).
56     -->
57    <bool name="config_fillMainBuiltInDisplayCutout">true</bool>
58
59    <!-- Height of the status bar -->
60    <dimen name="status_bar_height_portrait">48dp</dimen>
61    <dimen name="status_bar_height_landscape">28dp</dimen>
62    <!-- Height of area above QQS where battery/time go (equal to status bar height if > 48dp) -->
63    <dimen name="quick_qs_offset_height">48dp</dimen>
64    <!-- Total height of QQS (quick_qs_offset_height + 128) -->
65    <dimen name="quick_qs_total_height">176dp</dimen>
66
67</resources>
68
69
70