2022-02-18 18:54:07 -05:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<!--
|
2025-03-03 09:18:20 -05:00
|
|
|
SPDX-FileCopyrightText: The LineageOS Project
|
2022-02-18 18:54:07 -05:00
|
|
|
SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
-->
|
|
|
|
|
<resources>
|
2025-02-26 02:09:27 -05:00
|
|
|
<!-- Vibrator pattern for feedback about a long screen/key press -->
|
|
|
|
|
<integer-array name="config_longPressVibePattern">
|
|
|
|
|
<item>0</item>
|
|
|
|
|
<item>67</item>
|
|
|
|
|
</integer-array>
|
|
|
|
|
|
|
|
|
|
<!-- Vibrator pattern for feedback about touching a virtual key -->
|
|
|
|
|
<integer-array name="config_virtualKeyVibePattern">
|
|
|
|
|
<item>0</item>
|
|
|
|
|
<item>67</item>
|
|
|
|
|
</integer-array>
|
|
|
|
|
|
|
|
|
|
<!-- Vibrator pattern for feedback about booting with safe mode enabled -->
|
|
|
|
|
<integer-array name="config_safeModeEnabledVibePattern">
|
|
|
|
|
<item>0</item>
|
|
|
|
|
<item>0</item>
|
|
|
|
|
<item>94</item>
|
|
|
|
|
</integer-array>
|
|
|
|
|
|
|
|
|
|
<!-- Note: This setting is deprecated, please use
|
|
|
|
|
config_screenBrightnessSettingMinimumFloat instead -->
|
|
|
|
|
<integer name="config_screenBrightnessSettingMinimum">2</integer>
|
|
|
|
|
|
|
|
|
|
<!-- Stability requirements in milliseconds for accepting a new brightness level. This is used
|
|
|
|
|
for debouncing the light sensor. Different constants are used to debounce the light sensor
|
|
|
|
|
when adapting to brighter or darker environments. This parameter controls how quickly
|
|
|
|
|
brightness changes occur in response to an observed change in light level that exceeds the
|
|
|
|
|
hysteresis threshold. -->
|
|
|
|
|
<integer name="config_autoBrightnessBrighteningLightDebounce">500</integer>
|
|
|
|
|
<integer name="config_autoBrightnessDarkeningLightDebounce">500</integer>
|
|
|
|
|
|
|
|
|
|
<!-- Screen brightness used to dim the screen when the user activity
|
|
|
|
|
timeout expires. May be less than the minimum allowed brightness setting
|
|
|
|
|
that can be set by the user. -->
|
|
|
|
|
<integer name="config_screenBrightnessDim">2</integer>
|
|
|
|
|
|
|
|
|
|
<!-- Array of light sensor lux values to define our levels for auto backlight brightness support.
|
2022-02-18 18:54:07 -05:00
|
|
|
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.
|
2025-02-26 02:09:27 -05:00
|
|
|
For example, if lux == level[1] (first element of the levels array)
|
2022-02-18 18:54:07 -05:00
|
|
|
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
|
2025-02-26 02:09:27 -05:00
|
|
|
backlight values for lux levels between these control points.
|
2022-02-18 18:54:07 -05:00
|
|
|
|
|
|
|
|
Must be overridden in platform specific overlays -->
|
2025-02-26 02:09:27 -05:00
|
|
|
<integer-array name="config_autoBrightnessLevels">
|
2023-04-01 10:08:59 -04:00
|
|
|
<item>2</item>
|
|
|
|
|
<item>4</item>
|
|
|
|
|
<item>5</item>
|
2022-02-18 18:54:07 -05:00
|
|
|
<item>10</item>
|
|
|
|
|
<item>40</item>
|
|
|
|
|
<item>100</item>
|
|
|
|
|
<item>325</item>
|
|
|
|
|
<item>1250</item>
|
|
|
|
|
<item>3500</item>
|
|
|
|
|
<item>5500</item>
|
2025-02-26 02:09:27 -05:00
|
|
|
</integer-array>
|
2022-02-18 18:54:07 -05:00
|
|
|
|
|
|
|
|
<!-- Array of desired screen brightness in nits corresponding to the lux values
|
2025-02-26 02:09:27 -05:00
|
|
|
in the config_autoBrightnessLevels array. The display brightness is defined as the measured
|
2022-02-18 18:54:07 -05:00
|
|
|
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 -->
|
2025-02-26 02:09:27 -05:00
|
|
|
<integer-array name="config_autoBrightnessDisplayValuesNits">
|
2023-04-01 10:08:59 -04:00
|
|
|
<item>2</item>
|
|
|
|
|
<item>7</item>
|
|
|
|
|
<item>10</item>
|
|
|
|
|
<item>12</item>
|
2022-09-04 09:31:06 -04:00
|
|
|
<item>24</item>
|
|
|
|
|
<item>95</item>
|
|
|
|
|
<item>111</item>
|
|
|
|
|
<item>149</item>
|
|
|
|
|
<item>192</item>
|
|
|
|
|
<item>252</item>
|
|
|
|
|
<item>500</item>
|
2025-02-26 02:09:27 -05:00
|
|
|
</integer-array>
|
2022-02-18 18:54:07 -05:00
|
|
|
|
|
|
|
|
<!-- 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. -->
|
2025-02-26 02:09:27 -05:00
|
|
|
<integer-array name="config_screenBrightnessBacklight">
|
2022-02-18 18:54:07 -05:00
|
|
|
<item>0</item>
|
2022-09-04 09:31:06 -04:00
|
|
|
<item>1</item>
|
|
|
|
|
<item>4</item>
|
|
|
|
|
<item>5</item>
|
|
|
|
|
<item>6</item>
|
2022-08-03 23:26:21 -04:00
|
|
|
<item>12</item>
|
|
|
|
|
<item>48</item>
|
2022-09-04 09:31:06 -04:00
|
|
|
<item>57</item>
|
|
|
|
|
<item>76</item>
|
|
|
|
|
<item>98</item>
|
|
|
|
|
<item>129</item>
|
2022-02-18 18:54:07 -05:00
|
|
|
<item>255</item>
|
2025-02-26 02:09:27 -05:00
|
|
|
</integer-array>
|
2022-02-18 18:54:07 -05:00
|
|
|
|
|
|
|
|
<!-- 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 -->
|
2025-02-26 02:09:27 -05:00
|
|
|
<integer-array name="config_screenBrightnessNits">
|
2022-02-18 18:54:07 -05:00
|
|
|
<item>0</item>
|
2022-09-04 09:31:06 -04:00
|
|
|
<item>2</item>
|
|
|
|
|
<item>7</item>
|
2022-08-03 23:26:21 -04:00
|
|
|
<item>10</item>
|
2022-09-04 09:31:06 -04:00
|
|
|
<item>12</item>
|
|
|
|
|
<item>24</item>
|
|
|
|
|
<item>95</item>
|
|
|
|
|
<item>111</item>
|
|
|
|
|
<item>149</item>
|
|
|
|
|
<item>192</item>
|
|
|
|
|
<item>252</item>
|
|
|
|
|
<item>500</item>
|
2025-02-26 02:09:27 -05:00
|
|
|
</integer-array>
|
2022-02-18 18:54:07 -05:00
|
|
|
|
2025-02-26 02:09:27 -05:00
|
|
|
<!-- MMS user agent string -->
|
|
|
|
|
<string name="config_mms_user_agent" translatable="false">motorolaedge30</string>
|
|
|
|
|
|
|
|
|
|
<!-- MMS user agent prolfile url -->
|
|
|
|
|
<string name="config_mms_user_agent_profile_url" translatable="false">http://uaprof.motorola.com/phoneconfig/motov1/Profile/motov1.rdf</string>
|
|
|
|
|
|
|
|
|
|
<!-- Type of the double tap sensor. Empty if double tap is not supported. -->
|
|
|
|
|
<string name="config_dozeDoubleTapSensorType" translatable="false">org.lineageos.sensor.double_tap</string>
|
|
|
|
|
|
|
|
|
|
<!-- Type of the udfps long press sensor. Empty if long press is not supported. -->
|
|
|
|
|
<string name="config_dozeUdfpsLongPressSensorType" translatable="false">org.lineageos.sensor.udfps</string>
|
|
|
|
|
|
|
|
|
|
<!-- Control whether the always on display mode is available. This should only be enabled on
|
|
|
|
|
devices where the display has been tuned to be power efficient in DOZE and/or DOZE_SUSPEND
|
|
|
|
|
states. -->
|
|
|
|
|
<bool name="config_dozeAlwaysOnDisplayAvailable">true</bool>
|
|
|
|
|
|
|
|
|
|
<!-- Control whether the always on display mode is enabled by default. This value will be used
|
|
|
|
|
during initialization when the setting is still null. -->
|
|
|
|
|
<bool name="config_dozeAlwaysOnEnabled">false</bool>
|
|
|
|
|
|
2022-02-18 18:54:07 -05:00
|
|
|
<!-- The bounding path of the cutout region of the main built-in display.
|
|
|
|
|
Must either be empty if there is no cutout region, or a string that is parsable by
|
|
|
|
|
{@link android.util.PathParser}.
|
|
|
|
|
|
|
|
|
|
The path is assumed to be specified in display coordinates with pixel units and in
|
|
|
|
|
the display's native orientation, with the origin of the coordinate system at the
|
|
|
|
|
center top of the display. Optionally, you can append either `@left` or `@right` to the
|
|
|
|
|
end of the path string, in order to change the path origin to either the top left,
|
|
|
|
|
or top right of the display.
|
|
|
|
|
|
|
|
|
|
To facilitate writing device-independent emulation overlays, the marker `@dp` can be
|
|
|
|
|
appended after the path string to interpret coordinates in dp instead of px units.
|
|
|
|
|
Note that a physical cutout should be configured in pixels for the best results.
|
|
|
|
|
|
2025-02-26 02:09:27 -05:00
|
|
|
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.
|
|
|
|
|
|
2022-02-18 18:54:07 -05:00
|
|
|
Example for a 10px x 10px square top-center cutout:
|
|
|
|
|
<string ...>M -5,0 L -5,10 L 5,10 L 5,0 Z</string>
|
|
|
|
|
Example for a 10dp x 10dp square top-center cutout:
|
|
|
|
|
<string ...>M -5,0 L -5,10 L 5,10 L 5,0 Z @dp</string>
|
|
|
|
|
|
|
|
|
|
@see https://www.w3.org/TR/SVG/paths.html#PathData
|
|
|
|
|
-->
|
2024-11-08 12:39:39 -05:00
|
|
|
<string name="config_mainBuiltInDisplayCutout" translatable="false">
|
|
|
|
|
M 503.5,65
|
|
|
|
|
a 36.5,36.5 0 1 0 73,0
|
|
|
|
|
a 36.5,36.5 0 1 0 -73,0
|
|
|
|
|
Z
|
|
|
|
|
@left
|
|
|
|
|
</string>
|
|
|
|
|
|
|
|
|
|
<!-- Like config_mainBuiltInDisplayCutout, but this path is used to report the
|
|
|
|
|
one single bounding rect per device edge to the app via
|
|
|
|
|
{@link DisplayCutout#getBoundingRect}. Note that this path should try to match the visual
|
|
|
|
|
appearance of the cutout as much as possible, and may be smaller than
|
|
|
|
|
config_mainBuiltInDisplayCutout
|
|
|
|
|
-->
|
|
|
|
|
<string name="config_mainBuiltInDisplayCutoutRectApproximation" translatable="false">
|
|
|
|
|
M -36.5 0
|
|
|
|
|
L -36.5 130
|
|
|
|
|
L 36.5 130
|
|
|
|
|
L 36.5 0
|
|
|
|
|
Z
|
|
|
|
|
</string>
|
|
|
|
|
|
|
|
|
|
<!-- 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>
|
2022-02-21 11:42:23 -05:00
|
|
|
|
2022-09-15 13:34:13 -04:00
|
|
|
<!-- 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 -->
|
2025-02-26 02:09:27 -05:00
|
|
|
<string-array name="config_biometric_sensors" translatable="false">
|
2022-09-15 13:34:13 -04:00
|
|
|
<item>0:2:15</item> <!-- ID0:Fingerprint:Strong -->
|
2025-02-26 02:09:27 -05:00
|
|
|
</string-array>
|
2022-02-18 18:54:07 -05:00
|
|
|
|
2022-08-25 23:28:46 -04:00
|
|
|
<!-- The properties of a UDFPS sensor in pixels, in the order listed below: -->
|
2025-02-26 02:09:27 -05:00
|
|
|
<integer-array name="config_udfps_sensor_props" translatable="false">
|
2022-08-25 23:28:46 -04:00
|
|
|
<item>540</item> <!-- sensorLocationX -->
|
|
|
|
|
<item>2164</item> <!-- sensorLocationY -->
|
|
|
|
|
<item>91</item> <!-- sensorRadius -->
|
|
|
|
|
</integer-array>
|
2022-02-18 18:54:07 -05:00
|
|
|
</resources>
|