summaryrefslogtreecommitdiff
path: root/sunfish/overlay/frameworks/base/core/res/res/values/config.xml
blob: 51b9234f3fd1c6a01fc05088d7a2b9eb53878f25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2016, 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">

    <!-- Auto-brightness sensor type string -->
    <string name="config_displayLightSensorType">"com.google.sensor.single_light"</string>

    <!-- Whether a software navigation bar should be shown. NOTE: in the future this may be
         autodetected from the Configuration. -->
    <bool name="config_showNavigationBar">true</bool>

    <!-- Indicate whether closing the lid causes the device to go to sleep and opening
         it causes the device to wake up.
         The default is false. -->
    <bool name="config_lidControlsSleep">true</bool>

    <!-- List of regexpressions describing the interface (if any) that represent tetherable
         Wifi interfaces.  If the device doesn't want to support tethering over Wifi this
         should be empty.  An example would be "softap.*" -->
    <string-array translatable="false" name="config_tether_wifi_regexs">
        <item>"wlan0"</item>
        <item>"softap.*"</item>
    </string-array>

    <!-- Enable doze mode
         ComponentName of a dream to show whenever the system would otherwise have gone to sleep. -->
    <string translatable="false" name="config_dozeComponent">com.android.systemui/com.android.systemui.doze.DozeService</string>

    <!-- Type of the ambient tap sensor. Empty if ambient tap is not supported. -->
    <string name="config_dozeTapSensorType" translatable="false">com.google.sensor.single_touch</string>

    <!-- MMS user agent string -->
    <string name="config_mms_user_agent" translatable="false">g025j</string>
    <!-- MMS user agent profile url -->
    <string name="config_mms_user_agent_profile_url" translatable="false">http://www.gstatic.com/android/sms/G025J.xml</string>

    <!-- Array of light sensor LUX values to define our levels for auto backlight brightness support.
         The N entries of this array define N  1 zones as follows:

         Zone 0:        0 <= LUX < array[0]
         Zone 1:        array[0] <= LUX < array[1]
         ...
         Zone N:        array[N - 1] <= LUX < array[N]
         Zone N + 1     array[N] <= LUX < infinity

         Must be overridden in platform specific overlays -->
    <integer-array name="config_autoBrightnessLevels">
        <item>1</item>
        <item>2</item>
        <item>3</item>
        <item>4</item>
        <item>8</item>
        <item>12</item>
        <item>20</item>
        <item>33</item>
        <item>55</item>
        <item>90</item>
        <item>148</item>
        <item>245</item>
        <item>403</item>
        <item>665</item>
        <item>1097</item>
        <item>1808</item>
        <item>2981</item>
        <item>5000</item>
        <item>10000</item>
    </integer-array>

    <!-- Array of desired screen brightness in nits corresponding to the lux values
         in the config_autoBrightnessLevels array. As with config_screenBrightnessMinimumNits and
         config_screenBrightnessMaximumNits, the display brightness is defined as the measured
         brightness of an all-white image.

         If this is defined then:
            - config_autoBrightnessLcdBacklightValues should not be defined
            - config_screenBrightnessNits must be defined
            - config_screenBrightnessBacklight must be defined

         This array should have size one greater than the size of the config_autoBrightnessLevels
         array. The brightness values must be non-negative and non-decreasing. This must be
         overridden in platform specific overlays -->
    <array name="config_autoBrightnessDisplayValuesNits">
        <item>5.139055</item>       <!--  0 - 1  -->
        <item>9.962018965</item>    <!--  1 - 2  -->
        <item>18.34822964</item>    <!--  2 - 3  -->
        <item>21.55068128</item>    <!--  3 - 4  -->
        <item>24.0167788</item>     <!--  4 - 8  -->
        <item>30.62162162</item>    <!--  8 - 12  -->
        <item>35.09486396</item>    <!--  12 - 20  -->
        <item>41.2249643</item>     <!--  20 - 33  -->
        <item>47.6760716</item>     <!--  33 - 55  -->
        <item>55.73002427</item>    <!--  55 - 90  -->
        <item>66.24126116</item>    <!--  90 - 148  -->
        <item>79.67614115</item>    <!--  148 - 245  -->
        <item>98.04727274</item>    <!--  245 - 403  -->
        <item>125.1221991</item>    <!--  403 - 665  -->
        <item>161.6875093</item>    <!--  665 - 1097  -->
        <item>208.4885553</item>    <!--  1097 - 1808  -->
        <item>264.8221315</item>    <!--  1808 - 2981  -->
        <item>327.8974352</item>    <!--  2981 - 5000  -->
        <item>401.1676739</item>    <!--  5000 - 10000  -->
        <item>494.0846144</item>    <!--  10000+  -->
    </array>

    <!-- Minimum screen brightness allowed by the power manager. -->
    <integer name="config_screenBrightnessDim">6</integer>

    <!-- Screen brightness when dozing. -->
    <integer name="config_screenBrightnessDoze">34</integer>

    <!-- Whether the always on display mode is available. -->
    <bool name="config_dozeAlwaysOnDisplayAvailable">true</bool>

    <!-- Disable AOD by default -->
    <bool name="config_dozeAlwaysOnEnabled">false</bool>

    <!-- True if the display hardware only has brightness buckets rather than a full range of
         backlight values -->
    <bool name="config_displayBrightnessBucketsInDoze">true</bool>

    <!-- Default screen brightness for VR setting. Target default value: 0x0BB for EVT1.1. -->
    <!-- 8 bit brightness level of 6 corresponds to the 10 bit brightness level of 0x0B6,
         8 bit brightness level of 7 corresponds to the 10 bit brightness level of 0x0C1 on EVT1.1. -->
    <integer name="config_screenBrightnessForVrSettingDefault">7</integer>
    <integer name="config_screenBrightnessForVrSettingMinimum">6</integer>
    <integer name="config_screenBrightnessForVrSettingMaximum">7</integer>

    <!-- Minimum screen brightness setting allowed by power manager.
         The user is forbidden from setting the brightness below this level.  -->
    <item name="config_screenBrightnessSettingMinimumFloat" format="float" type="dimen">0.0</item>

    <!-- Maximum screen brightness allowed by the power manager.
         The user is forbidden from setting the brightness above this level. -->
    <item name="config_screenBrightnessSettingMaximumFloat" format="float" type="dimen">1.0</item>

    <!-- Default screen brightness setting
         Must be in the range specified by minimum and maximum. -->
    <item name="config_screenBrightnessSettingDefaultFloat" format="float" type="dimen">0.318897637795</item>


    <!-- The nominal white coordinates, in CIE1931 XYZ color space, for Display White Balance to
         use in its calculations. AWB will adapt this white point to the target ambient white
         point. The array must include a total of 3 float values (X, Y, Z) -->
    <string-array name="config_displayWhiteBalanceDisplayNominalWhite">
        <!-- Nominal White X --> <item>0.950352</item>
        <!-- Nominal White Y --> <item>1.0     </item>
        <!-- Nominal White Z --> <item>1.089366</item>
    </string-array>

    <!-- Shutdown if the battery temperature exceeds (this value * 0.1) Celsius. -->
    <integer name="config_shutdownBatteryTemperature">600</integer>

    <!-- Whether or not we should show the option to show battery percentage -->
    <bool name="config_battery_percentage_setting_available">true</bool>

    <!-- Whether the display cutout region of the main built-in display should be forced to
         black in software (to avoid aliasing or emulate a cutout that is not physically existent).
     -->
    <bool name="config_fillMainBuiltInDisplayCutout">true</bool>

    <!-- Display cutout configuration -->
    <string translatable="false" name="config_mainBuiltInDisplayCutout">
      <!-- The hole punch dimensions are this:
      M 41,83 a 42,42 0 1,0 84,0 a 42,42 0 1,0 -84,0
      but using a radius 43 circle for now to see the antialiasing.
      -->
        M 40,83 a 42.75,42.75 0 1 0 85.5,0 42.75,42.75 0 1 0 -85.5,0 Z
        @left
    </string>

    <string translatable="false" name="config_mainBuiltInDisplayCutoutRectApproximation">
        M 0.0,0.0
        h 136
        v 136
        h -136
        Z
        @left
    </string>

    <!-- Radius of the software rounded corners. -->
    <dimen name="rounded_corner_radius">102px</dimen>

    <!-- Top 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 corners.-->
    <dimen name="rounded_corner_radius_adjustment">8px</dimen>

    <!-- Height of the status bar.
         Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.
         -->
    <dimen name="status_bar_height_default">28dp</dimen>
    <dimen name="status_bar_height_portrait">136px</dimen>
    <dimen name="status_bar_height_landscape">28dp</dimen>

    <!-- A string config in svg path format for the main display shape.
         (@see https://www.w3.org/TR/SVG/paths.html#PathData).

         This config must be set unless:
         1. {@link Configuration#isScreenRound} is true which means the display shape is circular
            and the system will auto-generate a circular shape.
         2. The display has no rounded corner and the system will auto-generate a rectangular shape.
         (@see DisplayShape#createDefaultDisplayShape)

         Note: If the display supports multiple resolutions, please define the path config based on
         the highest resolution so that it can be scaled correctly in each resolution. -->
    <string name="config_mainDisplayShape">M 0 0 L 224 0.171875 C 214.87485 0.171875 205.74976 0.16477528 196.62109 0.18945312 C 189.0215 0.2070801 181.42224 0.25056649 173.82617 0.328125 C 164.83138 0.41978502 155.83659 0.56348655 146.8418 0.77148438 C 144.82299 0.81731448 142.80395 0.8709473 140.78516 0.92382812 C 139.80218 0.94850578 138.81893 0.97570316 137.83594 1.0039062 C 136.86706 1.0321092 135.90248 1.0616408 134.93359 1.0898438 C 131.16375 1.202656 127.39719 1.3281156 123.63086 1.4726562 C 119.53686 1.6312987 115.43811 1.8075786 111.34766 2.0332031 C 109.29714 2.1460156 107.24777 2.2710938 105.19727 2.4121094 C 103.13266 2.5531248 101.06656 2.7108304 99.001953 2.890625 C 94.812839 3.2572656 90.639442 3.7162799 86.478516 4.3261719 C 82.229507 4.94664 78.022294 5.7183509 73.84375 6.7089844 C 65.750903 8.6303203 57.952694 11.333489 50.546875 15.179688 C 46.794642 17.129227 43.229644 19.31967 39.808594 21.808594 C 36.366403 24.311617 33.167036 27.044007 30.158203 30.054688 C 27.149369 33.065366 24.423363 36.266634 21.921875 39.710938 C 19.434478 43.134087 17.2456 46.697016 15.300781 50.455078 C 11.456943 57.868967 8.7580479 65.667811 6.8378906 73.765625 C 5.8478646 77.950259 5.0771187 82.158541 4.4570312 86.410156 C 3.8510368 90.577163 3.3933759 94.755581 3.0234375 98.947266 C 2.8437531 101.01315 2.6838976 103.07865 2.5429688 105.14453 C 2.4020397 107.19631 2.2787588 109.24938 2.1660156 111.30469 C 1.9405294 115.40117 1.7659669 119.49958 1.6074219 123.59961 C 1.4629696 127.36827 1.3393057 131.13371 1.2265625 134.90234 C 1.1983765 135.87183 1.168811 136.83911 1.140625 137.80859 C 1.112439 138.79217 1.0887327 139.77384 1.0605469 140.75391 C 1.0076989 142.77393 0.95752827 144.7905 0.90820312 146.81055 C 0.70033289 155.80381 0.55644759 164.79775 0.46484375 173.79102 C 0.38733281 181.39528 0.34574112 188.99925 0.328125 196.60352 C 0.30698564 205.73427 0.31054688 214.86925 0.31054688 224 L 0 0 z M 0 0 L 0 2340 L 0.31054688 2116 C 0.31054687 2125.1308 0.30702504 2134.2658 0.328125 2143.3965 C 0.34574496 2151.0008 0.38734391 2158.6048 0.46484375 2166.209 C 0.55644357 2175.2022 0.70033354 2184.1942 0.90820312 2193.1875 C 0.95753304 2195.2076 1.0076469 2197.2241 1.0605469 2199.2441 C 1.0886467 2200.2242 1.112425 2201.2078 1.140625 2202.1914 C 1.168825 2203.1608 1.1983625 2204.1282 1.2265625 2205.0977 C 1.3393123 2208.8663 1.4629721 2212.6297 1.6074219 2216.3984 C 1.7659715 2220.4984 1.9405262 2224.5989 2.1660156 2228.6953 C 2.2787554 2230.7506 2.402039 2232.8038 2.5429688 2234.8555 C 2.6838984 2236.9214 2.8437579 2238.9868 3.0234375 2241.0527 C 3.3933767 2245.2444 3.8510326 2249.4209 4.4570312 2253.5879 C 5.07712 2257.8395 5.8478626 2262.0497 6.8378906 2266.2344 C 8.7580468 2274.3322 11.456949 2282.131 15.300781 2289.5449 C 17.245607 2293.3028 19.434479 2296.8659 21.921875 2300.2891 C 24.423369 2303.7334 27.149369 2306.9346 30.158203 2309.9453 C 33.167037 2312.956 36.3664 2315.6884 39.808594 2318.1914 C 43.229646 2320.6803 46.794643 2322.8689 50.546875 2324.8184 C 57.952691 2328.6646 65.750906 2331.3696 73.84375 2333.291 C 78.022302 2334.2816 82.229504 2335.0534 86.478516 2335.6738 C 90.639446 2336.2837 94.812841 2336.7427 99.001953 2337.1094 C 101.06656 2337.2892 103.13266 2337.4469 105.19727 2337.5879 C 107.24777 2337.729 109.29714 2337.8519 111.34766 2337.9648 C 115.43811 2338.1904 119.53686 2338.3667 123.63086 2338.5254 C 127.39719 2338.6699 131.16375 2338.7973 134.93359 2338.9102 C 135.90248 2338.9392 136.86706 2338.9661 137.83594 2338.9941 C 138.81893 2339.0221 139.80218 2339.0512 140.78516 2339.0762 C 142.80395 2339.1288 144.82299 2339.1825 146.8418 2339.2285 C 155.83659 2339.4364 164.83138 2339.5799 173.82617 2339.6719 C 181.42224 2339.7494 189.0215 2339.7906 196.62109 2339.8086 C 205.74976 2339.8366 214.87485 2339.8281 224 2339.8281 L 0 2340 L 1080 2340 L 856 2339.8281 C 865.12512 2339.8281 874.25027 2339.8366 883.37891 2339.8086 C 890.97847 2339.7906 898.57779 2339.7494 906.17383 2339.6719 C 915.16859 2339.5799 924.16345 2339.4364 933.1582 2339.2285 C 935.17701 2339.1825 937.19606 2339.1288 939.21484 2339.0762 C 940.19782 2339.0512 941.18108 2339.0221 942.16406 2338.9941 C 943.13294 2338.9661 944.09753 2338.9392 945.06641 2338.9102 C 948.83624 2338.7973 952.60282 2338.6699 956.36914 2338.5254 C 960.46313 2338.3667 964.5619 2338.1904 968.65234 2337.9648 C 970.70285 2337.8519 972.75223 2337.729 974.80273 2337.5879 C 976.86733 2337.4469 978.93151 2337.2892 980.99609 2337.1094 C 985.1852 2336.7427 989.36057 2336.2837 993.52148 2335.6738 C 997.77048 2335.0534 1001.9778 2334.2816 1006.1562 2333.291 C 1014.249 2331.3696 1022.0454 2328.6646 1029.4512 2324.8184 C 1033.2034 2322.8689 1036.7686 2320.6803 1040.1895 2318.1914 C 1043.6315 2315.6884 1046.831 2312.956 1049.8398 2309.9453 C 1052.8487 2306.9346 1055.5766 2303.7334 1058.0781 2300.2891 C 1060.5655 2296.8659 1062.7525 2293.3028 1064.6973 2289.5449 C 1068.5411 2282.131 1071.2401 2274.3322 1073.1602 2266.2344 C 1074.1502 2262.0497 1074.9229 2257.8395 1075.543 2253.5879 C 1076.149 2249.4209 1076.6066 2245.2444 1076.9766 2241.0527 C 1077.1563 2238.9868 1077.3142 2236.9214 1077.4551 2234.8555 C 1077.5961 2232.8038 1077.7193 2230.7506 1077.832 2228.6953 C 1078.0575 2224.5989 1078.2341 2220.4984 1078.3926 2216.3984 C 1078.5371 2212.6297 1078.6607 2208.8663 1078.7734 2205.0977 C 1078.8014 2204.1282 1078.8284 2203.1608 1078.8574 2202.1914 C 1078.8854 2201.2078 1078.9115 2200.2242 1078.9395 2199.2441 C 1078.9925 2197.2241 1079.0405 2195.2076 1079.0898 2193.1875 C 1079.2977 2184.1942 1079.4436 2175.2022 1079.5352 2166.209 C 1079.6122 2158.6048 1079.6542 2151.0008 1079.6719 2143.3965 C 1079.6929 2134.2658 1079.6895 2125.1308 1079.6895 2116 L 1080 2340 L 1080 0 L 1079.6914 224 C 1079.6914 214.86925 1079.6929 205.73427 1079.6719 196.60352 C 1079.6542 188.99925 1079.6122 181.39528 1079.5352 173.79102 C 1079.4436 164.79775 1079.2997 155.80381 1079.0918 146.81055 C 1079.0425 144.7905 1078.9925 142.77393 1078.9395 140.75391 C 1078.9115 139.77384 1078.8874 138.79217 1078.8594 137.80859 C 1078.8304 136.83911 1078.8014 135.87183 1078.7734 134.90234 C 1078.6607 131.13371 1078.5371 127.36827 1078.3926 123.59961 C 1078.2341 119.49958 1078.0595 115.40117 1077.834 111.30469 C 1077.7213 109.24938 1077.598 107.19631 1077.457 105.14453 C 1077.3161 103.07865 1077.1563 101.01315 1076.9766 98.947266 C 1076.6066 94.755584 1076.149 90.577158 1075.543 86.410156 C 1074.9229 82.158536 1074.1521 77.950257 1073.1621 73.765625 C 1071.242 65.667811 1068.5431 57.868964 1064.6992 50.455078 C 1062.7544 46.697016 1060.5655 43.13409 1058.0781 39.710938 C 1055.5766 36.266634 1052.8507 33.06536 1049.8418 30.054688 C 1046.833 27.044004 1043.6336 24.311618 1040.1914 21.808594 C 1036.7704 19.319668 1033.2053 17.129225 1029.4531 15.179688 C 1022.0473 11.333489 1014.2491 8.6303206 1006.1562 6.7089844 C 1001.9778 5.7183514 997.7705 4.9466407 993.52148 4.3261719 C 989.36056 3.7162801 985.18715 3.2572662 980.99805 2.890625 C 978.93344 2.7108304 976.86734 2.553125 974.80273 2.4121094 C 972.75223 2.2710936 970.70286 2.1460149 968.65234 2.0332031 C 964.56189 1.8075787 960.46314 1.631299 956.36914 1.4726562 C 952.60281 1.3281156 948.83625 1.2026564 945.06641 1.0898438 C 944.09752 1.0616438 943.13294 1.0321062 942.16406 1.0039062 C 941.18107 0.97570636 940.19782 0.94850808 939.21484 0.92382812 C 937.19605 0.87094624 935.17701 0.81731428 933.1582 0.77148438 C 924.16341 0.56348678 915.16862 0.41978482 906.17383 0.328125 C 898.57776 0.25056416 890.9785 0.2070831 883.37891 0.18945312 C 874.25024 0.16472318 865.12515 0.171875 856 0.171875 L 1080 0 L 0 0 z</string>
</resources>