Home | History | Annotate | Download | only in widget

Lines Matching refs:cellsUsed

224             lp.cellsUsed = 0;
233 final int cellsUsed = measureChildForCells(child, cellSize, cellsAvailable,
236 maxCellsUsed = Math.max(maxCellsUsed, cellsUsed);
240 cellsRemaining -= cellsUsed;
242 if (cellsUsed == 1) smallestItemsAt |= (1 << i);
265 if (lp.cellsUsed < minCells) {
266 minCells = lp.cellsUsed;
269 } else if (lp.cellsUsed == minCells) {
288 if (lp.cellsUsed == minCells) smallestItemsAt |= 1 << i;
296 lp.cellsUsed++;
371 final int width = lp.cellsUsed * cellSize + lp.extraPixels;
388 * <p>Sets the expandable and cellsUsed fields of LayoutParams.
410 int cellsUsed = 0;
417 cellsUsed = measuredWidth / cellSize;
418 if (measuredWidth % cellSize != 0) cellsUsed++;
419 if (hasText && cellsUsed < 2) cellsUsed = 2;
425 lp.cellsUsed = cellsUsed;
426 final int targetWidth = cellsUsed * cellSize;
429 return cellsUsed;
796 public int cellsUsed;
843 encoder.addProperty("layout:cellsUsed", cellsUsed);