Home
last modified time | relevance | path

Searched refs:getCellY (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/celllayout/
DCellLayoutLayoutParams.java95 this.mCellY = source.getCellY(); in CellLayoutLayoutParams()
135 int myCellY = useTmpCoords ? getTmpCellY() : getCellY(); in setup()
173 return "(" + this.getCellX() + ", " + this.getCellY() + ")"; in toString()
190 public int getCellY() { in getCellY() method in CellLayoutLayoutParams
DMulticellReorderAlgorithm.java118 grid.markCells(lp.getCellX() + seamOffset, lp.getCellY(), lp.cellHSpan, lp.cellVSpan, in createGridOccupancyWithSeam()
DReorderAlgorithm.java149 view -> ((CellLayoutLayoutParams) ((View) view).getLayoutParams()).getCellY() in rearrangementExists()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/celllayout/
DCellLayoutTestUtils.java43 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()
DReorderAlgorithmUnitTest.java160 .thenComparing(WidgetRect::getCellY) in solve()
162 widget -> addViewInCellLayout(cl, widget.getCellX(), widget.getCellY(), in solve()
DHotseatReorderUnitTest.kt124 Comparator.comparing(WidgetRect::getCellX).thenComparing(WidgetRect::getCellY) in solve()
/packages/apps/Launcher3/tests/src/com/android/launcher3/celllayout/
DTaplReorderWidgetsTest.java130 if (widget.getCellX() == 0 && widget.getCellY() == 0) { in getWidgetClosestTo()
134 + Math.abs(point.y - widget.getCellY()); in getWidgetClosestTo()
159 widgetRect.getCellY()); in triggerWidgetResize()
161 widgetRect.getCellY(), widgetRect.getSpanX(), widgetRect.getSpanY()); in triggerWidgetResize()
182 mainWidgetCellPos.getCellY()); in runTestCase()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/celllayout/board/
DWidgetRect.java42 public int getCellY() { in getCellY() method in WidgetRect
56 return "WidgetRect type = " + mType + " x = " + getCellX() + " | y " + getCellY() in toString()
DTestWorkspaceBuilder.java65 int initY = widgetRect.getCellY(); in fillWithWidgets()
140 item.cellY = widgetRect.getCellY(); in createWidgetInCell()
DCellLayoutBoard.java81 Boolean isYInRect = y >= rect.getCellY() && y < rect.getCellY() + rect.getSpanY(); in pointInsideRect()
231 new Point(widgetRect.getCellX(), widgetRect.getCellY()))); in removeItem()
/packages/apps/Launcher3/src/com/android/launcher3/
DCellLayout.java626 cellToRect(params.getCellX(), params.getCellY(), params.cellHSpan, params.cellVSpan, in visualizeGrid()
764 && lp.getCellY() >= 0 && lp.getCellY() <= mCountY - 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()
1488 lp.getCellY() + lp.cellVSpan); in getIntersectingRectanglesInRegion()
1514 if (lp.getTmpCellX() != lp.getCellX() || lp.getTmpCellY() != lp.getCellY()) { in revertTempState()
1516 lp.setTmpCellY(lp.getCellY()); in revertTempState()
1517 animateChildToPosition(child, lp.getCellX(), lp.getCellY(), in revertTempState()
[all …]
DShortcutAndWidgetContainer.java95 && (lp.getCellY() <= cellY) && (cellY < lp.getCellY() + lp.cellVSpan)) { in getChildAt()
314 cl.setFolderLeaveBehindCell(lp.getCellX(), lp.getCellY()); in drawFolderLeaveBehindForIcon()
DWorkspaceLayoutManager.java147 Log.e(TAG, "Failed to add to item at (" + lp.getCellX() + "," + lp.getCellY() in addInScreen()
DMultipageCellLayout.java118 CellAndSpan c = new CellAndSpan(lp.getCellX() + seamOffset, lp.getCellY(), lp.cellHSpan, in copyCurrentStateToSolution()
DWorkspace.java1862 || lp.getTmpCellY() != lp.getCellY())) { in willCreateUserFolder()
1895 || lp.getTmpCellY() != lp.getCellY())) { in willAddToExistingUserFolder()
2134 lp.getCellX(), lp.getCellY(), item.spanX, item.spanY); in onDrop()
2146 mTargetCell[1] = lp.getCellY(); in onDrop()
DAppWidgetResizeFrame.java454 int cellY = lp.useTmpCoords ? lp.getTmpCellY() : lp.getCellY();
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DStaggeredWorkspaceAnim.java126 addStaggeredAnimationForView(child, lp.getCellY() + 1, in StaggeredWorkspaceAnim()
197 addStaggeredAnimationForView(child, lp.getCellY() + lp.cellVSpan, in addAnimationForPage()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DLauncherAccessibilityDelegate.java287 lp.setCellY(lp.getCellY() - 1); in performResizeAction()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderIcon.java285 mBackground.animateToAccept(cl, lp.getCellX(), lp.getCellY()); in onDragEnter()