This reverts commitc54c2eb6c2. Revert "Cherish:update edge light preferences" This reverts commitb88457ea22. Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
111 lines
4.5 KiB
XML
111 lines
4.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2016 Nitrogen 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/lockscreen_title"
|
|
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
|
|
|
|
<PreferenceCategory
|
|
android:title="@string/lockscreen_gesture_title">
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="double_tap_sleep_lockscreen"
|
|
android:title="@string/double_tap_sleep_lockscreen_title"
|
|
android:summary="@string/double_tap_sleep_lockscreen_summary"
|
|
android:defaultValue="true" />
|
|
|
|
<ListPreference
|
|
android:key="torch_power_button_gesture"
|
|
android:title="@string/torch_power_button_gesture_title"
|
|
android:entries="@array/torch_power_button_gesture_entries"
|
|
android:entryValues="@array/torch_power_button_gesture_values" />
|
|
|
|
<com.cherish.settings.preferences.SecureSettingSwitchPreference
|
|
android:key="power_menu_hide_on_secure"
|
|
android:title="@string/power_menu_hide_on_secure_title"
|
|
android:summary="@string/power_menu_hide_on_secure_summary"
|
|
android:defaultValue="false" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="hide_lockscreen_status_bar"
|
|
android:title="@string/hide_lockscreen_status_bar_title"
|
|
android:summary="@string/hide_lockscreen_status_bar_summary"
|
|
android:defaultValue="false" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="lockscreen_battery_info"
|
|
android:title="@string/lockscreen_charging_info_title"
|
|
android:summary="@string/lockscreen_charging_info_summary"
|
|
android:defaultValue="true" />
|
|
|
|
<!-- Udfps options -->
|
|
<PreferenceCategory
|
|
android:key="udfps_category"
|
|
android:title="@string/udfps_category">
|
|
|
|
<Preference
|
|
android:key="udfps_settings"
|
|
android:title="@string/udfps_settings_title"
|
|
android:summary="@string/udfps_settings_summary"
|
|
android:fragment="com.cherish.settings.fragments.Udfps" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="enable_ripple_effect"
|
|
android:title="@string/enable_fingerprint_ripple_effect_title"
|
|
android:summary="@string/enable_fingerprint_ripple_effect_summary"
|
|
android:defaultValue="true" />
|
|
|
|
<PreferenceCategory
|
|
android:key="lockscreen_media_art_options"
|
|
android:title="@string/lockscreen_media_art_options_title">
|
|
|
|
<com.cherish.settings.preferences.SecureSettingSwitchPreference
|
|
android:key="lockscreen_media_metadata"
|
|
android:title="@string/media_art_title"
|
|
android:summary="@string/media_art_summary"
|
|
android:defaultValue="true" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingListPreference
|
|
android:key="lockscreen_albumart_filter"
|
|
android:title="@string/lockscreen_albumart_filter_title"
|
|
android:entries="@array/lockscreen_albumart_filter_entries"
|
|
android:entryValues="@array/lockscreen_albumart_filter_values"
|
|
android:dependency="lockscreen_media_metadata"
|
|
android:defaultValue="0" />
|
|
|
|
<!-- Pulse music visualizer -->
|
|
<Preference
|
|
android:key="pulse_settings"
|
|
android:title="@string/pulse_settings"
|
|
android:summary="@string/pulse_settings_summary"
|
|
android:fragment="com.cherish.settings.fragments.sound.PulseSettings" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
|
|
android:key="ls_media_filter_blur_radius"
|
|
android:title="@string/lockscreen_albumart_filter_blur_radius_title"
|
|
android:defaultValue="10"
|
|
android:max="25"
|
|
settings:min="1" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
</PreferenceScreen>
|