summaryrefslogtreecommitdiffstats
path: root/res/values/config.xml
diff options
context:
space:
mode:
authorTony Wickham <twickham@google.com>2016-09-20 16:15:13 -0700
committerTony Wickham <twickham@google.com>2016-09-22 12:50:58 -0700
commitb318c0e396b049c134a098a3e589a0550e58c5b4 (patch)
tree9059f2875e08f86ce56597f178bc935f55407bb5 /res/values/config.xml
parent41253866876bc3cbb7d52cd0f28063cea7aca59d (diff)
downloadandroid_packages_apps_Trebuchet-b318c0e396b049c134a098a3e589a0550e58c5b4.tar.gz
android_packages_apps_Trebuchet-b318c0e396b049c134a098a3e589a0550e58c5b4.tar.bz2
android_packages_apps_Trebuchet-b318c0e396b049c134a098a3e589a0550e58c5b4.zip
Fade deep shorcuts in and out.
Animate open: - Stagger-fade shortcuts as they open - Become fully opaque before fully open, at which point the arrow animates in (scale). This way there is no overlap of a translucent shortcut over an opaque arrow. Animate close: - Stagger-fade shortcuts as they close - Delay fade until arrow animation is finished, to ensure there is no overlapping of translucent and opaque. This is much less visually jarring when quickly dragging and dropping apps with shortcuts. Bug: 31533078 Change-Id: I8673ee64e92414c718233ea89b70362187e53696
Diffstat (limited to 'res/values/config.xml')
-rw-r--r--res/values/config.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/res/values/config.xml b/res/values/config.xml
index 2347f661b..a942f0211 100644
--- a/res/values/config.xml
+++ b/res/values/config.xml
@@ -93,6 +93,7 @@
<!-- Deep shortcuts -->
<integer name="config_deepShortcutOpenDuration">220</integer>
+ <integer name="config_deepShortcutArrowOpenDuration">80</integer>
<integer name="config_deepShortcutOpenStagger">40</integer>
<integer name="config_deepShortcutCloseDuration">150</integer>
<integer name="config_deepShortcutCloseStagger">20</integer>