Home
last modified time | relevance | path

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

/packages/apps/Launcher/src/com/android/launcher/
DCellLayout.java186 final int yCount = portrait ? mLongAxisCells : mShortAxisCells; in onInterceptTouchEvent() local
189 findOccupiedCells(xCount, yCount, occupied, null); in onInterceptTouchEvent()
197 cellXY[1] < yCount && !occupied[cellXY[0]][cellXY[1]]; in onInterceptTouchEvent()
227 final int yCount = portrait ? mLongAxisCells : mShortAxisCells;
230 findOccupiedCells(xCount, yCount, occupied, null);
232 findIntersectingVacantCells(info, info.cellX, info.cellY, xCount, yCount, occupied);
240 int xCount, int yCount, boolean[][] occupied) {
254 findVacantCell(cellInfo.current, xCount, yCount, occupied, cellInfo);
257 private static void findVacantCell(Rect current, int xCount, int yCount, boolean[][] occupied,
265 findVacantCell(current, xCount, yCount, occupied, cellInfo);
[all …]
DInstallShortcutReceiver.java85 final int yCount = Launcher.NUMBER_CELLS_Y; in findEmptyCell() local
87 boolean[][] occupied = new boolean[xCount][yCount]; in findEmptyCell()
109 for (int y = cellY; y < cellY + spanY && y < yCount; y++) { in findEmptyCell()
120 return CellLayout.findVacantCell(xy, 1, 1, xCount, yCount, occupied); in findEmptyCell()
/packages/apps/Launcher2/src/com/android/launcher2/
DCellLayout.java199 final int yCount = portrait ? mLongAxisCells : mShortAxisCells; in onInterceptTouchEvent() local
202 findOccupiedCells(xCount, yCount, occupied, null); in onInterceptTouchEvent()
210 cellXY[1] < yCount && !occupied[cellXY[0]][cellXY[1]]; in onInterceptTouchEvent()
240 final int yCount = portrait ? mLongAxisCells : mShortAxisCells;
243 findOccupiedCells(xCount, yCount, occupied, null);
245 findIntersectingVacantCells(info, info.cellX, info.cellY, xCount, yCount, occupied);
253 int xCount, int yCount, boolean[][] occupied) {
267 findVacantCell(cellInfo.current, xCount, yCount, occupied, cellInfo);
270 private static void findVacantCell(Rect current, int xCount, int yCount, boolean[][] occupied,
278 findVacantCell(current, xCount, yCount, occupied, cellInfo);
[all …]
DInstallShortcutReceiver.java85 final int yCount = Launcher.NUMBER_CELLS_Y; in findEmptyCell() local
87 boolean[][] occupied = new boolean[xCount][yCount]; in findEmptyCell()
109 for (int y = cellY; y < cellY + spanY && y < yCount; y++) { in findEmptyCell()
120 return CellLayout.findVacantCell(xy, 1, 1, xCount, yCount, occupied); in findEmptyCell()