diff options
author | Michael Jurka <mikejurka@google.com> | 2011-05-12 14:57:05 -0700 |
---|---|---|
committer | Michael Jurka <mikejurka@google.com> | 2011-05-12 15:07:49 -0700 |
commit | a2eb17095dcffa75c1e9681fdc318fe6e0564321 (patch) | |
tree | 537fb76a51d7be08e730837ea581d9db40ac5ee9 /src/com/android/launcher2/PagedViewWidget.java | |
parent | 70a10240a9136146f60f07ebfbda9ffd7c955ab3 (diff) | |
download | packages_apps_trebuchet-a2eb17095dcffa75c1e9681fdc318fe6e0564321.zip packages_apps_trebuchet-a2eb17095dcffa75c1e9681fdc318fe6e0564321.tar.gz packages_apps_trebuchet-a2eb17095dcffa75c1e9681fdc318fe6e0564321.tar.bz2 |
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/PagedViewWidget.java')
-rw-r--r-- | src/com/android/launcher2/PagedViewWidget.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/launcher2/PagedViewWidget.java b/src/com/android/launcher2/PagedViewWidget.java index 6492888..2ffa398 100644 --- a/src/com/android/launcher2/PagedViewWidget.java +++ b/src/com/android/launcher2/PagedViewWidget.java @@ -257,7 +257,7 @@ public class PagedViewWidget extends LinearLayout implements Checkable { @Override public boolean onKeyDown(int keyCode, KeyEvent event) { - if (LauncherApplication.isScreenXLarge()) { + if (LauncherApplication.isScreenLarge()) { return FocusHelper.handlePagedViewWidgetKeyEvent(this, keyCode, event) || super.onKeyDown(keyCode, event); } else { @@ -268,7 +268,7 @@ public class PagedViewWidget extends LinearLayout implements Checkable { @Override public boolean onKeyUp(int keyCode, KeyEvent event) { - if (LauncherApplication.isScreenXLarge()) { + if (LauncherApplication.isScreenLarge()) { return FocusHelper.handlePagedViewWidgetKeyEvent(this, keyCode, event) || super.onKeyUp(keyCode, event); } else { |