Cherish:Cleanup for android 12

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
Hưng Phan
2021-10-24 20:56:46 +07:00
parent 2ee28134b0
commit 3c58bb7cd8
144 changed files with 12 additions and 63182 deletions

View File

@@ -1,82 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2019-2020 The Evolution X 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:settings="http://schemas.android.com/apk/res/com.android.settings"
android:title="@string/battery_bar_title">
<ListPreference
android:key="statusbar_battery_bar_no_navbar_list"
android:title="@string/battery_bar_no_navbar"
android:entries="@array/battery_bar_no_navbar_entries"
android:entryValues="@array/battery_bar_no_navbar_values" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="statusbar_battery_bar_color"
android:title="@string/battery_bar_color"
android:defaultValue="0xffffff" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="statusbar_battery_bar_battery_low_color"
android:title="@string/battery_bar_battery_low_color"
android:defaultValue="0xffffff" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="statusbar_battery_bar_enable_charging_color"
android:title="@string/battery_bar_use_charging_color"
android:defaultValue="true" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="statusbar_battery_bar_charging_color"
android:title="@string/battery_bar_charging_color"
android:defaultValue="0xffffff"
android:dependency="statusbar_battery_bar_enable_charging_color" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="statusbar_battery_bar_blend_color"
android:title="@string/battery_bar_blend_color_title"
android:summary="@string/battery_bar_blend_color_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="statusbar_battery_bar_blend_color_reverse"
android:title="@string/battery_bar_blend_color_reverse_title"
android:summaryOn="@string/battery_bar_blend_color_reverse_summary_on"
android:summaryOff="@string/battery_bar_blend_color_reverse_summary_off"
android:dependency="statusbar_battery_bar_blend_color"
android:defaultValue="false" />
<ListPreference
android:key="statusbar_battery_bar_style"
android:title="@string/battery_bar_style_title"
android:entries="@array/battery_bar_style_entries"
android:entryValues="@array/battery_bar_style_values" />
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="statusbar_battery_bar_thickness"
android:title="@string/battery_bar_thickness_title"
android:max="4"
settings:min="1"
settings:units="dp"
android:persistent="false" />
<SwitchPreference
android:key="statusbar_battery_bar_animate"
android:title="@string/battery_bar_animate_title" />
</PreferenceScreen>

View File

@@ -1,70 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2017 The ABC rom
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:settings="http://schemas.android.com/apk/res/com.android.settings">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="battery_light_enabled"
android:icon="@drawable/ic_battery_full"
android:title="@string/battery_light_enable"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="battery_light_allow_on_dnd"
android:icon="@drawable/ic_dnd"
android:title="@string/battery_light_allow_on_dnd_title"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="battery_light_low_blinking"
android:icon="@drawable/ic_blinking"
android:title="@string/battery_light_low_blinking_title"
android:defaultValue="false" />
<PreferenceCategory
android:key="battery_light_cat"
android:title="@string/battery_light_cat">
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="battery_light_low_color"
android:icon="@drawable/ic_battery_low"
android:title="@string/battery_light_low_color"
ledPreview="true"
settings:defaultColorValue="0xFFFF0000" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="battery_light_medium_color"
android:icon="@drawable/ic_battery_medium"
android:title="@string/battery_light_medium_color"
ledPreview="true"
settings:defaultColorValue="0xFFFFFF00" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="battery_light_full_color"
android:icon="@drawable/ic_battery_almostfull"
android:title="@string/battery_light_full_color"
ledPreview="true"
settings:defaultColorValue="0xFFFFFF00" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="battery_light_reallyfull_color"
android:icon="@drawable/ic_battery_full"
android:title="@string/battery_light_reallyfull_color"
ledPreview="true"
settings:defaultColorValue="0xFF00FF00" />
</PreferenceCategory>
</PreferenceScreen>

View File

@@ -1,27 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2020-2021 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"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
android:title="@string/fod_icon_picker_title">
<!-- Preview -->
<com.cherish.settings.preferences.FODIconPicker
android:key="fod_icon"
android:layout="@layout/fod_picker_preference"
android:selectable="false"/>
</PreferenceScreen>

View File

@@ -1,36 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2021 The 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"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
android:title="@string/sb_weather_title">
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="status_bar_show_weather_temp"
android:title="@string/statusbar_weather_title"
android:dialogTitle="@string/statusbar_weather_dialog_title"
android:entries="@array/status_bar_weather_entries"
android:entryValues="@array/status_bar_weather_values"
android:summary="%s"
android:defaultValue="0" />
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="status_bar_show_weather_location"
android:title="@string/status_bar_weather_location_title"
android:entries="@array/sb_weather_location_entries"
android:entryValues="@array/sb_weather_location_values"
android:summary="%s"
android:defaultValue="0" />
</PreferenceScreen>

View File

@@ -20,80 +20,4 @@
android:title="@string/animations_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings" >
<ListPreference
android:key="pref_scrollingcache"
android:icon="@drawable/ic_scroll"
android:dialogTitle="@string/pref_scrollingcache_title"
android:title="@string/pref_scrollingcache_title"
android:summary="@string/pref_scrollingcache_summary"
android:entries="@array/entries_scrollingcache"
android:entryValues="@array/values_scrollingcache" />
<ListPreference
android:key="toast_animation"
android:icon="@drawable/ic_toast"
android:title="@string/toast_animation_title"
android:entries="@array/toast_animation_entries"
android:entryValues="@array/toast_animation_values"
android:persistent="false" />
<ListPreference
android:key="listview_animation"
android:icon="@drawable/ic_listview"
android:dialogTitle="@string/listview_animation_title"
android:title="@string/listview_animation_title"
android:entries="@array/listview_animation_entries"
android:entryValues="@array/listview_animation_values"
android:defaultValue="0" />
<ListPreference
android:key="listview_interpolator"
android:icon="@drawable/ic_listview"
android:dialogTitle="@string/listview_interpolator_title"
android:title="@string/listview_interpolator_title"
android:entries="@array/listview_interpolator_entries"
android:entryValues="@array/listview_interpolator_values"
android:defaultValue="0" />
<ListPreference
android:key="screen_off_animation"
android:icon="@drawable/ic_soff"
android:title="@string/screen_off_animation_title"
android:entries="@array/screen_off_animation_entries"
android:entryValues="@array/screen_off_animation_values"
android:persistent="false"
android:defaultValue="0" />
<PreferenceCategory
android:key="quick_settings_animations"
android:title="@string/qs_tiles">
<com.cherish.settings.preferences.SystemSettingIntListPreference
android:key="anim_tile_style"
android:icon="@drawable/ic_qs_tile"
android:title="@string/qs_tile_animation_style_title"
android:entries="@array/qs_tile_animation_style_entries"
android:entryValues="@array/qs_tile_animation_style_values"
android:summary="%s"
android:defaultValue="0" />
<com.cherish.settings.preferences.SystemSettingIntListPreference
android:key="anim_tile_duration"
android:icon="@drawable/ic_qs_tile"
android:title="@string/qs_tile_animation_duration_title"
android:entries="@array/qs_tile_animation_duration_entries"
android:entryValues="@array/qs_tile_animation_duration_values"
android:summary="%s"
android:defaultValue="2000" />
<com.cherish.settings.preferences.SystemSettingIntListPreference
android:key="anim_tile_interpolator"
android:icon="@drawable/ic_qs_tile"
android:title="@string/qs_tile_animation_interpolator_title"
android:entries="@array/qs_tile_animation_interpolator_entries"
android:entryValues="@array/qs_tile_animation_interpolator_values"
android:summary="%s"
android:defaultValue="0" />
</PreferenceCategory>
</PreferenceScreen>

View File

@@ -1,37 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2021 Yet Another AOSP 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/always_on_display_schedule_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<com.cherish.settings.preferences.SecureSettingListPreference
android:key="doze_always_on_auto_mode"
android:title="@string/night_display_auto_mode_title"
android:dialogTitle="@string/night_display_auto_mode_title"
android:entries="@array/doze_always_on_auto_mode_entries"
android:entryValues="@array/doze_always_on_auto_mode_values"
android:persistent="false" />
<Preference
android:key="doze_always_on_auto_since"
android:title="@string/night_display_start_time_title" />
<Preference
android:key="doze_always_on_auto_till"
android:title="@string/night_display_end_time_title" />
</PreferenceScreen>

View File

