Home
last modified time | relevance | path

Searched refs:columns (Results 1 – 25 of 446) sorted by relevance

12345678910>>...18

/external/chromium_org/ui/views/controls/table/
Dtable_utils_unittest.cc40 std::vector<TableColumn> columns; in TEST() local
41 columns.push_back(CreateTableColumnWithWidth(20)); in TEST()
42 columns.push_back(CreateTableColumnWithWidth(30)); in TEST()
45 100, 0, font_list, font_list, 0, 0, columns, &model)); in TEST()
50 100, 0, font_list, font_list, 2, 0, columns, &model); in TEST()
55 10, 0, font_list, font_list, 2, 0, columns, &model); in TEST()
63 std::vector<TableColumn> columns; in TEST() local
64 columns.push_back(ui::TableColumn()); in TEST()
65 columns.push_back(ui::TableColumn()); in TEST()
68 500, 0, font_list, font_list, 0, 0, columns, &model)); in TEST()
[all …]
Dtable_utils.cc43 const std::vector<ui::TableColumn>& columns, in CalculateTableColumnSizes() argument
47 std::vector<int> content_widths(columns.size(), 0); in CalculateTableColumnSizes()
48 for (size_t i = 0; i < columns.size(); ++i) { in CalculateTableColumnSizes()
49 const ui::TableColumn& column(columns[i]); in CalculateTableColumnSizes()
72 for (size_t i = 0; i < columns.size(); ++i) { in CalculateTableColumnSizes()
73 const ui::TableColumn& column = columns[i]; in CalculateTableColumnSizes()
85 if (!columns.empty() && total_percent == 0.f && available_width > 0 && in CalculateTableColumnSizes()
86 columns.back().width <= 0 && columns.back().percent == 0.f) { in CalculateTableColumnSizes()
108 const std::vector<TableView::VisibleColumn>& columns( in GetClosestVisibleColumnIndex() local
110 for (size_t i = 0; i < columns.size(); ++i) { in GetClosestVisibleColumnIndex()
[all …]
Dtable_header.cc71 const Columns& columns = table_->visible_columns(); in OnPaint() local
74 for (size_t i = 0; i < columns.size(); ++i) { in OnPaint()
75 if (columns[i].width >= 2) { in OnPaint()
77 columns[i].x + columns[i].width - 1); in OnPaint()
83 const int x = columns[i].x + kHorizontalPadding; in OnPaint()
84 int width = columns[i].width - kHorizontalPadding - kHorizontalPadding; in OnPaint()
89 gfx::GetStringWidth(columns[i].column.title, font_list_); in OnPaint()
91 (columns[i].column.id == sorted_column_id && in OnPaint()
95 columns[i].column.alignment == ui::TableColumn::RIGHT) { in OnPaint()
100 columns[i].column.title, font_list_, kTextColor, in OnPaint()
[all …]
/external/icu/icu4c/source/common/
Dpropsvec.c30 int32_t columns; /* number of columns, plus two for start & limit values */ member
42 upvec_open(int32_t columns, UErrorCode *pErrorCode) { in upvec_open() argument
50 if(columns<1) { in upvec_open()
54 columns+=2; /* count range start and limit columns */ in upvec_open()
57 v=(uint32_t *)uprv_malloc(UPVEC_INITIAL_ROWS*columns*4); in upvec_open()
66 pv->columns=columns; in upvec_open()
72 uprv_memset(row, 0, pv->rows*columns*4); in upvec_open()
75 row+=columns; in upvec_open()
79 row+=columns; in upvec_open()
95 int32_t columns, i, start, limit, prevRow; in _findRow() local
[all …]
/external/chromium_org/third_party/icu/source/common/
Dpropsvec.c30 int32_t columns; /* number of columns, plus two for start & limit values */ member
42 upvec_open(int32_t columns, UErrorCode *pErrorCode) { in upvec_open() argument
50 if(columns<1) { in upvec_open()
54 columns+=2; /* count range start and limit columns */ in upvec_open()
57 v=(uint32_t *)uprv_malloc(UPVEC_INITIAL_ROWS*columns*4); in upvec_open()
66 pv->columns=columns; in upvec_open()
72 uprv_memset(row, 0, pv->rows*columns*4); in upvec_open()
75 row+=columns; in upvec_open()
79 row+=columns; in upvec_open()
95 int32_t columns, i, start, limit, prevRow; in _findRow() local
[all …]
/external/chromium_org/net/ftp/
Dftp_directory_listing_parser_ls.cc59 const std::vector<base::string16>& columns, in DetectColumnOffsetSizeAndModificationTime() argument
80 for (size_t i = 5U; i < columns.size(); i++) { in DetectColumnOffsetSizeAndModificationTime()
81 if (net::FtpUtil::LsDateListingToTime(columns[i - 2], in DetectColumnOffsetSizeAndModificationTime()
82 columns[i - 1], in DetectColumnOffsetSizeAndModificationTime()
83 columns[i], in DetectColumnOffsetSizeAndModificationTime()
86 *size = columns[i - 3]; in DetectColumnOffsetSizeAndModificationTime()
95 for (size_t i = 5U; i < columns.size(); i++) { in DetectColumnOffsetSizeAndModificationTime()
96 if (net::FtpUtil::LsDateListingToTime(columns[i - 1], in DetectColumnOffsetSizeAndModificationTime()
97 columns[i - 2], in DetectColumnOffsetSizeAndModificationTime()
98 columns[i], in DetectColumnOffsetSizeAndModificationTime()
[all …]
Dftp_directory_listing_parser_netware.cc51 std::vector<base::string16> columns; in ParseFtpDirectoryListingNetware() local
52 base::SplitString(base::CollapseWhitespace(lines[i], false), ' ', &columns); in ParseFtpDirectoryListingNetware()
54 if (columns.size() < 8) in ParseFtpDirectoryListingNetware()
59 if (columns[0].length() != 1) in ParseFtpDirectoryListingNetware()
61 if (columns[0][0] == 'd') { in ParseFtpDirectoryListingNetware()
63 } else if (columns[0][0] == '-') { in ParseFtpDirectoryListingNetware()
72 if (!LooksLikeNetwarePermissionsListing(columns[1])) in ParseFtpDirectoryListingNetware()
75 if (!base::StringToInt64(columns[3], &entry.size)) in ParseFtpDirectoryListingNetware()
83 if (!FtpUtil::LsDateListingToTime(columns[4], columns[5], columns[6], in ParseFtpDirectoryListingNetware()
Dftp_directory_listing_parser_os2.cc25 std::vector<base::string16> columns; in ParseFtpDirectoryListingOS2() local
26 base::SplitString(base::CollapseWhitespace(lines[i], false), ' ', &columns); in ParseFtpDirectoryListingOS2()
37 if (columns.size() < 4) in ParseFtpDirectoryListingOS2()
41 if (!base::StringToInt64(columns[0], &entry.size)) in ParseFtpDirectoryListingOS2()
43 if (EqualsASCII(columns[1], "DIR")) { in ParseFtpDirectoryListingOS2()
48 } else if (EqualsASCII(columns[1], "A")) { in ParseFtpDirectoryListingOS2()
56 if (!FtpUtil::WindowsDateListingToTime(columns[2], in ParseFtpDirectoryListingOS2()
57 columns[3], in ParseFtpDirectoryListingOS2()
Dftp_directory_listing_parser_vms.cc152 bool VmsDateListingToTime(const std::vector<base::string16>& columns, in VmsDateListingToTime() argument
154 DCHECK_EQ(4U, columns.size()); in VmsDateListingToTime()
160 base::SplitString(columns[2], '-', &date_parts); in VmsDateListingToTime()
173 base::string16 time_column(columns[3]); in VmsDateListingToTime()
232 std::vector<base::string16> columns; in ParseFtpDirectoryListingVms() local
233 base::SplitString(base::CollapseWhitespace(lines[i], false), ' ', &columns); in ParseFtpDirectoryListingVms()
235 if (columns.size() == 1) { in ParseFtpDirectoryListingVms()
254 &columns); in ParseFtpDirectoryListingVms()
258 if (!ParseVmsFilename(columns[0], &entry.name, &entry.type)) in ParseFtpDirectoryListingVms()
263 if (columns.size() == 6) { in ParseFtpDirectoryListingVms()
[all …]
Dftp_directory_listing_parser_windows.cc25 std::vector<base::string16> columns; in ParseFtpDirectoryListingWindows() local
26 base::SplitString(base::CollapseWhitespace(lines[i], false), ' ', &columns); in ParseFtpDirectoryListingWindows()
36 if (columns.size() < 3) in ParseFtpDirectoryListingWindows()
40 if (EqualsASCII(columns[2], "<DIR>")) { in ParseFtpDirectoryListingWindows()
45 if (!base::StringToInt64(columns[2], &entry.size)) in ParseFtpDirectoryListingWindows()
51 if (!FtpUtil::WindowsDateListingToTime(columns[0], in ParseFtpDirectoryListingWindows()
52 columns[1], in ParseFtpDirectoryListingWindows()
/external/chromium_org/ui/webui/resources/js/cr/ui/
Dgrid.js109 var columns = Math.floor(this.clientWidthWithoutScrollbar_ / width);
110 if (!columns)
113 var rows = Math.ceil(itemCount / columns);
115 return columns;
170 get columns() { getter in Grid
176 set columns(value) { setter in Grid
190 return Math.floor(index / this.columns) * this.getDefaultItemHeight_();
200 return Math.floor(index / this.columns);
209 return row * this.columns;
235 var columns = this.columns;
[all …]
/external/chromium_org/chrome/browser/resources/suggestions_internals/
Dsuggestions_internals.js81 var columns = [];
88 if (columns.indexOf(path) < 0)
89 columns.push(path);
91 } else if (columns.indexOf(column) < 0) {
92 columns.push(column);
98 columns = columns.filter(function(column) {
104 var index = columns.indexOf(PREFERRED_COLUMN_ORDER[i]);
106 columns.unshift(columns.splice(index, 1)[0]);
110 columns.unshift('favicon');
111 columns.unshift('screenshot');
[all …]
/external/chromium_org/chrome/browser/first_run/
Dtry_chrome_dialog_view.cc101 views::ColumnSet* columns; in ShowModal() local
104 columns = layout->AddColumnSet(0); in ShowModal()
105 columns->AddColumn(views::GridLayout::LEADING, views::GridLayout::LEADING, 0, in ShowModal()
108 columns->AddPaddingColumn(0, views::kRelatedControlHorizontalSpacing); in ShowModal()
109 columns->AddColumn(views::GridLayout::FILL, views::GridLayout::FILL, 1, in ShowModal()
111 columns->AddPaddingColumn(0, views::kUnrelatedControlHorizontalSpacing); in ShowModal()
112 columns->AddColumn(views::GridLayout::TRAILING, views::GridLayout::FILL, 1, in ShowModal()
116 columns = layout->AddColumnSet(1); in ShowModal()
117 columns->AddPaddingColumn(0, icon_size.width()); in ShowModal()
118 columns->AddPaddingColumn(0, views::kRelatedControlHorizontalSpacing); in ShowModal()
[all …]
/external/chromium_org/chromeos/ime/
Dgen_input_methods.py112 columns = line.split()
113 assert len(columns) == 4 or len(columns) == 5, "Invalid format: " + line
115 engine['input_method_id'] = columns[0]
116 engine['xkb_layout_id'] = columns[1]
117 engine['language_code'] = columns[2]
118 engine['indicator'] = columns[3]
120 if len(columns) == 5:
121 assert columns[4] == "login", "Invalid attribute: " + columns[4]
/external/chromium_org/chrome/browser/ui/cocoa/autofill/
Dsimple_grid_layout_unittest.mm13 // Layout objects as multiple columns in a single row.
249 // Skip multiple columns
269 // Don't skip over non-padding columns.
280 // Skip multiple padding columns.
339 ColumnSet columns(0);
341 columns.AddPaddingColumn(20);
342 EXPECT_EQ(1, columns.num_columns());
344 columns.CalculateSize(20.0f);
345 EXPECT_FLOAT_EQ(20.0f, columns.GetColumnWidth(0));
347 columns.CalculateSize(120.0f);
[all …]
/external/emma/core/java12/com/vladium/emma/report/txt/
DReportGenerator.java140 final int [] columns = m_settings.getColumnOrder (); in visit() local
148 addHeaderRow (item, columns); in visit()
151 addItemRow (item, columns); in visit()
184 addHeaderRow (pkg, columns); in visit()
189 addItemRow (pkg, columns); in visit()
202 final int [] columns = m_settings.getColumnOrder (); in visit() local
210 addHeaderRow (item, columns); in visit()
213 addItemRow (item, columns); in visit()
233 addHeaderRow (srcORcls, columns); in visit()
238 addItemRow (srcORcls, columns); in visit()
[all …]
/external/chromium_org/components/search_engines/
Dkeyword_table.cc38 std::vector<std::string> columns; in ColumnsForVersion() local
40 columns.push_back("id"); in ColumnsForVersion()
41 columns.push_back("short_name"); in ColumnsForVersion()
42 columns.push_back("keyword"); in ColumnsForVersion()
43 columns.push_back("favicon_url"); in ColumnsForVersion()
44 columns.push_back("url"); in ColumnsForVersion()
45 columns.push_back("safe_for_autoreplace"); in ColumnsForVersion()
46 columns.push_back("originating_url"); in ColumnsForVersion()
47 columns.push_back("date_created"); in ColumnsForVersion()
48 columns.push_back("usage_count"); in ColumnsForVersion()
[all …]
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_tile.c60 unsigned columns = MIN2(tile_width, width - col); in micro_tile_8_x_4_8bit() local
61 memcpy(dst2, src2, columns * sizeof(uint8_t)); in micro_tile_8_x_4_8bit()
91 unsigned columns = MIN2(tile_width, width - col); in micro_tile_4_x_4_16bit() local
92 memcpy(dst2, src2, columns * sizeof(uint16_t)); in micro_tile_4_x_4_16bit()
122 unsigned columns = MIN2(tile_width, width - col); in micro_tile_8_x_2_16bit() local
123 memcpy(dst2, src2, columns * sizeof(uint16_t)); in micro_tile_8_x_2_16bit()
153 unsigned columns = MIN2(tile_width, width - col); in micro_tile_4_x_2_32bit() local
154 memcpy(dst2, src2, columns * sizeof(uint32_t)); in micro_tile_4_x_2_32bit()
184 unsigned columns = MIN2(tile_width, width - col); in micro_tile_2_x_2_64bit() local
185 memcpy(dst2, src2, columns * sizeof(uint64_t)); in micro_tile_2_x_2_64bit()
[all …]
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_tile.c60 unsigned columns = MIN2(tile_width, width - col); in micro_tile_8_x_4_8bit() local
61 memcpy(dst2, src2, columns * sizeof(uint8_t)); in micro_tile_8_x_4_8bit()
91 unsigned columns = MIN2(tile_width, width - col); in micro_tile_4_x_4_16bit() local
92 memcpy(dst2, src2, columns * sizeof(uint16_t)); in micro_tile_4_x_4_16bit()
122 unsigned columns = MIN2(tile_width, width - col); in micro_tile_8_x_2_16bit() local
123 memcpy(dst2, src2, columns * sizeof(uint16_t)); in micro_tile_8_x_2_16bit()
153 unsigned columns = MIN2(tile_width, width - col); in micro_tile_4_x_2_32bit() local
154 memcpy(dst2, src2, columns * sizeof(uint32_t)); in micro_tile_4_x_2_32bit()
184 unsigned columns = MIN2(tile_width, width - col); in micro_tile_2_x_2_64bit() local
185 memcpy(dst2, src2, columns * sizeof(uint64_t)); in micro_tile_2_x_2_64bit()
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/
Dradeon_tile.c60 unsigned columns = MIN2(tile_width, width - col); in micro_tile_8_x_4_8bit() local
61 memcpy(dst2, src2, columns * sizeof(uint8_t)); in micro_tile_8_x_4_8bit()
91 unsigned columns = MIN2(tile_width, width - col); in micro_tile_4_x_4_16bit() local
92 memcpy(dst2, src2, columns * sizeof(uint16_t)); in micro_tile_4_x_4_16bit()
122 unsigned columns = MIN2(tile_width, width - col); in micro_tile_8_x_2_16bit() local
123 memcpy(dst2, src2, columns * sizeof(uint16_t)); in micro_tile_8_x_2_16bit()
153 unsigned columns = MIN2(tile_width, width - col); in micro_tile_4_x_2_32bit() local
154 memcpy(dst2, src2, columns * sizeof(uint32_t)); in micro_tile_4_x_2_32bit()
184 unsigned columns = MIN2(tile_width, width - col); in micro_tile_2_x_2_64bit() local
185 memcpy(dst2, src2, columns * sizeof(uint64_t)); in micro_tile_2_x_2_64bit()
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/
Dradeon_tile.c60 unsigned columns = MIN2(tile_width, width - col); in micro_tile_8_x_4_8bit() local
61 memcpy(dst2, src2, columns * sizeof(uint8_t)); in micro_tile_8_x_4_8bit()
91 unsigned columns = MIN2(tile_width, width - col); in micro_tile_4_x_4_16bit() local
92 memcpy(dst2, src2, columns * sizeof(uint16_t)); in micro_tile_4_x_4_16bit()
122 unsigned columns = MIN2(tile_width, width - col); in micro_tile_8_x_2_16bit() local
123 memcpy(dst2, src2, columns * sizeof(uint16_t)); in micro_tile_8_x_2_16bit()
153 unsigned columns = MIN2(tile_width, width - col); in micro_tile_4_x_2_32bit() local
154 memcpy(dst2, src2, columns * sizeof(uint32_t)); in micro_tile_4_x_2_32bit()
184 unsigned columns = MIN2(tile_width, width - col); in micro_tile_2_x_2_64bit() local
185 memcpy(dst2, src2, columns * sizeof(uint64_t)); in micro_tile_2_x_2_64bit()
[all …]
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_fax.cpp47 void _FaxG4FindB1B2(const FX_BYTE* ref_buf, int columns, int a0, FX_BOOL a0color, int& b1, int& b2) in _FaxG4FindB1B2() argument
53 b1 = _FindBit(ref_buf, columns, a0 + 1, !first_bit); in _FaxG4FindB1B2()
54 if (b1 >= columns) { in _FaxG4FindB1B2()
55 b1 = b2 = columns; in _FaxG4FindB1B2()
59 b1 = _FindBit(ref_buf, columns, b1 + 1, first_bit); in _FaxG4FindB1B2()
62 if (b1 >= columns) { in _FaxG4FindB1B2()
63 b1 = b2 = columns; in _FaxG4FindB1B2()
66 b2 = _FindBit(ref_buf, columns, b1 + 1, first_bit); in _FaxG4FindB1B2()
68 void _FaxFillBits(FX_LPBYTE dest_buf, int columns, int startpos, int endpos) in _FaxFillBits() argument
76 if (endpos >= columns) { in _FaxFillBits()
[all …]
/external/chromium_org/ui/views/examples/
Dtable_example.cc64 std::vector<ui::TableColumn> columns; in CreateExampleView() local
65 columns.push_back(TestTableColumn(0, "Fruit")); in CreateExampleView()
66 columns[0].percent = 1; in CreateExampleView()
67 columns.push_back(TestTableColumn(1, "Color")); in CreateExampleView()
68 columns.push_back(TestTableColumn(2, "Origin")); in CreateExampleView()
69 columns.push_back(TestTableColumn(3, "Price")); in CreateExampleView()
70 columns.back().alignment = ui::TableColumn::RIGHT; in CreateExampleView()
71 table_ = new TableView(this, columns, ICON_AND_TEXT, true); in CreateExampleView()
/external/chromium_org/ash/system/tray/
Dtray_notification_view.cc48 views::ColumnSet* columns = layout->AddColumnSet(0); in InitView() local
50 columns->AddPaddingColumn(0, kTrayPopupPaddingHorizontal / 2); in InitView()
53 columns->AddColumn(views::GridLayout::CENTER, views::GridLayout::CENTER, in InitView()
58 columns->AddPaddingColumn(0, kTrayPopupPaddingHorizontal / 2); in InitView()
61 columns->AddColumn(views::GridLayout::FILL, views::GridLayout::FILL, in InitView()
67 columns->AddPaddingColumn(0, kTrayPopupPaddingHorizontal / 2); in InitView()
70 columns->AddColumn(views::GridLayout::CENTER, views::GridLayout::LEADING, in InitView()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/settings/
DSettingsScreen.js674 WebInspector.SettingsList = function(columns, itemRenderer) argument
683 this._columns = columns;
770 columns: function() method in WebInspector.SettingsList
849 WebInspector.EditableSettingsList = function(columns, valuesProvider, validateHandler, editHandler) argument
851 WebInspector.SettingsList.call(this, columns, this._renderColumn.bind(this));
964 …ment = event.target.editElement || this._editInputElements.get(validItemId).get(this.columns()[0]);
1033 var columns = this.columns();
1034 for (var i = 0; i < columns.length; ++i)
1035 data[columns[i]] = inputElements.get(columns[i]).value;
1058 var columns = this.columns();
[all …]

12345678910>>...18