OSDN Git Service

Settings: Forward port long-press-back to kill app (1/2)
[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     <com.android.settings.ColorModePreference
90         android:key="color_mode"
91         android:title="@string/picture_color_mode"
92         android:summary="@string/picture_color_mode_desc"
93         android:persistent="false" />
94
95     <PreferenceCategory android:key="debug_debugging_category"
96             android:title="@string/debug_debugging_category">
97
98         <SwitchPreference
99             android:key="enable_adb"
100             android:title="@string/enable_adb_cm"
101             android:summary="@string/enable_adb_summary_cm"/>
102
103         <SwitchPreference
104             android:key="adb_notify"
105             android:title="@string/adb_notify"
106             android:summary="@string/adb_notify_summary"
107             android:dependency="enable_adb"/>
108
109         <SwitchPreference
110             android:key="adb_over_network"
111             android:title="@string/adb_over_network"
112             android:summary="@string/adb_over_network_summary"
113             android:dependency="enable_adb"/>
114
115         <Preference android:key="clear_adb_keys"
116                 android:title="@string/clear_adb_keys" />
117
118         <com.android.settings.HostnamePreference
119             android:key="device_hostname"
120             android:title="@string/device_hostname"
121             android:dialogTitle="@string/device_hostname"
122             android:positiveButtonText="@string/wifi_save"
123             android:negativeButtonText="@string/wifi_cancel"
124             android:selectAllOnFocus="true"
125             android:imeOptions="actionDone"
126             android:inputType="textNoSuggestions"
127             android:persistent="false" />
128
129         <SwitchPreference
130             android:key="enable_terminal"
131             android:title="@string/enable_terminal_title"
132             android:summary="@string/enable_terminal_summary" />
133
134         <SwitchPreference
135             android:key="bugreport_in_power"
136             android:title="@string/bugreport_in_power"
137             android:summary="@string/bugreport_in_power_summary"/>
138
139         <PreferenceScreen android:key="mock_location_app"
140             android:title="@string/mock_location_app" />
141
142         <SwitchPreference
143             android:key="development_shortcut"
144             android:title="@string/development_shortcut_title"
145             android:summary="@string/development_shortcut_summary" />
146
147         <SwitchPreference
148                 android:key="debug_view_attributes"
149                 android:title="@string/debug_view_attributes" />
150
151         <PreferenceScreen android:key="debug_app"
152                 android:title="@string/debug_app" />
153
154         <SwitchPreference
155             android:key="wait_for_debugger"
156             android:title="@string/wait_for_debugger"
157             android:summary="@string/wait_for_debugger_summary"/>
158
159         <SwitchPreference
160             android:key="verify_apps_over_usb"
161             android:title="@string/verify_apps_over_usb_title"
162             android:summary="@string/verify_apps_over_usb_summary"/>
163
164         <ListPreference
165             android:key="select_logd_size"
166             android:title="@string/select_logd_size_title"
167             android:dialogTitle="@string/select_logd_size_dialog_title"
168             android:entries="@array/select_logd_size_titles"
169             android:entryValues="@array/select_logd_size_values" />
170
171     </PreferenceCategory>
172
173     <PreferenceCategory android:key="debug_networking_category"
174             android:title="@string/debug_networking_category">
175
176         <SwitchPreference
177             android:key="wifi_display_certification"
178             android:title="@string/wifi_display_certification"
179             android:summary="@string/wifi_display_certification_summary"/>
180
181         <SwitchPreference
182             android:key="wifi_verbose_logging"
183             android:title="@string/wifi_verbose_logging"
184             android:summary="@string/wifi_verbose_logging_summary"/>
185
186         <SwitchPreference
187             android:key="wifi_aggressive_handover"
188             android:title="@string/wifi_aggressive_handover"
189             android:summary="@string/wifi_aggressive_handover_summary"/>
190
191         <SwitchPreference
192             android:key="wifi_allow_scan_with_traffic"
193             android:title="@string/wifi_allow_scan_with_traffic"
194             android:summary="@string/wifi_allow_scan_with_traffic_summary"/>
195
196        <SwitchPreference
197             android:key="legacy_dhcp_client"
198             android:title="@string/legacy_dhcp_client"
199             android:summary="@string/legacy_dhcp_client_summary"/>
200
201        <SwitchPreference
202             android:key="mobile_data_always_on"
203             android:title="@string/mobile_data_always_on"
204             android:summary="@string/mobile_data_always_on_summary"/>
205
206         <ListPreference
207             android:key="select_usb_configuration"
208             android:title="@string/select_usb_configuration_title"
209             android:dialogTitle="@string/select_usb_configuration_dialog_title"
210             android:entries="@array/usb_configuration_titles"
211             android:entryValues="@array/usb_configuration_values" />
212
213     </PreferenceCategory>
214
215     <PreferenceCategory android:key="debug_input_category"
216             android:title="@string/debug_input_category">
217
218         <SwitchPreference
219             android:key="show_touches"
220             android:title="@string/show_touches"
221             android:summary="@string/show_touches_summary"/>
222
223         <SwitchPreference
224             android:key="pointer_location"
225             android:title="@string/pointer_location"
226             android:summary="@string/pointer_location_summary"/>
227
228         <com.android.settings.cyanogenmod.SystemSettingSwitchPreference
229             android:key="edge_service_for_gestures"
230             android:title="@string/edge_gesture_service_title"
231             android:summary="@string/edge_gesture_service_summary"
232             android:defaultValue="1"/>
233
234     </PreferenceCategory>
235
236     <PreferenceCategory android:key="debug_drawing_category"
237             android:title="@string/debug_drawing_category">
238
239         <SwitchPreference
240             android:key="show_screen_updates"
241             android:title="@string/show_screen_updates"
242             android:summary="@string/show_screen_updates_summary"/>
243
244         <SwitchPreference
245             android:key="debug_layout"
246             android:title="@string/debug_layout"
247             android:summary="@string/debug_layout_summary"/>
248
249         <SwitchPreference
250             android:key="force_rtl_layout_all_locales"
251             android:title="@string/force_rtl_layout_all_locales"
252             android:summary="@string/force_rtl_layout_all_locales_summary"/>
253
254         <ListPreference
255             android:key="window_animation_scale"
256             android:title="@string/window_animation_scale_title"
257             android:persistent="false"
258             android:entries="@array/window_animation_scale_entries"
259             android:entryValues="@array/window_animation_scale_values" />
260
261         <ListPreference
262             android:key="transition_animation_scale"
263             android:title="@string/transition_animation_scale_title"
264             android:persistent="false"
265             android:entries="@array/transition_animation_scale_entries"
266             android:entryValues="@array/transition_animation_scale_values" />
267
268         <ListPreference
269             android:key="animator_duration_scale"
270             android:title="@string/animator_duration_scale_title"
271             android:persistent="false"
272             android:entries="@array/animator_duration_scale_entries"
273             android:entryValues="@array/animator_duration_scale_values" />
274
275         <ListPreference
276             android:key="overlay_display_devices"
277             android:title="@string/overlay_display_devices_title"
278             android:persistent="false"
279             android:entries="@array/overlay_display_devices_entries"
280             android:entryValues="@array/overlay_display_devices_values" />
281
282         <SwitchPreference
283             android:key="enable_multi_window"
284             android:title="@string/enable_multi_window"
285             android:summary="@string/enable_multi_window_summary"/>
286
287     </PreferenceCategory>
288
289     <PreferenceCategory android:key="debug_hw_drawing_category"
290             android:title="@string/debug_hw_drawing_category">
291
292         <SwitchPreference
293                 android:key="force_hw_ui"
294                 android:title="@string/force_hw_ui"
295                 android:summary="@string/force_hw_ui_summary"/>
296
297         <SwitchPreference
298                 android:key="show_hw_screen_udpates"
299                 android:title="@string/show_hw_screen_updates"
300                 android:summary="@string/show_hw_screen_updates_summary"/>
301
302         <SwitchPreference
303                 android:key="show_hw_layers_udpates"
304                 android:title="@string/show_hw_layers_updates"
305                 android:summary="@string/show_hw_layers_updates_summary"/>
306
307         <ListPreference
308                 android:key="debug_hw_overdraw"
309                 android:title="@string/debug_hw_overdraw"
310                 android:persistent="false"
311                 android:entries="@array/debug_hw_overdraw_entries"
312                 android:entryValues="@array/debug_hw_overdraw_values" />
313
314         <ListPreference
315                 android:key="show_non_rect_clip"
316                 android:title="@string/show_non_rect_clip"
317                 android:persistent="false"
318                 android:entries="@array/show_non_rect_clip_entries"
319                 android:entryValues="@array/show_non_rect_clip_values" />
320
321         <SwitchPreference
322                 android:key="force_msaa"
323                 android:title="@string/force_msaa"
324                 android:summary="@string/force_msaa_summary"/>
325
326         <SwitchPreference
327                 android:key="disable_overlays"
328                 android:title="@string/disable_overlays"
329                 android:summary="@string/disable_overlays_summary"/>
330
331         <ListPreference
332                 android:entries="@array/simulate_color_space_entries"
333                 android:entryValues="@array/simulate_color_space_values"
334                 android:key="simulate_color_space"
335                 android:persistent="false"
336                 android:summary="%s"
337                 android:title="@string/simulate_color_space" />
338
339     </PreferenceCategory>
340
341     <PreferenceCategory android:key="media_category"
342             android:title="@string/media_category">
343
344         <SwitchPreference
345                 android:key="usb_audio"
346                 android:title="@string/usb_audio_disable_routing"
347                 android:summary="@string/usb_audio_disable_routing_summary" />
348
349     </PreferenceCategory>
350
351     <PreferenceCategory android:key="debug_monitoring_category"
352             android:title="@string/debug_monitoring_category">
353
354         <SwitchPreference
355             android:key="strict_mode"
356             android:title="@string/strict_mode"
357             android:summary="@string/strict_mode_summary"/>
358
359         <SwitchPreference
360             android:key="show_cpu_usage"
361             android:title="@string/show_cpu_usage"
362             android:summary="@string/show_cpu_usage_summary"/>
363
364         <ListPreference
365             android:key="track_frame_time"
366             android:title="@string/track_frame_time"
367             android:persistent="false"
368             android:entries="@array/track_frame_time_entries"
369             android:entryValues="@array/track_frame_time_values" />
370
371         <ListPreference
372             android:key="enable_opengl_traces"
373             android:title="@string/enable_opengl_traces_title"
374             android:persistent="false"
375             android:entries="@array/enable_opengl_traces_entries"
376             android:entryValues="@array/enable_opengl_traces_values" />
377
378     </PreferenceCategory>
379
380     <PreferenceCategory android:key="debug_applications_category"
381             android:title="@string/debug_applications_category">
382
383         <SwitchPreference
384             android:key="immediately_destroy_activities"
385             android:title="@string/immediately_destroy_activities"
386             android:summary="@string/immediately_destroy_activities_summary"/>
387
388         <ListPreference
389             android:key="app_process_limit"
390             android:title="@string/app_process_limit_title"
391             android:persistent="false"
392             android:entries="@array/app_process_limit_entries"
393             android:entryValues="@array/app_process_limit_values" />
394
395         <SwitchPreference
396             android:key="show_all_anrs"
397             android:title="@string/show_all_anrs"
398             android:summary="@string/show_all_anrs_summary"/>
399
400         <Preference
401             android:key="inactive_apps"
402             android:title="@string/inactive_apps_title" />
403
404         <SwitchPreference
405             android:key="kill_app_longpress_back"
406             android:title="@string/kill_app_longpress_back"
407             android:summary="@string/kill_app_longpress_back_summary"/>
408
409      </PreferenceCategory>
410
411 </PreferenceScreen>