Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DFocusHelper.java214 final Workspace workspace = (Workspace) v.getRootView().findViewById(R.id.workspace); in handleHotseatButtonKeyEvent() local
219 int pageIndex = workspace.getNextPage(); in handleHotseatButtonKeyEvent()
220 int pageCount = workspace.getChildCount(); in handleHotseatButtonKeyEvent()
225 final CellLayout iconLayout = (CellLayout) workspace.getChildAt(pageIndex); in handleHotseatButtonKeyEvent()
274 parent = getCellLayoutChildrenForIndex(workspace, pageIndex + 1); in handleHotseatButtonKeyEvent()
278 workspace.snapToPage(pageIndex + 1); in handleHotseatButtonKeyEvent()
281 parent = getCellLayoutChildrenForIndex(workspace, pageIndex - 1); in handleHotseatButtonKeyEvent()
285 workspace.snapToPage(pageIndex - 1); in handleHotseatButtonKeyEvent()
288 parent = getCellLayoutChildrenForIndex(workspace, pageIndex - 1); in handleHotseatButtonKeyEvent()
292 workspace.snapToPage(pageIndex - 1); in handleHotseatButtonKeyEvent()
[all …]
DDeviceProfile.java477 PagedView workspace = (PagedView) launcher.findViewById(R.id.workspace); in layout() local
478 lp = (FrameLayout.LayoutParams) workspace.getLayoutParams(); in layout()
481 workspace.setLayoutParams(lp); in layout()
482 workspace.setPadding(padding.left, padding.top, padding.right, padding.bottom); in layout()
483 workspace.setPageSpacing(getWorkspacePageSpacing(isLayoutRtl)); in layout()
DDragLayer.java871 Workspace workspace = mLauncher.getWorkspace(); in showPageHints() local
872 getDescendantRectRelativeToSelf(workspace.getChildAt(workspace.numCustomPages()), in showPageHints()
895 Workspace workspace = mLauncher.getWorkspace(); in drawPageHints() local
897 int page = workspace.getNextPage(); in drawPageHints()
898 CellLayout leftPage = (CellLayout) workspace.getChildAt(mIsRtl ? page + 1 : page - 1); in drawPageHints()
899 CellLayout rightPage = (CellLayout) workspace.getChildAt(mIsRtl ? page - 1 : page + 1); in drawPageHints()
DFolderIcon.java139 final Workspace workspace = (Workspace) cellLayout.getParent(); in isDropEnabled() local
140 return !workspace.workspaceInModalState(); in isDropEnabled()
436 Workspace workspace = mLauncher.getWorkspace(); in onDrop() local
438 workspace.setFinalTransitionTransform((CellLayout) getParent().getParent()); in onDrop()
447 workspace.resetTransitionTransform((CellLayout) getParent().getParent()); in onDrop()
DWorkspaceStateTransitionAnimation.java203 public WorkspaceStateTransitionAnimation(Launcher launcher, Workspace workspace) { in WorkspaceStateTransitionAnimation() argument
205 mWorkspace = workspace; in WorkspaceStateTransitionAnimation()
DLauncher.java1335 mWorkspace = (Workspace) mDragLayer.findViewById(R.id.workspace); in setupViews()
3884 Workspace workspace = mWorkspace; in bindItems() local
3922 (ViewGroup) workspace.getChildAt(workspace.getCurrentPage()), in bindItems()
3929 workspace.addInScreenFromBind(view, item.container, item.screenId, item.cellX, in bindItems()
3969 workspace.requestLayout(); in bindItems()
/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.java783 Workspace workspace = mLauncher.getWorkspace(); in dispatchDraw() local
784 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()
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.java1023 mWorkspace = (Workspace) mDragLayer.findViewById(R.id.workspace); in setupViews()
2541 private void setWorkspaceBackground(boolean workspace) { in setWorkspaceBackground() argument
2542 mLauncherView.setBackground(workspace ? in setWorkspaceBackground()
3461 final Workspace workspace = mWorkspace; in startBinding() local
3465 int count = workspace.getChildCount(); in startBinding()
3468 final CellLayout layoutParent = (CellLayout) workspace.getChildAt(i); in startBinding()
3495 Workspace workspace = mWorkspace; in bindItems() local
3511 workspace.addInScreen(shortcut, item.container, item.screen, item.cellX, in bindItems()
3532 (ViewGroup) workspace.getChildAt(workspace.getCurrentPage()), in bindItems()
3534 workspace.addInScreen(newFolder, item.container, item.screen, item.cellX, in bindItems()
[all …]
DAppWidgetResizeFrame.java85 mWorkspace = (Workspace) dragLayer.findViewById(R.id.workspace); in AppWidgetResizeFrame()
DAppsCustomizePagedView.java879 Workspace workspace = (Workspace) target; in onDropCompleted() local
880 CellLayout layout = (CellLayout) workspace.getChildAt(currentScreen); in onDropCompleted()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DLauncherAccessibilityDelegate.java166 Workspace workspace = mLauncher.getWorkspace(); in performAction()
167 workspace.snapToPage(workspace.getPageIndexForScreenId(screenId)); in performAction()
354 Workspace workspace = mLauncher.getWorkspace(); in beginAccessibleDrag() local
356 Folder folder = workspace.getOpenFolder(); in beginAccessibleDrag()
365 mDragSource = workspace; in beginAccessibleDrag()
401 Workspace workspace = mLauncher.getWorkspace(); in findSpaceOnWorkspace() local
402 ArrayList<Long> workspaceScreens = workspace.getScreenOrder(); in findSpaceOnWorkspace()
406 int screenIndex = workspace.getCurrentPage(); in findSpaceOnWorkspace()
408 CellLayout layout = (CellLayout) workspace.getPageAt(screenIndex); in findSpaceOnWorkspace()
411 screenIndex = workspace.hasCustomContent() ? 1 : 0; in findSpaceOnWorkspace()
[all …]
DOverviewScreenAccessibilityDelegate.java41 public OverviewScreenAccessibilityDelegate(Workspace workspace) { in OverviewScreenAccessibilityDelegate() argument
42 mWorkspace = workspace; in OverviewScreenAccessibilityDelegate()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetsContainerView.java295 Workspace workspace = (Workspace) target; in onDropCompleted() local
296 CellLayout layout = (CellLayout) workspace.getChildAt(currentScreen); in onDropCompleted()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsContainerView.java502 Workspace workspace = (Workspace) target; in onDropCompleted() local
503 CellLayout layout = (CellLayout) workspace.getChildAt(currentScreen); in onDropCompleted()
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz