| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Copyright (c) 2014, The Linux Foundation. All rights reserved. |
| |
| Redistribution and use in source and binary forms, with or without |
| modification, are permitted provided that the following conditions are |
| met: |
| * Redistributions of source code must retain the above copyright |
| notice, this list of conditions and the following disclaimer. |
| * Redistributions in binary form must reproduce the above |
| copyright notice, this list of conditions and the following |
| disclaimer in the documentation and/or other materials provided |
| with the distribution. |
| * Neither the name of The Linux Foundation nor the names of its |
| contributors may be used to endorse or promote products derived |
| from this software without specific prior written permission. |
| |
| THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED |
| WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
| MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT |
| ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS |
| BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
| CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
| SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR |
| BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
| WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE |
| OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN |
| IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE |
| --> |
| |
| <resources> |
| |
| <!-- Camera Shutter --> |
| <!-- Whether camera shutter sound is forced or not (country specific). --> |
| <bool name="config_camera_sound_forced">false</bool> |
| |
| |
| <!-- Dialer --> |
| <!-- The name of the package that will hold the dialer role by default. --> |
| <string name="config_defaultDialer" translatable="false">com.android.dialer</string> |
| |
| |
| <!-- Doze --> |
| <!-- Enable doze mode --> |
| <string name="config_dozeComponent">com.android.systemui/com.android.systemui.doze.DozeService</string> |
| <bool name="config_dozeAfterScreenOff">true</bool> |
| <!-- Screen brightness when dozing. --> |
| <integer name="config_screenBrightnessDoze">17</integer> |
| <bool name="config_powerDecoupleInteractiveModeFromDisplay">false</bool> |
| <bool name="config_setColorTransformAccelerated">true</bool> |
| |
| |
| <!-- NTP Server --> |
| |
| <!-- Remote server that can provide NTP responses. --> |
| <string translatable="false" name="config_ntpServer">europe.pool.ntp.org</string> |
| |
| |
| <!-- Screen and Display --> |
| |
| <!-- Flag indicating whether the we should enable the automatic brightness in Settings. |
| Software implementation will be used if config_hardware_auto_brightness_available is not set --> |
| <bool name="config_automatic_brightness_available">true</bool> |
| |
| <!-- The maximum range of gamma adjustment possible using the screen |
| auto-brightness adjustment setting. --> |
| <fraction name="config_autoBrightnessAdjustmentMaxGamma">300%</fraction> |
| |
| <!-- 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">2000</integer> |
| <integer name="config_autoBrightnessDarkeningLightDebounce">8000</integer> |
| |
| <!-- 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>10</item> |
| <item>30</item> |
| <item>60</item> |
| <item>100</item> |
| <item>150</item> |
| <item>210</item> |
| <item>255</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>10</item> |
| <item>20</item> |
| <item>40</item> |
| <item>70</item> |
| <item>110</item> |
| <item>160</item> |
| <item>200</item> |
| <item>255</item> |
| </integer-array> |
| |
| <!-- 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">1</integer> |
| |
| <!-- Default screen brightness setting. |
| Must be in the range specified by minimum and maximum. --> |
| <integer name="config_screenBrightnessSettingDefault">71</integer> |
| |
| <!-- Indicate whether to allow the device to suspend when the screen is off |
| due to the proximity sensor. This resource should only be set to true |
| if the sensor HAL correctly handles the proximity sensor as a wake-up source. |
| Otherwise, the device may fail to wake out of suspend reliably. |
| The default is false. --> |
| <bool name="config_suspendWhenScreenOffDueToProximity">true</bool> |
| |
| <!-- If this is true, the screen will come on when you plug/unplug usb/power/whatever. --> |
| <bool name="config_unplugTurnsOnScreen">true</bool> |
| |
| |
| <!-- Navigation bar --> |
| |
| <!-- Enable system navigation keys. --> |
| <bool name="config_supportSystemNavigationKeys">true</bool> |
| |
| <!-- Whether a software navigation bar should be shown. NOTE: in the future this may be |
| autodetected from the Configuration. --> |
| <bool name="config_showNavigationBar">true</bool> |
| |
| |
| <!-- Round Icons --> |
| |
| <!-- Set icon mask to circle --> |
| <string name="config_icon_mask" translatable="false">"M50 0A50 50,0,1,1,50 100A50 50,0,1,1,50 0"</string> |
| |
| <!-- Flag indicating whether round icons should be parsed from the application manifest. --> |
| <bool name="config_useRoundIcon">true</bool> |
| |
| |
| <!-- Biometics --> |
| |
| <!-- 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 --> |
| <string-array name="config_biometric_sensors" translatable="false" > |
| <item>0:2:15</item> <!-- ID0:Fingerprint:Strong --> |
| </string-array> |
| |
| |
| </resources> |