a5xelte: add volume buttons as a possible wakeup source
[GitHub/LineageOS/android_device_samsung_a5xelte.git] / overlay / lineage-sdk / lineage / res / res / values / config.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 Copyright (C) 2015 The CyanogenMod Project
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7 http://www.apache.org/licenses/LICENSE-2.0
8 Unless required by applicable law or agreed to in writing, software
9 distributed under the License is distributed on an "AS IS" BASIS,
10 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 See the License for the specific language governing permissions and
12 limitations under the License.
13 -->
14 <resources>
15
16 <!-- Default value for proximity check on screen wake
17 NOTE ! - Enable for devices that have a fast response proximity sensor (ideally < 300ms)-->
18 <bool name="config_proximityCheckOnWake">true</bool>
19 <integer name="config_proximityCheckTimeout">400</integer>
20 <bool name="config_proximityCheckOnWakeEnabledByDefault">false</bool>
21
22 <!-- Color temperature settings for LiveDisplay. These were obtained by
23 measuring the display at various color balance levels. -->
24 <integer name="config_minColorTemperature">1900</integer>
25 <integer name="config_maxColorTemperature">25000</integer>
26
27 <!-- Corresponds to color balance level of zero, this is the native
28 display temperature -->
29 <integer name="config_dayColorTemperature">6500</integer>
30 <integer name="config_nightColorTemperature">4800</integer>
31
32 <!-- Ambient lux at which to enable outdoor mode when LiveDisplay is enabled -->
33 <integer name="config_outdoorAmbientLux">10000</integer>
34 <integer name="config_outdoorAmbientLuxHysteresis">1000</integer>
35
36 <!-- BurnIn protection. This should be enabled on devices that have OLED displays -->
37 <bool name="config_enableBurnInProtection">true</bool>
38
39 <!-- All the capabilities of the LEDs on this device, stored as a bit field.
40 This integer should equal the sum of the corresponding value for each
41 of the following capabilities present:
42 LIGHTS_RGB_NOTIFICATION_LED = 1
43 LIGHTS_RGB_BATTERY_LED = 2
44 LIGHTS_MULTIPLE_NOTIFICATION_LED = 4 (deprecated)
45 LIGHTS_PULSATING_LED = 8
46 LIGHTS_SEGMENTED_BATTERY_LED = 16
47 LIGHTS_ADJUSTABLE_NOTIFICATION_LED_BRIGHTNESS = 32
48 LIGHTS_BATTERY_LED = 64
49 For example, a device with notification and battery lights that supports
50 pulsating and RGB control would set this config to 75. -->
51 <integer name="config_deviceLightCapabilities">0</integer>
52
53 <!-- Disable LiveDisplay by default -->
54 <integer name="config_defaultLiveDislayMode">0</integer>
55
56 <!-- Hardware keys present on the device, stored as a bit field.
57 This integer should equal the sum of the corresponding value for each
58 of the following keys present:
59 1 - Home
60 2 - Back
61 4 - Menu
62 8 - Assistant (search)
63 16 - App switch
64 32 - Camera
65 64 - Volume rocker
66 For example, a device with Home, Back and Menu keys would set this
67 config to 7. -->
68 <integer name="config_deviceHardwareKeys">83</integer>
69
70 <!-- Hardware keys present on the device with the ability to wake, stored as a bit field.
71 This integer should equal the sum of the corresponding value for each
72 of the following keys present:
73 1 - Home
74 2 - Back
75 4 - Menu
76 8 - Assistant (search)
77 16 - App switch
78 32 - Camera
79 64 - Volume rocker
80 For example, a device with Home, Back and Menu keys would set this
81 config to 7. -->
82 <integer name="config_deviceHardwareWakeKeys">65</integer>
83 </resources>