<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (C) 2020 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"
    xmlns:custom="http://schemas.android.com/apk/res-auto"
    android:title="@string/device_display_sound">
    <PreferenceCategory
        android:key="display_category"
        android:title="@string/display_category_title" />
    <Preference
        android:key="font_scale"
        android:title="@string/font_scale_settings_title"
        android:fragment="com.android.tv.settings.device.displaysound.FontScalePreferenceFragment" />
    <SwitchPreference
        android:key="match_content_dynamic_range"
        android:persistent="true"
        android:title="@string/match_content_dynamic_range_title"/>
    <Preference
        android:fragment="com.android.tv.settings.device.displaysound.MatchContentFrameRateFragment"
        android:key="match_content_frame_rate"
        android:title="@string/match_content_frame_rate_title"/>
    <Preference
        android:fragment="com.android.tv.settings.device.displaysound.ResolutionSelectionFragment"
        android:key="resolution_selection"
        android:persistent="true"
        android:title="@string/resolution_selection_title"/>
    <Preference
        android:key="advanced_display_settings"
        android:title="@string/advanced_display_settings_title"
        android:fragment="com.android.tv.settings.device.displaysound.AdvancedDisplayFragment" />
    <Preference
        android:key="picture_vendor_settings"
        android:title="@string/picture_settings_title"
        custom:isPreferenceVisible="false">
        <intent
            android:action="@string/picture_settings_vendor_action" />
    </Preference>
    <PreferenceCategory
        android:key="sound_category"
        android:title="@string/device_sound" />
    <Preference
        android:key="advanced_sound_settings"
        android:title="@string/advanced_sound_settings_title"
        android:fragment="com.android.tv.settings.device.displaysound.AdvancedVolumeFragment" />
    <Preference
        android:key="sound_vendor_settings"
        android:title="@string/sound_settings_title"
        custom:isPreferenceVisible="false">
        <intent
            android:action="@string/sound_settings_vendor_action" />
    </Preference>
</PreferenceScreen>
