summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorChet Haase <chet@google.com>2012-02-01 15:10:12 -0800
committerChet Haase <chet@google.com>2012-02-02 07:37:15 -0800
commitb29e7870de4238cbfa8eb7f3709bed7b49eeacdb (patch)
treeeb9fece94a7999fd77e40d9e969071c957aefc36 /res/xml
parent7ed71b7896c2572f8f876e100a0b8c1689632e2f (diff)
downloadpackages_apps_Settings-b29e7870de4238cbfa8eb7f3709bed7b49eeacdb.zip
packages_apps_Settings-b29e7870de4238cbfa8eb7f3709bed7b49eeacdb.tar.gz
packages_apps_Settings-b29e7870de4238cbfa8eb7f3709bed7b49eeacdb.tar.bz2
Add Developer Option setting for Animator scaling.
This new setting allows users to set a scale factor for the duration and startDelay of all Animator-based animations. This setting is very similar to the Transition animation scale and Window animation scale settings, except this one applies specifically to Animator animations. The property is only accessible by users through the Settings UI, not programmatically. The value applies system-wide and is picked up per-process at the time of the first ValueAnimator construction. Change-Id: I4fd02b03e508495b39481bfc8904d8771d0fd4e1
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/development_prefs.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/res/xml/development_prefs.xml b/res/xml/development_prefs.xml
index 68e24c4..8677a47 100644
--- a/res/xml/development_prefs.xml
+++ b/res/xml/development_prefs.xml
@@ -104,6 +104,13 @@
android:entries="@array/transition_animation_scale_entries"
android:entryValues="@array/transition_animation_scale_values" />
+ <ListPreference
+ android:key="animator_duration_scale"
+ android:title="@string/animator_duration_scale_title"
+ android:persistent="false"
+ android:entries="@array/animator_duration_scale_entries"
+ android:entryValues="@array/animator_duration_scale_values" />
+
</PreferenceCategory>
<PreferenceCategory android:key="debug_applications_category"