summaryrefslogtreecommitdiffstats
path: root/mobile/android/base/resources/anim
diff options
context:
space:
mode:
Diffstat (limited to 'mobile/android/base/resources/anim')
-rw-r--r--mobile/android/base/resources/anim/grow_fade_in.xml21
-rw-r--r--mobile/android/base/resources/anim/overlay_check_entry.xml10
-rw-r--r--mobile/android/base/resources/anim/overlay_check_exit.xml11
-rw-r--r--mobile/android/base/resources/anim/overlay_pop.xml25
-rw-r--r--mobile/android/base/resources/anim/overlay_slide_down.xml10
-rw-r--r--mobile/android/base/resources/anim/overlay_slide_up.xml9
-rw-r--r--mobile/android/base/resources/anim/popup_hide.xml16
-rw-r--r--mobile/android/base/resources/anim/popup_show.xml16
8 files changed, 118 insertions, 0 deletions
diff --git a/mobile/android/base/resources/anim/grow_fade_in.xml b/mobile/android/base/resources/anim/grow_fade_in.xml
new file mode 100644
index 000000000..bf7a3f23d
--- /dev/null
+++ b/mobile/android/base/resources/anim/grow_fade_in.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+ - License, v. 2.0. If a copy of the MPL was not distributed with this
+ - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<set xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <scale android:fromXScale="1.0"
+ android:toXScale="1.0"
+ android:fromYScale="0.3"
+ android:toYScale="1.0"
+ android:pivotX="0%"
+ android:pivotY="0%"
+ android:duration="150"/>
+
+ <alpha android:interpolator="@android:anim/decelerate_interpolator"
+ android:fromAlpha="0.0"
+ android:toAlpha="1.0"
+ android:duration="150"/>
+
+</set>
diff --git a/mobile/android/base/resources/anim/overlay_check_entry.xml b/mobile/android/base/resources/anim/overlay_check_entry.xml
new file mode 100644
index 000000000..5a80612a7
--- /dev/null
+++ b/mobile/android/base/resources/anim/overlay_check_entry.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+ - License, v. 2.0. If a copy of the MPL was not distributed with this
+ - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<alpha
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:duration="250"
+ android:fromAlpha="0.0"
+ android:toAlpha="1.0" />
diff --git a/mobile/android/base/resources/anim/overlay_check_exit.xml b/mobile/android/base/resources/anim/overlay_check_exit.xml
new file mode 100644
index 000000000..9c42eaa0b
--- /dev/null
+++ b/mobile/android/base/resources/anim/overlay_check_exit.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+ - License, v. 2.0. If a copy of the MPL was not distributed with this
+ - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<alpha
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:duration="250"
+ android:fromAlpha="1.0"
+ android:toAlpha="0.0"
+ android:fillAfter="true" />
diff --git a/mobile/android/base/resources/anim/overlay_pop.xml b/mobile/android/base/resources/anim/overlay_pop.xml
new file mode 100644
index 000000000..6b5c412dc
--- /dev/null
+++ b/mobile/android/base/resources/anim/overlay_pop.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<set xmlns:android="http://schemas.android.com/apk/res/android"
+ android:fillAfter="true" >
+
+ <scale
+ android:duration="300"
+ android:fromXScale="1"
+ android:fromYScale="1"
+ android:pivotX="50%"
+ android:pivotY="50%"
+ android:toXScale="2"
+ android:toYScale="2" >
+ </scale>
+
+ <scale
+ android:duration="300"
+ android:fromXScale="1"
+ android:fromYScale="1"
+ android:pivotX="50%"
+ android:pivotY="50%"
+ android:toXScale="0.5"
+ android:toYScale="0.5" >
+ </scale>
+
+</set>
diff --git a/mobile/android/base/resources/anim/overlay_slide_down.xml b/mobile/android/base/resources/anim/overlay_slide_down.xml
new file mode 100644
index 000000000..c7007458c
--- /dev/null
+++ b/mobile/android/base/resources/anim/overlay_slide_down.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+ - License, v. 2.0. If a copy of the MPL was not distributed with this
+ - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<translate xmlns:android="http://schemas.android.com/apk/res/android"
+ android:duration="@android:integer/config_longAnimTime"
+ android:fromYDelta="0"
+ android:toYDelta="100%p"
+ android:fillAfter="true" />
diff --git a/mobile/android/base/resources/anim/overlay_slide_up.xml b/mobile/android/base/resources/anim/overlay_slide_up.xml
new file mode 100644
index 000000000..2541493ed
--- /dev/null
+++ b/mobile/android/base/resources/anim/overlay_slide_up.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+ - License, v. 2.0. If a copy of the MPL was not distributed with this
+ - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<translate xmlns:android="http://schemas.android.com/apk/res/android"
+ android:duration="@android:integer/config_longAnimTime"
+ android:fromYDelta="100%p"
+ android:toYDelta="0" />
diff --git a/mobile/android/base/resources/anim/popup_hide.xml b/mobile/android/base/resources/anim/popup_hide.xml
new file mode 100644
index 000000000..5ea5bc2cb
--- /dev/null
+++ b/mobile/android/base/resources/anim/popup_hide.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+ - License, v. 2.0. If a copy of the MPL was not distributed with this
+ - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<set xmlns:android="http://schemas.android.com/apk/res/android"
+ android:interpolator="@android:anim/decelerate_interpolator"
+ android:duration="150">
+
+ <translate android:fromYDelta="-0"
+ android:toYDelta="-20"/>
+
+ <alpha android:fromAlpha="1.0"
+ android:toAlpha="0.0"/>
+
+</set>
diff --git a/mobile/android/base/resources/anim/popup_show.xml b/mobile/android/base/resources/anim/popup_show.xml
new file mode 100644
index 000000000..6057b9063
--- /dev/null
+++ b/mobile/android/base/resources/anim/popup_show.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+ - License, v. 2.0. If a copy of the MPL was not distributed with this
+ - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<set xmlns:android="http://schemas.android.com/apk/res/android"
+ android:interpolator="@android:anim/decelerate_interpolator"
+ android:duration="150">
+
+ <translate android:fromYDelta="-20"
+ android:toYDelta="0"/>
+
+ <alpha android:fromAlpha="0.0"
+ android:toAlpha="1.0"/>
+
+</set>