Searched refs:numCells (Results 1 – 3 of 3) sorted by relevance
292 static int widthInPortrait(Resources r, int numCells) { in widthInPortrait() argument300 return minGap * (numCells - 1) + cellWidth * numCells; in widthInPortrait()303 static int heightInLandscape(Resources r, int numCells) { in heightInLandscape() argument311 return minGap * (numCells - 1) + cellHeight * numCells; in heightInLandscape()
1020 int numCells = mCellCountX * mCellCountY; in syncAppsPageItems() local1021 int startIndex = page * numCells; in syncAppsPageItems()1022 int endIndex = Math.min(startIndex + numCells, mApps.size()); in syncAppsPageItems()
953 int numCells = mCellCountX * mCellCountY; in syncAppsPageItems() local954 int startIndex = page * numCells; in syncAppsPageItems()955 int endIndex = Math.min(startIndex + numCells, mApps.size()); in syncAppsPageItems()