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
This commit is contained in:
Michael Jurka
2011-05-12 14:57:05 -07:00
parent 70a10240a9
commit a2eb17095d
147 changed files with 60 additions and 58 deletions

View File

@@ -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 {