@@ -18,240 +18,5 @@
android:title="@string/button_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory
android:key="navbar"
android:title="@string/navbar_title">
<Preference
android:key="system_navigation_settings_preferences"
android:title="@string/navbar_gestures_title"
android:icon="@drawable/ic_swipe"
android:summary="@string/navbar_gestures_summary"
android:fragment="com.android.settings.gestures.SystemNavigationGestureSettings"
settings:controller="com.android.settings.gestures.SystemNavigationPreferenceController" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="navigation_bar_menu_arrow_keys"
android:title="@string/navigation_bar_arrow_keys_title"
android:summary="@string/navigation_bar_arrow_keys_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="sysui_nav_bar_inverse"
android:icon="@drawable/ic_arrow"
android:title="@string/navigation_bar_invert_layout_title"
android:summary="@string/navigation_bar_invert_layout_summary"
android:defaultValue="false" />
<SwitchPreference
android:key="navigation_bar_show_new"
android:icon="@drawable/ic_arrow"
android:title="@string/navbar_visibility"
android:summary="@string/navbar_vis_summary" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="pixel_nav_animation"
android:title="@string/pixel_navbar_anim_title"
android:summary="@string/pixel_navbar_anim_summary"
android:defaultValue="true" />
</PreferenceCategory>
<Preference
android:key="gesture_key"
android:fragment="com.cherish.settings.fragments.GestureSettings"
android:icon="@drawable/ic_tap"
android:title="@string/gestures_title" />
<Preference
android:key="volume_key"
android:icon="@drawable/ic_hw"
android:fragment="com.cherish.settings.fragments.VolumeRockerSettings"
android:title="@string/volume_title" />
<PreferenceCategory
android:key="hardware_keys"
android:title="@string/hardware_keys_category" >
<SwitchPreference
android:key="hardware_keys_disable"
android:title="@string/hardware_keys_disable_title" />
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="button_brightness"
android:title="@string/button_brightness_title"
android:max="100"
android:icon="@drawable/ic_hw"
settings:min="0"
settings:units=""
android:persistent="false" />
<SwitchPreference
android:key="button_brightness_sw"
android:icon="@drawable/ic_hw"
android:title="@string/button_brightness_sw_title"
android:persistent="false" />
<ListPreference
android:dialogTitle="@string/backlight_timeout_title"
android:entries="@array/backlight_timeout_entries"
android:entryValues="@array/backlight_timeout_values"
android:key="backlight_timeout"
android:persistent="false"
android:title="@string/backlight_timeout_title" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="button_backlight_only_when_pressed"
android:title="@string/button_backlight_on_touch_only_title"
android:summary="@string/button_backlight_on_touch_only_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="anbi_enabled_option"
android:icon="@drawable/ic_hw"
android:title="@string/anbi_title"
android:summary="@string/anbi_summary"
android:defaultValue="false" />
</PreferenceCategory>
<PreferenceCategory
android:key="back_key"
android:title="@string/hardware_keys_back_key_title" >
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_back_single_tap"
android:summary="@string/hardware_keys_single_tap_summary"
android:title="@string/hardware_keys_single_tap_title" >
</com.cherish.settings.preferences.ActionPreference>
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_back_long_press"
android:icon="@drawable/ic_hw"
android:summary="@string/hardware_keys_long_press_summary"
android:title="@string/hardware_keys_long_press_title" >
</com.cherish.settings.preferences.ActionPreference>
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_back_double_tap"
android:icon="@drawable/ic_tap"
android:summary="@string/hardware_keys_double_tap_summary"
android:title="@string/hardware_keys_double_tap_title" >
</com.cherish.settings.preferences.ActionPreference>
</PreferenceCategory>
<PreferenceCategory
android:key="home_key"
android:title="@string/hardware_keys_home_key_title" >
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_home_single_tap"
android:icon="@drawable/ic_tap"
android:summary="@string/hardware_keys_single_tap_summary"
android:title="@string/hardware_keys_single_tap_title" >
</com.cherish.settings.preferences.ActionPreference>
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_home_long_press"
android:icon="@drawable/ic_hw"
android:summary="@string/hardware_keys_long_press_summary"
android:title="@string/hardware_keys_long_press_title" >
</com.cherish.settings.preferences.ActionPreference>
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_home_double_tap"
android:icon="@drawable/ic_tap"
android:summary="@string/hardware_keys_double_tap_summary"
android:title="@string/hardware_keys_double_tap_title" >
</com.cherish.settings.preferences.ActionPreference>
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="allow_incall_home"
android:icon="@drawable/ic_call"
android:title="@string/allow_incall_home_title"
android:summary="@string/allow_incall_home_summary"
android:defaultValue="true" />
</PreferenceCategory>
<PreferenceCategory
android:key="app_switch_key"
android:title="@string/hardware_keys_appswitch_key_title" >
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_overview_single_tap"
android:icon="@drawable/ic_tap"
android:summary="@string/hardware_keys_single_tap_summary"
android:title="@string/hardware_keys_single_tap_title" >
</com.cherish.settings.preferences.ActionPreference>
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_overview_long_press"
android:icon="@drawable/ic_hw"
android:summary="@string/hardware_keys_long_press_summary"
android:title="@string/hardware_keys_long_press_title" >
</com.cherish.settings.preferences.ActionPreference>
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_overview_double_tap"
android:icon="@drawable/ic_tap"
android:summary="@string/hardware_keys_double_tap_summary"
android:title="@string/hardware_keys_double_tap_title" >
</com.cherish.settings.preferences.ActionPreference>
</PreferenceCategory>
<PreferenceCategory
android:key="menu_key"
android:title="@string/hardware_keys_menu_key_title" >
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_menu_single_tap"
android:summary="@string/hardware_keys_single_tap_summary"
android:title="@string/hardware_keys_single_tap_title" >
</com.cherish.settings.preferences.ActionPreference>
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_menu_long_press"
android:icon="@drawable/ic_hw"
android:summary="@string/hardware_keys_long_press_summary"
android:title="@string/hardware_keys_long_press_title" >
</com.cherish.settings.preferences.ActionPreference>
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_menu_double_tap"
android:icon="@drawable/ic_tap"
android:summary="@string/hardware_keys_double_tap_summary"
android:title="@string/hardware_keys_double_tap_title" >
</com.cherish.settings.preferences.ActionPreference>
</PreferenceCategory>
<PreferenceCategory
android:key="assist_key"
android:title="@string/hardware_keys_assist_key_title" >
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_assist_single_tap"
android:icon="@drawable/ic_hw"
android:summary="@string/hardware_keys_single_tap_summary"
android:title="@string/hardware_keys_single_tap_title" >
</com.cherish.settings.preferences.ActionPreference>
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_assist_long_press"
android:icon="@drawable/ic_hw"
android:summary="@string/hardware_keys_long_press_summary"
android:title="@string/hardware_keys_long_press_title" >
</com.cherish.settings.preferences.ActionPreference>
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_assist_double_tap"
android:icon="@drawable/ic_tap"
android:summary="@string/hardware_keys_double_tap_summary"
android:title="@string/hardware_keys_double_tap_title" >
</com.cherish.settings.preferences.ActionPreference>
</PreferenceCategory>
</PreferenceScreen>

View File

@@ -1,135 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2020 The exTHmUI 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:settings="http://schemas.android.com/apk/res/com.android.settings"
android:title="@string/gaming_title" >
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="gaming_mode_enabled"
android:title="@string/gaming_mode_enabled_title"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="gaming_mode_dynamic_add"
android:title="@string/gaming_mode_dynamic_add_title"
android:summary="@string/gaming_mode_dynamic_add_summary"
android:defaultValue="true"
android:dependency="gaming_mode_enabled" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="gaming_mode_disable_auto_brightness"
android:title="@string/gaming_mode_disable_auto_brightness_title"
android:summary="@string/gaming_mode_disable_auto_brightness_summary"
android:defaultValue="true"
android:dependency="gaming_mode_enabled" />
<Preference
android:key="gaming_mode_notification_danmaku"
android:title="@string/gaming_mode_notification_danmaku_title"
android:summary="@string/gaming_mode_notification_danmaku_summary"
android:fragment="com.cherish.settings.fragments.gaming.DanmakuSettings"
android:dependency="gaming_mode_enabled" />
<Preference
android:key="gaming_mode_quick_start_apps"
android:title="@string/gaming_mode_quick_start_apps_title"
android:summary="@string/gaming_mode_quick_start_apps_summary"
android:fragment="com.cherish.settings.fragments.gaming.QuickStartAppSettings"
android:dependency="gaming_mode_enabled" />
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
android:key="gaming_mode_menu_opacity"
android:title="@string/gaming_mode_menu_opacity_title"
android:max="100"
settings:min="0"
android:defaultValue="75"/>
<PreferenceCategory
android:title="@string/gaming_mode_performance">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="gaming_mode_use_game_driver"
android:title="@string/gaming_mode_use_game_driver_title"
android:summary="@string/gaming_mode_use_game_driver_summary"
android:defaultValue="true"
android:dependency="gaming_mode_enabled" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="gaming_mode_change_performance_level"
android:title="@string/gaming_mode_change_performance_title"
android:summary="@string/gaming_mode_change_performance_summary"
android:defaultValue="true"
android:dependency="gaming_mode_enabled" />
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
android:key="gaming_mode_performance_level"
android:title="@string/gaming_mode_performance_title"
android:defaultValue="5"
android:max="6"
settings:min="0"
settings:units=""
android:dependency="gaming_mode_change_performance_level" />
</PreferenceCategory>
<PreferenceCategory
android:title="@string/gaming_mode_dnd">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="gaming_mode_disable_notification_alert"
android:title="@string/gaming_mode_disable_notification_alert_title"
android:summary="@string/gaming_mode_disable_notification_alert_summary"
android:defaultValue="true"
android:dependency="gaming_mode_enabled" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="gaming_mode_disable_ringtone"
android:title="@string/gaming_mode_disable_ringtone_title"
android:summary="@string/gaming_mode_disable_ringtone_summary"
android:defaultValue="false"
android:dependency="gaming_mode_enabled" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="gaming_mode_auto_answer_call"
android:title="@string/gaming_mode_auto_answer_call_title"
android:summary="@string/gaming_mode_auto_answer_call_summary"
android:defaultValue="false"
android:dependency="gaming_mode_enabled" />
</PreferenceCategory>
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="gaming_mode_disable_hw_keys"
android:title="@string/gaming_mode_hardware_keys_title"
android:summary="@string/gaming_mode_hardware_keys_summary"
android:defaultValue="false"
android:dependency="gaming_mode_enabled" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="gaming_mode_disable_gesture"
android:title="@string/gaming_mode_disable_gesture_title"
android:summary="@string/gaming_mode_disable_gesture_summary"
android:defaultValue="false"
android:dependency="gaming_mode_enabled" />
<com.cherish.settings.preferences.PackageListPreference
android:key="gaming_mode_app_list"
android:title="@string/gaming_mode_apps"
android:dependency="gaming_mode_enabled" />
</PreferenceScreen>

View File

@@ -1,75 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2020 The exTHmUI 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:settings="http://schemas.android.com/apk/res/com.android.settings"
android:title="@string/gaming_mode_notification_danmaku_title" >
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="gaming_mode_show_danmaku"
android:title="@string/gaming_mode_show_danmaku_title"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="gaming_mode_danmaku_dynamic_notification_filter"
android:title="@string/gaming_mode_danmaku_dynamic_notification_filter_title"
android:summary="@string/gaming_mode_danmaku_dynamic_notification_filter_summary"
android:defaultValue="true"
android:dependency="gaming_mode_show_danmaku" />
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
android:key="gaming_mode_danmaku_size_horizontal"
android:title="@string/gaming_mode_danmaku_size_horizontal_title"
android:defaultValue="36"
android:max="64"
settings:min="12"
settings:units="px"
android:dependency="gaming_mode_show_danmaku" />
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
android:key="gaming_mode_danmaku_size_vertical"
android:title="@string/gaming_mode_danmaku_size_vertical_title"
android:defaultValue="36"
android:max="64"
settings:min="12"
settings:units="px"
android:dependency="gaming_mode_show_danmaku" />
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
android:key="gaming_mode_danmaku_speed_horizontal"
android:title="@string/gaming_mode_danmaku_speed_horizontal_title"
android:defaultValue="300"
android:max="1000"
settings:min="100"
settings:units="px/s"
android:dependency="gaming_mode_show_danmaku" />
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
android:key="gaming_mode_danmaku_speed_vertical"
android:title="@string/gaming_mode_danmaku_speed_vertical_title"
android:defaultValue="300"
android:max="1000"
settings:min="100"
settings:units="px/s"
android:dependency="gaming_mode_show_danmaku" />
<com.cherish.settings.preferences.PackageListPreference
android:title="@string/gaming_mode_danmaku_blacklist"
android:key="gaming_mode_danmaku_app_blacklist"
android:dependency="gaming_mode_show_danmaku" />
</PreferenceScreen>

View File

@@ -1,26 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2020 The exTHmUI 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:settings="http://schemas.android.com/apk/res/com.android.settings"
android:title="@string/gaming_mode_quick_start_apps_title" >
<com.cherish.settings.preferences.PackageListPreference
android:key="gaming_mode_qs_app_list" />
</PreferenceScreen>

View File

@@ -18,44 +18,4 @@
android:title="@string/gestures_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory
android:key="double_tap_gestures_category"
android:title="@string/double_tap_gestures_category_title">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="double_tap_sleep_gesture"
android:icon="@drawable/ic_tap"
android:title="@string/double_tap_sleep_gesture_title"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="double_tap_sleep_lockscreen"
android:icon="@drawable/ic_tap"
android:title="@string/double_tap_sleep_lockscreen_title"
android:defaultValue="false" />
</PreferenceCategory>
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:icon="@drawable/ic_tap"
android:key="three_finger_gesture"
android:title="@string/three_finger_gesture"
android:summary="@string/three_finger_gesture_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:icon="@drawable/ic_torch"
android:key="torch_long_press_power_gesture"
android:title="@string/torch_long_press_power_gesture_title"
android:summary="@string/torch_long_press_power_gesture_desc"
android:defaultValue="false" />
<ListPreference
android:key="torch_long_press_power_timeout"
android:dialogTitle="@string/torch_long_press_power_timeout_title"
android:title="@string/torch_long_press_power_timeout_title"
android:summary="%s"
android:entries="@array/torch_long_press_power_timeout_entries"
android:entryValues="@array/torch_long_press_power_timeout_values"
android:dependency="torch_long_press_power_gesture"
android:persistent="false" />
</PreferenceScreen>

