From 388f679aa448cb648241b89fefa29614a2e3758b Mon Sep 17 00:00:00 2001 From: Daniel Sandler Date: Tue, 2 Mar 2010 14:08:08 -0500 Subject: 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 --- res/anim/all_apps_2d_fade_in.xml | 23 +++++++++++++++++++++++ res/anim/all_apps_2d_fade_out.xml | 23 +++++++++++++++++++++++ res/anim/fade_in_fast.xml | 2 +- res/anim/fade_in_slow.xml | 23 +++++++++++++++++++++++ res/anim/fade_out_fast.xml | 2 +- res/anim/fade_out_slow.xml | 23 +++++++++++++++++++++++ 6 files changed, 94 insertions(+), 2 deletions(-) create mode 100644 res/anim/all_apps_2d_fade_in.xml create mode 100644 res/anim/all_apps_2d_fade_out.xml create mode 100644 res/anim/fade_in_slow.xml create mode 100644 res/anim/fade_out_slow.xml (limited to 'res/anim') 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 @@ + + + + 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 @@ + + + + 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 @@ + + + + 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 @@ + + + + -- cgit v1.2.3