Files
packages_apps_Evolver/res/xml/evolution_settings_lock_screen.xml
2025-06-11 02:36:28 +09:00

178 lines
8.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2019-2024 Evolution X
SPDX-License-Identifier: Apache-2.0
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
android:title="@string/lock_screen_title">
<PreferenceCategory
android:key="lock_screen_interface_category"
android:title="@string/lock_screen_interface_category">
<!-- Lockscreen Clock Font and styles -->
<Preference
android:key="android.theme.customization.lockscreen_clock_font"
android:title="@string/theme_customization_lock_clock_title"
android:summary="@string/theme_customization_lock_clock_summary"
android:fragment="org.evolution.settings.fragments.lockscreen.LockClockFontsPickerPreview" />
<!-- Lockscreen Widgets -->
<Preference
android:key="lockscreen_widgets"
android:title="@string/lockscreen_widgets_title"
android:summary="@string/lockscreen_widgets_enabled_summary"
android:fragment="org.evolution.settings.fragments.lockscreen.LockScreenWidgets" />
<Preference
android:key="depth_wallpaper"
android:title="@string/dw_wallpaper_enabled_title"
android:summary="@string/dw_wallpaper_enabled_summary"
android:fragment="org.evolution.settings.fragments.lockscreen.WallpaperDepth" />
<Preference
android:key="peek_display"
android:title="@string/peek_display_notifications_title"
android:summary="@string/peek_display_notifications_summary"
android:fragment="org.evolution.settings.fragments.lockscreen.PeekDisplay" />
<org.evolution.settings.preferences.SystemSettingSwitchPreference
android:key="keyguard_now_bar_enabled"
android:title="@string/keyguard_now_bar_enabled_title"
android:summary="@string/keyguard_now_bar_enabled_summary"
android:defaultValue="false" />
<org.evolution.settings.preferences.SystemSettingSeekBarPreference
android:key="nowbar_margin_bottom"
android:title="@string/keyguard_now_bar_height_title"
android:summary="@string/keyguard_now_bar_height_summary"
android:defaultValue="18"
android:min="1"
android:max="210"
android:dependency="keyguard_now_bar_enabled" />
<org.evolution.settings.preferences.SystemSettingSwitchPreference
android:key="ls_media_art_enabled"
android:title="@string/media_art_title"
android:summary="@string/media_art_summary"
android:defaultValue="false" />
<org.evolution.settings.preferences.SystemSettingListPreference
android:key="ls_media_art_filter"
android:title="@string/lockscreen_albumart_filter_title"
android:entries="@array/lockscreen_albumart_filter_entries"
android:entryValues="@array/lockscreen_albumart_filter_values"
android:dependency="ls_media_art_enabled"
android:defaultValue="0" />
<org.evolution.settings.preferences.SystemSettingSeekBarPreference
android:key="ls_media_art_fade_level"
android:title="@string/ls_media_art_fade_level_title"
android:summary="@string/ls_media_art_fade_level_summary"
android:defaultValue="40"
settings:interval="1"
settings:units="%"
android:max="100"
android:min="0"
android:dependency="ls_media_art_enabled" />
<!-- Charging stats -->
<org.evolution.settings.preferences.SystemSettingSwitchPreference
android:key="lockscreen_battery_info"
android:title="@string/lock_screen_charging_stats_title"
android:summary="@string/lock_screen_charging_stats_summary"
android:defaultValue="true" />
<org.evolution.settings.preferences.SystemSettingSwitchPreference
android:key="custom_aod_image_enabled"
android:title="@string/lockscreen_custom_image_enabled_title"
android:summary="@string/lockscreen_custom_image_summary"
android:defaultValue="false" />
<Preference
android:key="lockscreen_custom_image"
android:title="@string/lockscreen_custom_image_title"
android:summary="@string/lockscreen_custom_image_pick_summary"
android:dependency="custom_aod_image_enabled" />
<Preference
android:key="pulse_settings"
android:title="@string/lock_screen_pulse_settings_title"
android:summary="@string/lock_screen_pulse_settings_summary"
android:fragment="org.evolution.settings.fragments.lockscreen.PulseSettings" />
<org.evolution.settings.preferences.SystemSettingSwitchPreference
android:key="lockscreen_show_carrier"
android:title="@string/status_bar_carrier_lock_screen_title"
android:summary="@string/status_bar_carrier_lock_screen_summary"
android:defaultValue="true" />
</PreferenceCategory>
<PreferenceCategory
android:key="lockscreen_weather_category"
android:title="@string/lockscreen_weather_category">
<Preference
android:key="lockscreen_weather"
android:title="@string/weather_settings_title"
android:summary="@string/weather_settings_summary"
android:fragment="org.evolution.settings.fragments.lockscreen.LockScreenWeather" />
</PreferenceCategory>
<PreferenceCategory
android:key="lock_screen_fingerprint_category"
android:title="@string/lock_screen_fingerprint_category">
<!-- Fingerprint unlock ripple animation -->
<org.evolution.settings.preferences.SystemSettingSwitchPreference
android:key="enable_ripple_effect"
android:title="@string/lock_screen_fingerprint_ripple_title"
android:summary="@string/lock_screen_fingerprint_ripple_summary"
android:defaultValue="true" />
<!-- Screen-Off UDFPS -->
<org.evolution.settings.preferences.SecureSettingSwitchPreference
android:key="screen_off_udfps_enabled"
android:title="@string/lock_screen_screen_off_udfps_title"
android:summary="@string/lock_screen_screen_off_udfps_summary"
android:defaultValue="false" />
<!-- Authentication success vibration -->
<org.evolution.settings.preferences.SystemSettingSwitchPreference
android:key="fp_success_vibrate"
android:title="@string/lock_screen_fingerprint_success_vibration_title"
android:summary="@string/lock_screen_fingerprint_success_vibration_summary"
android:defaultValue="true" />
<!-- Authentication error vibration -->
<org.evolution.settings.preferences.SystemSettingSwitchPreference
android:key="fp_error_vibrate"
android:title="@string/lock_screen_fingerprint_error_vibration_title"
android:summary="@string/lock_screen_fingerprint_error_vibration_summary"
android:defaultValue="true" />
</PreferenceCategory>
<PreferenceCategory
android:key="lock_screen_miscellaneous_category"
android:title="@string/lock_screen_miscellaneous_category">
<!-- Pocket detection -->
<org.evolution.settings.preferences.SecureSettingSwitchPreference
android:key="pocket_mode_enabled"
android:title="@string/lock_screen_pocket_detection_title"
android:summary="@string/lock_screen_pocket_detection_summary"
android:defaultValue="false" />
<org.evolution.settings.preferences.SecureSettingSwitchPreference
android:key="always_on_pocket_mode_enabled"
android:title="@string/lock_screen_always_on_pocket_mode_title"
android:summary="@string/lock_screen_always_on_pocket_mode_summary"
android:dependency="pocket_mode_enabled"
android:defaultValue="false" />
</PreferenceCategory>
</PreferenceScreen>