/packages/apps/Launcher3/src/com/android/launcher3/celllayout/ |
D | CellLayoutLayoutParams.java | 94 this.mCellX = source.getCellX(); in CellLayoutLayoutParams() 134 int myCellX = useTmpCoords ? getTmpCellX() : getCellX(); in setup() 173 return "(" + this.getCellX() + ", " + this.getCellY() + ")"; in toString() 179 public int getCellX() { in getCellX() method in CellLayoutLayoutParams
|
D | MulticellReorderAlgorithm.java | 117 int seamOffset = lp.getCellX() >= mCellLayout.getCountX() / 2 && lp.canReorder ? 1 : 0; in createGridOccupancyWithSeam() 118 grid.markCells(lp.getCellX() + seamOffset, lp.getCellY(), lp.cellHSpan, lp.cellVSpan, in createGridOccupancyWithSeam()
|
D | ReorderAlgorithm.java | 147 view -> ((CellLayoutLayoutParams) ((View) view).getLayoutParams()).getCellX() in rearrangementExists()
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/celllayout/ |
D | CellLayoutTestUtils.java | 43 params.getCellX(), params.getCellY(), in workspaceToBoards() 70 board.addIcon(params.getCellX(), params.getCellY()); in viewsToBoard() 73 board.addWidget(params.getCellX(), params.getCellY(), params.cellHSpan, in viewsToBoard()
|
D | ReorderAlgorithmUnitTest.java | 159 .comparing(WidgetRect::getCellX) in solve() 162 widget -> addViewInCellLayout(cl, widget.getCellX(), widget.getCellY(), in solve()
|
D | HotseatReorderUnitTest.kt | 124 Comparator.comparing(WidgetRect::getCellX).thenComparing(WidgetRect::getCellY) in solve()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/celllayout/ |
D | TaplReorderWidgetsTest.java | 130 if (widget.getCellX() == 0 && widget.getCellY() == 0) { in getWidgetClosestTo() 133 int distance = Math.abs(point.x - widget.getCellX()) in getWidgetClosestTo() 158 Widget widget = mLauncher.getWorkspace().getWidgetAtCell(widgetRect.getCellX(), in triggerWidgetResize() 160 WidgetResizeFrame resizeFrame = widget.dragWidgetToWorkspace(widgetRect.getCellX(), in triggerWidgetResize() 181 Widget widget = mLauncher.getWorkspace().getWidgetAtCell(mainWidgetCellPos.getCellX(), in runTestCase()
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/celllayout/board/ |
D | WidgetRect.java | 38 public int getCellX() { in getCellX() method in WidgetRect 56 return "WidgetRect type = " + mType + " x = " + getCellX() + " | y " + getCellY() in toString()
|
D | TestWorkspaceBuilder.java | 64 int initX = widgetRect.getCellX(); in fillWithWidgets() 139 item.cellX = widgetRect.getCellX(); in createWidgetInCell()
|
D | CellLayoutBoard.java | 80 Boolean isXInRect = x >= rect.getCellX() && x < rect.getCellX() + rect.getSpanX(); in pointInsideRect() 231 new Point(widgetRect.getCellX(), widgetRect.getCellY()))); in removeItem()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | MultipageCellLayout.java | 117 int seamOffset = lp.getCellX() >= mCountX / 2 && lp.canReorder ? 1 : 0; in copyCurrentStateToSolution() 118 CellAndSpan c = new CellAndSpan(lp.getCellX() + seamOffset, lp.getCellY(), lp.cellHSpan, in copyCurrentStateToSolution() 171 return params.getCellX() >= mCountX / 2 ? margin : -margin; in getMarginForGivenCellParams()
|
D | CellLayout.java | 626 cellToRect(params.getCellX(), params.getCellY(), params.cellHSpan, params.cellVSpan, in visualizeGrid() 763 if (lp.getCellX() >= 0 && lp.getCellX() <= mCountX - 1 in addViewToCellLayout() 1072 occupied.markCells(lp.getCellX(), lp.getCellY(), lp.cellHSpan, lp.cellVSpan, false); in animateChildToPosition() 1414 lp.getCellX(), lp.getCellY(), c.cellX, c.cellY, c.spanX, c.spanY, in beginOrAdjustReorderPreviewAnimations() 1456 screenId, lp.getCellX(), lp.getCellY(), lp.cellHSpan, lp.cellVSpan); in commitTempPlacement() 1487 r1.set(lp.getCellX(), lp.getCellY(), lp.getCellX() + lp.cellHSpan, in getIntersectingRectanglesInRegion() 1514 if (lp.getTmpCellX() != lp.getCellX() || lp.getTmpCellY() != lp.getCellY()) { in revertTempState() 1515 lp.setTmpCellX(lp.getCellX()); in revertTempState() 1517 animateChildToPosition(child, lp.getCellX(), lp.getCellY(), in revertTempState() 1576 new CellAndSpan(lp.getCellX(), lp.getCellY(), lp.cellHSpan, lp.cellVSpan)); in copyCurrentStateToSolution() [all …]
|
D | ShortcutAndWidgetContainer.java | 94 if ((lp.getCellX() <= cellX) && (cellX < lp.getCellX() + lp.cellHSpan) in getChildAt() 314 cl.setFolderLeaveBehindCell(lp.getCellX(), lp.getCellY()); in drawFolderLeaveBehindForIcon()
|
D | WorkspaceLayoutManager.java | 147 Log.e(TAG, "Failed to add to item at (" + lp.getCellX() + "," + lp.getCellY() in addInScreen()
|
D | Workspace.java | 1861 if (lp.useTmpCoords && (lp.getTmpCellX() != lp.getCellX() in willCreateUserFolder() 1894 if (lp.useTmpCoords && (lp.getTmpCellX() != lp.getCellX() in willAddToExistingUserFolder() 2134 lp.getCellX(), lp.getCellY(), item.spanX, item.spanY); in onDrop() 2145 mTargetCell[0] = lp.getCellX(); in onDrop()
|
D | AppWidgetResizeFrame.java | 453 int cellX = lp.useTmpCoords ? lp.getTmpCellX() : lp.getCellX();
|
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
D | LauncherAccessibilityDelegate.java | 277 lp.setCellX(lp.getCellX() - 1); in performResizeAction()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | FolderIcon.java | 285 mBackground.animateToAccept(cl, lp.getCellX(), lp.getCellY()); in onDragEnter()
|