Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DCellLayout.java1277 int ySize = -1; in findNearestArea() local
1289 ySize = minSpanY; in findNearestArea()
1296 boolean hitMaxY = ySize >= spanY; in findNearestArea()
1299 for (int j = 0; j < ySize; j++) { in findNearestArea()
1310 if (y + ySize > countY - 1 || occupied[x + i][y + ySize]) { in findNearestArea()
1316 ySize++; in findNearestArea()
1320 hitMaxY |= ySize >= spanY; in findNearestArea()
1325 hitMaxY = ySize >= spanY; in findNearestArea()
1334 currentRect.set(x, y, x + xSize, y + ySize); in findNearestArea()
1353 resultSpan[1] = ySize; in findNearestArea()
/packages/apps/Launcher2/src/com/android/launcher2/
DCellLayout.java1403 int ySize = -1; in findNearestArea() local
1415 ySize = minSpanY; in findNearestArea()
1422 boolean hitMaxY = ySize >= spanY; in findNearestArea()
1425 for (int j = 0; j < ySize; j++) { in findNearestArea()
1436 if (y + ySize > countY - 1 || occupied[x + i][y + ySize]) { in findNearestArea()
1442 ySize++; in findNearestArea()
1446 hitMaxY |= ySize >= spanY; in findNearestArea()
1451 hitMaxY = ySize >= spanY; in findNearestArea()
1460 currentRect.set(x, y, x + xSize, y + ySize); in findNearestArea()
1479 resultSpan[1] = ySize; in findNearestArea()