Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DFocusHelper.java108 final CellLayout cellLayout = (CellLayout) itemContainer.getParent(); in onKey() local
111 final FolderPagedView pagedView = (FolderPagedView) cellLayout.getParent(); in onKey()
113 final int pageIndex = pagedView.indexOfChild(cellLayout); in onKey()
117 int[][] matrix = FocusLogic.createSparseMatrix(cellLayout); in onKey()
172 child = cellLayout.getChildAt(0, 0); in onKey()
538 private static View getFirstFocusableIconInReadingOrder(CellLayout cellLayout, boolean isRtl) { in getFirstFocusableIconInReadingOrder() argument
540 int countX = cellLayout.getCountX(); in getFirstFocusableIconInReadingOrder()
541 for (int y = 0; y < cellLayout.getCountY(); y++) { in getFirstFocusableIconInReadingOrder()
544 if ((icon = cellLayout.getChildAt(x, y)) != null && icon.isFocusable()) { in getFirstFocusableIconInReadingOrder()
552 private static View getFirstFocusableIconInReverseReadingOrder(CellLayout cellLayout, in getFirstFocusableIconInReverseReadingOrder() argument
[all …]
DWorkspace.java1884 final CellLayout cellLayout = dropTargetLayout; in onDrop() local
1895 AppWidgetResizeFrame.showForWidget(hostView, cellLayout); in onDrop()
2440 private void onDropExternal(final int[] touchXY, final CellLayout cellLayout, DragObject d) {
2460 final int container = mLauncher.isHotseatLayout(cellLayout) ?
2463 final int screenId = getIdForScreen(cellLayout);
2464 if (!mLauncher.isHotseatLayout(cellLayout)
2476 cellLayout, mTargetCell);
2477 float distance = cellLayout.getDistanceFromCell(mDragViewVisualCenter[0],
2479 if (willCreateUserFolder(d.dragInfo, cellLayout, mTargetCell, distance, true)
2481 d.dragInfo, cellLayout, mTargetCell, distance)) {
[all …]
DAppWidgetResizeFrame.java142 public static void showForWidget(LauncherAppWidgetHostView widget, CellLayout cellLayout) { in showForWidget() argument
143 Launcher launcher = Launcher.getLauncher(cellLayout.getContext()); in showForWidget()
149 frame.setupForWidget(widget, cellLayout, dl); in showForWidget()
157 private void setupForWidget(LauncherAppWidgetHostView widgetView, CellLayout cellLayout, in setupForWidget() argument
159 mCellLayout = cellLayout; in setupForWidget()
DLauncher.java855 CellLayout cellLayout = mWorkspace.getScreenWithId(requestArgs.screenId); in completeTwoStageWidgetDrop() local
877 mWorkspace.animateWidgetDrop(requestArgs, cellLayout, in completeTwoStageWidgetDrop()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/
DStaggeredWorkspaceAnim.java82 CellLayout cellLayout = (CellLayout) workspace.getChildAt(workspace.getCurrentPage()); in StaggeredWorkspaceAnim() local
83 ShortcutAndWidgetContainer currentPage = cellLayout.getShortcutsAndWidgets(); in StaggeredWorkspaceAnim()
88 boolean cellLayoutClipChildren = cellLayout.getClipChildren(); in StaggeredWorkspaceAnim()
89 boolean cellLayoutClipToPadding = cellLayout.getClipToPadding(); in StaggeredWorkspaceAnim()
95 cellLayout.setClipChildren(false); in StaggeredWorkspaceAnim()
96 cellLayout.setClipToPadding(false); in StaggeredWorkspaceAnim()
145 cellLayout.setClipChildren(cellLayoutClipChildren); in StaggeredWorkspaceAnim()
146 cellLayout.setClipToPadding(cellLayoutClipToPadding); in StaggeredWorkspaceAnim()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderAnimationManager.java225 CellLayout cellLayout = mContent.getCurrentCellLayout(); in getAnimator() local
230 boolean cellLayoutClipChildren = cellLayout.getClipChildren(); in getAnimator()
231 boolean cellLayoutClipPadding = cellLayout.getClipToPadding(); in getAnimator()
237 cellLayout.setClipChildren(false); in getAnimator()
238 cellLayout.setClipToPadding(false); in getAnimator()
258 cellLayout.setClipChildren(cellLayoutClipChildren); in getAnimator()
259 cellLayout.setClipToPadding(cellLayoutClipPadding); in getAnimator()
DFolder.java1075 CellLayout cellLayout = mLauncher.getCellLayout(mInfo.container, in replaceFolderWithFinalItem()
1078 newIcon = mLauncher.createShortcut(cellLayout, finalItem); in replaceFolderWithFinalItem()