1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  Copyright (C) 2016 The Android Open Source Project
4
5  Licensed under the Apache License, Version 2.0 (the "License");
6  you may not use this file except in compliance with the License.
7  You may obtain a copy of the License at
8
9       http://www.apache.org/licenses/LICENSE-2.0
10
11  Unless required by applicable law or agreed to in writing, software
12  distributed under the License is distributed on an "AS IS" BASIS,
13  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  See the License for the specific language governing permissions and
15  limitations under the License
16  -->
17
18<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
19    xmlns:custom="http://schemas.android.com/apk/res-auto"
20    android:title="@string/device_display_sound">
21
22    <com.android.tv.twopanelsettings.slices.SlicePreference
23        android:key="cec"
24        android:title="@string/hdmi_cec_settings_title"
25        android:fragment="com.android.tv.twopanelsettings.slices.SliceFragment"
26        custom:uri="@string/cec_settings_slice_uri"
27        custom:isPreferenceVisible="false" />
28    <PreferenceCategory
29        android:key="display_category"
30        android:title="@string/display_category_title" />
31    <Preference
32        android:fragment="com.android.tv.settings.device.displaysound.ResolutionSelectionFragment"
33        android:key="resolution_selection"
34        android:persistent="true"
35        android:title="@string/resolution_selection_title"/>
36    <Preference
37        android:key="font_scale"
38        android:title="@string/font_scale_settings_title"
39        android:fragment="com.android.tv.settings.device.displaysound.FontScalePreferenceFragment" />
40    <SwitchPreference
41        android:key="match_content_dynamic_range"
42        android:persistent="true"
43        android:title="@string/match_content_dynamic_range_title" />
44    <Preference
45        android:fragment="com.android.tv.settings.device.displaysound.MatchContentFrameRateFragment"
46        android:key="match_content_frame_rate"
47        android:title="@string/match_content_frame_rate_title"/>
48    <Preference
49        android:key="advanced_display_settings"
50        android:title="@string/advanced_display_settings_title"
51        android:fragment="com.android.tv.settings.device.displaysound.AdvancedDisplayFragment" />
52    <PreferenceCategory
53        android:key="sound_category"
54        android:title="@string/device_sound" />
55    <SwitchPreference
56        android:key="sound_effects"
57        android:persistent="true"
58        android:title="@string/device_sound_effects"/>
59    <com.android.tv.twopanelsettings.slices.SlicePreference
60        android:key="default_audio_output_settings"
61        android:title="@string/default_audio_output_settings_title"
62        android:fragment="com.android.tv.twopanelsettings.slices.SliceFragment"
63        custom:uri="@string/default_audio_output_settings_slice_uri"
64        custom:isPreferenceVisible="false" />
65    <Preference
66        android:key="volume_change"
67        android:title="@string/volume_change_settings_title"
68        android:fragment="com.android.tv.settings.device.displaysound.VolumeChangePreferenceFragment"
69        custom:isPreferenceVisible="false" />
70    <Preference
71        android:key="advanced_sound_settings"
72        android:title="@string/advanced_sound_settings_title"
73        android:fragment="com.android.tv.settings.device.displaysound.AdvancedVolumeFragment" />
74</PreferenceScreen>
75