View File

@@ -18,336 +18,4 @@
android:title="@string/lockscreen_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="lockscreen_battery_info"
android:icon="@drawable/ic_battery_info"
android:title="@string/lockscreen_battery_info_title"
android:summary="@string/lockscreen_battery_info_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="charging_animation"
android:icon="@drawable/ic_charging"
android:title="@string/charging_animation_title"
android:summary="@string/charging_animation_summary"
android:defaultValue="true" />
<!-- Charging animation style -->
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="charging_animation_style"
settings:iconSpaceReserved="false"
android:title="@string/charging_animation_style_title"
android:entries="@array/charging_animation_style_entries"
android:entryValues="@array/charging_animation_style_values"
android:summary="%s"
android:dependency="charging_animation"
android:defaultValue="1" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="charging_animation_bg"
android:title="@string/charging_animation_bg_title"
android:summary="@string/charging_animation_bg_summary"
android:dependency="charging_animation"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="lockscreen_charging_animation_style"
android:icon="@drawable/ic_flash"
android:title="@string/lockscreen_charging_animation_title"
android:entries="@array/lockscreen_charging_animation_entries"
android:entryValues="@array/lockscreen_charging_animation_values"
android:defaultValue="1" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="fingerprint_success_vib"
android:icon="@drawable/ic_fingerprint"
android:title="@string/fprint_sucess_vib_title"
android:summary="@string/fprint_sucess_vib_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="fingerprint_error_vib"
android:icon="@drawable/ic_fingerprint"
android:title="@string/fprint_error_vib_title"
android:summary="@string/fprint_error_vib_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="hide_lockicon"
android:icon="@drawable/ic_lock_outline"
android:title="@string/hide_lockicon_title"
android:summary="@string/hide_lockicon_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="hide_lockscreen_status_bar"
android:icon="@drawable/ic_lock_outline"
android:title="@string/hide_lockscreen_status_bar_title"
android:summary="@string/hide_lockscreen_status_bar_summary"
android:defaultValue="false" />
<Preference
android:key="always_on_display_schedule"
android:icon="@drawable/ic_upset"
android:title="@string/always_on_display_schedule_title"
android:fragment="com.cherish.settings.fragments.AODSchedule" />
<!-- Lock screen -->
<PreferenceCategory
android:title="Lock Clock"/>
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="lockscreen_clock_animation_selection"
android:title="@string/clock_lottie_animation_title"
android:entries="@array/clock_lottie_animation_entries"
android:entryValues="@array/clock_lottie_animation_values"
android:summary="%s"
android:defaultValue="0" />
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="lockscreen_clock_animation_size"
android:title="@string/clock_lottie_animation_size_title"
android:max="500"
settings:min="300"
settings:units="dp"
android:defaultValue="300" />
<com.cherish.settings.preferences.SecureSettingListPreference
android:key="lockscreen_clock_selection"
android:title="@string/lockscreen_clock_title"
android:icon="@drawable/ic_clock"
android:dialogTitle="@string/lockscreen_clock_dialog_title"
android:entries="@array/lockscreen_clock_titles"
android:entryValues="@array/lockscreen_clock_values"
android:summary="%s"
android:defaultValue="2" />
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="lockclock_font_size"
android:icon="@drawable/ic_font_size"
android:title="@string/lockclock_font_size_title"
android:max="101"
settings:min="50"
settings:units="dp"
android:persistent="false"
android:defaultValue="65" />
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="custom_text_clock_font_size"
android:icon="@drawable/ic_font_size"
android:title="@string/custom_text_clock_font_size_title"
android:max="50"
settings:min="35"
settings:units="dp"
android:persistent="false"
android:defaultValue="40" />
<PreferenceCategory
android:title="Lock Date"/>
<com.cherish.settings.preferences.SecureSettingListPreference
android:key="lockscreen_date_selection"
android:icon="@drawable/ic_event"
android:title="@string/lockscreen_date_selection_title"
android:dialogTitle="@string/lockscreen_date_dialog_title"
android:entries="@array/lockscreen_date_selection_entries"
android:entryValues="@array/lockscreen_date_selection_values"
android:summary="%s"
android:defaultValue="0" />
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="lockdate_font_size"
android:icon="@drawable/ic_font_size"
android:title="@string/lockdate_font_size_title"
android:max="25"
settings:min="10"
settings:units="dp"
android:defaultValue="18"
android:persistent="false" />
<PreferenceCategory
android:title="Owner Info"/>
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="lockowner_font_size"
android:icon="@drawable/ic_font_size"
android:title="@string/lockowner_font_size_title"
android:max="25"
settings:min="10"
settings:units="dp"
android:defaultValue="21"
android:persistent="false" />
<PreferenceCategory
android:title="Lockscreen Item Alignment Options"/>
<com.cherish.settings.preferences.SecureSettingListPreference
android:key="center_text_clock"
android:icon="@drawable/ic_align"
android:title="@string/center_text_clock_title"
android:dialogTitle="@string/center_text_clock_title"
android:entries="@array/lockscreen_item_alignment_entries"
android:entryValues="@array/lockscreen_item_alignment_values"
android:summary="%s"
android:defaultValue="1" />
<com.cherish.settings.preferences.SecureSettingListPreference
android:key="lock_date_alignment"
android:icon="@drawable/ic_align"
android:title="@string/lockscreen_date_alignment_title"
android:dialogTitle="@string/lockscreen_date_alignment_title"
android:entries="@array/lockscreen_item_alignment_entries"
android:entryValues="@array/lockscreen_item_alignment_values"
android:summary="%s"
android:defaultValue="1" />
<com.cherish.settings.preferences.SecureSettingListPreference
android:key="lockscreen_weather_alignment"
android:icon="@drawable/ic_align"
android:title="@string/lockscreen_weather_alignment_title"
android:dialogTitle="@string/lockscreen_weather_alignment_title"
android:entries="@array/lockscreen_item_alignment_entries"
android:entryValues="@array/lockscreen_item_alignment_values"
android:summary="%s"
android:defaultValue="1" />
<com.cherish.settings.preferences.SecureSettingListPreference
android:key="lock_ownerinfo_alignment"
android:icon="@drawable/ic_align"
android:title="@string/lockscreen_ownerinfo_alignment_title"
android:dialogTitle="@string/lockscreen_ownerinfo_alignment_title"
android:entries="@array/lockscreen_item_alignment_entries"
android:entryValues="@array/lockscreen_item_alignment_values"
android:summary="%s"
android:defaultValue="1" />
<com.cherish.settings.preferences.SecureSettingSeekBarPreference
android:key="lockscreen_item_padding"
android:icon="@drawable/ic_align"
android:title="@string/lockscreen_item_padding_title"
android:defaultValue="35"
android:max="65"
settings:min="0"
settings:units="dp"
settings:interval="1"/>
<PreferenceScreen
android:key="lockscreen_colors"
android:icon="@drawable/ic_accent_picker"
android:title="@string/lockscreen_colors"
android:summary="@string/lockscreen_colors_summary"
android:fragment="com.cherish.settings.fragments.LockColors" />
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="hide_lock_shortcuts"
android:icon="@drawable/ic_lock_outline"
android:title="@string/lockscreen_hide_shortcuts_title"
android:summary="@string/lockscreen_hide_shortcuts_summary"
android:defaultValue="false" />
<PreferenceCategory
android:key="lockscreen_weather"
android:title="@string/lockscreen_weather_category" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="lockscreen_weather_enabled"
android:icon="@drawable/ic_cloud"
android:title="@string/lockscreen_weather_enabled_title"
android:summary="@string/lockscreen_weather_enabled_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="lockscreen_weather_style"
android:icon="@drawable/ic_night"
android:title="@string/lockscreen_weather_style_title"
android:dialogTitle="@string/lockscreen_weather_style_title"
android:entries="@array/lockscreen_weather_style_entries"
android:entryValues="@array/lockscreen_weather_style_values"
android:defaultValue="0"
android:dependency="lockscreen_weather_enabled"
android:summary="%s" />
<Preference
android:key="omnijaws_settings"
android:icon="@drawable/ic_weather"
android:title="@string/lockscreen_weather_settings_title"
android:summary="@string/lockscreen_weather_settings_summary"
android:fragment="com.cherish.settings.fragments.OmniJawsSettings" />
<!-- Lockscreen Visualizer-->
<PreferenceCategory
android:key="visualizer"
android:title="@string/visualizer_title">
<Preference
android:key="pulse_category"
android:icon="@drawable/ic_visualizer"
android:fragment="com.cherish.settings.fragments.PulseSettings"
android:title="@string/pulse_settings"
android:summary="@string/pulse_settings_summary" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="lockscreen_media_art"
android:icon="@drawable/ic_media"
android:title="@string/lockscreen_media_art_title"
android:summary="@string/lockscreen_media_art_summary"
android:defaultValue="true" />
</PreferenceCategory>
<!-- FOD-->
<PreferenceCategory
android:key="fod_icon_picker"
android:title="@string/fod_icon_picker_category_title">
<Preference
android:key="fod_icon_picker_category"
android:title="@string/fod_icon_picker_title"
android:summary="@string/fod_icon_picker_summary"
android:fragment="com.cherish.settings.fragments.lockscreen.FODIconPickerFragment" />
<!-- Animated FOD icon -->
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="fod_icon_animation"
android:title="@string/fod_icon_animation"
android:summary="@string/fod_icon_animation_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="fod_icon_anim_type"
android:title="@string/fod_icon_animation_effect_title"
android:summary="%s"
android:entries="@array/fod_icon_animation_entries"
android:entryValues="@array/fod_icon_animation_values"
android:defaultValue="0"
android:dependency="fod_icon_animation" />
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="fod_color"
android:title="@string/fod_pressed_color_title"
android:summary="%s"
android:entries="@array/fod_pressed_color_entries"
android:entryValues="@array/fod_pressed_color_values"
android:defaultValue="0" />
</PreferenceCategory>
<PreferenceCategory
android:title="@string/fod_recog_animation_category"
android:key="fod_animations">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="fod_recognizing_animation"
android:title="@string/fod_recog_animation"
android:summary="@string/fod_recog_animation_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="fod_anim"
android:title="@string/fod_recog_animation_effect_title"
android:summary="%s"
android:entries="@array/fod_recog_animation_entries"
android:entryValues="@array/fod_recog_animation_values"
android:defaultValue="0"
android:dependency="fod_recognizing_animation" />
</PreferenceCategory>
</PreferenceScreen>

View File

