1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2021 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.settings.compat.TsSlicePreference 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 <com.android.tv.settings.compat.TsPreferenceCategory 29 android:key="display_category" 30 android:title="@string/display_category_title" /> 31 <com.android.tv.settings.compat.TsPreference 32 android:key="font_scale" 33 android:title="@string/font_scale_settings_title" 34 android:fragment="com.android.tv.settings.device.displaysound.FontScalePreferenceFragmentCompat" /> 35 <com.android.tv.settings.compat.TsPreference 36 android:fragment="com.android.tv.settings.device.displaysound.MatchContentRateFragmentCompat" 37 android:key="match_content_frame_rate" 38 android:title="@string/match_content_frame_rate_title"/> 39 <com.android.tv.settings.compat.TsPreference 40 android:key="advanced_display_settings" 41 android:title="@string/advanced_display_settings_title" 42 android:fragment="com.android.tv.settings.device.displaysound.AdvancedDisplayFragmentCompat" /> 43 <com.android.tv.settings.compat.TsPreferenceCategory 44 android:key="sound_category" 45 android:title="@string/device_sound" /> 46 <com.android.tv.settings.compat.TsSwitchPreference 47 android:key="sound_effects" 48 android:persistent="true" 49 android:title="@string/device_sound_effects"/> 50 <com.android.tv.settings.compat.TsPreference 51 android:key="advanced_sound_settings" 52 android:title="@string/advanced_sound_settings_title" 53 android:fragment="com.android.tv.settings.device.displaysound.AdvancedVolumeFragmentCompat" /> 54</PreferenceScreen> 55