Searched refs:workspace (Results 1 – 17 of 17) sorted by relevance
496 final Workspace workspace = (Workspace) launcher.findViewById(R.id.workspace); in handleHotseatButtonKeyEvent() local499 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() local668 final ViewGroup launcher = (ViewGroup) workspace.getParent(); in handleIconKeyEvent()671 int pageIndex = workspace.indexOfChild(layout); in handleIconKeyEvent()672 int pageCount = workspace.getChildCount(); in handleIconKeyEvent()[all …]
783 Workspace workspace = mLauncher.getWorkspace(); in dispatchDraw() local784 int width = workspace.getWidth(); in dispatchDraw()786 getDescendantRectRelativeToSelf(workspace.getChildAt(0), childRect); in dispatchDraw()788 int page = workspace.getNextPage(); in dispatchDraw()790 CellLayout leftPage = (CellLayout) workspace.getChildAt(isRtl ? page + 1 : page - 1); in dispatchDraw()791 CellLayout rightPage = (CellLayout) workspace.getChildAt(isRtl ? page - 1 : page + 1); in dispatchDraw()
997 mWorkspace = (Workspace) mDragLayer.findViewById(R.id.workspace); in setupViews()2515 private void setWorkspaceBackground(boolean workspace) { in setWorkspaceBackground() argument2516 mLauncherView.setBackground(workspace ? in setWorkspaceBackground()3435 final Workspace workspace = mWorkspace; in startBinding() local3439 int count = workspace.getChildCount(); in startBinding()3442 final CellLayout layoutParent = (CellLayout) workspace.getChildAt(i); in startBinding()3469 Workspace workspace = mWorkspace; in bindItems() local3485 workspace.addInScreen(shortcut, item.container, item.screen, item.cellX, in bindItems()3506 (ViewGroup) workspace.getChildAt(workspace.getCurrentPage()), in bindItems()3508 workspace.addInScreen(newFolder, item.container, item.screen, item.cellX, in bindItems()[all …]
119 final Workspace workspace = (Workspace) cellLayout.getParent(); in isDropEnabled() local120 return !workspace.isSmall(); in isDropEnabled()374 Workspace workspace = mLauncher.getWorkspace(); in onDrop() local376 workspace.setFinalTransitionTransform((CellLayout) getParent().getParent()); in onDrop()385 workspace.resetTransitionTransform((CellLayout) getParent().getParent()); in onDrop()
57 final Workspace workspace = mLauncher.getWorkspace(); in focusSearch() local58 workspace.dispatchUnhandledMove(null, direction); in focusSearch()60 this : workspace; in focusSearch()
879 Workspace workspace = (Workspace) target; in onDropCompleted() local880 CellLayout layout = (CellLayout) workspace.getChildAt(currentScreen); in onDropCompleted()
85 mWorkspace = (Workspace) dragLayer.findViewById(R.id.workspace); in AppWidgetResizeFrame()
490 final Workspace workspace = (Workspace) in handleHotseatButtonKeyEvent() local491 v.getRootView().findViewById(R.id.workspace); in handleHotseatButtonKeyEvent()492 if (workspace != null) { in handleHotseatButtonKeyEvent()493 int pageIndex = workspace.getCurrentPage(); in handleHotseatButtonKeyEvent()494 CellLayout topLayout = (CellLayout) workspace.getChildAt(pageIndex); in handleHotseatButtonKeyEvent()502 workspace.requestFocus(); in handleHotseatButtonKeyEvent()630 final Workspace workspace = (Workspace) layout.getParent(); in handleIconKeyEvent() local631 final ViewGroup launcher = (ViewGroup) workspace.getParent(); in handleIconKeyEvent()634 int pageIndex = workspace.indexOfChild(layout); in handleIconKeyEvent()635 int pageCount = workspace.getChildCount(); in handleIconKeyEvent()[all …]
907 Workspace workspace = mLauncher.getWorkspace(); in drawPageHints() local910 getDescendantRectRelativeToSelf(workspace.getChildAt(workspace.getChildCount() - 1), in drawPageHints()913 int page = workspace.getNextPage(); in drawPageHints()915 CellLayout leftPage = (CellLayout) workspace.getChildAt(isRtl ? page + 1 : page - 1); in drawPageHints()916 CellLayout rightPage = (CellLayout) workspace.getChildAt(isRtl ? page - 1 : page + 1); in drawPageHints()
762 PagedView workspace = (PagedView) launcher.findViewById(R.id.workspace); in layout() local763 lp = (FrameLayout.LayoutParams) workspace.getLayoutParams(); in layout()767 workspace.setLayoutParams(lp); in layout()768 workspace.setPadding(padding.left, padding.top, padding.right, padding.bottom); in layout()769 workspace.setPageSpacing(getWorkspacePageSpacing(orientation)); in layout()
135 final Workspace workspace = (Workspace) cellLayout.getParent(); in isDropEnabled() local136 return !workspace.workspaceInModalState(); in isDropEnabled()433 Workspace workspace = mLauncher.getWorkspace(); in onDrop() local435 workspace.setFinalTransitionTransform((CellLayout) getParent().getParent()); in onDrop()444 workspace.resetTransitionTransform((CellLayout) getParent().getParent()); in onDrop()
1284 mWorkspace = (Workspace) mDragLayer.findViewById(R.id.workspace); in setupViews()3113 private void setWorkspaceBackground(boolean workspace) { in setWorkspaceBackground() argument3114 mLauncherView.setBackground(workspace ? in setWorkspaceBackground()4331 Workspace workspace = mWorkspace; in bindItems() local4366 … workspace.addInScreenFromBind(shortcut, item.container, item.screenId, item.cellX, in bindItems()4379 (ViewGroup) workspace.getChildAt(workspace.getCurrentPage()), in bindItems()4381 … workspace.addInScreenFromBind(newFolder, item.container, item.screenId, item.cellX, in bindItems()4417 workspace.requestLayout(); in bindItems()4455 final Workspace workspace = mWorkspace; in bindAppWidget() local4529 workspace.addInScreen(item.hostView, item.container, item.screenId, item.cellX, in bindAppWidget()[all …]
187 Launcher launcher, Workspace workspace) { in addAllAppsFolder() argument203 workspace.addInScreen(folder, fi.container, fi.screenId, fi.cellX, fi.cellY, in addAllAppsFolder()
790 Workspace workspace = (Workspace) target; in onDropCompleted() local791 CellLayout layout = (CellLayout) workspace.getChildAt(currentScreen); in onDropCompleted()
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...