@@ -18,171 +18,4 @@
android:title="@string/misc_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory
android:title="@string/doze_brightness_category">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="doze_brightness_force"
android:title="@string/doze_brightness_force_title"
android:summary="@string/doze_brightness_force_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="ambient_doze_brightness"
android:title="@string/ambient_doze_brightness_title"
android:summary="@string/ambient_doze_brightness_summary"
android:max="255"
android:min="1"
android:persistent="false" />
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="ambient_pulse_brightness"
android:title="@string/ambient_pulse_brightness_title"
android:summary="@string/ambient_pulse_brightness_summary"
android:max="255"
android:min="1"
android:persistent="false" />
</PreferenceCategory>
<!-- Gaming mode -->
<Preference
android:key="gaming_category"
android:title="@string/gaming_title"
android:fragment="com.cherish.settings.fragments.GamingModeSettings"
android:icon="@drawable/ic_gaming_mode"/>
<com.cherish.settings.preferences.GlobalSettingSwitchPreference
android:icon="@drawable/ic_plug"
android:key="wake_when_plugged_or_unplugged"
android:title="@string/wakeup_when_plugged_unplugged_title"
android:summary="@string/wakeup_when_plugged_unplugged_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="screenshot_type"
android:icon="@drawable/ic_screenshot"
android:entries="@array/screenshot_type_entries"
android:entryValues="@array/screenshot_type_values"
android:title="@string/screenshot_type_title"
android:defaultValue="0" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="click_partial_screenshot"
android:icon="@drawable/ic_partial_screenshot"
android:title="@string/click_partial_screenshot_title"
android:summary="@string/click_partial_screenshot_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.GlobalSettingSwitchPreference
android:key="allow_signature_fake"
android:icon="@drawable/ic_signature"
android:title="@string/allow_signature_fake"
android:summary="@string/allow_signature_fake_summary"
android:defaultValue="false" />
<PreferenceCategory
android:title="@string/battery_saving">
<Preference
android:key="suspend_actions"
android:icon="@drawable/ic_battery_full"
android:fragment="com.cherish.settings.fragments.ScreenStateToggles"
android:title="@string/screen_state_toggles_title"
android:summary="@string/screen_state_toggles_summary" />
</PreferenceCategory>
<Preference
android:title="@string/radio_info_title"
android:key="radio_info_settings">
<intent android:action="android.intent.action.MAIN"
android:targetPackage="com.android.phone"
android:targetClass="com.android.phone.settings.RadioInfo" />
</Preference>
<Preference
android:key="vol_steps"
android:title="@string/volume_steps_fragment_title"
android:summary="@string/volume_steps_summary"
android:icon="@drawable/ic_volume"
android:fragment="com.cherish.settings.fragments.VolumeStepsFragment" />
<Preference
android:key="smart_pixels"
android:fragment="com.cherish.settings.fragments.SmartPixels"
android:title="@string/smart_pixels_title"
android:summary="@string/smart_pixels_summary" />
<Preference
android:key="wakelock_blocker"
android:title="@string/wakelock_blocker_title"
android:icon="@drawable/ic_block"
android:summary="@string/wakelock_blocker_summary"
android:fragment="com.cherish.settings.fragments.WakeLockBlocker" />
<Preference
android:key="alarm_blocker"
android:title="@string/alarm_blocker"
android:icon="@drawable/ic_alarm"
android:summary="@string/alarm_blocker_summary"
android:fragment="com.cherish.settings.fragments.AlarmBlocker" />
<PreferenceScreen
android:title="@string/hide_apps_from_recents_title"
android:summary="@string/hide_apps_from_recents_summary" >
<intent android:action="android.intent.action.MAIN"
android:targetPackage="com.android.settings"
android:targetClass="com.cherish.settings.fragments.HAFRAppListActivity" />
<Preference
android:key="ps_cat"
android:title="@string/powersave_title"
android:summary="@string/powersave_summary"
android:fragment="com.cherish.settings.fragments.PowerSaving"/>
</PreferenceScreen>
<PreferenceCategory
android:key="corners_category"
android:title="@string/corners_category" >
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="sysui_rounded_fwvals"
android:title="@string/corner_fwvals"
android:icon="@drawable/ic_rounded"
android:summary="@string/corner_fwvals_summary"
android:defaultValue="true"
android:disableDependentsState="true" />
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="sysui_rounded_size"
android:title="@string/corner_radius"
android:max="60"
settings:min="0"
settings:units="dp"
android:persistent="false"
android:dependency="sysui_rounded_fwvals" />
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="custom_statusbar_padding_start"
android:title="@string/custom_statusbar_padding_start"
android:max="45"
settings:min="5"
settings:units="dp"
android:defaultValue="5"
android:persistent="false" />
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="custom_statusbar_padding_end"
android:title="@string/custom_statusbar_padding_end"
android:max="45"
settings:min="5"
android:defaultValue="5"
settings:units="dp"
android:persistent="false" />
</PreferenceCategory>
</PreferenceScreen>

View File

@@ -18,7 +18,7 @@
android:title="@string/notifications_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory
<!-- <PreferenceCategory
android:key="incall_vib_options"
android:title="@string/incall_vibration_category">
@@ -40,191 +40,7 @@
android:title="@string/incall_vibrate_disconnect_title"
android:defaultValue="true" />
</PreferenceCategory>
</PreferenceCategory> -->
<!-- Heads up -->
<Preference
android:key="heads_up_notifications"
android:title="@string/heads_up_notifications"
android:summary="@string/heads_up_summary"
android:icon="@drawable/ic_plus"
android:fragment="com.cherish.settings.fragments.HeadsUpSettings" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="less_boring_heads_up"
android:icon="@drawable/ic_notification"
android:title="@string/less_boring_heads_up_title"
android:summary="@string/less_boring_heads_up_summary"
android:defaultValue="false" />
<PreferenceCategory
android:key="media_category"
android:title="@string/media_category" >
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="artwork_media_background"
android:icon="@drawable/ic_media"
android:title="@string/artwork_media_background_title"
android:summary="@string/artwork_media_background_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
android:key="artwork_media_fade_level"
android:title="@string/artwork_media_fade_level_title"
android:summary="@string/artwork_media_fade_level_summary"
android:dependency="artwork_media_background"
android:max="100"
settings:min="0"
settings:units="%"
settings:interval="5"
android:defaultValue="30" />
</PreferenceCategory>
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="center_notification_headers"
android:icon="@drawable/ic_notification_center"
android:title="@string/center_notification_headers_title"
android:summary="@string/center_notification_headers_summary"
android:dependency="notification_headers"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="notification_headers"
android:icon="@drawable/ic_notification"
android:title="@string/notification_headers_title"
android:summary="@string/notification_headers_summary"
android:defaultValue="true" />
<!-- Alert Slider Notifications -->
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="alert_slider_notifications"
android:title="@string/alert_slider_notifications_title"
android:summary="@string/alert_slider_notifications_summary"
android:defaultValue="true" />
<Preference
android:key="notification_light"
android:icon="@drawable/ic_light"
android:fragment="com.android.settings.applications.manageapplications.ManageApplications"
android:title="@string/notification_light_settings" >
<extra
android:name="classname"
android:value="com.android.settings.Settings$NotificationAppListActivity" />
</Preference>
<Preference
android:key="charging_light"
android:icon="@drawable/ic_battery_almostfull"
android:fragment="com.cherish.settings.fragments.BatteryLightSettings"
android:title="@string/battery_light_settings" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="notification_sound_vib_screen_on"
android:icon="@drawable/ic_notification"
android:title="@string/notification_sound_vib_screen_on_title"
android:summary="@string/notification_sound_vib_screen_on_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="flashlight_on_call"
android:icon="@drawable/ic_flashlight"
android:title="@string/flashlight_on_call_title"
android:entries="@array/flashlight_on_call_entries"
android:entryValues="@array/flashlight_on_call_values"
android:defaultValue="0" />
<PreferenceCategory
android:key="pulse_ambient_light_category"
android:title="@string/pulse_ambient_light_category" >
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="pulse_ambient_light"
android:title="@string/pulse_ambient_light_title"
android:summary="@string/pulse_ambient_light_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="ambient_notification_light_enabled"
android:title="@string/ambient_notification_light_enabled_title"
android:summary="@string/ambient_notification_light_enabled_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="ambient_notification_light_hide_aod"
android:title="@string/ambient_notification_light_hide_aod_title"
android:summary="@string/ambient_notification_light_hide_aod_summary"
android:defaultValue="false"
android:dependency="ambient_notification_light_enabled"/>
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="ambient_light_pulse_for_all"
android:title="@string/pulse_ambient_light_show_always_title"
android:summary="@string/pulse_ambient_light_show_always_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="ambient_notification_light_timeout"
android:dialogTitle="@string/ambient_notification_light_timeout_title"
android:title="@string/ambient_notification_light_timeout_title"
android:entries="@array/ambient_notification_light_timeout_entries"
android:entryValues="@array/ambient_notification_light_timeout_values"
android:defaultValue="0"
android:dependency="ambient_notification_light_enabled"
android:summary="%s" />
<ListPreference
android:key="ambient_notification_light_color_mode"
android:title="@string/ambient_notification_light_color_mode_title"
android:persistent="false"
android:entries="@array/ambient_notification_light_color_mode_entries"
android:entryValues="@array/ambient_notification_light_color_mode_values"
android:defaultValue="2" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="ambient_notification_light_color"
android:summary="@string/ambient_notification_light_color_summary"
android:title="@string/ambient_notification_light_color_title"
ledPreview="true"
settings:defaultColorValue="0xFF3980FF" />
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="notification_pulse_duration"
android:title="@string/pulse_ambient_light_duration_title"
android:summary="@string/pulse_ambient_light_duration_summary"
android:persistent="false"
android:defaultValue="2"
android:max="10"
settings:min="1"
settings:units="sec"
settings:interval="1"
android:dependency="pulse_ambient_light" />
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="notification_pulse_repeats"
android:title="@string/pulse_ambient_light_repeat_count_title"
android:summary="@string/pulse_ambient_light_repeat_count_summary"
android:persistent="false"
android:defaultValue="0"
android:max="10"
settings:min="0"
settings:interval="1"
android:dependency="pulse_ambient_light" />
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="ambient_light_repeat_direction"
android:title="@string/pulse_ambient_light_repeat_direction_title"
android:entries="@array/pulse_ambient_light_repeat_direction_entries"
android:entryValues="@array/pulse_ambient_light_repeat_direction_values"
android:defaultValue="0" />
</PreferenceCategory>
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="vibrate_on_notifications"
android:icon="@drawable/ic_vibrate"
android:title="@string/vibrate_on_notifications_title"
android:summary="@string/vibrate_on_notifications_summary"
android:defaultValue="true"/>
</PreferenceScreen>

View File

@@ -18,27 +18,4 @@
android:title="@string/powermenu_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<ListPreference
android:key="power_menu_animations"
android:icon="@drawable/ic_power"
android:title="@string/power_menu_animation_title"
android:dialogTitle="@string/power_menu_animation_dialog_title"
android:entries="@array/power_menu_animations_entries"
android:entryValues="@array/power_menu_animations_values"
android:summary="@string/power_menu_animation_summary"
android:persistent="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="advanced_reboot"
android:icon="@drawable/ic_recovery"
android:title="@string/powermenu_advanced_reboot_title"
android:summary="@string/powermenu_advanced_reboot_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="lockscreen_power_menu_disabled"
android:icon="@drawable/ic_lock_outline"
android:title="@string/lockscreen_power_menu_disabled_title"
android:summary="@string/lockscreen_power_menu_disabled_summary"
android:defaultValue="true" />
</PreferenceScreen>

