Lines Matching refs:RowCount
179 int TableView::RowCount() const {
180 return model_ ? model_->RowCount() : 0;
279 DCHECK_LT(model_index, RowCount()) << " out of bounds model_index " <<
288 DCHECK_LT(view_index, RowCount()) << " out of bounds view_index " <<
324 return gfx::Size(width, RowCount() * row_height_);
334 if (event.IsControlDown() && !single_selection_ && RowCount()) {
337 for (int i = 0; i < RowCount(); ++i)
345 if (RowCount())
350 if (RowCount())
351 SelectByViewIndex(RowCount() - 1);
376 if (row < 0 || row >= RowCount())
397 if (row < 0 || row >= RowCount())
446 RowCount()) {
448 ViewToModel(std::min(RowCount() - 1, previously_selected_view_index)));
478 if (!RowCount() || visible_columns_.empty())
605 const int row_count = RowCount();
612 GetModelIndexToRangeStart(grouper_, RowCount(),
702 DCHECK(RowCount());
705 region.min_row = std::min(RowCount() - 1,
710 region.max_row = std::min(region.max_row, RowCount());
804 view_index = std::min(RowCount() - 1, view_index + 1);
812 DCHECK(view_index >= 0 && view_index < RowCount());
877 if (row < 0 || row >= RowCount() || visible_columns_.empty())