diff --git a/res/anim/all_apps_2d_fade_in.xml b/res/anim/all_apps_2d_fade_in.xml
deleted file mode 100644
index 9d2171ae02..0000000000
--- a/res/anim/all_apps_2d_fade_in.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
diff --git a/res/anim/all_apps_2d_fade_out.xml b/res/anim/all_apps_2d_fade_out.xml
deleted file mode 100644
index 90520c7d19..0000000000
--- a/res/anim/all_apps_2d_fade_out.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
diff --git a/res/anim/all_apps_zoom_in.xml b/res/anim/all_apps_zoom_in.xml
deleted file mode 100644
index 644d1cf4a2..0000000000
--- a/res/anim/all_apps_zoom_in.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
-
-
-
-
diff --git a/res/anim/all_apps_zoom_out.xml b/res/anim/all_apps_zoom_out.xml
deleted file mode 100644
index 23a8712e00..0000000000
--- a/res/anim/all_apps_zoom_out.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
-
-
-
-
diff --git a/res/anim/fade_in_slow.xml b/res/anim/fade_in_slow.xml
deleted file mode 100644
index 9d2171ae02..0000000000
--- a/res/anim/fade_in_slow.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
diff --git a/res/anim/fade_out_slow.xml b/res/anim/fade_out_slow.xml
deleted file mode 100644
index 90520c7d19..0000000000
--- a/res/anim/fade_out_slow.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
diff --git a/res/anim/home_customization_drawer_slide_down.xml b/res/anim/home_customization_drawer_slide_down.xml
deleted file mode 100644
index b3041c79d8..0000000000
--- a/res/anim/home_customization_drawer_slide_down.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
diff --git a/res/anim/home_customization_drawer_slide_up.xml b/res/anim/home_customization_drawer_slide_up.xml
deleted file mode 100644
index 3df23209e7..0000000000
--- a/res/anim/home_customization_drawer_slide_up.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
diff --git a/res/color/bright_text_dark_focused.xml b/res/color/bright_text_dark_focused.xml
deleted file mode 100644
index 4beb72c3db..0000000000
--- a/res/color/bright_text_dark_focused.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
diff --git a/res/drawable-hdpi/all_apps_bg_gradient.9.png b/res/drawable-hdpi/all_apps_bg_gradient.9.png
deleted file mode 100644
index 3f4b5b58c5..0000000000
Binary files a/res/drawable-hdpi/all_apps_bg_gradient.9.png and /dev/null differ
diff --git a/res/drawable-hdpi/box_launcher_bottom.9.png b/res/drawable-hdpi/box_launcher_bottom.9.png
deleted file mode 100644
index 9708e73d24..0000000000
Binary files a/res/drawable-hdpi/box_launcher_bottom.9.png and /dev/null differ
diff --git a/res/drawable-hdpi/homescreen_blue_strong_holo.9.png b/res/drawable-hdpi/homescreen_blue_strong_holo.9.png
deleted file mode 100644
index 34071076d5..0000000000
Binary files a/res/drawable-hdpi/homescreen_blue_strong_holo.9.png and /dev/null differ
diff --git a/res/drawable-hdpi/widget_divider.png b/res/drawable-hdpi/widget_divider.png
deleted file mode 100644
index 2f92d60049..0000000000
Binary files a/res/drawable-hdpi/widget_divider.png and /dev/null differ
diff --git a/res/drawable-large-hdpi/ic_home_info_holo_dark.png b/res/drawable-large-hdpi/ic_home_info_holo_dark.png
deleted file mode 100644
index 02df4e1cfb..0000000000
Binary files a/res/drawable-large-hdpi/ic_home_info_holo_dark.png and /dev/null differ
diff --git a/res/drawable-mdpi/all_apps_bg_gradient.9.png b/res/drawable-mdpi/all_apps_bg_gradient.9.png
deleted file mode 100644
index 3f4b5b58c5..0000000000
Binary files a/res/drawable-mdpi/all_apps_bg_gradient.9.png and /dev/null differ
diff --git a/res/drawable-mdpi/box_launcher_bottom.9.png b/res/drawable-mdpi/box_launcher_bottom.9.png
deleted file mode 100644
index e7dac0d0a8..0000000000
Binary files a/res/drawable-mdpi/box_launcher_bottom.9.png and /dev/null differ
diff --git a/res/drawable-mdpi/homescreen_blue_strong_holo.9.png b/res/drawable-mdpi/homescreen_blue_strong_holo.9.png
deleted file mode 100644
index fdd9dbb033..0000000000
Binary files a/res/drawable-mdpi/homescreen_blue_strong_holo.9.png and /dev/null differ
diff --git a/res/drawable-mdpi/ic_voice_search.png b/res/drawable-mdpi/ic_voice_search.png
deleted file mode 100644
index 3c52e2ad8b..0000000000
Binary files a/res/drawable-mdpi/ic_voice_search.png and /dev/null differ
diff --git a/res/drawable-mdpi/widget_divider.png b/res/drawable-mdpi/widget_divider.png
deleted file mode 100644
index 1b453c5fa5..0000000000
Binary files a/res/drawable-mdpi/widget_divider.png and /dev/null differ
diff --git a/res/drawable/grid_selector.xml b/res/drawable/grid_selector.xml
deleted file mode 100644
index 009cfe1710..0000000000
--- a/res/drawable/grid_selector.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/res/drawable/home_button.xml b/res/drawable/home_button.xml
deleted file mode 100644
index 032989d525..0000000000
--- a/res/drawable/home_button.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/res/layout-large/button_bar.xml b/res/layout-large/button_bar.xml
deleted file mode 100644
index efe9e138ab..0000000000
--- a/res/layout-large/button_bar.xml
+++ /dev/null
@@ -1,162 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/res/layout/apps_customize_wallpaper.xml b/res/layout/apps_customize_wallpaper.xml
deleted file mode 100644
index d93825f8c1..0000000000
--- a/res/layout/apps_customize_wallpaper.xml
+++ /dev/null
@@ -1,68 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/res/layout/home_customization_drawer_item.xml b/res/layout/home_customization_drawer_item.xml
deleted file mode 100644
index 4d61dbfb4e..0000000000
--- a/res/layout/home_customization_drawer_item.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/res/layout/home_customization_drawer_widget.xml b/res/layout/home_customization_drawer_widget.xml
deleted file mode 100644
index 1581308b66..0000000000
--- a/res/layout/home_customization_drawer_widget.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/res/layout/list_category.xml b/res/layout/list_category.xml
deleted file mode 100644
index 1e8d04c577..0000000000
--- a/res/layout/list_category.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
-
diff --git a/res/layout/list_checkbox_2lines.xml b/res/layout/list_checkbox_2lines.xml
deleted file mode 100644
index 1debcd679a..0000000000
--- a/res/layout/list_checkbox_2lines.xml
+++ /dev/null
@@ -1,60 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/res/layout/pick_item.xml b/res/layout/pick_item.xml
deleted file mode 100644
index 62fc4f4814..0000000000
--- a/res/layout/pick_item.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
-
diff --git a/res/values-large/config.xml b/res/values-large/config.xml
index 34dbb0fe97..f0ce3481dc 100644
--- a/res/values-large/config.xml
+++ b/res/values-large/config.xml
@@ -1,22 +1,8 @@
-
- 800
- 600
- 7
- 800
90
-
- 150
-
-
- 800
-
true
diff --git a/res/values-large/dimens.xml b/res/values-large/dimens.xml
index 05ec9c8f81..a0fc814c67 100644
--- a/res/values-large/dimens.xml
+++ b/res/values-large/dimens.xml
@@ -53,7 +53,6 @@
30dip
60dip
- 0dip
4dip
@@ -64,9 +63,6 @@
140dp
8dip
-
- 212dip
-
0dp
diff --git a/res/values-large/styles.xml b/res/values-large/styles.xml
index 17c806b7a0..c4203fd5bf 100644
--- a/res/values-large/styles.xml
+++ b/res/values-large/styles.xml
@@ -19,11 +19,6 @@
-
-
-
-
-
-
-
-
diff --git a/src/com/android/launcher2/FocusHelper.java b/src/com/android/launcher2/FocusHelper.java
index 2a5f9c433c..233fd6fbb6 100644
--- a/src/com/android/launcher2/FocusHelper.java
+++ b/src/com/android/launcher2/FocusHelper.java
@@ -30,16 +30,6 @@ import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
-/**
- * A keyboard listener we set on all the button bar buttons.
- */
-class ButtonBarKeyEventListener implements View.OnKeyListener {
- @Override
- public boolean onKey(View v, int keyCode, KeyEvent event) {
- return FocusHelper.handleButtonBarButtonKeyEvent(v, keyCode, event);
- }
-}
-
/**
* A keyboard listener we set on all the hotseat buttons.
*/
@@ -445,95 +435,6 @@ public class FocusHelper {
return wasHandled;
}
- /**
- * Handles key events in the workspace button bar.
- */
- static boolean handleButtonBarButtonKeyEvent(View v, int keyCode, KeyEvent e) {
- if (!LauncherApplication.isScreenLarge()) return false;
-
- final ViewGroup parent = (ViewGroup) v.getParent();
- final ViewGroup launcher = (ViewGroup) parent.getParent();
- final Workspace workspace = (Workspace) launcher.findViewById(R.id.workspace);
- final int buttonIndex = parent.indexOfChild(v);
- final int buttonCount = parent.getChildCount();
- final int pageIndex = workspace.getCurrentPage();
- final int pageCount = workspace.getChildCount();
- final int firstButtonIndex = parent.indexOfChild(parent.findViewById(R.id.search_button));
- final int lastButtonIndex = parent.indexOfChild(parent.findViewById(R.id.configure_button));
-
- final int action = e.getAction();
- final boolean handleKeyEvent = (action != KeyEvent.ACTION_UP);
- boolean wasHandled = false;
- switch (keyCode) {
- case KeyEvent.KEYCODE_DPAD_LEFT:
- if (handleKeyEvent) {
- // Select the previous button, otherwise do nothing (since the button bar is
- // static)
- if (buttonIndex > firstButtonIndex) {
- int newButtonIndex = buttonIndex - 1;
- while (newButtonIndex >= firstButtonIndex) {
- View prev = parent.getChildAt(newButtonIndex);
- if (isVisible(prev) && prev.isFocusable()) {
- prev.requestFocus();
- break;
- }
- --newButtonIndex;
- }
- } else {
- if (pageIndex > 0) {
- // Snap to previous page and clear focus
- workspace.snapToPage(pageIndex - 1);
- }
- }
- }
- wasHandled = true;
- break;
- case KeyEvent.KEYCODE_DPAD_RIGHT:
- if (handleKeyEvent) {
- // Select the next button, otherwise do nothing (since the button bar is
- // static)
- if (buttonIndex < lastButtonIndex) {
- int newButtonIndex = buttonIndex + 1;
- while (newButtonIndex <= lastButtonIndex) {
- View next = parent.getChildAt(newButtonIndex);
- if (isVisible(next) && next.isFocusable()) {
- next.requestFocus();
- break;
- }
- ++newButtonIndex;
- }
- } else {
- if (pageIndex < (pageCount - 1)) {
- // Snap to next page and clear focus
- workspace.snapToPage(pageIndex + 1);
- }
- }
- }
- wasHandled = true;
- break;
- case KeyEvent.KEYCODE_DPAD_UP:
- // Do nothing
- wasHandled = true;
- break;
- case KeyEvent.KEYCODE_DPAD_DOWN:
- if (handleKeyEvent) {
- // Select the first bubble text view in the current page of the workspace
- final CellLayout layout = (CellLayout) workspace.getChildAt(pageIndex);
- final CellLayoutChildren children = layout.getChildrenLayout();
- final View newIcon = getBubbleTextViewInDirection(layout, children, -1, 1);
- if (newIcon != null) {
- newIcon.requestFocus();
- } else {
- workspace.requestFocus();
- }
- }
- wasHandled = true;
- break;
- default: break;
- }
- return wasHandled;
- }
-
/**
* Handles key events in the workspace hotseat (bottom of the screen).
*/