Files
packages_apps_Settings/res/xml/screen_refresh_rate.xml
rmp22 643fd29fad Refresh rate: Add display refresh rate illustration
Change-Id: I3397250b383979b4ab40033a7ae632ece90fc305
Signed-off-by: rmp22 <195054967+rmp22@users.noreply.github.com>
2025-12-10 00:41:34 +09:00

41 lines
1.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2023-2024 Nameless-AOSP
SPDX-License-Identifier: Apache-2.0
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/screen_refresh_rate_title">
<com.android.settingslib.widget.IllustrationPreference
android:key="screen_refresh_rate"
settings:searchable="false"
settings:lottie_rawRes="@raw/display_refresh_rate"/>
<ListPreference
android:key="min_refresh_rate"
android:title="@string/min_refresh_rate_title"
android:summary="@string/summary_placeholder"
settings:controller="org.evolution.settings.display.refreshrate.MinRefreshRatePreferenceController" />
<ListPreference
android:key="peak_refresh_rate"
android:title="@string/max_refresh_rate_title"
android:summary="@string/summary_placeholder"
settings:controller="org.evolution.settings.display.refreshrate.PeakRefreshRatePreferenceController"/>
<Preference
android:key="per_app_refresh_rate"
android:title="@string/per_app_refresh_rate_title"
android:summary="@string/per_app_refresh_rate_summary"
android:fragment="org.evolution.settings.display.refreshrate.PerAppRefreshRateFragment"
settings:controller="org.evolution.settings.display.refreshrate.PerAppRefreshRatePreferenceController"/>
<SwitchPreferenceCompat
android:key="extreme_refresh_rate"
android:title="@string/extreme_refresh_rate_title"
android:summary="@string/extreme_refresh_rate_summary"
settings:controller="org.evolution.settings.display.refreshrate.ExtremeRefreshRatePreferenceController"/>
</PreferenceScreen>