View File

@@ -1,28 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2021 NezukoOS
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=" "
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="power_profile_type"
android:title="@string/power_profile"
android:dialogTitle="@string/power_profile"
android:entries="@array/power_profile_type_entries"
android:defaultValue="1"
android:entryValues="@array/power_profile_type_values"/>
</PreferenceScreen>

View File

@@ -21,200 +21,6 @@
<PreferenceCategory
android:title="@string/qs_category">
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="qs_panel_bg_use_new_tint"
android:icon="@drawable/ic_color"
android:title="@string/qs_bg_use_new_tint"
android:dialogTitle="@string/qs_bg_use_new_tint"
android:entries="@array/qs_tint_entries"
android:entryValues="@array/qs_tint_values"
android:summary="@string/qs_bg_use_new_tint_summary"
android:defaultValue="2" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_media_player"
android:icon="@drawable/ic_music"
android:title="@string/qs_media_player_title"
android:summaryOn="@string/qs_media_player_summary_on"
android:summaryOff="@string/qs_media_player_summary_off"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingMasterSwitchPreference
android:key="status_bar_custom_header"
android:icon="@drawable/ic_header"
android:fragment="com.cherish.settings.fragments.QsHeader"
android:title="@string/status_bar_custom_header_title"
android:summary="@string/status_bar_custom_header_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_footer_show_datausage"
android:icon="@drawable/ic_data"
android:title="@string/qs_footer_datausage_title"
android:summary="@string/qs_footer_datausage_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="omni_footer_text_show"
android:icon="@drawable/ic_edit_show"
android:title="@string/qs_footer_text_title"
android:summary="@string/qs_footer_text_summary"
android:defaultValue="false"/>
<!-- QS footer text string -->
<com.cherish.settings.preferences.SystemSettingEditTextPreference
android:key="footer_text_string"
android:icon="@drawable/ic_edit1"
android:title="@string/qs_footer_text_string_title"
android:summary="@string/qs_footer_text_string_summary"
android:dependency="omni_footer_text_show"
android:defaultValue="#KeeptheLove" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_footer_show_edit"
android:icon="@drawable/ic_edit1"
android:title="@string/qs_edit_title"
android:summary="@string/qs_edit_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_footer_show_settings"
android:icon="@drawable/ic_edit"
android:title="@string/qs_settings_title"
android:summary="@string/qs_settings_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_footer_show_services"
android:icon="@drawable/ic_run"
android:title="@string/qs_running_service_title"
android:summary="@string/qs_running_service_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_footer_show_user"
android:icon="@drawable/ic_users"
android:title="@string/qs_user_title"
android:summary="@string/qs_user_summary"
android:defaultValue="true" />
</PreferenceCategory>
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="notification_material_dismiss"
android:icon="@drawable/ic_notification_clear_all"
android:title="@string/enable_clear_all_button"
android:summary="@string/enable_clear_all_button_summary"
android:defaultValue="false" />
<PreferenceCategory
android:key="clock_header"
android:title="@string/clock_header_title">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_clock_location"
android:icon="@drawable/ic_clock"
android:title="@string/qs_clock_location_title"
android:summary="@string/qs_clock_location_summary"
android:defaultValue="false"/>
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="clock_gravity"
android:icon="@drawable/ic_clock"
android:title="@string/cherish_clock_gravity_title"
android:entries="@array/cherish_clock_gravity_entries"
android:entryValues="@array/cherish_clock_gravity_values"
android:summary="%s"
android:defaultValue="0" />
</PreferenceCategory>
<PreferenceCategory
android:title="@string/qs_show_brightness_slider_title">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_footer_show_brightness_icon"
android:icon="@drawable/ic_brightness"
android:title="@string/brightness_icon_title"
android:summary="@string/brightness_icon_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="status_bar_brightness_control"
android:icon="@drawable/ic_brightness"
android:title="@string/status_bar_toggle_brightness"
android:summary="@string/status_bar_toggle_brightness_summary"
android:defaultValue="false" />
</PreferenceCategory>
<PreferenceCategory
android:key="qs_columns_rows_category"
android:title="@string/qs_columns_rows_category_title">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_tile_title_visibility"
android:icon="@drawable/ic_qs_tile"
android:title="@string/qs_tile_title_visibility_title"
android:defaultValue="true" />
<com.cherish.settings.preferences.CustomSystemSeekBarPreference
android:key="qs_rows_portrait"
android:icon="@drawable/ic_qs_row"
android:title="@string/qs_rows_portrait_title"
android:max="5"
android:min="1"
android:defaultValue="3"
settings:units="" />
<com.cherish.settings.preferences.CustomSystemSeekBarPreference
android:key="qs_rows_landscape"
android:icon="@drawable/ic_qs_land"
android:title="@string/qs_rows_landscape_title"
android:max="5"
android:min="1"
android:defaultValue="1"
settings:units="" />
<com.cherish.settings.preferences.CustomSystemSeekBarPreference
android:key="qs_columns_portrait"
android:icon="@drawable/ic_qs_column"
android:title="@string/qs_columns_portrait_title"
android:max="7"
android:min="1"
android:defaultValue="4"
settings:units="" />
<com.cherish.settings.preferences.CustomSystemSeekBarPreference
android:key="qs_columns_landscape"
android:icon="@drawable/ic_qs_column_landscape"
android:title="@string/qs_columns_landscape_title"
android:max="9"
android:min="1"
android:defaultValue="4"
settings:units="" />
</PreferenceCategory>
<!-- QS Quick Pull Down -->
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="status_bar_quick_qs_pulldown"
android:icon="@drawable/ic_pulldown"
android:title="@string/quick_settings_quick_pull_down_title"
android:summary="@string/quick_settings_quick_pull_down_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="status_bar_locked_on_secure_keyguard"
android:icon="@drawable/ic_lock_outline"
android:title="@string/lockscreen_qs_disabled_title"
android:summary="@string/lockscreen_qs_disabled_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="quick_settings_vibrate"
android:icon="@drawable/ic_vibrate"
android:title="@string/quick_settings_vibrate_title"
android:summary="@string/quick_settings_vibrate_summary"
android:defaultValue="false"/>
</PreferenceScreen>

View File

@@ -1,55 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2018 CarbonROM
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:settings="http://schemas.android.com/apk/res/com.android.settings"
android:title="@string/smart_pixels_title" >
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="smart_pixels_enable"
android:title="@string/smart_pixels_title"
android:summary="@string/smart_pixels_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="smart_pixels_on_power_save"
android:title="@string/smart_pixels_on_power_save_title"
android:summary="@string/smart_pixels_on_power_save_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="smart_pixels_pattern"
android:entries="@array/smart_pixels_percent_strings"
android:entryValues="@array/smart_pixels_percent_values"
android:defaultValue="3"
android:title="@string/smart_pixels_percent"
android:dialogTitle="@string/smart_pixels_percent" />
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="smart_pixels_shift_timeout"
android:entries="@array/smart_pixels_shift_times"
android:entryValues="@array/smart_pixels_shift_values"
android:defaultValue="5"
android:title="@string/smart_pixels_shift"
android:dialogTitle="@string/smart_pixels_shift" />
<com.android.settingslib.widget.FooterPreference
android:key="smart_pixels_footer"
android:selectable="false"
settings:searchable="false" />
</PreferenceScreen>

View File

@@ -15,126 +15,4 @@
android:title="@string/statusbar_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory
android:key="status_bar_icons"
android:title="@string/status_bar_system_icons_title">
<Preference
android:key="traffic"
android:icon="@drawable/ic_network_traffic"
android:fragment="com.cherish.settings.fragments.Traffic"
android:title="@string/traffic_title" />
<Preference
android:key="statusbar_battery"
android:title="@string/battery_percent_title"
android:icon="@drawable/ic_battery_styles"
android:summary="@string/battery_percent_summary"
android:fragment="com.cherish.settings.fragments.StatusbarBatterySettings"/>
<Preference
android:key="clock_settings"
android:icon="@drawable/ic_clock"
android:title="@string/clock_style_category_title"
android:summary="@string/clock_style_category_summary"
android:fragment="com.cherish.settings.fragments.ClockSettings" />
<!-- Status Bar Weather -->
<Preference
android:key="status_bar_weather"
android:icon="@drawable/ic_weather"
android:title="@string/sb_weather_title"
android:summary="@string/sb_weather_summary"
android:fragment="com.cherish.settings.fragments.SBWeather" />
<Preference
android:title="@string/statusbar_items_title"
android:icon="@drawable/ic_shortcuts">
<intent android:action="android.intent.action.MAIN"
android:targetPackage="com.android.systemui"
android:targetClass="com.android.systemui.tuner.StatusbarItemsActivity" />
</Preference>
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="show_fourg"
android:icon="@drawable/ic_4g"
android:title="@string/show_fourg_title"
android:summary="@string/show_fourg_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="data_disabled_icon"
android:icon="@drawable/ic_4g_x"
android:title="@string/data_disabled_icon_title"
android:summary="@string/data_disabled_icon_summary"
android:defaultValue="true"/>
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="volte_icon_style"
android:title="@string/volte_icon_style_title"
android:entries="@array/volte_icon_type_entries"
android:entryValues="@array/volte_icon_type_values"
android:summary="%s"
android:defaultValue="0"/>
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="vowifi_icon_style"
android:title="@string/vowifi_icon_style_title"
android:entries="@array/vowifi_icon_type_entries"
android:entryValues="@array/vowifi_icon_type_values"
android:summary="%s"
android:defaultValue="0"/>
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="roaming_indicator_icon"
android:icon="@drawable/ic_roaming"
android:title="@string/roaming_indicator_icon_title"
android:summary="@string/roaming_indicator_icon_summary"
android:defaultValue="true"/>
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="status_bar_notif_count"
android:icon="@drawable/ic_count"
android:title="@string/status_bar_notif_count_title"
android:summary="@string/status_bar_notif_count_summary"
android:defaultValue="false" />
<Preference
android:key="battery_bar_category"
android:title="@string/battery_bar_title"
android:icon="@drawable/ic_battery_bar"
android:summary="@string/battery_bar_summary"
android:fragment="com.cherish.settings.fragments.BatteryBarSettings" />
<Preference
android:key="carrier_label"
android:icon="@drawable/ic_carrierlabel"
android:title="@string/carrier_label_settings_title"
android:summary="@string/carrier_label_settings_summary"
android:fragment="com.cherish.settings.fragments.CustomCarrierLabel" />
<Preference
android:key="cutout_settings"
android:icon="@drawable/ic_cutout"
android:fragment="com.cherish.settings.fragments.CutoutFragment"
android:title="@string/cutout_main" />
<!-- Statusbar Lyric -->
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="status_bar_show_lyric"
android:icon="@drawable/ic_music"
android:title="@string/status_bar_show_lyric_title"
android:summary="@string/status_bar_show_lyric_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingMasterSwitchPreference
android:key="status_bar_logo"
android:icon="@drawable/ic_logo"
android:fragment="com.cherish.settings.fragments.StatusbarLogo"
android:title="@string/status_bar_logo_title"
android:summary="@string/status_bar_logo_summary"
android:defaultValue="false" />
</PreferenceCategory>
</PreferenceScreen>

View File

