HomeSort by relevance Sort by last modified time
    Searched refs:available_width (Results 1 - 25 of 27) sorted by null

1 2

  /external/chromium_org/chrome/browser/ui/omnibox/
omnibox_popup_model_unittest.cc 12 int contents_width, description_width, available_width; local
17 available_width = 200;
19 contents_width, separator_width, description_width, available_width,
27 available_width = 100;
29 contents_width, separator_width, description_width, available_width,
38 available_width = 384;
40 contents_width, separator_width, description_width, available_width,
48 available_width = 400;
50 contents_width, separator_width, description_width, available_width,
56 EXPECT_EQ(available_width - kMinimumContentsWidth - separator_width
    [all...]
omnibox_popup_model.cc 48 int available_width,
52 if (available_width <= 0) {
65 available_width -= separator_width;
67 if (contents_width + description_width > available_width) {
75 (available_width + 1) / 2, available_width - description_width);
85 *description_max_width = available_width - *contents_max_width;
omnibox_popup_model.h 37 int available_width,
  /external/chromium_org/chrome/browser/ui/tests/
elide_url_unittest.cc 31 const float available_width = local
34 ElideUrl(url, font_list, available_width, std::string()));
74 float available_width = GetStringWidthF( local
87 ElideUrl(long_url, font_list, available_width, std::string());
91 ElideUrl(url, font_list, available_width, std::string()));
186 const float available_width = local
189 GURL(testcases[i].input), gfx::FontList(), available_width)); local
  /external/chromium_org/chrome/browser/ui/views/infobars/
alternate_nav_infobar_view.h 25 // |available_width| so as to guarantee that a trailing ellipsis is always
31 static void ElideLabels(Labels* labels, int available_width);
infobar_view.h 63 // Given |labels| and the total |available_width| to display them in, sets
67 static void AssignWidths(Labels* labels, int available_width);
108 static void AssignWidthsSorted(Labels* labels, int available_width);
alternate_nav_infobar_view.cc 38 void AlternateNavInfoBarView::ElideLabels(Labels* labels, int available_width) {
45 available_width - used_width);
53 ElideLabels(labels, available_width - last_label_width);
infobar_view.cc 141 void InfoBarView::AssignWidths(Labels* labels, int available_width) {
143 AssignWidthsSorted(labels, available_width);
321 void InfoBarView::AssignWidthsSorted(Labels* labels, int available_width) {
327 available_width / static_cast<int>(labels->size())));
330 AssignWidthsSorted(labels, available_width - back_label_size.width());
  /external/chromium_org/chrome/browser/ui/views/location_bar/
location_bar_layout.h 66 // will update it as decorations are laid out. |available_width| measures the
70 void LayoutPass3(gfx::Rect* bounds, int* available_width);
location_bar_layout.cc 133 void LocationBarLayout::LayoutPass3(gfx::Rect* bounds, int* available_width) {
143 if ((*i)->computed_width + padding > *available_width)
145 if ((*i)->computed_width + padding > *available_width) {
150 (*available_width) -= (*i)->computed_width + padding;
location_bar_view.cc 770 int available_width = entry_width - location_needed_width; local
775 leading_decorations.LayoutPass3(&location_bounds, &available_width);
776 trailing_decorations.LayoutPass3(&location_bounds, &available_width);
    [all...]
  /external/chromium_org/ui/views/controls/table/
table_utils.cc 71 const int available_width = width - non_percent_width; local
75 if (column.width <= 0 && column.percent > 0 && available_width > 0) {
76 column_width += static_cast<int>(available_width *
85 if (!columns.empty() && total_percent == 0.f && available_width > 0 &&
87 widths.back() += available_width;
  /external/chromium_org/ui/views/corewm/
tooltip_aura.cc 78 int available_width = std::min(kTooltipMaxWidthPixels, max_width); local
100 if (current_width + word_width > available_width) {
130 // very long word, line_width is greater than the available_width. In such
131 // case, we simply truncate at available_width and add ellipses at the end.
132 if (line_width > available_width) {
133 *width = available_width;
134 result.append(gfx::ElideText(*l, font_list, available_width,
  /external/chromium_org/chrome/browser/ui/views/frame/
opaque_browser_frame_view_layout.h 45 int available_width) const;
47 gfx::Size GetMinimumSize(int available_width) const;
opaque_browser_frame_view_layout.cc 137 int available_width) const {
138 available_width -= trailing_button_start_;
139 available_width -= leading_button_start_;
142 const int tabstrip_width = available_width - caption_spacing;
159 int available_width) const {
  /external/chromium_org/ui/gfx/
render_text.cc     [all...]
render_text.h 598 // Elides |text| as needed to fit in the |available_width| using |behavior|.
600 float available_width,
603 // Elides |email| as needed to fit the |available_width|.
604 base::string16 ElideEmail(const base::string16& email, float available_width);
  /external/chromium_org/chrome/browser/ui/views/download/
download_shelf_view.cc 331 int available_width = width() - kRightPadding - close_button_size.width() - local
334 if (available_width <= 0)
338 return item_size.width() < available_width;
  /external/chromium_org/chrome/browser/ui/autofill/
autofill_popup_controller_impl.cc 151 int available_width = popup_width - RowWidthWithoutText(i); local
154 int name_size = available_width * name_width / total_text_length;
158 int subtext_size = available_width * subtext_width / total_text_length;
  /external/chromium_org/chrome/browser/ui/views/tabs/
stacked_tab_strip_layout.cc 291 int available_width = width_ - x_; local
295 available_width) {
299 available_width) {
tab_strip.cc 2068 int available_width = (available_width_for_tabs_ < 0) ? local
2569 int available_width = tab_area_width() - x; local
    [all...]
  /external/chromium_org/chrome/browser/ui/views/autofill/
autofill_dialog_views.cc     [all...]
autofill_dialog_views.h 402 // without resorting to an ellipsis for a pixel width of |available_width|.
406 bool CanUseVerticallyCompactText(int available_width,
  /external/chromium_org/chrome/browser/ui/views/toolbar/
toolbar_view.cc 586 int available_width = std::max(0, width() - kRightEdgeSpacing - local
592 std::max(available_width, 0), location_height);
  /external/chromium_org/chrome/browser/ui/views/profiles/
profile_chooser_view.cc 439 int available_width = width - 2 * views::kButtonHEdgeMarginNew; local
441 views::GridLayout::FIXED, available_width, available_width);
1376 int available_width = width - 2 * views::kButtonHEdgeMarginNew local
    [all...]

Completed in 343 milliseconds

1 2