diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2017-08-24 13:33:47 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2017-08-29 10:17:51 -0700 |
commit | e18d3f537f0d63ccaed33d83491c227caa87a9db (patch) | |
tree | 7a1b784dd66027b8f7861e44e63dd8a07e670701 /res/animator-v23 | |
parent | ff58fe239ab70de53e8e2c473a1e2458800e69f7 (diff) | |
download | android_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-v23')
-rw-r--r-- | res/animator-v23/discovery_bounce.xml | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/res/animator-v23/discovery_bounce.xml b/res/animator-v23/discovery_bounce.xml new file mode 100644 index 000000000..8d0e8fdfb --- /dev/null +++ b/res/animator-v23/discovery_bounce.xml @@ -0,0 +1,43 @@ +<?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. +*/ +--> +<objectAnimator xmlns:android="http://schemas.android.com/apk/res/android" + android:duration="2166" + android:repeatCount="5"> + <propertyValuesHolder + android:propertyName="progress" + android:valueType="floatType"> + <keyframe + android:fraction="0" + android:value="1f" /> + <keyframe + android:fraction="0.346" + android:value="1f" /> + <keyframe + android:fraction=".423" + android:interpolator="@interpolator/disco_bounce" + android:value="0.9438f" /> + <keyframe + android:fraction="0.654" + android:interpolator="@interpolator/disco_bounce" + android:value="1f" /> + <keyframe + android:fraction="1" + android:value="1f" /> + </propertyValuesHolder> +</objectAnimator> |