Home
last modified time | relevance | path

Searched refs:workspace (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
DFocusHelper.java496 final Workspace workspace = (Workspace) launcher.findViewById(R.id.workspace); in handleHotseatButtonKeyEvent() local
499 final int pageIndex = workspace.getCurrentPage(); in handleHotseatButtonKeyEvent()
515 workspace.snapToPage(pageIndex - 1); in handleHotseatButtonKeyEvent()
526 workspace.snapToPage(pageIndex + 1); in handleHotseatButtonKeyEvent()
534 final CellLayout layout = (CellLayout) workspace.getChildAt(pageIndex); in handleHotseatButtonKeyEvent()
540 workspace.requestFocus(); in handleHotseatButtonKeyEvent()
667 final Workspace workspace = (Workspace) layout.getParent(); in handleIconKeyEvent() local
668 final ViewGroup launcher = (ViewGroup) workspace.getParent(); in handleIconKeyEvent()
671 int pageIndex = workspace.indexOfChild(layout); in handleIconKeyEvent()
672 int pageCount = workspace.getChildCount(); in handleIconKeyEvent()
[all …]
DHandleView.java57 final Workspace workspace = mLauncher.getWorkspace(); in focusSearch() local
58 workspace.dispatchUnhandledMove(null, direction); in focusSearch()
60 this : workspace; in focusSearch()
DDragLayer.java750 Workspace workspace = mLauncher.getWorkspace(); in dispatchDraw() local
751 int width = workspace.getWidth(); in dispatchDraw()
753 getDescendantRectRelativeToSelf(workspace.getChildAt(0), childRect); in dispatchDraw()
755 int page = workspace.getNextPage(); in dispatchDraw()
756 CellLayout leftPage = (CellLayout) workspace.getChildAt(page - 1); in dispatchDraw()
757 CellLayout rightPage = (CellLayout) workspace.getChildAt(page + 1); in dispatchDraw()
DFolderIcon.java119 final Workspace workspace = (Workspace) cellLayout.getParent(); in isDropEnabled() local
120 return !workspace.isSmall(); in isDropEnabled()
374 Workspace workspace = mLauncher.getWorkspace(); in onDrop() local
376 workspace.setFinalTransitionTransform((CellLayout) getParent().getParent()); in onDrop()
385 workspace.resetTransitionTransform((CellLayout) getParent().getParent()); in onDrop()
DLauncher.java935 mWorkspace = (Workspace) mDragLayer.findViewById(R.id.workspace); in setupViews()
2394 private void setWorkspaceBackground(boolean workspace) { in setWorkspaceBackground() argument
2395 mLauncherView.setBackground(workspace ? in setWorkspaceBackground()
3294 final Workspace workspace = mWorkspace; in startBinding() local
3299 int count = workspace.getChildCount(); in startBinding()
3302 final CellLayout layoutParent = (CellLayout) workspace.getChildAt(i); in startBinding()
3323 Workspace workspace = mWorkspace; in bindItems() local
3339 workspace.addInScreen(shortcut, item.container, item.screen, item.cellX, in bindItems()
3360 (ViewGroup) workspace.getChildAt(workspace.getCurrentPage()), in bindItems()
3362 workspace.addInScreen(newFolder, item.container, item.screen, item.cellX, in bindItems()
[all …]
DAppWidgetResizeFrame.java85 mWorkspace = (Workspace) dragLayer.findViewById(R.id.workspace); in AppWidgetResizeFrame()
DAppsCustomizePagedView.java935 Workspace workspace = (Workspace) target; in onDropCompleted() local
936 CellLayout layout = (CellLayout) workspace.getChildAt(currentScreen); in onDropCompleted()