@@ -1,61 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2020-2021 The 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"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
android:title="@string/battery_percent_title">
<ListPreference
android:key="status_bar_battery_style"
android:title="@string/status_bar_battery_style_title"
android:summary="%s"
android:dialogTitle="@string/status_bar_battery_style_title"
android:entries="@array/status_bar_battery_style_entries"
android:entryValues="@array/status_bar_battery_style_values"
android:defaultValue="0" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="do_left_battery_text"
android:title="@string/left_battery_text_title"
android:summary="@string/left_battery_text_summary"
android:defaultValue="false"/>
<ListPreference
android:key="status_bar_show_battery_percent"
android:title="@string/status_bar_battery_percentage_title"
android:dialogTitle="@string/status_bar_battery_percentage_title"
android:entries="@array/battery_percent_entries"
android:entryValues="@array/battery_percent_values"
android:summary="%s"
android:defaultValue="0" />
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="text_charging_symbol"
android:title="@string/text_charging_symbol_title"
android:dialogTitle="@string/text_charging_symbol_dialog"
android:entries="@array/text_charging_symbol_entries"
android:entryValues="@array/text_charging_symbol_values"
android:summary="%s"
android:defaultValue="1" />
<SwitchPreference
android:key="qs_battery_percentage"
android:title="@string/qs_battery_percentage_title"
android:summary="@string/qs_battery_percentage_summary" />
</PreferenceScreen>

View File

@@ -18,279 +18,4 @@
android:title="@string/theme_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory
android:key="theme_customization_category"
android:title="@string/theme_customization_category">
<ListPreference
android:layout="@layout/accents_shapes_base_preview"
android:selectable="false" />
<Preference
android:key="dark_ui_mode"
android:title="@string/dark_ui_mode"
android:icon="@drawable/ic_dark_mode"
android:summary="@string/dark_ui_mode_summary"
android:fragment="com.android.settings.display.darkmode.DarkModeSettingsFragment"
settings:controller="com.android.settings.display.DarkUIPreferenceController" />
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="monet_engine"
settings:iconSpaceReserved="false"
android:title="@string/monet_title"
android:summary="@string/monet_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SecureSettingListPreference
android:key="monet_palette"
settings:iconSpaceReserved="false"
android:title="@string/monet_pallete_title"
android:summary="@string/monet_pallete_summary"
android:entries="@array/monet_color_mode_entries"
android:entryValues="@array/monet_color_mode_values"
android:defaultValue="0"/>
<com.cherish.settings.preferences.SecureSettingSeekBarPreference
android:key="monet_color_gen"
settings:iconSpaceReserved="false"
android:title="@string/monet_accuracy"
android:summary="@string/monet_accuracy_summary"
android:max="100"
settings:min="1"
android:defaultValue="16"
settings:interval="1"/>
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:icon="@drawable/ic_accent_picker"
android:key="rgb_accent_picker_dark"
android:title="@string/rgb_accent_picker_title_dark"
android:summary="@string/rgb_accent_picker_summary"
android:persistent="false"
settings:iconSpaceReserved="false" />
<Preference
android:key="clock_style"
android:title="@string/clock_style_title"
android:icon="@drawable/ic_alarm"
android:summary="@string/clock_style_summary">
<intent
android:action="android.intent.action.VIEW"
android:targetPackage="com.android.wallpaper"
android:targetClass="com.android.customization.picker.LockClockPickerActivity" />
</Preference>
<ListPreference
android:layout="@layout/fonts_base_preview"
android:selectable="false" />
<com.android.settings.display.FontDialogPreference
android:key="custom_font"
android:icon="@drawable/ic_font"
android:title="@string/font_picker_title"
android:persistent="false" />
<ListPreference
android:key="android.theme.customization.signal_icon"
android:icon="@drawable/ic_signal"
android:title="@string/custom_signal_bar_title" />
<ListPreference
android:key="android.theme.customization.wifi_icon"
android:icon="@drawable/ic_wifi"
android:title="@string/custom_wifi_bar_title" />
<ListPreference
android:key="android.theme.customization.adaptive_icon_shape"
android:title="@string/theme_customization_icon_shape_title"
android:icon="@drawable/ic_shape"/>
<ListPreference
android:key="android.theme.customization.icon_pack.android"
android:icon="@drawable/ic_package"
android:title="@string/theme_customization_sysui_icon_title"/>
<ListPreference
android:key="android.theme.customization.statusbar_height"
android:icon="@drawable/ic_size"
android:title="@string/theme_customization_statusbar_height_title"/>
</PreferenceCategory>
<PreferenceCategory
android:key="system_theme_category"
android:title="@string/theme_type_title">
<ListPreference
android:key="ui_style"
android:title="@string/ui_style_title"
android:icon="@drawable/ic_ui"
android:entries="@array/ui_style_selector_entries"
android:entryValues="@array/ui_style_selector_values"
android:persistent="false" />
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="switch_style"
android:icon="@drawable/ic_switch_theme"
android:title="@string/switch_style_title"
android:dialogTitle="@string/switch_style_title"
android:entries="@array/switch_style_entries"
android:entryValues="@array/switch_style_values"
android:summary="%s"
android:defaultValue="0" />
<ListPreference
android:key="qs_tile_style"
android:icon="@drawable/ic_shape2_icon"
android:title="@string/qs_tile_style_title"
android:persistent="false"
android:entries="@array/qs_selector_entries"
android:entryValues="@array/qs_selector_values" />
<ListPreference
android:key="qs_header_style"
android:icon="@drawable/ic_header"
android:title="@string/qs_header_style_title"
android:persistent="false"
android:entries="@array/qs_header_style_entries"
android:entryValues="@array/qs_header_style_values" />
<ListPreference
android:key="brightness_slider_style"
android:icon="@drawable/ic_brightness"
android:title="@string/brightness_slider_style_title"
android:entries="@array/brightness_slider_style_selector_entries"
android:entryValues="@array/brightness_slider_style_selector_values"
android:persistent="false" />
<!-- System-wide Slider Styles -->
<ListPreference
android:key="system_slider_style"
android:icon="@drawable/ic_seekbar"
android:title="@string/system_slider_style_title"
android:entries="@array/system_slider_style_entries"
android:entryValues="@array/system_slider_style_values"
android:summary="%s"
android:defaultValue="1" />
<!-- Settings dashboard icon style -->
<com.cherish.settings.preferences.SystemSettingIntListPreference
android:key="theming_settings_dashboard_icons"
android:icon="@drawable/ic_dashboard"
android:title="@string/theming_settings_dashboard_icons_title"
android:entries="@array/theming_settings_dashboard_icons_entries"
android:entryValues="@array/theming_settings_dashboard_icons_values"
android:defaultValue="0" />
<ListPreference
android:key="panel_bg"
android:icon="@drawable/ic_header"
android:title="@string/panel_bg_title"
android:dialogTitle="@string/panel_bg_dialog_title"
android:entries="@array/panel_bg_titles"
android:entryValues="@array/panel_bg_values" />
<!-- Hide notch fill -->
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="display_hide_notch"
android:title="@string/display_hide_notch_title"
android:summary="@string/display_hide_notch_summary"
android:defaultValue="false" />
</PreferenceCategory>
<PreferenceCategory
android:key="quick_settings_category"
android:title="@string/quicksettings_title">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="headers_icons_style"
android:icon="@drawable/ic_invert_colors"
android:title="@string/header_icons_style"
android:summary="@string/header_icons_style_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_tiles_bg_disco"
android:icon="@drawable/ic_shape2_icon"
android:title="@string/qs_panel_bg_disco_title"
android:summary="@string/qs_panel_bg_disco_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_panel_bg_use_new_tint"
android:icon="@drawable/ic_color"
android:title="@string/qs_bg_use_new_tint"
android:dialogTitle="@string/qs_bg_use_new_tint"
android:entries="@array/qs_tint_entries"
android:entryValues="@array/qs_tint_values"
android:summary="@string/qs_bg_use_new_tint_summary"
android:defaultValue="1" />
</PreferenceCategory>
<PreferenceCategory
android:key="quick_settings_colors_category"
android:title="@string/qs_panel_colors_title">
<!-- QS panel opacity -->
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
android:key="qs_panel_bg_alpha"
android:icon="@drawable/ic_opacity"
android:title="@string/qs_panel_bg_alpha_title"
android:defaultValue="255"
android:max="255"
android:min="0"
settings:units="" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_panel_bg_use_fw"
android:icon="@drawable/ic_fwb"
android:title="@string/qs_panel_bg_use_fw_title"
android:summary="@string/qs_panel_bg_use_fw_summary"
android:defaultValue="true"
android:disableDependentsState="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="sysui_colors_active"
android:title="@string/sysui_colors_active_title"
android:summary="@string/sysui_colors_active_summary"
android:defaultValue="false"
android:dependency="qs_panel_bg_use_fw"
android:disableDependentsState="true" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="qs_panel_color"
android:icon="@drawable/ic_accent_picker"
android:title="@string/qs_panel_bg_color_title"
android:defaultValue="0xFFFFFFFF"
android:persistent="false"
android:dependency="sysui_colors_active" />
</PreferenceCategory>
<ListPreference
android:key="navbar_color"
android:title="@string/navbar_color_title"
android:summary="%s"
android:icon="@drawable/ic_bar"
android:dialogTitle="@string/navbar_color_dialog_title"
android:entries="@array/navbar_color_titles"
android:entryValues="@array/navbar_color_values"
android:defaultValue="1" />
<PreferenceCategory
android:key="volume_panel_stuff"
android:title="@string/volume_panel">
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="systemui_plugin_volume"
android:title="@string/volume_panel"
android:icon="@drawable/ic_volume"
android:entries="@array/volume_panel_entries"
android:entryValues="@array/volume_panel_values"
android:defaultValue="@string/volume_panel_stock_val" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="volume_panel_tint"
android:icon="@drawable/ic_format_color"
android:summary="@string/volume_panel_tint_summary"
android:title="@string/volume_panel_tint_title"
android:defaultValue="false" />
</PreferenceCategory>
</PreferenceScreen>

View File

@@ -17,17 +17,4 @@
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="volume_rocker_wake"
android:icon="@drawable/ic_sleep_off"
android:summary="@string/volume_rocker_wake_summary"
android:title="@string/volume_rocker_wake_title"
android:defaultValue="false" />
<ListPreference
android:dialogTitle="@string/volume_key_cursor_control_title"
android:entries="@array/volume_key_cursor_control_entries"
android:entryValues="@array/volume_key_cursor_control_values"
android:key="volume_key_cursor_control"
android:title="@string/volume_key_cursor_control_title" />
</PreferenceScreen>

View File

