summaryrefslogtreecommitdiffstats
path: root/res/anim
diff options
context:
space:
mode:
authorHyunyoung Song <hyunyoungs@google.com>2016-07-21 17:32:43 -0700
committerHyunyoung Song <hyunyoungs@google.com>2016-07-21 17:32:43 -0700
commitc001cf562017d08cd48b67de8f377ca08881e70e (patch)
tree5509e5ea66ae98d0008e13a4929e4ee5138df3ba /res/anim
parent1ce0e30451f28e6e5c42c068d520e16abeb257dd (diff)
downloadandroid_packages_apps_Trebuchet-c001cf562017d08cd48b67de8f377ca08881e70e.tar.gz
android_packages_apps_Trebuchet-c001cf562017d08cd48b67de8f377ca08881e70e.tar.bz2
android_packages_apps_Trebuchet-c001cf562017d08cd48b67de8f377ca08881e70e.zip
Animate discovery bounce for all apps pull up interaction
b/30221381 > Will not support landscape case. If the user knows how to enable rotation, it's very unlikely they don't know how to bring up apps drawer > If unlocked using finger unlock immediately after screen is turned off, bounce is not shown due to delay in ACTION_SCREEN_OFF broadcast Change-Id: Ia8b7e572eaa4aeab8b1add1e5660fee3a63ba21c
Diffstat (limited to 'res/anim')
-rw-r--r--res/anim/discovery_bounce.xml45
1 files changed, 45 insertions, 0 deletions
diff --git a/res/anim/discovery_bounce.xml b/res/anim/discovery_bounce.xml
new file mode 100644
index 000000000..1f7d46618
--- /dev/null
+++ b/res/anim/discovery_bounce.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+** Copyright 2016, 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"
+ android:startOffset="200">
+
+ <objectAnimator
+ android:propertyName="progress"
+ android:duration="250"
+ android:interpolator="@interpolator/disco_bounce_section1"
+ android:valueFrom="1f"
+ android:valueTo=".94f"
+ android:valueType="floatType"/>
+ <objectAnimator
+ android:propertyName="progress"
+ android:duration="216"
+ android:interpolator="@interpolator/disco_bounce_section2"
+ android:valueFrom=".94f"
+ android:valueTo="1.012f"
+ android:valueType="floatType"/>
+ <objectAnimator
+ android:propertyName="progress"
+ android:duration="234"
+ android:interpolator="@interpolator/disco_bounce_section3"
+ android:valueFrom="1.012f"
+ android:valueTo="1f"
+ android:valueType="floatType"/>
+</set>