Home
last modified time | relevance | path

Searched refs:columns_ (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/ui/webui/resources/js/cr/ui/table/
Dtable_column_model.js19 this.columns_ = []; property in anonymousFunctionb41058280100.TableColumnModel
21 this.columns_.push(tableColumns[i].clone());
35 return this.columns_.length;
44 return this.columns_[index].id;
54 return this.columns_[index].name;
63 if (index < 0 || index >= this.columns_.size - 1)
65 if (name != this.columns_[index].name)
68 this.columns_[index].name = name;
78 return this.columns_[index].width;
87 return this.columns_[index].endAlign;
[all …]
/external/chromium_org/chrome/browser/ui/views/
Dtask_manager_view.cc231 std::vector<ui::TableColumn> columns_; member in __anon72f6e7a70111::TaskManagerView
278 columns_.push_back(ui::TableColumn(IDS_TASK_MANAGER_TASK_COLUMN, in Init()
280 columns_.back().sortable = true; in Init()
281 columns_.push_back(ui::TableColumn(IDS_TASK_MANAGER_PROFILE_NAME_COLUMN, in Init()
283 columns_.back().sortable = true; in Init()
284 columns_.push_back(ui::TableColumn(IDS_TASK_MANAGER_PHYSICAL_MEM_COLUMN, in Init()
286 columns_.back().sortable = true; in Init()
287 columns_.push_back(ui::TableColumn(IDS_TASK_MANAGER_SHARED_MEM_COLUMN, in Init()
289 columns_.back().sortable = true; in Init()
290 columns_.push_back(ui::TableColumn(IDS_TASK_MANAGER_PRIVATE_MEM_COLUMN, in Init()
[all …]
/external/chromium_org/chrome/browser/history/android/
Dsql_handler.cc19 : columns_(columns, columns + column_count) { in SQLHandler()
27 columns_.begin(); i != columns_.end(); ++i) { in HasColumnIn()
35 return columns_.find(id) != columns_.end(); in HasColumn()
Dsql_handler.h68 const std::set<HistoryAndBookmarkRow::ColumnID> columns_;
/external/webrtc/src/system_wrappers/source/
Ddata_log.cc97 ColumnMap columns_; member in webrtc::LogTable
143 : columns_(), in LogTable()
159 for (ColumnMap::iterator col_it = columns_.begin(); in ~LogTable()
160 col_it != columns_.end();) { in ~LogTable()
162 columns_.erase(col_it++); in ~LogTable()
184 columns_[column_name] = multi_value_length; in AddColumn()
200 assert(columns_.count(column_name) > 0); in InsertCell()
201 if (columns_.count(column_name) == 0) in InsertCell()
232 for (column_it = columns_.begin(); in Flush()
233 column_it != columns_.end(); ++column_it) { in Flush()
[all …]
/external/chromium_org/third_party/webrtc/system_wrappers/source/
Ddata_log.cc97 ColumnMap columns_; member in webrtc::LogTable
143 : columns_(), in LogTable()
159 for (ColumnMap::iterator col_it = columns_.begin(); in ~LogTable()
160 col_it != columns_.end();) { in ~LogTable()
162 columns_.erase(col_it++); in ~LogTable()
184 columns_[column_name] = multi_value_length; in AddColumn()
200 assert(columns_.count(column_name) > 0); in InsertCell()
201 if (columns_.count(column_name) == 0) in InsertCell()
232 for (column_it = columns_.begin(); in Flush()
233 column_it != columns_.end(); ++column_it) { in Flush()
[all …]
/external/chromium_org/ui/views/layout/
Dgrid_layout.cc377 STLDeleteElements(&columns_); in ~ColumnSet()
403 columns_[last]->same_size_column_ = next; in LinkColumnSizes()
418 columns_.push_back(column); in AddColumn()
431 for (std::vector<Column*>::iterator i = columns_.begin(); in CalculateMasterColumns()
432 i != columns_.end(); ++i) { in CalculateMasterColumns()
437 same_size_column_index < static_cast<int>(columns_.size())); in CalculateMasterColumns()
439 Column* same_size_column = columns_[same_size_column_index]; in CalculateMasterColumns()
493 for (std::vector<Column*>::iterator i = columns_.begin(); in AccumulateMasterColumns()
494 i != columns_.end(); ++i) { in AccumulateMasterColumns()
520 view_state->remaining_width -= columns_[i]->Size(); in UpdateRemainingWidth()
[all …]
Dgrid_layout.h308 int num_columns() const { return static_cast<int>(columns_.size()); } in num_columns()
361 std::vector<Column*> columns_; variable
/external/chromium_org/ui/webui/resources/js/cr/ui/
Dgrid.js62 columns_: 0, property in Grid
139 this.columns_ = 0;
171 if (!this.columns_) {
172 this.columns_ = this.getColumnCount_();
174 return this.columns_ || 1;
177 if (value >= 0 && value != this.columns_) {
178 this.columns_ = value;
331 this.columns_ = 0;
/external/chromium_org/chrome/browser/ui/cocoa/autofill/
Dsimple_grid_layout.mm165 columns_.push_back(new Column(0.0f, fixed_width, true));
169 columns_.push_back(new Column(resize_percent, 0, false));
174 LayoutElement::ResetSizes(&columns_);
180 LayoutElement::CalculateLocationsFromSize(&columns_);
184 for (size_t i = 0; i < columns_.size(); ++i)
185 width -= columns_[i]->Size();
194 for (size_t i = 0; i < columns_.size(); ++i) {
195 if (columns_[i]->IsResizable()) {
196 total_resize += columns_[i]->ResizePercent();
202 for (size_t i = 0; i < columns_.size(); ++i) {
[all …]
Dsimple_grid_layout.h119 int num_columns() const { return static_cast<int>(columns_.size()); } in num_columns()
126 return columns_[column_index]; in GetColumn()
136 ScopedVector<Column> columns_; variable
/external/chromium_org/ui/file_manager/file_manager/foreground/js/
Dfile_table.js67 this.columns_[i].width = newPos[i + 1] - newPos[i];
82 for (var i = 0; i < this.columns_.length; i++) {
84 totalWidth += this.columns_[i].width;
86 fixedWidth += this.columns_[i].width;
92 var column = this.columns_[i];
105 for (var i = 0; i < this.columns_.length; i++) {
106 this.columnPos_[i + 1] = this.columns_[i].width + this.columnPos_[i];
285 for (var i = 0; x >= this.columns_[i].width; i++) {
286 x -= this.columns_[i].width;
288 if (i >= this.columns_.length)
[all …]
/external/chromium_org/ui/file_manager/gallery/js/
Dmosaic_mode.js742 this.columns_ = []; property
771 var firstColumn = this.columns_[0];
780 this.columns_.map(function(c) { return c.getTiles(); }));
796 return this.columns_.length ? this.columns_[this.columns_.length - 1] : null;
832 this.columns_.length,
853 this.columns_.push(this.newColumn_);
872 this.columns_ = []; property
881 this.columns_ = stretched.columns_;
897 for (var i = 0; i !== this.columns_.length; i++) {
898 this.columns_[i].layout(opt_offsetX, opt_offsetY);
[all …]
/external/chromium_org/ui/views/controls/table/
Dtable_view.cc123 columns_(columns), in TableView()
251 columns_.push_back(col); in AddColumn()
255 for (size_t i = 0; i < columns_.size(); ++i) { in HasColumn()
256 if (columns_[i].id == id) in HasColumn()
667 if (header_ || (columns_.size() == 1 && columns_[0].title.empty())) in CreateHeaderIfNecessary()
753 for (size_t i = 0; i < columns_.size(); ++i) { in FindColumnByID()
754 if (columns_[i].id == id) in FindColumnByID()
755 return columns_[i]; in FindColumnByID()
Dtable_view.h299 std::vector<ui::TableColumn> columns_; variable
/external/chromium_org/ui/app_list/cocoa/
Dapps_collection_view_drag_manager.h27 size_t columns_; variable
Dapps_collection_view_drag_manager.mm55 columns_ = columns;
138 return indexInPage + pageIndex * rows_ * columns_;
211 size_t indexInPage = itemDragIndex_ % (rows_ * columns_);