@@ -1,148 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2020 The 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"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
android:title="@string/status_bar_clock_title" >
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="status_bar_clock"
android:icon="@drawable/ic_clock"
android:title="@string/status_bar_clock_show"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="status_bar_clock_auto_hide"
android:title="@string/status_bar_clock_auto_hide_title"
android:summary="@string/status_bar_clock_auto_hide_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
android:key="status_bar_clock_auto_hide_hduration"
android:title="@string/status_bar_clock_auto_hide_hdur_title"
android:max="300"
settings:min="5"
settings:interval="5"
settings:units="sec"
android:dependency="status_bar_clock_auto_hide"
android:defaultValue="60" />
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
android:key="status_bar_clock_auto_hide_sduration"
android:title="@string/status_bar_clock_auto_hide_sdur_title"
android:max="300"
settings:min="5"
settings:interval="5"
settings:units="sec"
android:dependency="status_bar_clock_auto_hide"
android:defaultValue="5" />
<ListPreference
android:key="statusbar_clock_style"
android:title="@string/status_bar_clock_style_title"
android:dialogTitle="@string/status_bar_clock_style_title"
android:entries="@array/status_bar_clock_style_entries"
android:entryValues="@array/status_bar_clock_style_values"
android:dependency="status_bar_clock" />
<ListPreference
android:key="status_bar_am_pm"
android:icon="@drawable/ic_24h"
android:title="@string/status_bar_am_pm_title"
android:dialogTitle="@string/status_bar_am_pm_title"
android:entries="@array/status_bar_am_pm_entries"
android:entryValues="@array/status_bar_am_pm_values"
android:dependency="status_bar_clock" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="status_bar_clock_seconds"
android:icon="@drawable/ic_seconds"
android:title="@string/clock_seconds_display"
android:dependency="status_bar_clock"
android:defaultValue="false" />
<ListPreference
android:key="clock_date_display"
android:icon="@drawable/ic_calendar"
android:title="@string/clock_date_display"
android:summary="@string/clock_date_display_summary"
android:entries="@array/clock_date_display_entries"
android:entryValues="@array/clock_date_display_values"
android:dependency="status_bar_clock" />
<ListPreference
android:key="statusbar_clock_date_position"
android:title="@string/clock_date_position"
android:icon="@drawable/ic_qs"
android:entries="@array/clock_date_position_entries"
android:entryValues="@array/clock_date_position_values"
android:dependency="clock_date_display" />
<ListPreference
android:key="clock_date_style"
android:icon="@drawable/ic_font"
android:title="@string/clock_date_style"
android:entries="@array/clock_date_style_entries"
android:entryValues="@array/clock_date_style_values"
android:dependency="clock_date_display" />
<ListPreference
android:key="clock_date_format"
android:icon="@drawable/ic_qs"
android:title="@string/clock_date_format"
android:entries="@array/clock_date_format_entries_values"
android:entryValues="@array/clock_date_format_entries_values"
android:dependency="clock_date_display" />
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="status_bar_clock_size"
android:title="@string/status_bar_clock_font_size_title"
android:max="23"
settings:min="4"
android:defaultValue="14"
settings:units="dp"/>
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="status_bar_clock_color"
android:icon="@drawable/ic_color"
android:title="@string/status_bar_clock_color_title"
android:defaultValue="0xffffffff" />
<PreferenceCategory
android:title="@string/qs_clock_styling">
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="qs_header_clock_size"
android:dependency="status_bar_clock"
android:title="@string/qs_clock_font_size_title"
android:max="30"
settings:min="10"
android:defaultValue="14"
settings:units="dp"/>
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="qs_header_clock_color"
android:dependency="status_bar_clock"
android:title="@string/qs_clock_color_title"
android:defaultValue="0xffffffff" />
</PreferenceCategory>
</PreferenceScreen>

View File

@@ -1,45 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2020 CherishOS
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/carrier_label_settings_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="status_bar_show_carrier"
android:title="@string/show_carrier_title"
android:dialogTitle="@string/show_carrier_title"
android:entries="@array/carrier_label_entries"
android:entryValues="@array/carrier_label_values"
android:summary="%s"
android:defaultValue="0" />
<PreferenceScreen
android:key="custom_carrier_label"
android:title="@string/custom_carrier_label_title" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="status_bar_carrier_color"
android:title="@string/status_bar_carrier_color"
android:defaultValue="0xffffffff" />
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="status_bar_carrier_font_size"
android:title="@string/status_bar_carrier_size"
android:max="23"
settings:min="8"
settings:defaultValue="14"
settings:units="dp" />
</PreferenceScreen>

View File

@@ -1,37 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2018 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"
android:title="@string/cutout_main"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="cutout_settings">
<ListPreference
android:key="display_cutout_style"
android:title="@string/display_cutout_style_title"
android:persistent="false"
android:entries="@array/display_cutout_style_entries"
android:entryValues="@array/display_cutout_style_values" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="stock_statusbar_in_hide"
android:title="@string/stock_statusbar_in_hide"
android:summary="@string/stock_statusbar_in_hide_summary"
android:defaultValue="true" />
</PreferenceScreen>

View File

@@ -1,48 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2014 The CyanogenMod 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">
<PreferenceCategory
android:title="@string/heads_up_notifications" >
<com.cherish.settings.preferences.GlobalSettingSwitchPreference
android:key="heads_up_notifications_enabled"
android:title="@string/heads_up_notifications"
android:summaryOn="@string/summary_heads_up_enabled"
android:summaryOff="@string/summary_heads_up_disabled"
android:defaultValue="true" />
<PreferenceCategory
android:title="@string/heads_up_stoplist_title"
android:key="stoplist_applications"
android:dependency="heads_up_notifications_enabled" >
<Preference
android:key="add_stoplist_packages"
android:icon="@drawable/ic_menu_add_activated_tint"
android:title="@string/add_heads_up_package"
android:summary="@string/add_heads_up_stoplist_summary" />
</PreferenceCategory>
</PreferenceCategory>
<PreferenceCategory
android:title="@string/heads_up_blacklist_title"
android:key="blacklist_applications"
android:dependency="heads_up_notifications_enabled" >
<Preference
android:key="add_blacklist_packages"
android:icon="@drawable/ic_menu_add_activated_tint"
android:title="@string/add_heads_up_package"
android:summary="@string/add_heads_up_blacklist_summary" />
</PreferenceCategory>
</PreferenceScreen>

View File

@@ -1,71 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (C) 2015 The Dirty Unicorns 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
android:title="@string/lockscreen_colors"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="lockscreen_clock_color"
android:title="@string/lockscreen_clock_color"
android:defaultValue="0xffffffff" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="lockscreen_clock_date_color"
android:title="@string/lockscreen_clock_date_color"
android:defaultValue="0xffffffff" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="lockscreen_owner_info_color"
android:title="@string/lockscreen_owner_info_color"
android:defaultValue="0xffffffff" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="lockscreen_phone_icon_color"
android:title="@string/lockscreen_phone_icon_color"
android:defaultValue="0xffffffff" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="lockscreen_camera_icon_color"
android:title="@string/lockscreen_camera_icon_color"
android:defaultValue="0xffffffff" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="lockscreen_indication_text_color"
android:title="@string/lockscreen_indication_text_color"
android:defaultValue="0xffffffff" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="lockscreen_weather_temp_color"
android:title="@string/lockscreen_weather_temp_color"
android:defaultValue="0xffffffff" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="lockscreen_weather_city_color"
android:title="@string/lockscreen_weather_city_color"
android:defaultValue="0xffffffff" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="lockscreen_weather_icon_color"
android:title="@string/lockscreen_weather_icon_color"
android:defaultValue="0xffffffff" />
</PreferenceScreen>

View File

@@ -1,66 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2017 The OmniROM Project
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
android:key="omnijaws_settings"
android:title="@string/weather_title">
<PreferenceScreen
android:title="@string/weather_config_title"
android:summary="@string/weather_config_summary" >
<intent android:action="android.intent.action.MAIN"
android:targetPackage="org.omnirom.omnijaws"
android:targetClass="org.omnirom.omnijaws.SettingsActivityService" />
</PreferenceScreen>
<ListPreference
android:key="weather_icon_pack"
android:title="@string/weather_icon_pack_title"
android:persistent="false" />
<Preference
android:icon="@drawable/ic_info_outline_24dp"
android:persistent="false"
android:summary="@string/weather_icon_pack_info_title" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="lockscreen_weather_show_image"
android:title="@string/lockscreen_weather_show_image_title"
android:summary="@string/lockscreen_weather_show_image_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="lockscreen_weather_show_city"
android:title="@string/lockscreen_weather_show_city_title"
android:summary="@string/lockscreen_weather_show_city_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="lockscreen_weather_show_temp"
android:title="@string/lockscreen_weather_show_temp_title"
android:summary="@string/lockscreen_weather_show_temp_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SecureSettingListPreference
android:key="lockscreen_weather_selection"
android:title="@string/lockscreen_weather_selection_title"
android:dialogTitle="@string/lockscreen_weather_selection_title"
android:entries="@array/lockscreen_weather_bg_entries"
android:entryValues="@array/lockscreen_weather_bg_values"
android:summary="%s"
android:defaultValue="0" />
</PreferenceScreen>

View File

@@ -1,165 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2020 CherishOS
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:settings="http://schemas.android.com/apk/res/com.android.settings"
android:title="@string/pulse_settings" >
<SwitchPreference
android:key="navbar_pulse_enabled"
android:title="@string/show_navbar_pulse_title"
android:summary="@string/show_navbar_pulse_summary"/>
<SwitchPreference
android:key="lockscreen_pulse_enabled"
android:title="@string/show_lockscreen_pulse_title"
android:summary="@string/show_lockscreen_pulse_summary"/>
<SwitchPreference
android:key="ambient_pulse_enabled"
android:title="@string/show_ambient_pulse_title"
android:summary="@string/show_ambient_pulse_summary"/>
<com.cherish.settings.preferences.SecureSettingListPreference
android:key="pulse_render_style"
android:title="@string/pulse_render_mode_title"
android:entries="@array/pulse_render_mode_entries"
android:entryValues="@array/pulse_render_mode_values"
android:defaultValue="1"/>
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="pulse_smoothing_enabled"
android:title="@string/smoothing_enabled_title"
android:summary="@string/smoothing_enabled_summary"
android:defaultValue="false"/>
<PreferenceCategory
android:key="pulse_color_category"
android:title="@string/pulse_color">
<com.cherish.settings.preferences.SecureSettingListPreference
android:key="pulse_color_mode"
android:title="@string/pulse_color_mode"
android:entries="@array/pulse_color_mode_entries"
android:entryValues="@array/pulse_color_mode_values"
android:defaultValue="2"/>
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="pulse_color_user"
android:title="@string/pulse_color_chooser"
android:defaultValue="0xffffffff"/>
<com.cherish.settings.preferences.SecureSettingSeekBarPreference
android:key="pulse_lavalamp_speed"
android:title="@string/lavamp_speed_title"
android:max="30000"
android:defaultValue="10000"
settings:min="200"
settings:interval="200"
settings:units="ms"/>
</PreferenceCategory>
<PreferenceCategory
android:key="pulse_fading_bars_category"
android:title="@string/pulse_legacy_mode_advanced_category">
<com.cherish.settings.preferences.SecureSettingSeekBarPreference
android:key="pulse_custom_dimen"
android:title="@string/pulse_custom_dimen"
android:max="30"
android:defaultValue="14"
settings:min="1"
settings:units="dp"/>
<com.cherish.settings.preferences.SecureSettingSeekBarPreference
android:key="pulse_custom_div"
android:title="@string/pulse_custom_div"
android:max="44"
android:defaultValue="16"
settings:min="2"
settings:interval="2"
settings:units="dp"/>
<com.cherish.settings.preferences.SecureSettingSeekBarPreference
android:key="pulse_filled_block_size"
android:title="@string/pulse_filled_block_size"
android:max="8"
android:defaultValue="4"
settings:min="4"
settings:units="dp"/>
<com.cherish.settings.preferences.SecureSettingSeekBarPreference
android:key="pulse_empty_block_size"
android:title="@string/pulse_empty_block_size"
android:max="4"
android:defaultValue="1"
settings:min="0"
settings:units="dp"/>
<com.cherish.settings.preferences.SecureSettingSeekBarPreference
android:key="pulse_custom_fudge_factor"
android:title="@string/pulse_custom_fudge_factor"
android:max="6"
android:defaultValue="4"
settings:min="2"
android:dependency="pulse_fading_bars_category"/>
</PreferenceCategory>
<PreferenceCategory
android:key="pulse_2"
android:title="@string/pulse_solid_dimen_category">
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="pulse_solid_units_rounded"
android:title="@string/pulse_solid_units_rounded_title"
android:summary="@string/pulse_solid_units_rounded_summary"
android:defaultValue="false"/>
<com.cherish.settings.preferences.SecureSettingSeekBarPreference
android:key="pulse_solid_units_opacity"
android:title="@string/pulse_solid_units_opacity"
android:max="255"
android:defaultValue="200"
settings:min="0"
android:dependency="pulse_2"/>
<com.cherish.settings.preferences.SecureSettingSeekBarPreference
android:key="pulse_solid_units_count"
android:title="@string/pulse_solid_units_count"
android:defaultValue="32"
android:max="128"
settings:interval="16"
settings:min="16"
android:dependency="pulse_2"/>
<com.cherish.settings.preferences.SecureSettingSeekBarPreference
android:key="pulse_solid_fudge_factor"
android:title="@string/pulse_custom_fudge_factor"
android:max="6"
android:defaultValue="4"
settings:min="2"
android:dependency="pulse_2"/>
</PreferenceCategory>
<com.android.settingslib.widget.FooterPreference
android:key="pulse_footer_pref"
android:title="@string/pulse_help_policy_notice_summary"
android:selectable="false"
settings:searchable="false"
settings:allowDividerAbove="true"/>
</PreferenceScreen>

