defaults.xml revision 43dee06479d96d51e895704a9ee480232224c761
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</string>
25    <string name="airplane_mode_toggleable_radios" translatable="false">bluetooth,wifi</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_usb_mass_storage_enabled">true</bool>
47    <bool name="def_wifi_on">false</bool>
48    <bool name="def_networks_available_notification_on">true</bool>
49
50    <bool name="def_backup_enabled">false</bool>
51    <string name="def_backup_transport" translatable="false">android/com.android.internal.backup.LocalTransport</string>
52
53    <!-- Default value for whether or not to pulse the notification LED when there is a
54         pending notification -->
55    <bool name="def_notification_pulse">true</bool>
56
57    <bool name="def_mount_play_notification_snd">true</bool>
58    <bool name="def_mount_ums_autostart">false</bool>
59    <bool name="def_mount_ums_prompt">true</bool>
60    <bool name="def_mount_ums_notify_enabled">true</bool>
61
62    <!-- user interface sound effects -->
63    <integer name="def_power_sounds_enabled">1</integer>
64    <string name="def_low_battery_sound" translatable="false">/system/media/audio/ui/LowBattery.ogg</string>
65    <integer name="def_dock_sounds_enabled">0</integer>
66    <string name="def_desk_dock_sound" translatable="false">/system/media/audio/ui/Dock.ogg</string>
67    <string name="def_desk_undock_sound" translatable="false">/system/media/audio/ui/Undock.ogg</string>
68    <string name="def_car_dock_sound" translatable="false">/system/media/audio/ui/Dock.ogg</string>
69    <string name="def_car_undock_sound" translatable="false">/system/media/audio/ui/Undock.ogg</string>
70    <integer name="def_lockscreen_sounds_enabled">0</integer>
71    <string name="def_lock_sound" translatable="false">/system/media/audio/ui/Lock.ogg</string>
72    <string name="def_unlock_sound" translatable="false">/system/media/audio/ui/Unlock.ogg</string>
73
74    <!-- Notifications use ringer volume -->
75    <bool name="def_notifications_use_ring_volume">true</bool>
76
77    <!-- Default for Settings.System.VIBRATE_IN_SILENT -->
78    <bool name="def_vibrate_in_silent">true</bool>
79
80    <bool name="def_use_ptp_interface">false</bool>
81
82    <!-- Default for Settings.Secure.ACCESSIBILITY_SCRIPT_INJECTION -->
83    <bool name="def_accessibility_script_injection">false</bool>
84
85    <!-- Default for Settings.Secure.ACCESSIBILITY_WEB_CONTENT_KEY_BINDINGS -->
86    <string name="def_accessibility_web_content_key_bindings" translatable="false">
87            <!-- DPAD/Trackball UP - traverse previous on current axis and send an event. -->
88            0x13=0x01000100;
89            <!-- DPAD/Trackball DOWN - traverse next on current axis and send an event. -->
90            0x14=0x01010100;
91            <!-- DPAD/Trackball LEFT - traverse previous on the character navigation axis and send event. -->
92            0x15=0x02000001;
93            <!-- DPAD/Trackball RIGHT - traverse next on the character navigation axis end send event. -->
94            0x16=0x02010001;
95            <!-- Alt+DPAD/Trackball UP - go to the top of the document. -->
96            0x200000013=0x02000601;
97            <!-- Alt+DPAD/Trackball DOWN - go to the bottom of the document. -->
98            0x200000014=0x02010601;
99            <!-- Alt+DPAD/Trackball LEFT - transition from an axis to another and sends an event.-->
100            <!-- Axis transitions: 2 -> 1; -->
101            0x200000015=0x03020101;
102            <!-- Alt+DPAD/Trackball RIGHT - transition from an axis to another and sends an event. -->
103            <!-- Axis transitions:  1 -> 2; -->
104            0x200000016=0x03010201;
105            <!-- Alt+g - go to the previous heading and send an event. -->
106            0x200000023=0x02000301;
107            <!-- Alt+h - go to the next heading and send an event. -->
108            0x200000024=0x02010301;
109            <!-- Alt+COMMA - transition to sentence navigation axis and send an event. -->
110            <!-- Axis transitions:  7 -> 2; -->
111            0x200000037=0x03070201;
112            <!-- Alt+PERIOD - transition to default web view behavior axis and send an event. -->
113            <!-- Axis transitions:  0 -> 7; 1 - > 7; 2 -> 7; -->
114            0x200000038=0x03000701:0x03010701:0x03020701;
115    </string>
116
117    <!-- Default for Settings.System.USER_ROTATION -->
118    <integer name="def_user_rotation">0</integer>
119</resources>
120