Home
last modified time | relevance | path

Searched refs:yCount (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
DCellLayout.java201 final int yCount = portrait ? mLongAxisCells : mShortAxisCells; in onInterceptTouchEvent() local
204 findOccupiedCells(xCount, yCount, occupied, null); in onInterceptTouchEvent()
212 cellXY[1] < yCount && !occupied[cellXY[0]][cellXY[1]]; in onInterceptTouchEvent()
242 final int yCount = portrait ? mLongAxisCells : mShortAxisCells;
245 findOccupiedCells(xCount, yCount, occupied, null);
247 findIntersectingVacantCells(info, info.cellX, info.cellY, xCount, yCount, occupied);
255 int xCount, int yCount, boolean[][] occupied) {
269 findVacantCell(cellInfo.current, xCount, yCount, occupied, cellInfo);
272 private static void findVacantCell(Rect current, int xCount, int yCount, boolean[][] occupied,
280 findVacantCell(current, xCount, yCount, occupied, cellInfo);
[all …]
DInstallShortcutReceiver.java88 final int yCount = Launcher.NUMBER_CELLS_Y; in findEmptyCell() local
90 boolean[][] occupied = new boolean[xCount][yCount]; in findEmptyCell()
112 for (int y = cellY; y < cellY + spanY && y < yCount; y++) { in findEmptyCell()
123 return CellLayout.findVacantCell(xy, 1, 1, xCount, yCount, occupied); in findEmptyCell()