diff options
author | Giulio Cervera <giulio.cervera@cyanogenmod.org> | 2014-04-26 16:01:41 +0200 |
---|---|---|
committer | Giulio Cervera <giulio.cervera@cyanogenmod.org> | 2014-04-27 02:10:43 +0200 |
commit | 604472bce94efef6fdeae8cc795507007c4325b3 (patch) | |
tree | 943d9b6467758b3ee51cd3a5a710e50d61aab0eb /overlay/frameworks |
Initial Shinano import
based on rhine-common 7e2a33e
Diffstat (limited to 'overlay/frameworks')
-rw-r--r-- | overlay/frameworks/base/core/res/res/values/config.xml | 170 | ||||
-rw-r--r-- | overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml | 21 |
2 files changed, 191 insertions, 0 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml new file mode 100644 index 0000000..c4a60d7 --- /dev/null +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -0,0 +1,170 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 2009, The Android Open Source Project +** +** Licensed under the Apache License, Version 2.0 (the "License"); +** you may not use this file except in compliance with the License. +** You may obtain a copy of the License at +** +** http://www.apache.org/licenses/LICENSE-2.0 +** +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and +** limitations under the License. +*/ +--> + +<!-- These resources are around just to allow their values to be customized + for different hardware and product builds. --> +<resources> + + <!-- Default color for notification LED is white. --> + <color name="config_defaultNotificationColor">#ffffffff</color> + + <!-- Default LED on time for notification LED in milliseconds. --> + <integer name="config_defaultNotificationLedOn">1000</integer> + + <!-- Default LED off time for notification LED in milliseconds. --> + <integer name="config_defaultNotificationLedOff">6000</integer> + + <!-- If this is true, the screen will come on when you unplug usb/power/whatever. --> + <bool name="config_unplugTurnsOnScreen">true</bool> + + <!-- If this is true, the screen will fade off. --> + <bool name="config_animateScreenLights">false</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> + + <!-- Flag indicating whether we should enable the automatic brightness in Settings. + config_hardware_automatic_brightness_available is not set, so we will use software implementation --> + <bool name="config_automatic_brightness_available">true</bool> + + <!-- Array of light sensor LUX values to define our levels for auto backlight brightness support. + The N entries of this array define N + 1 zones as follows: + + Zone 0: 0 <= LUX < array[0] + Zone 1: array[0] <= LUX < array[1] + ... + Zone N: array[N - 1] <= LUX < array[N] + Zone N + 1: array[N] <= LUX < infinity + + Must be overridden in platform specific overlays + --> + <integer-array name="config_autoBrightnessLevels"> + <item>3</item> + <item>15</item> + <item>50</item> + <item>100</item> + <item>400</item> + <item>800</item> + <item>1520</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>50</item> + <item>100</item> + <item>150</item> + <item>200</item> + <item>230</item> + <item>255</item> + </integer-array> + + <!-- Array of output values for button 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_autoBrightnessButtonBacklightValues"> + <item>0</item> + <item>0</item> + <item>0</item> + <item>0</item> + <item>0</item> + <item>0</item> + <item>0</item> + <item>0</item> + </integer-array> + + <string-array translatable="false" name="config_tether_usb_regexs"> + <item>"usb\\d"</item> + <item>"rndis\\d"</item> + </string-array> + + <string-array translatable="false" name="config_tether_wifi_regexs"> + <item>"wlan0"</item> + </string-array> + + <!-- List of regexpressions describing the interface (if any) that represent tetherable + bluetooth interfaces. If the device doesn't want to support tethering over bluetooth this + should be empty. --> + <string-array translatable="false" name="config_tether_bluetooth_regexs"> + <item>"bt-pan"</item> + </string-array> + + <!-- Array of allowable ConnectivityManager network types for tethering --> + <!-- Common options are [1, 4] for TYPE_WIFI and TYPE_MOBILE_DUN or + [0,1,5,7] for TYPE_MOBILE, TYPE_WIFI, TYPE_MOBILE_HIPRI and TYPE_BLUETOOTH --> + <integer-array translatable="false" name="config_tether_upstream_types"> + <item>0</item> + <item>1</item> + <item>5</item> + <item>7</item> + </integer-array> + + <!-- Boolean indicating whether the wifi chipset has background scan support --> + <bool translatable="false" name="config_wifi_background_scan_support">true</bool> + + <!-- Boolean indicating whether the wifi chipset has dual frequency band support --> + <bool translatable="false" name="config_wifi_dual_band_support">true</bool> + + <!-- reference volume index for music stream to limit headphone volume and display warning --> + <integer name="config_safe_media_volume_index">7</integer> + + <bool name="config_enableWifiDisplay">true</bool> + + <!-- Setting this true forces the headset jack switches to use the/dev/input/event subsystem + rather than the uevent framework. --> + <bool name="config_useDevInputEventForAudioJack">true</bool> + + <!-- Is the notification LED intrusive? Used to decide if there should be a disable option --> + <bool name="config_intrusiveNotificationLed">true</bool> + + <!-- Is the battery LED intrusive? Used to decide if there should be a disable option --> + <bool name="config_intrusiveBatteryLed">true</bool> + + <!-- Can we change the battery color? --> + <bool name="config_multiColorBatteryLed">true</bool> + + <!-- Base "touch slop" value used by ViewConfiguration as a + movement threshold where scrolling should begin. --> + <dimen name="config_viewConfigurationTouchSlop">13dp</dimen> + + <!-- Enable lockscreen translucent decor --> + <bool name="config_enableLockScreenTranslucentDecor">true</bool> + + <!-- Defines the system property to set for performance profile xe: sys.cpu.modes. Leave it + blank if the device do not support performance profiles --> + <string name="config_perf_profile_prop" translatable="false">sys.perf.profile</string> + + <!-- When config_perf_profile_prop is defined, this value MUST be the index of + one of the listes values in frameworks/base/core/res/res/values/cm_arrays.xml + for "perf_profile_values" array. Leave it blank if the device do not support + performance profiles --> + <string name="config_perf_profile_default_entry" translatable="false">1</string> + + <!-- Make things go fast --> + <bool name="config_ui_enableFadingMarquee">false</bool> + +</resources> diff --git a/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml b/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml new file mode 100644 index 0000000..1ea4f9c --- /dev/null +++ b/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/** + * Copyright (c) 2009, The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +--> +<resources> + <bool name="def_screen_brightness_automatic_mode">true</bool> +</resources> |