Files
app_Settings/res/xml/development_tile_prefs.xml
Sunny Goyal bf9f2d2698 Adding a customizable development mode tile
User can configure the active state for development mode
which would allow enabling multiple options at once

Test: make -j40 RunSettingsRoboTests
Change-Id: I545b790f8c7097945f39ca003e5985b23cb53636
2017-01-05 10:16:18 -08:00

115 lines
4.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2017 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
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
<PreferenceCategory
android:key="debug_input_category"
android:title="@string/debug_input_category">
<SwitchPreference
android:key="show_touches"
android:title="@string/show_touches"
android:summary="@string/show_touches_summary"/>
<SwitchPreference
android:key="pointer_location"
android:title="@string/pointer_location"
android:summary="@string/pointer_location_summary"/>
</PreferenceCategory>
<PreferenceCategory
android:key="debug_drawing_category"
android:title="@string/debug_drawing_category">
<SwitchPreference
android:key="debug_layout"
android:title="@string/debug_layout"
android:summary="@string/debug_layout_summary"/>
<SwitchPreference
android:key="force_rtl_layout_all_locales"
android:title="@string/force_rtl_layout_all_locales"
android:summary="@string/force_rtl_layout_all_locales_summary"/>
<ListPreference
android:key="window_animation_scale"
android:defaultValue="1"
android:summary="%s"
android:title="@string/window_animation_scale_title"
android:entries="@array/window_animation_scale_entries"
android:entryValues="@array/window_animation_scale_values" />
<ListPreference
android:key="transition_animation_scale"
android:defaultValue="1"
android:summary="%s"
android:title="@string/transition_animation_scale_title"
android:entries="@array/transition_animation_scale_entries"
android:entryValues="@array/transition_animation_scale_values" />
<ListPreference
android:key="animator_duration_scale"
android:defaultValue="1"
android:summary="%s"
android:title="@string/animator_duration_scale_title"
android:entries="@array/animator_duration_scale_entries"
android:entryValues="@array/animator_duration_scale_values" />
</PreferenceCategory>
<PreferenceCategory
android:key="debug_hw_drawing_category"
android:title="@string/debug_hw_drawing_category">
<SwitchPreference
android:key="show_hw_screen_udpates"
android:title="@string/show_hw_screen_updates"
android:summary="@string/show_hw_screen_updates_summary"/>
<SwitchPreference
android:key="show_hw_layers_udpates"
android:title="@string/show_hw_layers_updates"
android:summary="@string/show_hw_layers_updates_summary"/>
<ListPreference
android:key="debug_hw_overdraw"
android:defaultValue="false"
android:summary="%s"
android:title="@string/debug_hw_overdraw"
android:entries="@array/debug_hw_overdraw_entries"
android:entryValues="@array/debug_hw_overdraw_values" />
</PreferenceCategory>
<PreferenceCategory
android:key="debug_monitoring_category"
android:title="@string/debug_monitoring_category">
<ListPreference
android:key="track_frame_time"
android:defaultValue="false"
android:summary="%s"
android:title="@string/track_frame_time"
android:entries="@array/track_frame_time_entries"
android:entryValues="@array/track_frame_time_values" />
</PreferenceCategory>
</PreferenceScreen>