summaryrefslogtreecommitdiff
path: root/bramble/overlay/frameworks/base/core/res/res/values/config.xml
blob: 2f576c624e4d48e7db6a8db5712f36bfd313dbac (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
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
<?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">

    <!-- 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>

    <!-- List of regexpressions describing the interface (if any) that represent tetherable
         Wifi P2P interfaces.  If the device doesn't want to support tethering over Wifi P2p this
         should be empty.  An example would be "p2p-p2p.*" -->
    <string-array translatable="false" name="config_tether_wifi_p2p_regexs">
        <item>"p2p-p2p\\d-.*"</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">g025e</string>
    <!-- MMS user agent profile url -->
    <string name="config_mms_user_agent_profile_url" translatable="false">http://www.gstatic.com/android/sms/G025E.xml</string>

    <!-- 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.32156862745</item>

    <!-- An array describing the screen's backlight values corresponding to the brightness
         values in the config_screenBrightnessNits array.

         This array should be equal in size to config_screenBrightnessBacklight. -->
    <integer-array name="config_screenBrightnessBacklight">
        <item>1</item>
        <item>255</item>
    </integer-array>

    <!-- An array of floats describing the screen brightness in nits corresponding to the backlight
         values in the config_screenBrightnessBacklight array.  On OLED displays these  values
         should be measured with an all white image while the display is in the fully on state.
         Note that this value should *not* reflect the maximum brightness value for any high
         brightness modes but only the maximum brightness value obtainable in a sustainable manner.

         This array should be equal in size to config_screenBrightnessBacklight -->
    <array name="config_screenBrightnessNits">
        <item>2.0</item>
        <item>450.0</item>
    </array>

    <!-- Nonlinear coefficients for maximum panel brightness of 450 nits -->
    <string-array name="config_reduceBrightColorsCoefficientsNonlinear">
        <!-- a-coefficient --> <item>-0.4429953456</item>
        <!-- b-coefficient --> <item>-0.2434077725</item>
        <!-- y-intercept --> <item>0.9809063061</item>
    </string-array>

    <!-- Linear coefficients for maximum panel brightness of 450 nits -->
    <string-array name="config_reduceBrightColorsCoefficients">
        <!-- a-coefficient --> <item>-0.000000000000001</item>
        <!-- b-coefficient --> <item>-0.955555555555554</item>
        <!-- y-intercept --> <item>1.000000000000000</item>
    </string-array>

    <!-- 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 or not wcg mode should be enabled on this device -->
    <bool name="config_enableWcgMode">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>

    <!-- An array of device capabilities defined by GSMA SGP.22 v2.2.2, and their corresponding major
     version. -->
     <string-array translatable="false" name="config_telephonyEuiccDeviceCapabilities">
          <item>"gsm,9"</item>
          <item>"utran,9"</item>
          <item>"cdma1x,1"</item>
          <item>"hrpd,3"</item>
          <item>"ehrpd,12"</item>
          <item>"eutran,15"</item>
          <item>"nrepc,15"</item>
          <item>"nr5gc,15"</item>
          <item>"eutran5gc,15"</item>
     </string-array>

    <!-- Display cutout configuration -->
    <string translatable="false" name="config_mainBuiltInDisplayCutout">
      <!-- The hole punch dimensions are this:
      M 38,78 a 39,39 0 1,0 78,0 a 39,39 0 1,0 -78,0
      but using a radius 40 circle for now to see the antialiasing.
      -->
        M 37,77 a 40,40 0 1 0 80,0 40,40 0 1 0 -80,0 Z

        @left
    </string>

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

    <!-- Radius of the software rounded corners. -->
    <dimen name="rounded_corner_radius">108px</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">16px</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>

    <!-- List of biometric sensors on the device, in decreasing strength. Consumed by AuthService
     when registering authenticators with BiometricService. Format must be ID:Modality:Strength,
     where: IDs are unique per device, Modality as defined in BiometricAuthenticator.java,
     and Strength as defined in Authenticators.java -->
    <string-array name="config_biometric_sensors" translatable="false" >
        <item>0:2:15</item> <!-- ID0:Fingerprint:Strong -->
    </string-array>

    <!-- 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 202 0 C 186.538 -1.8503699e-17 171.07633 -0.0090768392 155.2832 0.11132812 C 139.48005 0.22169933 123.3246 0.3920003 107.74219 1.1445312 C 76.567319 2.6295259 48.974256 6.141255 27.572266 27.533203 C 22.214242 32.881191 17.529428 39.351842 14.308594 45.261719 C 11.097793 51.161562 8.6690884 57.493843 6.8730469 64.15625 C 3.2809639 77.4911 2.0764819 92.3107 1.3339844 107.87305 C 0.59148674 123.43538 0.33073003 139.58996 0.16015625 155.37305 C -0.010417528 171.14609 3.700736e-17 186.57814 0 202 L 0 2339.8496 L 0.0390625 2102 C 0.0390625 2122.8 0.03039087 2143.7497 0.15039062 2163.0195 C 0.25039044 2180.8795 0.37929814 2197.1803 1.0292969 2212.5703 L 1.0292969 2212.7207 C 1.0792967 2213.8907 1.1294533 2215.0492 1.1894531 2216.1992 C 1.9794515 2232.6592 3.4601652 2248.5005 7.9101562 2263.7305 C 9.020154 2267.5405 10.320082 2271.2909 11.830078 2274.9609 C 13.340076 2278.6209 14.920318 2281.9495 17.070312 2285.7695 C 21.370304 2293.4095 26.799387 2300.5999 33.109375 2306.9199 C 39.429363 2313.2299 46.61978 2318.6609 54.259766 2322.9609 C 54.669764 2323.1909 55.080236 2323.4206 55.490234 2323.6406 C 67.58021 2330.2206 81.009714 2334.0106 94.679688 2336.1406 C 99.359678 2336.8706 104.06986 2337.4194 108.83984 2337.8594 C 113.76984 2338.2994 118.76055 2338.5996 123.81055 2338.8496 C 125.94053 2338.9496 128.08 2339.0391 130.25 2339.1191 C 132.49 2339.1991 134.73953 2339.2701 137.01953 2339.3301 C 146.43951 2339.5901 156.30066 2339.7303 166.64062 2339.8203 C 170.03062 2339.8503 173.48025 2339.8706 176.99023 2339.8906 C 196.26021 2340.0106 217.20004 2340 238 2340 L 842 2340 C 862.79996 2340 883.73979 2340.0106 903.00977 2339.8906 C 906.51975 2339.8706 909.96938 2339.8503 913.35938 2339.8203 C 923.69934 2339.7303 933.56049 2339.5901 942.98047 2339.3301 C 945.26047 2339.2701 947.51 2339.1991 949.75 2339.1191 C 951.92 2339.0391 954.05947 2338.9496 956.18945 2338.8496 C 961.23945 2338.5996 966.23016 2338.2994 971.16016 2337.8594 C 975.93014 2337.4194 980.64033 2336.8706 985.32031 2336.1406 C 998.99029 2334.0106 1012.4198 2330.2206 1024.5098 2323.6406 C 1024.9198 2323.4206 1025.3302 2323.1909 1025.7402 2322.9609 C 1033.3802 2318.6609 1040.5706 2313.2299 1046.8906 2306.9199 C 1053.2006 2300.5999 1058.6297 2293.4095 1062.9297 2285.7695 C 1065.0797 2281.9495 1066.6599 2278.6209 1068.1699 2274.9609 C 1069.6799 2271.2909 1070.9798 2267.5405 1072.0898 2263.7305 C 1076.5398 2248.5005 1078.0205 2232.6592 1078.8105 2216.1992 C 1078.8705 2215.0492 1078.9207 2213.8907 1078.9707 2212.7207 L 1078.9707 2212.5703 C 1079.6207 2197.1803 1079.7496 2180.8795 1079.8496 2163.0195 C 1079.9696 2143.7497 1079.9609 2122.8 1079.9609 2102 L 1080 2339.8496 L 1080 202 C 1080 186.57814 1080.0103 171.14609 1079.8398 155.37305 C 1079.6692 139.58996 1079.4085 123.43538 1078.666 107.87305 C 1077.9235 92.310708 1076.7189 77.491094 1073.127 64.15625 C 1071.3309 57.493834 1068.9022 51.161567 1065.6914 45.261719 C 1062.4706 39.351841 1057.7857 32.881183 1052.4277 27.533203 C 1031.0259 6.1412555 1003.4327 2.6295284 972.25781 1.1445312 C 956.6754 0.3920028 940.51995 0.2216979 924.7168 0.11132812 C 908.92367 -0.0090416292 893.462 0 878 0 L 202 0 z M 1080 2339.8496 L 842 2340 L 1080 2340 L 1080 2339.8496 z M 238 2340 L 0 2339.8496 L 0 2340 L 238 2340 z</string>
</resources>