summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorTony <twickham@google.com>2017-06-28 17:51:53 -0700
committerTony Wickham <twickham@google.com>2017-06-29 13:43:35 -0700
commitd6573ed1283c18bbb96c8d617c799b78165f287f (patch)
tree499049439ca24683ca3320c92a3bc6a5cfe2d8cf /res/values
parent6f7f4bb97e574c409ba409b67c5ed6903967da6c (diff)
downloadandroid_packages_apps_Trebuchet-d6573ed1283c18bbb96c8d617c799b78165f287f.tar.gz
android_packages_apps_Trebuchet-d6573ed1283c18bbb96c8d617c799b78165f287f.tar.bz2
android_packages_apps_Trebuchet-d6573ed1283c18bbb96c8d617c799b78165f287f.zip
Tweak popup animation
- Decrease duration - Add alpha fade in and out - Remove arrow scale when closing, so that the reversal happens immediately These changes help the popup feel snappier while also reducing visual jank when moving icons (as the animation accelerates in later and the alpha stays close to 0). Bug: 62738635 Change-Id: Ic8af4e0e5bc00913ea713853997069e8b9c8f953
Diffstat (limited to 'res/values')
-rw-r--r--res/values/config.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/values/config.xml b/res/values/config.xml
index db1a75da9..00db4efe5 100644
--- a/res/values/config.xml
+++ b/res/values/config.xml
@@ -124,7 +124,7 @@
<item type="id" name="preview_image_id" />
<!-- Popup items -->
- <integer name="config_popupOpenCloseDuration">220</integer>
+ <integer name="config_popupOpenCloseDuration">150</integer>
<integer name="config_popupArrowOpenDuration">80</integer>
<integer name="config_removeNotificationViewDuration">300</integer>