defaults.xml revision 8de24dca68a34828277bf661d72110a3a3191165
1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3/** 4 * Copyright (c) 2009, The Android Open Source Project 5 * 6 * Licensed under the Apache License, Version 2.0 (the "License"); 7 * you may not use this file except in compliance with the License. 8 * You may obtain a copy of the License at 9 * 10 * http://www.apache.org/licenses/LICENSE-2.0 11 * 12 * Unless required by applicable law or agreed to in writing, software 13 * distributed under the License is distributed on an "AS IS" BASIS, 14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 * See the License for the specific language governing permissions and 16 * limitations under the License. 17 */ 18--> 19<resources> 20 <bool name="def_dim_screen">true</bool> 21 <integer name="def_screen_off_timeout">60000</integer> 22 <bool name="def_airplane_mode_on">false</bool> 23 <!-- Comma-separated list of bluetooth, wifi, and cell. --> 24 <string name="def_airplane_mode_radios" translatable="false">cell,bluetooth,wifi,nfc,wimax</string> 25 <string name="airplane_mode_toggleable_radios" translatable="false">bluetooth,wifi,nfc</string> 26 <bool name="def_auto_time">true</bool> 27 <bool name="def_auto_time_zone">true</bool> 28 <bool name="def_accelerometer_rotation">true</bool> 29 <!-- Default screen brightness, from 0 to 255. 102 is 40%. --> 30 <integer name="def_screen_brightness">102</integer> 31 <bool name="def_screen_brightness_automatic_mode">false</bool> 32 <fraction name="def_window_animation_scale">100%</fraction> 33 <fraction name="def_window_transition_scale">100%</fraction> 34 <bool name="def_haptic_feedback">true</bool> 35 36 <bool name="def_bluetooth_on">false</bool> 37 <bool name="def_install_non_market_apps">false</bool> 38 <!-- Comma-separated list of location providers. 39 Network location is off by default because it requires 40 user opt-in via Setup Wizard or Settings. 41 --> 42 <string name="def_location_providers_allowed" translatable="false">gps</string> 43 <bool name="assisted_gps_enabled">true</bool> 44 <!-- 0 == mobile, 1 == wifi. --> 45 <integer name="def_network_preference">1</integer> 46 <bool name="def_netstats_enabled">true</bool> 47 <bool name="def_usb_mass_storage_enabled">true</bool> 48 <bool name="def_wifi_on">false</bool> 49 <!-- 0 == never, 1 == only when plugged in, 2 == always --> 50 <integer name="def_wifi_sleep_policy">2</integer> 51 <bool name="def_networks_available_notification_on">true</bool> 52 53 <bool name="def_backup_enabled">false</bool> 54 <string name="def_backup_transport" translatable="false">android/com.android.internal.backup.LocalTransport</string> 55 56 <!-- Default value for whether or not to pulse the notification LED when there is a 57 pending notification --> 58 <bool name="def_notification_pulse">true</bool> 59 60 <bool name="def_mount_play_notification_snd">true</bool> 61 <bool name="def_mount_ums_autostart">false</bool> 62 <bool name="def_mount_ums_prompt">true</bool> 63 <bool name="def_mount_ums_notify_enabled">true</bool> 64 65 <!-- user interface sound effects --> 66 <integer name="def_power_sounds_enabled">1</integer> 67 <string name="def_low_battery_sound" translatable="false">/system/media/audio/ui/LowBattery.ogg</string> 68 <integer name="def_dock_sounds_enabled">0</integer> 69 <string name="def_desk_dock_sound" translatable="false">/system/media/audio/ui/Dock.ogg</string> 70 <string name="def_desk_undock_sound" translatable="false">/system/media/audio/ui/Undock.ogg</string> 71 <string name="def_car_dock_sound" translatable="false">/system/media/audio/ui/Dock.ogg</string> 72 <string name="def_car_undock_sound" translatable="false">/system/media/audio/ui/Undock.ogg</string> 73 <integer name="def_lockscreen_sounds_enabled">1</integer> 74 <string name="def_lock_sound" translatable="false">/system/media/audio/ui/Lock.ogg</string> 75 <string name="def_unlock_sound" translatable="false">/system/media/audio/ui/Unlock.ogg</string> 76 <bool name="def_lockscreen_disabled">false</bool> 77 <bool name="def_device_provisioned">false</bool> 78 79 <!-- Notifications use ringer volume --> 80 <bool name="def_notifications_use_ring_volume">true</bool> 81 82 <!-- Default for Settings.System.VIBRATE_IN_SILENT --> 83 <bool name="def_vibrate_in_silent">true</bool> 84 85 <!-- Default for Settings.Secure.ACCESSIBILITY_SCRIPT_INJECTION --> 86 <bool name="def_accessibility_script_injection">false</bool> 87 88 <!-- Default for Settings.Secure.ACCESSIBILITY_SPEAK_PASSWORD --> 89 <bool name="def_accessibility_speak_password">false</bool> 90 91 <!-- Default for Settings.Secure.ACCESSIBILITY_WEB_CONTENT_KEY_BINDINGS --> 92 <string name="def_accessibility_web_content_key_bindings" translatable="false"> 93 <!-- DPAD/Trackball UP - traverse previous on current axis and send an event. --> 94 0x13=0x01000100; 95 <!-- DPAD/Trackball DOWN - traverse next on current axis and send an event. --> 96 0x14=0x01010100; 97 <!-- DPAD/Trackball LEFT - traverse previous on the character navigation axis and send event. --> 98 0x15=0x02000001; 99 <!-- DPAD/Trackball RIGHT - traverse next on the character navigation axis end send event. --> 100 0x16=0x02010001; 101 <!-- Alt+DPAD/Trackball UP - go to the top of the document. --> 102 0x200000013=0x02000601; 103 <!-- Alt+DPAD/Trackball DOWN - go to the bottom of the document. --> 104 0x200000014=0x02010601; 105 <!-- Alt+DPAD/Trackball LEFT - transition from an axis to another and sends an event.--> 106 <!-- Axis transitions: 2 -> 1; --> 107 0x200000015=0x03020101; 108 <!-- Alt+DPAD/Trackball RIGHT - transition from an axis to another and sends an event. --> 109 <!-- Axis transitions: 1 -> 2; --> 110 0x200000016=0x03010201; 111 <!-- Alt+g - go to the previous heading and send an event. --> 112 0x200000023=0x02000301; 113 <!-- Alt+h - go to the next heading and send an event. --> 114 0x200000024=0x02010301; 115 <!-- Alt+COMMA - transition to sentence navigation axis and send an event. --> 116 <!-- Axis transitions: 7 -> 2; --> 117 0x200000037=0x03070201; 118 <!-- Alt+PERIOD - transition to default web view behavior axis and send an event. --> 119 <!-- Axis transitions: 0 -> 7; 1 - > 7; 2 -> 7; --> 120 0x200000038=0x03000701:0x03010701:0x03020701; 121 </string> 122 123 <!-- Default for Settings.Secure.ACCESSIBILITY_SCRIPT_INJECTION_URL --> 124 <string name="def_accessibility_screen_reader_url" translatable="false"> 125 https://ssl.gstatic.com/accessibility/javascript/android/AndroidVox_v1.js 126 </string> 127 128 <!-- Default for Settings.Secure.TOUCH_EXPLORATION_ENABLED --> 129 <bool name="def_touch_exploration_enabled">false</bool> 130 131 <!-- Default for Settings.System.USER_ROTATION --> 132 <integer name="def_user_rotation">0</integer> 133 134 <!-- Default for Settings.Secure.DOWNLOAD_MAX_BYTES_OVER_MOBILE. <=0 if no limit --> 135 <integer name="def_download_manager_max_bytes_over_mobile">-1</integer> 136 <!-- Default for Settings.Secure.DOWNLOAD_RECOMMENDED_MAX_BYTES_OVER_MOBILE. <=0 if no limit --> 137 <integer name="def_download_manager_recommended_max_bytes_over_mobile">-1</integer> 138 139 <!-- Default for Settings.Secure.LONG_PRESS_TIMEOUT_MILLIS --> 140 <integer name="def_long_press_timeout_millis">500</integer> 141 142 <!-- Default for Settings.System.POINTER_SPEED --> 143 <integer name="def_pointer_speed">0</integer> 144 145 <!-- Default for DTMF tones enabled --> 146 <bool name="def_dtmf_tones_enabled">true</bool> 147 <!-- Default for UI touch sounds enabled --> 148 <bool name="def_sound_effects_enabled">true</bool> 149 150 <!-- Development settings --> 151 <bool name="def_stay_on_while_plugged_in">false</bool> 152 153 <!-- Number of retries for connecting to DHCP. 154 Value here is the same as WifiStateMachine.DEFAULT_MAX_DHCP_RETRIES --> 155 <integer name="def_max_dhcp_retries">9</integer> 156 157 <!-- Dreams (screen saver) default settings --> 158 <!-- Whether the feature is enabled when charging (Settings.Secure.SCREENSAVER_ENABLED) --> 159 <bool name="def_screensaver_enabled">true</bool> 160 <!-- Whether the feature activates when docked (SCREENSAVER_ACTIVATE_ON_DOCK) --> 161 <bool name="def_screensaver_activate_on_dock">true</bool> 162 <!-- Whether the feature activates when docked (SCREENSAVER_ACTIVATE_ON_SLEEP) --> 163 <bool name="def_screensaver_activate_on_sleep">false</bool> 164 <!-- ComponentName of the default screen saver (Settings.Secure.SCREENSAVER_COMPONENT) --> 165 <string name="def_screensaver_component">com.google.android.deskclock/com.android.deskclock.Screensaver</string> 166</resources> 167