Searched refs:mCellLayout (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/celllayout/ |
D | ReorderAlgorithm.java | 38 CellLayout mCellLayout; field in ReorderAlgorithm 41 mCellLayout = cellLayout; in ReorderAlgorithm() 58 return findReorderSolution(reorderParameters, mCellLayout.mDirectionVector, decX); in findReorderSolution() 87 mCellLayout.copyCurrentStateToSolution(solution); in findReorderSolutionRecursive() 90 mCellLayout.getOccupied().copyTo(mCellLayout.mTmpOccupied); in findReorderSolutionRecursive() 95 result = mCellLayout.findNearestAreaIgnoreOccupied(pixelX, pixelY, spanX, spanY, result); in findReorderSolutionRecursive() 194 mCellLayout.mTmpOccupied.markCells(c, false); in addViewToTempLocation() 195 mCellLayout.mTmpOccupied.markCells(rectOccupiedByPotentialDrop, true); in addViewToTempLocation() 198 mCellLayout.mTmpOccupied.cells, null, new int[2]); in addViewToTempLocation() 205 mCellLayout.mTmpOccupied.markCells(c, true); in addViewToTempLocation() [all …]
|
D | MulticellReorderAlgorithm.java | 44 cell.cellX > mCellLayout.getCountX() / 2 ? cell.cellX - 1 : cell.cellX); in removeSeamFromSolution() 46 solution.cellX > mCellLayout.getCountX() / 2 ? solution.cellX - 1 : solution.cellX; in removeSeamFromSolution() 72 MultipageCellLayout mcl = (MultipageCellLayout) mCellLayout; in addSeam() 84 MultipageCellLayout mcl = (MultipageCellLayout) mCellLayout; in removeSeam() 99 MultipageCellLayout mcl = (MultipageCellLayout) mCellLayout; in simulateSeam() 112 ShortcutAndWidgetContainer shortcutAndWidgets = mCellLayout.getShortcutsAndWidgets(); in createGridOccupancyWithSeam() 113 GridOccupancy grid = new GridOccupancy(mCellLayout.getCountX(), mCellLayout.getCountY()); in createGridOccupancyWithSeam() 117 int seamOffset = lp.getCellX() >= mCellLayout.getCountX() / 2 && lp.canReorder ? 1 : 0; in createGridOccupancyWithSeam() 121 Arrays.fill(grid.cells[mCellLayout.getCountX() / 2], true); in createGridOccupancyWithSeam()
|
D | ViewCluster.kt | 30 private val mCellLayout: CellLayout, in <lambda>() constant in com.android.launcher3.celllayout.ViewCluster 38 private val leftEdge = IntArray(mCellLayout.countY) in <lambda>() 39 private val rightEdge = IntArray(mCellLayout.countY) in <lambda>() 40 private val topEdge = IntArray(mCellLayout.countX) in <lambda>() 41 private val bottomEdge = IntArray(mCellLayout.countX) in <lambda>() 52 for (i in 0 until mCellLayout.countX) { in <lambda>() 56 for (i in 0 until mCellLayout.countY) { in <lambda>()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | AppWidgetResizeFrame.java | 81 private CellLayout mCellLayout; field in AppWidgetResizeFrame 240 mCellLayout = cellLayout; in setupForWidget() 318 mCellLayout.markCellsAsUnoccupiedForView(mWidgetView); in setupForWidget() 392 if (mCellLayout.getParent() instanceof Workspace) { 393 Workspace<?> workspace = (Workspace<?>) mCellLayout.getParent(); 394 CellLayout pairedCellLayout = workspace.getScreenPair(mCellLayout); 397 mDragLayerRelativeCoordinateHelper.viewToRect(mCellLayout, focusedCellLayoutBound); 401 if (workspace.indexOfChild(pairedCellLayout) < workspace.indexOfChild(mCellLayout) 408 > workspace.indexOfChild(mCellLayout) 417 updateInvalidResizeEffect(mCellLayout, pairedCellLayout, alpha, [all …]
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/folder/ |
D | PreviewBackgroundTest.java | 52 CellLayout mCellLayout; field in PreviewBackgroundTest 129 mPreviewBackground.animateToAccept(mCellLayout, 0, 0); in testAnimateScale_restToAccept() 200 mPreviewBackground.animateToAccept(mCellLayout, 0, 0); in testAnimateScale_hoverToAccept() 224 mPreviewBackground.animateToAccept(mCellLayout, 0, 0); in testAnimateScale_midwayToHoverToAccept() 242 mPreviewBackground.animateToAccept(mCellLayout, 0, 0); in testAnimateScale_partWayToAcceptToHover() 263 mPreviewBackground.animateToAccept(mCellLayout, 0, 0); in testAnimateScale_midwayToAcceptEqualsHover() 299 mPreviewBackground.animateToAccept(mCellLayout, 0, 0); in testAnimateScale_midwayToAcceptToRest()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | FolderAnimationManager.java | 293 private CellLayout mCellLayout; in getAnimator() 305 mCellLayout = mContent.getCurrentCellLayout(); in getAnimator() 310 mCellLayoutClipChildren = mCellLayout.getClipChildren(); in getAnimator() 311 mCellLayoutClipPadding = mCellLayout.getClipToPadding(); in getAnimator() 317 mCellLayout.setClipChildren(false); in getAnimator() 318 mCellLayout.setClipToPadding(false); in getAnimator() 338 mCellLayout.setClipChildren(mCellLayoutClipChildren); in getAnimator() 339 mCellLayout.setClipToPadding(mCellLayoutClipPadding); in getAnimator()
|