Searched refs:ySize (Results 1 – 2 of 2) sorted by relevance
1239 int ySize = -1; in findNearestArea() local1251 ySize = minSpanY; in findNearestArea()1258 boolean hitMaxY = ySize >= spanY; in findNearestArea()1261 for (int j = 0; j < ySize; j++) { in findNearestArea()1272 if (y + ySize > countY - 1 || mOccupied[x + i][y + ySize]) { in findNearestArea()1278 ySize++; in findNearestArea()1282 hitMaxY |= ySize >= spanY; in findNearestArea()1287 hitMaxY = ySize >= spanY; in findNearestArea()1296 currentRect.set(x, y, x + xSize, y + ySize); in findNearestArea()1314 resultSpan[1] = ySize; in findNearestArea()
1403 int ySize = -1; in findNearestArea() local1415 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()