* 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>
156 lines
6.0 KiB
XML
156 lines
6.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2012-2014 The TeamEos 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/animations_title"
|
|
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings" >
|
|
|
|
<PreferenceCategory
|
|
android:title="@string/system_animation_title">
|
|
|
|
<com.cherish.settings.preferences.CustomSeekBarPreference
|
|
android:key="animation_duration"
|
|
android:max="1500"
|
|
android:persistent="false"
|
|
android:title="@string/animation_duration_title"
|
|
settings:min="0"
|
|
settings:units="ms"
|
|
settings:interval="50"/>
|
|
|
|
<com.cherish.settings.preferences.GlobalSettingSwitchPreference
|
|
android:key="disable_transition_animations"
|
|
android:title="@string/disable_transition_animations_title"
|
|
android:summary="@string/disable_transition_animations_summary"
|
|
android:defaultValue="false" />
|
|
|
|
<ListPreference
|
|
android:key="activity_open"
|
|
android:title="@string/activity_open_title" />
|
|
|
|
<ListPreference
|
|
android:key="activity_close"
|
|
android:title="@string/activity_close_title" />
|
|
|
|
<ListPreference
|
|
android:key="task_open"
|
|
android:title="@string/task_open_title" />
|
|
|
|
<ListPreference
|
|
android:key="task_open_behind"
|
|
android:title="@string/task_open_behind_title" />
|
|
|
|
<ListPreference
|
|
android:key="task_close"
|
|
android:title="@string/task_close_title" />
|
|
|
|
<ListPreference
|
|
android:key="task_move_to_front"
|
|
android:title="@string/task_move_to_front_title" />
|
|
|
|
<ListPreference
|
|
android:key="task_move_to_back"
|
|
android:title="@string/task_move_to_back_title" />
|
|
|
|
<ListPreference
|
|
android:key="wallpaper_open"
|
|
android:title="@string/wallpaper_open_title" />
|
|
|
|
<ListPreference
|
|
android:key="wallpaper_close"
|
|
android:title="@string/wallpaper_close_title" />
|
|
|
|
<ListPreference
|
|
android:key="wallpaper_intra_open"
|
|
android:title="@string/wallpaper_intra_open_title" />
|
|
|
|
<ListPreference
|
|
android:key="wallpaper_intra_close"
|
|
android:title="@string/wallpaper_intra_close_title" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<ListPreference
|
|
android:key="pref_scrollingcache"
|
|
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: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: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: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: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: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>
|