diff options
author | Todd Volkert <tvolkert@google.com> | 2015-06-08 15:59:27 -0700 |
---|---|---|
committer | Todd Volkert <tvolkert@google.com> | 2015-06-10 12:49:56 -0700 |
commit | 17c6b0c6492c259e02f1f1edbbf4863a71b6e7ab (patch) | |
tree | bf3a69628679be5c2c45f29f9c1249b874c058d9 /res/anim | |
parent | ae2ceca3c7ac2c3420541f552a2dc47f261ec199 (diff) | |
download | android_packages_apps_PackageInstaller-17c6b0c6492c259e02f1f1edbbf4863a71b6e7ab.tar.gz android_packages_apps_PackageInstaller-17c6b0c6492c259e02f1f1edbbf4863a71b6e7ab.tar.bz2 android_packages_apps_PackageInstaller-17c6b0c6492c259e02f1f1edbbf4863a71b6e7ab.zip |
Add tv-specific grant permissions view handler
b/20476102
Change-Id: I128bb19413121b6d0367147989e79bffe45f8d82
Diffstat (limited to 'res/anim')
-rw-r--r-- | res/anim/snackbar_enter.xml | 28 | ||||
-rw-r--r-- | res/anim/snackbar_exit.xml | 27 |
2 files changed, 55 insertions, 0 deletions
diff --git a/res/anim/snackbar_enter.xml b/res/anim/snackbar_enter.xml new file mode 100644 index 00000000..96bf4d25 --- /dev/null +++ b/res/anim/snackbar_enter.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +** +** Copyright 2015, 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:shareInterpolator="false"> + <translate android:fromYDelta="100%" android:toYDelta="0" + android:interpolator="@android:interpolator/decelerate_quint" + android:duration="250"/> + <alpha android:fromAlpha="0.0" android:toAlpha="1.0" + android:interpolator="@android:interpolator/decelerate_quint" + android:duration="250" /> +</set> diff --git a/res/anim/snackbar_exit.xml b/res/anim/snackbar_exit.xml new file mode 100644 index 00000000..9aee1778 --- /dev/null +++ b/res/anim/snackbar_exit.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* Copyright 2015, 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:shareInterpolator="false"> + <translate android:fromYDelta="0" android:toYDelta="100%" + android:interpolator="@android:interpolator/accelerate_quint" + android:duration="250"/> + <alpha android:fromAlpha="1.0" android:toAlpha="0.0" + android:interpolator="@android:interpolator/accelerate_quint" + android:duration="250"/> +</set> |