OSDN Git Service

Settings: Fix some settings
[android-x86/packages-apps-Settings.git] / res / xml / development_prefs.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2008 The Android Open Source Project
3
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
8           http://www.apache.org/licenses/LICENSE-2.0
9
10      Unless required by applicable law or agreed to in writing, software
11      distributed under the License is distributed on an "AS IS" BASIS,
12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13      See the License for the specific language governing permissions and
14      limitations under the License.
15 -->
16
17 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
18         android:title="@string/development_settings_title">
19
20     <PreferenceScreen
21             android:key="development_tools"
22             android:title="@string/development_tools_title"
23             android:persistent="false" >
24         <intent
25                 android:action="android.settings.development.LAUNCH_TOOLS"
26                 android:targetPackage="com.android.development"
27                 android:targetClass="com.android.development.Development" />
28     </PreferenceScreen>
29
30     <com.android.settings.BugreportPreference
31             android:key="bugreport"
32             android:title="@*android:string/bugreport_title"
33             android:dialogTitle="@*android:string/bugreport_title" />
34
35     <SwitchPreference
36         android:key="advanced_reboot"
37         android:title="@string/advanced_reboot_title"
38         android:summary="@string/advanced_reboot_summary" />
39
40     <PreferenceScreen
41             android:key="local_backup_password"
42             android:title="@string/local_backup_password_title"
43             android:summary="@string/local_backup_password_summary_none"
44             android:persistent="false" >
45         <intent
46                 android:action="android.settings.privacy.SET_FULL_BACKUP_PASSWORD"
47                 android:targetPackage="com.android.settings"
48                 android:targetClass="com.android.settings.SetFullBackupPassword" />
49     </PreferenceScreen>
50
51     <ListPreference
52         android:key="keep_screen_on_modes"
53         android:title="@string/keep_screen_on"
54         android:dialogTitle="@string/keep_screen_on"
55         android:entries="@array/keep_screen_on_titles"
56         android:entryValues="@array/keep_screen_on_values"
57         android:persistent="false" />
58
59     <ListPreference
60         android:key="hdcp_checking"
61         android:title="@string/hdcp_checking_title"
62         android:dialogTitle="@string/hdcp_checking_dialog_title"
63         android:entries="@array/hdcp_checking_titles"
64         android:entryValues="@array/hdcp_checking_values" />
65
66     <SwitchPreference
67         android:key="bt_hci_snoop_log"
68         android:title="@string/bt_hci_snoop_log"
69         android:summary="@string/bt_hci_snoop_log_summary"/>
70
71     <SwitchPreference
72         android:key="oem_unlock_enable"
73         android:title="@string/oem_unlock_enable"
74         android:summary="@string/oem_unlock_enable_summary"/>
75
76     <PreferenceScreen
77         android:key="running_apps"
78         android:title="@string/runningservices_settings_title"
79         android:summary="@string/runningservices_settings_summary"
80         android:fragment="com.android.settings.applications.RunningServices" />
81
82     <ListPreference
83         android:key="root_access"
84         android:title="@string/root_access"
85         android:persistent="false"
86         android:entries="@array/root_access_entries"
87         android:entryValues="@array/root_access_values" />
88
89     <SwitchPreference
90         android:key="update_recovery"
91         android:title="@string/update_recovery_title"
92         android:summary="@string/update_recovery_summary" />
93
94     <com.android.settings.ColorModePreference
95         android:key="color_mode"
96         android:title="@string/picture_color_mode"
97         android:summary="@string/picture_color_mode_desc"
98         android:persistent="false" />
99
100     <PreferenceCategory android:key="debug_debugging_category"
101             android:title="@string/debug_debugging_category">
102
103         <SwitchPreference
104             android:key="enable_adb"
105             android:title="@string/enable_adb_cm"
106             android:summary="@string/enable_adb_summary_cm"/>
107
108         <SwitchPreference
109             android:key="adb_notify"
110             android:title="@string/adb_notify"
111             android:summary="@string/adb_notify_summary"
112             android:dependency="enable_adb"/>
113
114         <SwitchPreference
115             android:key="adb_over_network"
116             android:title="@string/adb_over_network"
117             android:summary="@string/adb_over_network_summary"
118             android:dependency="enable_adb"/>
119
120         <Preference android:key="clear_adb_keys"
121                 android:title="@string/clear_adb_keys" />
122
123         <com.android.settings.HostnamePreference
124             android:key="device_hostname"
125             android:title="@string/device_hostname"
126             android:dialogTitle="@string/device_hostname"
127             android:positiveButtonText="@string/wifi_save"
128             android:negativeButtonText="@string/wifi_cancel"
129             android:selectAllOnFocus="true"
130             android:imeOptions="actionDone"
131             android:inputType="textNoSuggestions"
132             android:persistent="false" />
133
134         <SwitchPreference
135             android:key="enable_terminal"
136             android:title="@string/enable_terminal_title"
137             android:summary="@string/enable_terminal_summary" />
138
139         <SwitchPreference
140             android:key="bugreport_in_power"
141             android:title="@string/bugreport_in_power"
142             android:summary="@string/bugreport_in_power_summary"/>
143
144         <PreferenceScreen android:key="mock_location_app"
145             android:title="@string/mock_location_app" />
146
147         <SwitchPreference
148             android:key="development_shortcut"
149             android:title="@string/development_shortcut_title"
150             android:summary="@string/development_shortcut_summary" />
151
152         <SwitchPreference
153                 android:key="debug_view_attributes"
154                 android:title="@string/debug_view_attributes" />
155
156         <PreferenceScreen android:key="debug_app"
157                 android:title="@string/debug_app" />
158
159         <SwitchPreference
160             android:key="wait_for_debugger"
161             android:title="@string/wait_for_debugger"
162             android:summary="@string/wait_for_debugger_summary"/>
163
164         <SwitchPreference
165             android:key="verify_apps_over_usb"
166             android:title="@string/verify_apps_over_usb_title"
167             android:summary="@string/verify_apps_over_usb_summary"/>
168
169         <ListPreference
170             android:key="select_logd_size"
171             android:title="@string/select_logd_size_title"
172             android:dialogTitle="@string/select_logd_size_dialog_title"
173             android:entries="@array/select_logd_size_titles"
174             android:entryValues="@array/select_logd_size_values" />
175
176     </PreferenceCategory>
177
178     <PreferenceCategory android:key="debug_networking_category"
179             android:title="@string/debug_networking_category">
180
181         <SwitchPreference
182             android:key="wifi_display_certification"
183             android:title="@string/wifi_display_certification"
184             android:summary="@string/wifi_display_certification_summary"/>
185
186         <SwitchPreference
187             android:key="wifi_verbose_logging"
188             android:title="@string/wifi_verbose_logging"
189             android:summary="@string/wifi_verbose_logging_summary"/>
190
191         <SwitchPreference
192             android:key="wifi_aggressive_handover"
193             android:title="@string/wifi_aggressive_handover"
194             android:summary="@string/wifi_aggressive_handover_summary"/>
195
196         <SwitchPreference
197             android:key="wifi_allow_scan_with_traffic"
198             android:title="@string/wifi_allow_scan_with_traffic"
199             android:summary="@string/wifi_allow_scan_with_traffic_summary"/>
200
201        <SwitchPreference
202             android:key="legacy_dhcp_client"
203             android:title="@string/legacy_dhcp_client"
204             android:summary="@string/legacy_dhcp_client_summary"/>
205
206        <SwitchPreference
207             android:key="mobile_data_always_on"
208             android:title="@string/mobile_data_always_on"
209             android:summary="@string/mobile_data_always_on_summary"/>
210
211         <ListPreference
212             android:key="select_usb_configuration"
213             android:title="@string/select_usb_configuration_title"
214             android:dialogTitle="@string/select_usb_configuration_dialog_title"
215             android:entries="@array/usb_configuration_titles"
216             android:entryValues="@array/usb_configuration_values" />
217
218     </PreferenceCategory>
219
220     <PreferenceCategory android:key="debug_input_category"
221             android:title="@string/debug_input_category">
222
223         <SwitchPreference
224             android:key="show_touches"
225             android:title="@string/show_touches"
226             android:summary="@string/show_touches_summary"/>
227
228         <SwitchPreference
229             android:key="pointer_location"
230             android:title="@string/pointer_location"
231             android:summary="@string/pointer_location_summary"/>
232
233         <com.android.settings.cyanogenmod.CMSystemSettingSwitchPreference
234             android:key="edge_service_for_gestures"
235             android:title="@string/edge_gesture_service_title"
236             android:summary="@string/edge_gesture_service_summary"
237             android:defaultValue="1"/>
238
239     </PreferenceCategory>
240
241     <PreferenceCategory android:key="debug_drawing_category"
242             android:title="@string/debug_drawing_category">
243
244         <SwitchPreference
245             android:key="show_screen_updates"
246             android:title="@string/show_screen_updates"
247             android:summary="@string/show_screen_updates_summary"/>
248
249         <SwitchPreference
250             android:key="debug_layout"
251             android:title="@string/debug_layout"
252             android:summary="@string/debug_layout_summary"/>
253
254         <SwitchPreference
255             android:key="force_rtl_layout_all_locales"
256             android:title="@string/force_rtl_layout_all_locales"
257             android:summary="@string/force_rtl_layout_all_locales_summary"/>
258
259         <ListPreference
260             android:key="window_animation_scale"
261             android:title="@string/window_animation_scale_title"
262             android:persistent="false"
263             android:entries="@array/window_animation_scale_entries"
264             android:entryValues="@array/window_animation_scale_values" />
265
266         <ListPreference
267             android:key="transition_animation_scale"
268             android:title="@string/transition_animation_scale_title"
269             android:persistent="false"
270             android:entries="@array/transition_animation_scale_entries"
271             android:entryValues="@array/transition_animation_scale_values" />
272
273         <ListPreference
274             android:key="animator_duration_scale"
275             android:title="@string/animator_duration_scale_title"
276             android:persistent="false"
277             android:entries="@array/animator_duration_scale_entries"
278             android:entryValues="@array/animator_duration_scale_values" />
279
280         <ListPreference
281             android:key="overlay_display_devices"
282             android:title="@string/overlay_display_devices_title"
283             android:persistent="false"
284             android:entries="@array/overlay_display_devices_entries"
285             android:entryValues="@array/overlay_display_devices_values" />
286
287         <SwitchPreference
288             android:key="enable_multi_window"
289             android:title="@string/enable_multi_window"
290             android:summary="@string/enable_multi_window_summary"/>
291
292     </PreferenceCategory>
293
294     <PreferenceCategory android:key="debug_hw_drawing_category"
295             android:title="@string/debug_hw_drawing_category">
296
297         <SwitchPreference
298                 android:key="force_hw_ui"
299                 android:title="@string/force_hw_ui"
300                 android:summary="@string/force_hw_ui_summary"/>
301
302         <SwitchPreference
303                 android:key="show_hw_screen_udpates"
304                 android:title="@string/show_hw_screen_updates"
305                 android:summary="@string/show_hw_screen_updates_summary"/>
306
307         <SwitchPreference
308                 android:key="show_hw_layers_udpates"
309                 android:title="@string/show_hw_layers_updates"
310                 android:summary="@string/show_hw_layers_updates_summary"/>
311
312         <ListPreference
313                 android:key="debug_hw_overdraw"
314                 android:title="@string/debug_hw_overdraw"
315                 android:persistent="false"
316                 android:entries="@array/debug_hw_overdraw_entries"
317                 android:entryValues="@array/debug_hw_overdraw_values" />
318
319         <ListPreference
320                 android:key="show_non_rect_clip"
321                 android:title="@string/show_non_rect_clip"
322                 android:persistent="false"
323                 android:entries="@array/show_non_rect_clip_entries"
324                 android:entryValues="@array/show_non_rect_clip_values" />
325
326         <SwitchPreference
327                 android:key="force_msaa"
328                 android:title="@string/force_msaa"
329                 android:summary="@string/force_msaa_summary"/>
330
331         <SwitchPreference
332                 android:key="disable_overlays"
333                 android:title="@string/disable_overlays"
334                 android:summary="@string/disable_overlays_summary"/>
335
336         <ListPreference
337                 android:entries="@array/simulate_color_space_entries"
338                 android:entryValues="@array/simulate_color_space_values"
339                 android:key="simulate_color_space"
340                 android:persistent="false"
341                 android:summary="%s"
342                 android:title="@string/simulate_color_space" />
343
344     </PreferenceCategory>
345
346     <PreferenceCategory android:key="media_category"
347             android:title="@string/media_category">
348
349         <SwitchPreference
350                 android:key="usb_audio"
351                 android:title="@string/usb_audio_disable_routing"
352                 android:summary="@string/usb_audio_disable_routing_summary" />
353
354     </PreferenceCategory>
355
356     <PreferenceCategory android:key="debug_monitoring_category"
357             android:title="@string/debug_monitoring_category">
358
359         <SwitchPreference
360             android:key="strict_mode"
361             android:title="@string/strict_mode"
362             android:summary="@string/strict_mode_summary"/>
363
364         <SwitchPreference
365             android:key="show_cpu_usage"
366             android:title="@string/show_cpu_usage"
367             android:summary="@string/show_cpu_usage_summary"/>
368
369         <ListPreference
370             android:key="track_frame_time"
371             android:title="@string/track_frame_time"
372             android:persistent="false"
373             android:entries="@array/track_frame_time_entries"
374             android:entryValues="@array/track_frame_time_values" />
375
376         <ListPreference
377             android:key="enable_opengl_traces"
378             android:title="@string/enable_opengl_traces_title"
379             android:persistent="false"
380             android:entries="@array/enable_opengl_traces_entries"
381             android:entryValues="@array/enable_opengl_traces_values" />
382
383     </PreferenceCategory>
384
385     <PreferenceCategory android:key="debug_applications_category"
386             android:title="@string/debug_applications_category">
387
388         <SwitchPreference
389             android:key="immediately_destroy_activities"
390             android:title="@string/immediately_destroy_activities"
391             android:summary="@string/immediately_destroy_activities_summary"/>
392
393         <ListPreference
394             android:key="app_process_limit"
395             android:title="@string/app_process_limit_title"
396             android:persistent="false"
397             android:entries="@array/app_process_limit_entries"
398             android:entryValues="@array/app_process_limit_values" />
399
400         <SwitchPreference
401             android:key="show_all_anrs"
402             android:title="@string/show_all_anrs"
403             android:summary="@string/show_all_anrs_summary"/>
404
405         <Preference
406             android:key="inactive_apps"
407             android:title="@string/inactive_apps_title" />
408
409         <SwitchPreference
410             android:key="kill_app_longpress_back"
411             android:title="@string/kill_app_longpress_back"
412             android:summary="@string/kill_app_longpress_back_summary"/>
413
414      </PreferenceCategory>
415
416 </PreferenceScreen>