summaryrefslogtreecommitdiffstats
path: root/res/anim
diff options
context:
space:
mode:
authorWu-cheng Li <wuchengli@google.com>2011-07-05 17:54:29 +0800
committerWu-cheng Li <wuchengli@google.com>2011-07-18 05:26:47 +0800
commit750173a4d20f1e8d6607edb3ada6be5166d0cd82 (patch)
tree783701cf389c5b1f63efc43ed01bb712959ea8c0 /res/anim
parent5281216188a75f5a2edd87ef5f7358a956f17e28 (diff)
downloadLegacyCamera-750173a4d20f1e8d6607edb3ada6be5166d0cd82.zip
LegacyCamera-750173a4d20f1e8d6607edb3ada6be5166d0cd82.tar.gz
LegacyCamera-750173a4d20f1e8d6607edb3ada6be5166d0cd82.tar.bz2
Add a share application list in share popup.
bug:4725978 Change-Id: Id7a8b24fd7785f2d7dd316b5000f8ae3f3e8c567
Diffstat (limited to 'res/anim')
-rw-r--r--res/anim/grow_fade_in_from_top_right.xml30
-rw-r--r--res/anim/shrink_fade_out_from_top_right.xml30
2 files changed, 60 insertions, 0 deletions
diff --git a/res/anim/grow_fade_in_from_top_right.xml b/res/anim/grow_fade_in_from_top_right.xml
new file mode 100644
index 0000000..1bfede0
--- /dev/null
+++ b/res/anim/grow_fade_in_from_top_right.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/* //device/apps/common/res/anim/fade_in.xml
+**
+** Copyright 2011, 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">
+ <scale android:interpolator="@android:interpolator/decelerate_quint"
+ android:fromXScale="0.9" android:toXScale="1.0"
+ android:fromYScale="0.9" android:toYScale="1.0"
+ android:pivotX="100%" android:pivotY="0%"
+ android:duration="300" />
+ <alpha android:interpolator="@android:interpolator/decelerate_cubic"
+ android:fromAlpha="0.5" android:toAlpha="1.0"
+ android:duration="300" />
+</set>
diff --git a/res/anim/shrink_fade_out_from_top_right.xml b/res/anim/shrink_fade_out_from_top_right.xml
new file mode 100644
index 0000000..9727386
--- /dev/null
+++ b/res/anim/shrink_fade_out_from_top_right.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/* //device/apps/common/res/anim/fade_out.xml
+**
+** Copyright 2007, 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">
+ <scale android:interpolator="@android:interpolator/decelerate_quint"
+ android:fromXScale="1.0" android:toXScale="0.9"
+ android:fromYScale="1.0" android:toYScale="0.9"
+ android:pivotX="100%" android:pivotY="0%"
+ android:duration="300" />
+ <alpha android:interpolator="@android:interpolator/decelerate_cubic"
+ android:fromAlpha="1.0" android:toAlpha="0.0"
+ android:duration="300" />
+</set>