Evolver: Screen off animations [2/2]

Signed-off-by: AnierinB <anierin@evolution-x.org>
This commit is contained in:
ShevT
2022-02-03 00:01:49 +03:00
committed by Joey Huab
parent bb872fd719
commit 5a0f1dde80
3 changed files with 25 additions and 0 deletions

View File

@@ -52,6 +52,19 @@
<item>preset</item>
</string-array>
<!-- Themes - Screen off animation -->
<string-array name="themes_screen_off_animation_entries">
<item>@string/themes_screen_off_animation_default</item>
<item>@string/themes_screen_off_animation_crt</item>
<item>@string/themes_screen_off_animation_scale</item>
</string-array>
<string-array name="themes_screen_off_animation_values" translatable="false">
<item>0</item>
<item>1</item>
<item>2</item>
</string-array>
<!-- Status bar - Quick pull down -->
<string-array name="status_bar_quick_pull_down_entries" translatable="false">
<item>@string/status_bar_quick_pull_down_off</item>

View File

@@ -54,6 +54,10 @@
<string name="themes_animations_category">Animations</string>
<string name="themes_charging_animation_title">Charging animation</string>
<string name="themes_charging_animation_summary">Display an animation when the device is plugged in</string>
<string name="themes_screen_off_animation_title">Screen off animation</string>
<string name="themes_screen_off_animation_default">Default</string>
<string name="themes_screen_off_animation_crt">CRT</string>
<string name="themes_screen_off_animation_scale">Scale</string>
<string name="themes_udfps_animation_title">UDFPS animation</string>
<string name="themes_udfps_animation_summary">Set UDFPS animation style</string>

View File

@@ -98,6 +98,14 @@
android:summary="@string/themes_charging_animation_summary"
android:defaultValue="true" />
<!-- Screen Off animation -->
<org.evolution.settings.preferences.SystemSettingListPreference
android:key="screen_off_animation"
android:title="@string/themes_screen_off_animation_title"
android:entries="@array/themes_screen_off_animation_entries"
android:entryValues="@array/themes_screen_off_animation_values"
android:defaultValue="0" />
<!-- Udfps animation -->
<Preference
android:key="udfps_animation"