106 خطوط
5.1 KiB
XML
106 خطوط
5.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2024 The LineageOS Project
|
|
SPDX-License-Identifier: Apache-2.0
|
|
-->
|
|
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
|
<!-- Indicate available ColorDisplayManager.COLOR_MODE_xxx. -->
|
|
<integer-array name="config_availableColorModes">
|
|
<item>258</item>
|
|
<item>256</item>
|
|
<item>257</item>
|
|
<item>269</item>
|
|
<item>268</item>
|
|
<item>267</item>
|
|
</integer-array>
|
|
|
|
<!-- Shutdown if the battery temperature exceeds (this value * 0.1) Celsius. -->
|
|
<integer name="config_shutdownBatteryTemperature">580</integer>
|
|
|
|
<!-- Doze: should the TYPE_PICK_UP_GESTURE sensor be used as a pulse signal. -->
|
|
<bool name="config_dozePulsePickup">true</bool>
|
|
|
|
<!-- 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 tap sensor. Empty if tap is not supported. -->
|
|
<string name="config_dozeTapSensorType" translatable="false">org.lineageos.sensor.single_tap</string>
|
|
|
|
<!-- Power Management: Specifies whether to decouple the auto-suspend state of the
|
|
device from the display on/off state.
|
|
|
|
When false, autosuspend_disable() will be called before the display is turned on
|
|
and autosuspend_enable() will be called after the display is turned off.
|
|
This mode provides best compatibility for devices using legacy power management
|
|
features such as early suspend / late resume.
|
|
|
|
When true, autosuspend_display() and autosuspend_enable() will be called
|
|
independently of whether the display is being turned on or off. This mode
|
|
enables the power manager to suspend the application processor while the
|
|
display is on.
|
|
|
|
This resource should be set to "true" when a doze component has been specified
|
|
to maximize power savings but not all devices support it.
|
|
|
|
Refer to autosuspend.h for details.
|
|
-->
|
|
<bool name="config_powerDecoupleAutoSuspendModeFromDisplay">true</bool>
|
|
|
|
<!-- Power Management: Specifies whether to decouple the interactive state of the
|
|
device from the display on/off state.
|
|
|
|
When false, setInteractive(..., true) will be called before the display is turned on
|
|
and setInteractive(..., false) will be called after the display is turned off.
|
|
This mode provides best compatibility for devices that expect the interactive
|
|
state to be tied to the display state.
|
|
|
|
When true, setInteractive(...) will be called independently of whether the display
|
|
is being turned on or off. This mode enables the power manager to reduce
|
|
clocks and disable the touch controller while the display is on.
|
|
|
|
This resource should be set to "true" when a doze component has been specified
|
|
to maximize power savings but not all devices support it.
|
|
|
|
Refer to power.h for details.
|
|
-->
|
|
<bool name="config_powerDecoupleInteractiveModeFromDisplay">true</bool>
|
|
|
|
<!-- Whether the new Auto Selection Network UI should be shown -->
|
|
<bool name="config_enableNewAutoSelectNetworkUI">true</bool>
|
|
|
|
<!-- If true, the display will be shifted around in ambient mode. -->
|
|
<bool name="config_enableBurnInProtection">true</bool>
|
|
|
|
<!-- The default refresh rate for a given device. Change this value to set a higher default
|
|
refresh rate. If the hardware composer on the device supports display modes with a higher
|
|
refresh rate than the default value specified here, the framework may use those higher
|
|
refresh rate modes if an app chooses one by setting preferredDisplayModeId or calling
|
|
setFrameRate().
|
|
If a non-zero value is set for config_defaultPeakRefreshRate, then
|
|
config_defaultRefreshRate may be set to 0, in which case the value set for
|
|
config_defaultPeakRefreshRate will act as the default frame rate. -->
|
|
<integer name="config_defaultRefreshRate">0</integer>
|
|
|
|
<!-- The default peak refresh rate for a given device. Change this value if you want to prevent
|
|
the framework from using higher refresh rates, even if display modes with higher refresh
|
|
rates are available from hardware composer. Only has an effect if the value is
|
|
non-zero. -->
|
|
<integer name="config_defaultPeakRefreshRate">120</integer>
|
|
|
|
<!-- Low zone brightness thresholds in the range [0, 255] -->
|
|
<integer-array name="config_brightnessThresholdsOfPeakRefreshRate" translatable="false">
|
|
<item>7</item>
|
|
<item>11</item>
|
|
</integer-array>
|
|
|
|
<!-- Low zone lux thresholds -->
|
|
<integer-array name="config_ambientThresholdsOfPeakRefreshRate" translatable="false">
|
|
<item>-1</item>
|
|
<item>15</item>
|
|
</integer-array>
|
|
|
|
<!-- Default refresh rate in the zone defined by brightness and ambient thresholds.
|
|
If non-positive, then the refresh rate is unchanged even if thresholds are configured. -->
|
|
<integer name="config_defaultRefreshRateInZone">120</integer>
|
|
</resources>
|