summaryrefslogtreecommitdiffstats
path: root/res/animator/discovery_bounce.xml
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2017-08-24 13:33:47 -0700
committerSunny Goyal <sunnygoyal@google.com>2017-08-29 10:17:51 -0700
commite18d3f537f0d63ccaed33d83491c227caa87a9db (patch)
tree7a1b784dd66027b8f7861e44e63dd8a07e670701 /res/animator/discovery_bounce.xml
parentff58fe239ab70de53e8e2c473a1e2458800e69f7 (diff)
downloadandroid_packages_apps_Trebuchet-e18d3f537f0d63ccaed33d83491c227caa87a9db.tar.gz
android_packages_apps_Trebuchet-e18d3f537f0d63ccaed33d83491c227caa87a9db.tar.bz2
android_packages_apps_Trebuchet-e18d3f537f0d63ccaed33d83491c227caa87a9db.zip
Updating the all-apps discovery bounce animation
> Animation plays on every onResume > Updating animation to loop continuously on v23+ > Updating animation spec Bug: 64331951 Change-Id: Ic6fb8d6975b37f5b010fc585329cba615296f5c7
Diffstat (limited to 'res/animator/discovery_bounce.xml')
-rw-r--r--res/animator/discovery_bounce.xml35
1 files changed, 35 insertions, 0 deletions
diff --git a/res/animator/discovery_bounce.xml b/res/animator/discovery_bounce.xml
new file mode 100644
index 000000000..f02ebdbac
--- /dev/null
+++ b/res/animator/discovery_bounce.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+** Copyright 2017, The Android Open Source 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.
+*/
+-->
+<set xmlns:android="http://schemas.android.com/apk/res/android"
+ android:ordering="sequentially">
+ <objectAnimator
+ android:duration="166"
+ android:interpolator="@interpolator/disco_bounce"
+ android:propertyName="progress"
+ android:startOffset="750"
+ android:valueFrom="1f"
+ android:valueTo="0.9438f"
+ android:valueType="floatType" />
+ <objectAnimator
+ android:duration="500"
+ android:interpolator="@interpolator/disco_bounce"
+ android:propertyName="progress"
+ android:valueTo="1f"
+ android:valueType="floatType" />
+</set>