From 9c6fbed48783dacd9bc6b4ec5f2cc8e59ec7ee37 Mon Sep 17 00:00:00 2001 From: Michael Jurka Date: Wed, 2 Mar 2011 17:41:34 -0800 Subject: [PATCH] Further improving performance of All Apps transition Change-Id: Ie8a2af004acba4c13066dd636842a71793064688 --- res/layout-xlarge-land/all_apps_tabbed.xml | 5 +- ... => customization_drawer_tab_contents.xml} | 0 res/layout-xlarge-port/all_apps_tabbed.xml | 4 +- ... => customization_drawer_tab_contents.xml} | 0 res/layout-xlarge/button_bar.xml | 150 +++++++++++++++++ res/layout-xlarge/customization_drawer.xml | 34 ++++ res/layout-xlarge/launcher.xml | 158 +----------------- res/values-xlarge/config.xml | 6 +- .../android/launcher2/AllAppsBackground.java | 53 ++++++ src/com/android/launcher2/AllAppsTabbed.java | 32 ++-- src/com/android/launcher2/Launcher.java | 7 +- src/com/android/launcher2/Workspace.java | 29 +++- 12 files changed, 294 insertions(+), 184 deletions(-) rename res/layout-xlarge-land/{customization_drawer.xml => customization_drawer_tab_contents.xml} (100%) rename res/layout-xlarge-port/{customization_drawer.xml => customization_drawer_tab_contents.xml} (100%) create mode 100644 res/layout-xlarge/button_bar.xml create mode 100644 res/layout-xlarge/customization_drawer.xml create mode 100644 src/com/android/launcher2/AllAppsBackground.java diff --git a/res/layout-xlarge-land/all_apps_tabbed.xml b/res/layout-xlarge-land/all_apps_tabbed.xml index 39c966b0ce..92442135a5 100644 --- a/res/layout-xlarge-land/all_apps_tabbed.xml +++ b/res/layout-xlarge-land/all_apps_tabbed.xml @@ -16,12 +16,15 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/res/layout-xlarge/customization_drawer.xml b/res/layout-xlarge/customization_drawer.xml new file mode 100644 index 0000000000..dd1234c028 --- /dev/null +++ b/res/layout-xlarge/customization_drawer.xml @@ -0,0 +1,34 @@ + + + + + + + + + \ No newline at end of file diff --git a/res/layout-xlarge/launcher.xml b/res/layout-xlarge/launcher.xml index a7cf3214c1..acf62f906f 100644 --- a/res/layout-xlarge/launcher.xml +++ b/res/layout-xlarge/launcher.xml @@ -48,165 +48,15 @@ android:layout_height="match_parent" android:layout_gravity="top" /> - + android:layout_gravity="top" /> - - - - - - - - - - - - - - - - - - - - - - + android:layout_gravity="bottom" /> diff --git a/res/values-xlarge/config.xml b/res/values-xlarge/config.xml index 90d8dc4d16..56c7bc688e 100644 --- a/res/values-xlarge/config.xml +++ b/res/values-xlarge/config.xml @@ -9,7 +9,8 @@ - 1211 + 1000 + 250 @@ -25,6 +26,7 @@ 800 + 800 @@ -37,7 +39,7 @@ NOTE: If these are changed, the toolbar animation times below should also be. --> 500 800 - 1211 + 1000 650