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 6242c12181a7acfb384308e22d8a41d16f7588d5 Author: Adarsh-MR <adarshmr1998@gmail.com> Date: Thu Dec 13 18:48:55 2018 +0530 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> Signed-off-by: SagarMakhar <sagarmakhar@gmail.com> Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
98 lines
4.2 KiB
XML
98 lines
4.2 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">
|
|
|
|
<!-- QS footer text toggle -->
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="qs_footer_text_show"
|
|
android:title="@string/qs_footer_text_show_title"
|
|
android:defaultValue="false" />
|
|
|
|
<!-- QS footer text string -->
|
|
<com.cherish.settings.preferences.SystemSettingEditTextPreference
|
|
android:key="qs_footer_text_string"
|
|
android:title="@string/qs_footer_text_string_title"
|
|
android:summary="@string/qs_footer_text_string_summary"
|
|
android:dependency="qs_footer_text_show"
|
|
android:defaultValue="TheKeepLove" />
|
|
|
|
<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.SecureSettingSwitchPreference
|
|
android:key="enable_location_privacy_indicator"
|
|
android:title="@string/location_privacy_indicator_title"
|
|
android:defaultValue="false" />
|
|
|
|
<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" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:key="quick_settings_brighness_category"
|
|
android:title="@string/qs_brightness_slider_category">
|
|
|
|
<com.cherish.settings.preferences.SecureSettingSwitchPreference
|
|
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.SecureSettingSwitchPreference
|
|
android:key="sysui_qqs_brightness_slider"
|
|
android:title="@string/quick_qs_brightness_slider_title"
|
|
android:summary="@string/quick_qs_brightness_slider_summary"
|
|
android:dependency="qs_show_brightness"
|
|
android:defaultValue="false"/>
|
|
|
|
<com.cherish.settings.preferences.SecureSettingSwitchPreference
|
|
android:key="qs_show_auto_brightness_button"
|
|
android:title="@string/brightness_icon_title"
|
|
android:summary="@string/brightness_icon_summary"
|
|
android:defaultValue="true"
|
|
android:dependency="qs_show_brightness"/>
|
|
|
|
<com.cherish.settings.preferences.SecureSettingSwitchPreference
|
|
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>
|
|
|
|
</PreferenceScreen>
|