1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright (C) 2020 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 <com.android.tv.twopanelsettings.slices.EmbeddedSlicePreference 32 android:key="display_resolution" 33 android:fragment="com.android.tv.twopanelsettings.slices.SliceFragment" 34 custom:uri="@string/resolution_slice_uri" 35 custom:isPreferenceVisible="false" /> 36 <Preference 37 android:fragment="com.android.tv.settings.device.displaysound.ResolutionSelectionFragment" 38 android:key="resolution_selection" 39 android:persistent="true" 40 android:title="@string/resolution_selection_title"/> 41 <Preference 42 android:key="font_scale" 43 android:title="@string/font_scale_settings_title" 44 android:fragment="com.android.tv.settings.device.displaysound.FontScalePreferenceFragment" /> 45 <com.android.tv.twopanelsettings.slices.EmbeddedSlicePreference 46 android:key="hdr_and_color_format" 47 android:fragment="com.android.tv.twopanelsettings.slices.SliceFragment" 48 custom:uri="@string/hdr_and_color_format_slice_uri" 49 custom:isPreferenceVisible="false" /> 50 <SwitchPreference 51 android:key="match_content_dynamic_range" 52 android:persistent="true" 53 android:title="@string/match_content_dynamic_range_title"/> 54 <Preference 55 android:fragment="com.android.tv.settings.device.displaysound.MatchContentFrameRateFragment" 56 android:key="match_content_frame_rate" 57 android:title="@string/match_content_frame_rate_title"/> 58 <Preference 59 android:key="advanced_display_settings" 60 android:title="@string/advanced_display_settings_title" 61 android:fragment="com.android.tv.settings.device.displaysound.AdvancedDisplayFragment" /> 62 <PreferenceCategory 63 android:key="sound_category" 64 android:title="@string/device_sound" /> 65 <com.android.tv.settings.widget.SwitchWithSoundPreference 66 android:key="sound_effects" 67 android:persistent="true" 68 android:title="@string/device_sound_effects"/> 69 <com.android.tv.twopanelsettings.slices.SlicePreference 70 android:key="default_audio_output_settings" 71 android:title="@string/default_audio_output_settings_title" 72 android:fragment="com.android.tv.twopanelsettings.slices.SliceFragment" 73 custom:uri="@string/default_audio_output_settings_slice_uri" 74 custom:isPreferenceVisible="false" /> 75 <com.android.tv.twopanelsettings.slices.EmbeddedSlicePreference 76 android:key="audio_ext" 77 android:fragment="com.android.tv.twopanelsettings.slices.SliceFragment" 78 custom:uri="@string/audio_ext_uri" 79 custom:isPreferenceVisible="false" /> 80 <Preference 81 android:key="volume_change" 82 android:title="@string/volume_change_settings_title" 83 android:fragment="com.android.tv.settings.device.displaysound.VolumeChangePreferenceFragment" 84 custom:isPreferenceVisible="false" /> 85 <Preference 86 android:key="advanced_sound_settings" 87 android:title="@string/advanced_sound_settings_title" 88 android:fragment="com.android.tv.settings.device.displaysound.AdvancedVolumeFragment" /> 89</PreferenceScreen> 90