summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/FocusHelper.java
diff options
context:
space:
mode:
authorMichael Jurka <mikejurka@google.com>2011-05-12 14:57:05 -0700
committerMichael Jurka <mikejurka@google.com>2011-05-12 15:07:49 -0700
commita2eb17095dcffa75c1e9681fdc318fe6e0564321 (patch)
tree537fb76a51d7be08e730837ea581d9db40ac5ee9 /src/com/android/launcher2/FocusHelper.java
parent70a10240a9136146f60f07ebfbda9ffd7c955ab3 (diff)
downloadandroid_packages_apps_Trebuchet-a2eb17095dcffa75c1e9681fdc318fe6e0564321.tar.gz
android_packages_apps_Trebuchet-a2eb17095dcffa75c1e9681fdc318fe6e0564321.tar.bz2
android_packages_apps_Trebuchet-a2eb17095dcffa75c1e9681fdc318fe6e0564321.zip
Moving tablet interface to 'large' devices
(later, we will decide this more accurately based on the width of the screen in dips, but for now keeping changes so that they can easily be backported to earlier versions of Android) Change-Id: I203addcbf19e8e3813c488af47e4fdf90dcd3115
Diffstat (limited to 'src/com/android/launcher2/FocusHelper.java')
-rw-r--r--src/com/android/launcher2/FocusHelper.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/launcher2/FocusHelper.java b/src/com/android/launcher2/FocusHelper.java
index f14ebaeb9..861a70b2d 100644
--- a/src/com/android/launcher2/FocusHelper.java
+++ b/src/com/android/launcher2/FocusHelper.java
@@ -132,7 +132,7 @@ public class FocusHelper {
* To be deprecated.
*/
static boolean handlePagedViewWidgetKeyEvent(PagedViewWidget w, int keyCode, KeyEvent e) {
- if (!LauncherApplication.isScreenXLarge()) return false;
+ if (!LauncherApplication.isScreenLarge()) return false;
final PagedViewExtendedLayout parent = (PagedViewExtendedLayout) w.getParent();
final ViewGroup container = (ViewGroup) parent.getParent();
@@ -522,7 +522,7 @@ public class FocusHelper {
* Handles key events in the tab widget.
*/
static boolean handleTabKeyEvent(AccessibleTabView v, int keyCode, KeyEvent e) {
- if (!LauncherApplication.isScreenXLarge()) return false;
+ if (!LauncherApplication.isScreenLarge()) return false;
final FocusOnlyTabWidget parent = (FocusOnlyTabWidget) v.getParent();
final TabHost tabHost = findTabHostParent(parent);
@@ -577,7 +577,7 @@ public class FocusHelper {
* Handles key events in the workspace button bar.
*/
static boolean handleButtonBarButtonKeyEvent(View v, int keyCode, KeyEvent e) {
- if (!LauncherApplication.isScreenXLarge()) return false;
+ if (!LauncherApplication.isScreenLarge()) return false;
final ViewGroup parent = (ViewGroup) v.getParent();
final ViewGroup launcher = (ViewGroup) parent.getParent();