|
|
@ -1191,12 +1191,6 @@ |
|
|
|
The user is forbidden from setting the brightness above this level. --> |
|
|
|
The user is forbidden from setting the brightness above this level. --> |
|
|
|
<item name="config_screenBrightnessSettingMaximumFloat" format="float" type="dimen">1.0</item> |
|
|
|
<item name="config_screenBrightnessSettingMaximumFloat" format="float" type="dimen">1.0</item> |
|
|
|
|
|
|
|
|
|
|
|
<!-- 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">90</integer> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- When true use the linux /dev/input/event subsystem to detect the switch changes |
|
|
|
<!-- When true use the linux /dev/input/event subsystem to detect the switch changes |
|
|
|
on the headphone/microphone jack. When false use the older uevent framework. --> |
|
|
|
on the headphone/microphone jack. When false use the older uevent framework. --> |
|
|
|
<bool name="config_useDevInputEventForAudioJack">true</bool> |
|
|
|
<bool name="config_useDevInputEventForAudioJack">true</bool> |
|
|
@ -1245,6 +1239,23 @@ |
|
|
|
|
|
|
|
|
|
|
|
<!-- If true, the display will be shifted around in ambient mode. --> |
|
|
|
<!-- If true, the display will be shifted around in ambient mode. --> |
|
|
|
<bool name="config_enableBurnInProtection">true</bool> |
|
|
|
<bool name="config_enableBurnInProtection">true</bool> |
|
|
|
|
|
|
|
<bool name="config_statusBarBurnInProtection">true</bool> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Specifies the maximum burn-in offset displacement from the center. If -1, no maximum value |
|
|
|
|
|
|
|
will be used. --> |
|
|
|
|
|
|
|
<integer name="config_burnInProtectionMaxRadius">70</integer> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Specifies the minimum burn-in offset horizontally. --> |
|
|
|
|
|
|
|
<integer name="config_burnInProtectionMinHorizontalOffset">-15</integer> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Specifies the maximum burn-in offset horizontally. --> |
|
|
|
|
|
|
|
<integer name="config_burnInProtectionMaxHorizontalOffset">15</integer> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Specifies the minimum burn-in offset vertically. --> |
|
|
|
|
|
|
|
<integer name="config_burnInProtectionMinVerticalOffset">-40</integer> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Specifies the maximum burn-in offset vertically. --> |
|
|
|
|
|
|
|
<integer name="config_burnInProtectionMaxVerticalOffset">40</integer> |
|
|
|
|
|
|
|
|
|
|
|
<!-- Whether device supports double tap to wake --> |
|
|
|
<!-- Whether device supports double tap to wake --> |
|
|
|
<bool name="config_supportDoubleTapWake">true</bool> |
|
|
|
<bool name="config_supportDoubleTapWake">true</bool> |
|
|
@ -1355,4 +1366,42 @@ |
|
|
|
<item>500</item> |
|
|
|
<item>500</item> |
|
|
|
<item>600</item> |
|
|
|
<item>600</item> |
|
|
|
</integer-array> |
|
|
|
</integer-array> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Refresh rate configs --> |
|
|
|
|
|
|
|
<integer name="config_defaultFixedOnPeakRefreshRate">0</integer> |
|
|
|
|
|
|
|
<integer name="config_defaultMinRefreshRate">60</integer> |
|
|
|
|
|
|
|
<integer name="config_defaultPeakRefreshRate">90</integer> |
|
|
|
|
|
|
|
<integer name="config_defaultRefreshRate">0</integer> |
|
|
|
|
|
|
|
<integer name="config_defaultRefreshRateInZone">90</integer> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 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> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 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> |
|
|
|
</resources> |
|
|
|
</resources> |
|
|
|