Fixing focus issues in Launcher (keyboard support).

Change-Id: Ieafd713393daf5628f229a66441bd3ed293245da
This commit is contained in:
Winson Chung
2011-04-13 11:27:36 -07:00
parent 721a06bb65
commit 97d85d23b0
31 changed files with 1163 additions and 93 deletions
+8
View File
@@ -1252,6 +1252,14 @@ public class Workspace extends SmoothPagedView
return false;
}
@Override
public int getDescendantFocusability() {
if (mIsSmall) {
return ViewGroup.FOCUS_BLOCK_DESCENDANTS;
}
return super.getDescendantFocusability();
}
@Override
public void addFocusables(ArrayList<View> views, int direction, int focusableMode) {
if (!mLauncher.isAllAppsVisible()) {