summaryrefslogtreecommitdiffstats
path: root/res/anim
diff options
context:
space:
mode:
authorDaniel Sandler <dsandler@google.com>2010-03-02 14:08:08 -0500
committerDaniel Sandler <dsandler@google.com>2010-03-03 14:38:45 -0500
commit388f679aa448cb648241b89fefa29614a2e3758b (patch)
tree0cf21b927dbe7d0f3b2a8417991cc9235b2acdd0 /res/anim
parent9f9077d2be9178e4dc7d99a6735d7db5c15885d1 (diff)
downloadandroid_packages_apps_Trebuchet-388f679aa448cb648241b89fefa29614a2e3758b.tar.gz
android_packages_apps_Trebuchet-388f679aa448cb648241b89fefa29614a2e3758b.tar.bz2
android_packages_apps_Trebuchet-388f679aa448cb648241b89fefa29614a2e3758b.zip
Introduce 2D All Apps and other support for sapphire-class devices.
AllAppsView is now the 2D, GridView-based version (very similar to classic Launcher); AllApps3D is the RenderScript/Rollo implementation. TODO: - some mdpi assets are not in fact mdpi - related to above: static wallpapers not working yet - add dynamic selection of 2D/3D AA; currently you must choose one at build time by picking the appropriate class in all_apps.xml (see separate CL for sapphire overlay that does this) Change-Id: I253d98404ea8a329a4049d2e48edd2e5129fa6ba
Diffstat (limited to 'res/anim')
-rw-r--r--res/anim/all_apps_2d_fade_in.xml23
-rw-r--r--res/anim/all_apps_2d_fade_out.xml23
-rw-r--r--res/anim/fade_in_fast.xml2
-rw-r--r--res/anim/fade_in_slow.xml23
-rw-r--r--res/anim/fade_out_fast.xml2
-rw-r--r--res/anim/fade_out_slow.xml23
6 files changed, 94 insertions, 2 deletions
diff --git a/res/anim/all_apps_2d_fade_in.xml b/res/anim/all_apps_2d_fade_in.xml
new file mode 100644
index 000000000..0f1e4f4e1
--- /dev/null
+++ b/res/anim/all_apps_2d_fade_in.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 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.
+-->
+
+<alpha xmlns:android="http://schemas.android.com/apk/res/android"
+ android:interpolator="@android:anim/decelerate_interpolator"
+
+ android:fromAlpha="0.0"
+ android:toAlpha="1.0"
+
+ android:duration="@integer/config_allAppsFadeInTime" />
diff --git a/res/anim/all_apps_2d_fade_out.xml b/res/anim/all_apps_2d_fade_out.xml
new file mode 100644
index 000000000..cc4769177
--- /dev/null
+++ b/res/anim/all_apps_2d_fade_out.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 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.
+-->
+
+<alpha xmlns:android="http://schemas.android.com/apk/res/android"
+ android:interpolator="@android:anim/accelerate_interpolator"
+
+ android:fromAlpha="1.0"
+ android:toAlpha="0.0"
+
+ android:duration="@integer/config_allAppsFadeOutTime" />
diff --git a/res/anim/fade_in_fast.xml b/res/anim/fade_in_fast.xml
index 5faef96ae..4fa9847aa 100644
--- a/res/anim/fade_in_fast.xml
+++ b/res/anim/fade_in_fast.xml
@@ -20,4 +20,4 @@
android:fromAlpha="0.0"
android:toAlpha="1.0"
- android:duration="@android:integer/config_shortAnimTime" />
+ android:duration="@android:integer/config_mediumAnimTime" />
diff --git a/res/anim/fade_in_slow.xml b/res/anim/fade_in_slow.xml
new file mode 100644
index 000000000..0f1e4f4e1
--- /dev/null
+++ b/res/anim/fade_in_slow.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 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.
+-->
+
+<alpha xmlns:android="http://schemas.android.com/apk/res/android"
+ android:interpolator="@android:anim/decelerate_interpolator"
+
+ android:fromAlpha="0.0"
+ android:toAlpha="1.0"
+
+ android:duration="@integer/config_allAppsFadeInTime" />
diff --git a/res/anim/fade_out_fast.xml b/res/anim/fade_out_fast.xml
index 310e0078e..a061a6ca9 100644
--- a/res/anim/fade_out_fast.xml
+++ b/res/anim/fade_out_fast.xml
@@ -20,4 +20,4 @@
android:fromAlpha="1.0"
android:toAlpha="0.0"
- android:duration="@android:integer/config_shortAnimTime" />
+ android:duration="@android:integer/config_mediumAnimTime" />
diff --git a/res/anim/fade_out_slow.xml b/res/anim/fade_out_slow.xml
new file mode 100644
index 000000000..cc4769177
--- /dev/null
+++ b/res/anim/fade_out_slow.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 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.
+-->
+
+<alpha xmlns:android="http://schemas.android.com/apk/res/android"
+ android:interpolator="@android:anim/accelerate_interpolator"
+
+ android:fromAlpha="1.0"
+ android:toAlpha="0.0"
+
+ android:duration="@integer/config_allAppsFadeOutTime" />