Cherish: [SQUASHED] Add animations to quick settings

- Add animations to quick settings tiles [1/2]
- Add faster qs tile animation speeds (1/2)
- Add interpolators to qs tiles animation [1/2]

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
Nico60
2019-12-08 22:49:21 +05:30
committed by Hưng Phan
parent 4cfd21f9d9
commit de7d1336ff
3 changed files with 109 additions and 0 deletions

View File

@@ -29,4 +29,33 @@
android:summary="%s"
android:persistent="false" />
<PreferenceCategory
android:title="@string/qs_tile_animation_category_title">
<com.cherish.settings.preferences.SystemSettingIntListPreference
android:key="anim_tile_style"
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: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: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>