Lines Matching refs:columnCount
406 BGridLayout::AddView(BView* child, int32 column, int32 row, int32 columnCount,
413 if (!AddItem(item, column, row, columnCount, rowCount)) {
447 int32 columnCount, int32 rowCount)
449 if (!_AreGridCellsEmpty(column, row, columnCount, rowCount))
460 data->dimensions.width = columnCount;
469 if (columnCount > 1)
618 int32 columnCount = fColumnCount;
623 for (; columnCount > 0; columnCount--) {
625 empty &= (fGrid[columnCount - 1][row] == NULL);
634 for (int32 column = 0; empty && column < columnCount; column++)
642 if (columnCount != fColumnCount || rowCount != fRowCount)
643 _ResizeGrid(columnCount, rowCount);
714 BGridLayout::_AreGridCellsEmpty(int32 column, int32 row, int32 columnCount,
719 int32 toColumn = min_c(column + columnCount, fColumnCount);
738 int32 columnCount = data->dimensions.width;
743 int32 newColumnCount = max_c(fColumnCount, column + columnCount);
751 for (int32 x = 0; x < columnCount; x++) {
765 BGridLayout::_ResizeGrid(int32 columnCount, int32 rowCount)
767 if (columnCount == fColumnCount && rowCount == fRowCount)
773 BLayoutItem*** grid = new(nothrow) BLayoutItem**[columnCount];
777 memset(grid, 0, sizeof(BLayoutItem**) * columnCount);
780 for (int32 i = 0; i < columnCount; i++) {
796 swap(columnCount, fColumnCount);
801 for (int32 i = 0; i < columnCount; i++)