Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DFocusHelper.java102 final CellLayout cellLayout = (CellLayout) itemContainer.getParent(); in onKey() local
105 final FolderPagedView pagedView = (FolderPagedView) cellLayout.getParent(); in onKey()
107 final int pageIndex = pagedView.indexOfChild(cellLayout); in onKey()
111 int[][] matrix = FocusLogic.createSparseMatrix(cellLayout); in onKey()
166 child = cellLayout.getChildAt(0, 0); in onKey()
584 private static View getFirstFocusableIconInReadingOrder(CellLayout cellLayout, boolean isRtl) { in getFirstFocusableIconInReadingOrder() argument
586 int countX = cellLayout.getCountX(); in getFirstFocusableIconInReadingOrder()
587 for (int y = 0; y < cellLayout.getCountY(); y++) { in getFirstFocusableIconInReadingOrder()
590 if ((icon = cellLayout.getChildAt(x, y)) != null && icon.isFocusable()) { in getFirstFocusableIconInReadingOrder()
598 private static View getFirstFocusableIconInReverseReadingOrder(CellLayout cellLayout, in getFirstFocusableIconInReverseReadingOrder() argument
[all …]
DWorkspace.java2832 final CellLayout cellLayout = dropTargetLayout; in onDrop() local
2843 dragLayer.addResizeFrame(info, hostView, cellLayout); in onDrop()
3520 CellLayout cellLayout, boolean insertAtFirst) {
3521 onDropExternal(touchXY, dragInfo, cellLayout, insertAtFirst, null);
3533 final CellLayout cellLayout, boolean insertAtFirst, DragObject d) {
3550 final long container = mLauncher.isHotseatLayout(cellLayout) ?
3553 final long screenId = getIdForScreen(cellLayout);
3554 if (!mLauncher.isHotseatLayout(cellLayout)
3566 cellLayout, mTargetCell);
3567 float distance = cellLayout.getDistanceFromCell(mDragViewVisualCenter[0],
[all …]
DAppWidgetResizeFrame.java74 LauncherAppWidgetHostView widgetView, CellLayout cellLayout, DragLayer dragLayer) { in AppWidgetResizeFrame() argument
78 mCellLayout = cellLayout; in AppWidgetResizeFrame()
DFolderIcon.java138 final ViewGroup cellLayout = (ViewGroup) cellLayoutChildren.getParent(); in isDropEnabled() local
139 final Workspace workspace = (Workspace) cellLayout.getParent(); in isDropEnabled()
DDragLayer.java541 CellLayout cellLayout) { in addResizeFrame() argument
543 widget, cellLayout, this); in addResizeFrame()
DFolder.java1135 CellLayout cellLayout = mLauncher.getCellLayout(mInfo.container, in replaceFolderWithFinalItem()
1138 newIcon = mLauncher.createShortcut(cellLayout, finalItem); in replaceFolderWithFinalItem()
DLauncher.java903 CellLayout cellLayout = mWorkspace.getScreenWithId(mPendingAddInfo.screenId); in completeTwoStageWidgetDrop() local
927 mWorkspace.animateWidgetDrop(mPendingAddInfo, cellLayout, in completeTwoStageWidgetDrop()
/packages/apps/Launcher2/src/com/android/launcher2/
DWorkspace.java2280 final CellLayout cellLayout = dropTargetLayout;
2291 dragLayer.addResizeFrame(info, hostView, cellLayout);
2999 CellLayout cellLayout, boolean insertAtFirst) {
3000 onDropExternal(touchXY, dragInfo, cellLayout, insertAtFirst, null);
3012 final CellLayout cellLayout, boolean insertAtFirst, DragObject d) {
3028 final long container = mLauncher.isHotseatLayout(cellLayout) ?
3031 final int screen = indexOfChild(cellLayout);
3032 if (!mLauncher.isHotseatLayout(cellLayout) && screen != mCurrentPage
3043 cellLayout, mTargetCell);
3044 float distance = cellLayout.getDistanceFromCell(mDragViewVisualCenter[0],
[all …]
DAppWidgetResizeFrame.java77 LauncherAppWidgetHostView widgetView, CellLayout cellLayout, DragLayer dragLayer) { in AppWidgetResizeFrame() argument
81 mCellLayout = cellLayout; in AppWidgetResizeFrame()
DFolder.java946 CellLayout cellLayout = mLauncher.getCellLayout(mInfo.container, mInfo.screen); in replaceFolderWithFinalItem()
952 child = mLauncher.createShortcut(R.layout.application, cellLayout, in replaceFolderWithFinalItem()
960 cellLayout.removeView(mFolderIcon); in replaceFolderWithFinalItem()
DFolderIcon.java118 final ViewGroup cellLayout = (ViewGroup) cellLayoutChildren.getParent(); in isDropEnabled() local
119 final Workspace workspace = (Workspace) cellLayout.getParent(); in isDropEnabled()
DDragLayer.java441 CellLayout cellLayout) { in addResizeFrame() argument
443 widget, cellLayout, this); in addResizeFrame()
DLauncher.java721 CellLayout cellLayout = in completeTwoStageWidgetDrop() local
753 mWorkspace.animateWidgetDrop(mPendingAddInfo, cellLayout, in completeTwoStageWidgetDrop()