diff options
author | Joe Onorato <joeo@android.com> | 2009-09-14 17:55:46 -0400 |
---|---|---|
committer | Joe Onorato <joeo@android.com> | 2009-09-14 17:55:46 -0400 |
commit | fb0ca67aea25f4282096d9247ddaebee6fbf7e00 (patch) | |
tree | 8036a60b369a9f27f0fff9e63df2a8b4fa57b3a3 /src/com/android/launcher2/Workspace.java | |
parent | e498ab9986cf0d3f2d7bc1511d80134427ad2303 (diff) | |
download | android_packages_apps_Trebuchet-fb0ca67aea25f4282096d9247ddaebee6fbf7e00.tar.gz android_packages_apps_Trebuchet-fb0ca67aea25f4282096d9247ddaebee6fbf7e00.tar.bz2 android_packages_apps_Trebuchet-fb0ca67aea25f4282096d9247ddaebee6fbf7e00.zip |
checkpoint 3d all apps entrance / exit animations
Diffstat (limited to 'src/com/android/launcher2/Workspace.java')
-rw-r--r-- | src/com/android/launcher2/Workspace.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/com/android/launcher2/Workspace.java b/src/com/android/launcher2/Workspace.java index 01985e94b..2fe41133c 100644 --- a/src/com/android/launcher2/Workspace.java +++ b/src/com/android/launcher2/Workspace.java @@ -600,7 +600,7 @@ public class Workspace extends ViewGroup implements DropTarget, DragSource, Drag @Override protected boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) { - if (mLauncher.isDrawerDown()) { + if (mLauncher.isAllAppsVisible()) { final Folder openFolder = getOpenFolder(); if (openFolder != null) { return openFolder.requestFocus(direction, previouslyFocusedRect); @@ -635,7 +635,7 @@ public class Workspace extends ViewGroup implements DropTarget, DragSource, Drag @Override public void addFocusables(ArrayList<View> views, int direction, int focusableMode) { - if (mLauncher.isDrawerDown()) { + if (mLauncher.isAllAppsVisible()) { final Folder openFolder = getOpenFolder(); if (openFolder == null) { getChildAt(mCurrentScreen).addFocusables(views, direction); @@ -656,7 +656,7 @@ public class Workspace extends ViewGroup implements DropTarget, DragSource, Drag @Override public boolean onInterceptTouchEvent(MotionEvent ev) { - if (mLauncher.isWorkspaceLocked() || !mLauncher.isDrawerDown()) { + if (mLauncher.isWorkspaceLocked() || !mLauncher.isAllAppsVisible()) { return false; // We don't want the events. Let them fall through to the all apps view. } @@ -766,7 +766,7 @@ public class Workspace extends ViewGroup implements DropTarget, DragSource, Drag @Override public boolean onTouchEvent(MotionEvent ev) { - if (mLauncher.isWorkspaceLocked() || !mLauncher.isDrawerDown()) { + if (mLauncher.isWorkspaceLocked() || !mLauncher.isAllAppsVisible()) { return false; // We don't want the events. Let them fall through to the all apps view. } |