This repository has been archived on 2025-09-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
android_packages_apps_Cherish/res/xml/cherish_settings_quicksettings.xml
SagarMakhar fb8568bd69 Cherish:Fix-up [SQUASH] Port brightness slider changes [2/2]
Squashed commit of the following:

commit 8857e6bb1f68c85af995bb29964e11f68990de44
Author: SagarMakhar <sagarmakhar@gmail.com>
Date:   Sat Aug 21 17:04:31 2021 +0000

    Quick QS brightness slider [2/2]

    Change-Id: Ib3990781d5a438b2159fa5a383ba16d64bd42bb6
    Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>

commit a1d31fc792df8fc598c7c2017505b36626afdf9d
Author: Dhina17 <dhinalogu@gmail.com>
Date:   Wed Jul 1 12:53:00 2020 +0530

    qs: Enable adaptive brightness button by default

    Signed-off-by: Dhina17 <dhinalogu@gmail.com>
    Change-Id: Ia241688a6ed87d846b3ab0466b0833106ab6433f
    Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>

commit 423ef8ec6963d40b47b5c50bcb52600910a6809c
Author: Sebastian <xdzienny@gmail.com>
Date:   Sat Jan 6 00:57:17 2018 +0100

    Extensions: Add QS brightness buttons options [2/2]

    Signed-off-by: Adarsh-MR <adarshmr1998@gmail.com>
    Signed-off-by: Vol Zhdanov <wight554@gmail.com>
    Signed-off-by: Shubham Singh <coolsks94@gmail.com>
    Change-Id: I093b6dc6f43193b9713ee9f0d18fcf299c340573
    Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>

commit 88b397eb849810f361c7149340cfddd2510beed1
Author: xyyx <xyyx@mail.ru>
Date:   Fri Aug 31 14:02:12 2018 +0800

    Extensions: add prefs for qs brightness slider (2/2)

    Change-Id: I1cf1ae866af39dca7f40165674fc6066471da679
    Signed-off-by: Shubham Singh <coolsks94@gmail.com>
    Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>

Change-Id: I4f4d50b2b5bfdb3a77b292f63012ee8c200fb255

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-01-05 08:36:30 +07:00

101 lines
4.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2020 CherishOS 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"
android:title="@string/quicksettings_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory
android:title="@string/qs_title">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_show_battery_estimate"
android:title="@string/qs_show_battery_estimate_title"
android:summary="@string/qs_show_battery_estimate_summary"
android:defaultValue="true"/>
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_running_services_toggle"
android:title="@string/qs_running_services_title"
android:summary="@string/qs_running_services_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_edit_toggle"
android:title="@string/qs_edit_title"
android:summary="@string/qs_edit_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="qs_show_lunar_calendar"
android:title="@string/qs_show_lunar_calendar_title"
android:summary="@string/qs_show_lunar_calendar_summary"
android:defaultValue="false"/>
<PreferenceCategory
android:key="quick_settings_brighness_category"
android:title="@string/qs_brightness_slider_category">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_show_brightness"
android:title="@string/qs_brightness_slider_title"
android:summary="@string/qs_brightness_slider_summary"
android:defaultValue="true"/>
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qqs_show_brightness"
android:title="@string/quick_qs_brightness_slider_title"
android:summary="@string/quick_qs_brightness_slider_summary"
android:defaultValue="false"/>
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_show_auto_brightness_button"
android:title="@string/brightness_icon_title"
android:summary="@string/brightness_icon_summary"
android:defaultValue="false"/>
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_brightness_position_bottom"
android:title="@string/qs_brightness_position_bottom_title"
android:summary="@string/qs_brightness_position_bottom_summary"
android:defaultValue="false"
android:dependency="qs_show_brightness" />
</PreferenceCategory>
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="quick_settings_vibrate"
android:title="@string/quick_settings_vibrate_title"
android:summary="@string/quick_settings_vibrate_summary"
android:defaultValue="false"/>
<ListPreference
android:key="status_bar_quick_qs_pulldown"
android:title="@string/status_bar_quick_qs_pulldown"
android:entries="@array/quick_pulldown_entries"
android:entryValues="@array/quick_pulldown_values"
android:defaultValue="0" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_footer_warnings"
android:title="@string/qs_footer_warnings_title"
android:summary="@string/qs_footer_warnings_summary"
android:defaultValue="true" />
</PreferenceCategory>
</PreferenceScreen>