vendor_hardware_overlay/Huawei/kirin970/COR/res/values/values.xml
Andy CrossGate Yan ca9375e755 Fix status bar height for Android 12L
Prior to 12L:
- values: sbh links to sbh_port
- values-land: sbh links to sbh_land
However, in 12L this was flipped around:
- values: sbh_port links to sbh
- values-land: defines sbh standalone
To fix for 12L without breaking them for prior versions, break the link and define each of them

Also, while we're at it, remove a few links in my own overlays, as they might break similarly in the future

Change-Id: Ib4d1896599f47a39274c4930fd765891bf143f7d
2022-04-17 13:50:13 +00:00

85 lines
4.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Array of light sensor LUX values to define our levels for auto backlight brightness support.
The N entries of this array define N + 1 control points as follows:
(1-based arrays)
Point 1: (0, value[1]): lux <= 0
Point 2: (level[1], value[2]): 0 < lux <= level[1]
Point 3: (level[2], value[3]): level[2] < lux <= level[3]
...
Point N+1: (level[N], value[N+1]): level[N] < lux
The control points must be strictly increasing. Each control point
corresponds to an entry in the brightness backlight values arrays.
For example, if LUX == level[1] (first element of the levels array)
then the brightness will be determined by value[2] (second element
of the brightness values array).
Spline interpolation is used to determine the auto-brightness
backlight values for LUX levels between these control points.
Must be overridden in platform specific overlays -->
<integer-array name="config_autoBrightnessLevels">
<item>8</item>
<item>55</item>
<item>350</item>
<item>1600</item>
<item>2550</item>
</integer-array>
<!-- Array of output values for LCD backlight corresponding to the LUX values
in the config_autoBrightnessLevels array. This array should have size one greater
than the size of the config_autoBrightnessLevels array.
The brightness values must be between 0 and 255 and be non-decreasing.
This must be overridden in platform specific overlays -->
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>6</item>
<item>45</item>
<item>92</item>
<item>155</item>
<item>220</item>
<item>255</item>
</integer-array>
<!-- Boolean indicating if current platform supports BLE peripheral mode -->
<bool name="config_bluetooth_le_peripheral_mode_supported">true</bool>
<integer name="config_autoBrightnessLightSensorRate">300</integer>
<bool name="config_automatic_brightness_available">true</bool>
<bool name="config_bluetooth_hfp_inband_ringing_support">true</bool>
<bool name="config_device_volte_available">true</bool>
<bool name="config_device_vt_available">true</bool>
<bool name="config_device_wfc_ims_available">true</bool>
<bool name="config_dynamic_bind_ims">true</bool>
<string name="config_ims_package">com.huawei.ims</string>
<integer name="config_mobile_mtu">1400</integer>
<integer name="config_screenBrightnessDark">1</integer>
<integer name="config_screenBrightnessDim">1</integer>
<integer name="config_screenBrightnessDoze">1</integer>
<integer name="config_screenBrightnessSettingDefault">20</integer>
<integer name="config_screenBrightnessSettingMinimum">1</integer>
<bool name="config_showNavigationBar">true</bool>
<bool name="config_wifi_dual_band_support">true</bool>
<bool name="skip_restoring_network_selection">true</bool>
<dimen name="navigation_bar_height">88px</dimen>
<dimen name="navigation_bar_height_landscape">88px</dimen>
<dimen name="navigation_bar_width">88px</dimen>
<dimen name="notification_header_padding_top">8.0dip</dimen>
<dimen name="notification_header_padding_bottom">8.0dip</dimen>
<!-- Height of the status bar -->
<dimen name="status_bar_height">88px</dimen>
<!-- Height of the status bar in portrait -->
<dimen name="status_bar_height_portrait">88px</dimen>
<!-- Height of the status bar in landscape -->
<dimen name="status_bar_height_landscape">88px</dimen>
<dimen name="rounded_corner_radius">88px</dimen>
<!-- Radius of the software rounded corners at the top of the display in its natural
orientation. If zero, the value of rounded_corner_radius is used. -->
<dimen name="rounded_corner_radius_top">88px</dimen>
<!-- Radius of the software rounded corners at the bottom of the display in its natural
orientation. If zero, the value of rounded_corner_radius is used. -->
<dimen name="rounded_corner_radius_bottom">88px</dimen>
<string translatable="false" name="config_mainBuiltInDisplayCutout">M -210,0 L -210,88 L 210,88 L 210,0 Z</string>
</resources>