View File

@@ -1,66 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2020 ion-OS
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
android:title="@string/status_bar_custom_header_title"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<ListPreference
android:key="custom_header_provider"
android:title="@string/custom_header_provider_title"
android:persistent="false"
android:entries="@array/custom_header_provider_entries"
android:entryValues="@array/custom_header_provider_values" />
<ListPreference
android:key="daylight_header_pack"
android:title="@string/daylight_header_pack_title"
android:persistent="false" />
<Preference
android:key="custom_header_browse"
android:title="@string/custom_header_pick_title"
android:summary="@string/custom_header_pick_summary"
android:persistent="false" >
<intent android:action="android.intent.action.MAIN"
android:targetPackage="org.omnirom.omnistyle"
android:targetClass="org.omnirom.omnistyle.PickHeaderActivity" />
</Preference>
<Preference
android:key="file_header_select"
android:title="@string/file_header_select_title"
android:summary="@string/file_header_select_summary"
android:persistent="false" >
</Preference>
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="status_bar_custom_header_shadow"
android:title="@string/status_bar_custom_header_shadow_title"
android:max="100"
settings:min="0"
android:defaultValue="0"
settings:units="%" />
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
android:key="status_bar_custom_header_height"
android:title="@string/status_bar_custom_header_height_title"
android:max="100"
settings:min="0"
android:defaultValue="25"
settings:units="dp" />
</PreferenceScreen>

View File

@@ -1,68 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
android:title="@string/screen_state_toggles_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<SwitchPreference
android:key="screen_state_toggles_enable_key"
android:title="@string/screen_state_toggles_enable_title"
android:summary="@string/screen_state_toggles_enable_summary"
android:defaultValue="false"/>
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="screen_state_off_delay"
android:title="@string/screen_state_off_delay_title"
android:max="180"
settings:min="0"
settings:interval="5"
android:defaultValue="0"
settings:units="sec"
android:persistent="false"
android:dependency="screen_state_toggles_enable_key" />
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="screen_state_on_delay"
android:title="@string/screen_state_on_delay_title"
android:max="180"
settings:min="0"
settings:interval="5"
android:defaultValue="0"
settings:units="sec"
android:persistent="false"
android:dependency="screen_state_toggles_enable_key" />
<PreferenceCategory
android:key="screen_state_toggles_mobile_key"
android:title="@string/screen_state_toggles_mobile_title">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="screen_state_toggles_twog"
android:title="@string/screen_state_toggles_twog"
android:summary="@string/screen_state_toggles_twog_summary"
android:defaultValue="false"/>
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="screen_state_toggles_threeg"
android:title="@string/screen_state_toggles_threeg"
android:summary="@string/screen_state_toggles_threeg_summary"
android:defaultValue="false"/>
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="screen_state_toggles_mobile_data"
android:title="@string/screen_state_toggles_mobile_data"
android:summary="@string/screen_state_toggles_mobile_data_summary"
android:defaultValue="false"/>
</PreferenceCategory>
<PreferenceCategory
android:key="screen_state_toggles_location_key"
android:title="@string/screen_state_toggles_location_title">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="screen_state_toggles_gps"
android:title="@string/screen_state_toggles_gps"
android:summary="@string/screen_state_toggles_gps_summary"
android:defaultValue="false"/>
</PreferenceCategory>
</PreferenceScreen>

View File

@@ -1,97 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2021 Havoc-OS
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:settings="http://schemas.android.com/apk/res/com.android.settings"
android:title="@string/sleep_mode_title">
<DropDownPreference
android:key="sleep_mode_auto_mode"
android:title="@string/night_display_auto_mode_title"
android:entries="@array/sleep_mode_auto_mode_entries"
android:entryValues="@array/sleep_mode_auto_mode_values"
android:persistent="false" />
<Preference
android:key="sleep_mode_auto_since"
android:title="@string/night_display_start_time_title" />
<Preference
android:key="sleep_mode_auto_till"
android:title="@string/night_display_end_time_title" />
<PreferenceCategory
android:key="sleep_mode_toggles"
android:title="@string/sleep_mode_toggles_title">
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="sleep_mode_wifi_toggle"
android:title="@string/sleep_mode_wifi_toggle_title"
android:summary="@string/sleep_mode_wifi_toggle_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="sleep_mode_bluetooth_toggle"
android:title="@string/sleep_mode_bluetooth_toggle_title"
android:summary="@string/sleep_mode_bluetooth_toggle_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="sleep_mode_cellular_toggle"
android:title="@string/sleep_mode_cellular_toggle_title"
android:summary="@string/sleep_mode_cellular_toggle_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="sleep_mode_location_toggle"
android:title="@string/sleep_mode_location_toggle_title"
android:summary="@string/sleep_mode_location_toggle_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="sleep_mode_sensors_toggle"
android:title="@string/sleep_mode_sensors_toggle_title"
android:summary="@string/sleep_mode_sensors_toggle_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="sleep_mode_aod_toggle"
android:title="@string/sleep_mode_aod_toggle_title"
android:summary="@string/sleep_mode_aod_toggle_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="sleep_mode_aggressive_toggle"
android:title="@string/sleep_mode_aggressive_toggle_title"
android:summary="@string/sleep_mode_aggressive_toggle_summary"
android:defaultValue="true" />
</PreferenceCategory>
<com.android.settingslib.widget.LayoutPreference
android:key="sleep_mode_button"
android:title="@string/sleep_mode_title"
android:selectable="false"
android:layout="@layout/sleep_mode_activation_button"
settings:allowDividerAbove="true"
settings:allowDividerBelow="true" />
<com.android.settingslib.widget.FooterPreference
android:key="sleep_mode_footer"
android:title="@string/sleep_mode_display_text"
android:selectable="false"
settings:searchable="false"/>
</PreferenceScreen>

View File

@@ -1,36 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2019 Havoc-OS
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:settings="http://schemas.android.com/apk/res/com.android.settings"
android:title="@string/status_bar_logo_title" >
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="status_bar_logo_position"
android:title="@string/status_bar_logo_position"
android:entries="@array/status_bar_logo_position_entries"
android:entryValues="@array/status_bar_logo_position_values"
android:defaultValue="0" />
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="status_bar_logo_style"
android:title="@string/status_bar_logo_style"
android:entries="@array/status_bar_logo_style_entries"
android:entryValues="@array/status_bar_logo_style_values"
android:defaultValue="0" />
</PreferenceScreen>

View File

@@ -1,63 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (C) 2014-2016 AospExtended ROM 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
android:title="@string/network_traffic_state_title"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<ListPreference
android:key="network_traffic_location"
android:title="@string/network_traffic_location"
android:summary="%s"
android:entries="@array/network_traffic_location_entries"
android:entryValues="@array/network_traffic_location_values"
android:persistent="false" />
<ListPreference
android:key="network_traffic_type"
android:title="@string/network_traffic_type"
android:entries="@array/show_network_traffic_type_entries"
android:entryValues="@array/show_network_traffic_type_values"
android:defaultValue="0"
android:persistent="false" />
<ListPreference
android:key="network_traffic_layout"
android:title="@string/network_traffic_layout"
android:entries="@array/network_traffic_layout_entries"
android:entryValues="@array/network_traffic_layout_values"
android:persistent="false" />
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="network_traffic_autohide_threshold"
android:title="@string/network_traffic_autohide_threshold_title"
android:max="10"
settings:min="0"
settings:units="" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="network_traffic_arrow"
android:title="@string/network_traffic_arrow"
android:summary="@string/network_traffic_arrow_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="network_traffic_font_size"
android:title="@string/nettraf_font_size"
android:max="60"
settings:min="21"
settings:defaultValue="42"
settings:units="dp" />
</PreferenceScreen>

View File

@@ -1,62 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2015 The Pure Nexus 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/volume_steps_fragment_title">
<ListPreference
android:key="volume_steps_alarm"
android:title="@string/volume_steps_alarm_title"
android:entries="@array/volume_steps_entries"
android:entryValues="@array/volume_steps_entries" />
<ListPreference
android:key="volume_steps_dtmf"
android:title="@string/volume_steps_dtmf_title"
android:entries="@array/volume_steps_entries"
android:entryValues="@array/volume_steps_entries" />
<ListPreference
android:key="volume_steps_music"
android:title="@string/volume_steps_music_title"
android:entries="@array/volume_steps_entries"
android:entryValues="@array/volume_steps_entries" />
<ListPreference
android:key="volume_steps_notification"
android:title="@string/volume_steps_notification_title"
android:entries="@array/volume_steps_entries"
android:entryValues="@array/volume_steps_entries" />
<ListPreference
android:key="volume_steps_ring"
android:title="@string/volume_steps_ring_title"
android:entries="@array/volume_steps_entries"
android:entryValues="@array/volume_steps_entries" />
<ListPreference
android:key="volume_steps_system"
android:title="@string/volume_steps_system_title"
android:entries="@array/volume_steps_entries"
android:entryValues="@array/volume_steps_entries" />
<ListPreference
android:key="volume_steps_voice_call"
android:title="@string/volume_steps_voice_call_title"
android:entries="@array/volume_steps_entries"
android:entryValues="@array/volume_steps_entries" />
</PreferenceScreen>