Home
last modified time | relevance | path

Searched refs:contents_width (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/chrome/browser/ui/omnibox/
Domnibox_popup_model_unittest.cc12 int contents_width, description_width, available_width; in TEST() local
15 contents_width = 100; in TEST()
19 contents_width, separator_width, description_width, available_width, in TEST()
21 EXPECT_EQ(contents_width, contents_max_width); in TEST()
25 contents_width = 100; in TEST()
29 contents_width, separator_width, description_width, available_width, in TEST()
31 EXPECT_EQ(contents_width, contents_max_width); in TEST()
36 contents_width = 300; in TEST()
40 contents_width, separator_width, description_width, available_width, in TEST()
42 EXPECT_EQ(contents_width, contents_max_width); in TEST()
[all …]
Domnibox_popup_model.cc45 void OmniboxPopupModel::ComputeMatchMaxWidths(int contents_width, in ComputeMatchMaxWidths() argument
58 *contents_max_width = contents_width; in ComputeMatchMaxWidths()
67 if (contents_width + description_width > available_width) { in ComputeMatchMaxWidths()
79 std::max(*contents_max_width, kMinimumContentsWidth), contents_width); in ComputeMatchMaxWidths()
90 *contents_max_width = contents_width; in ComputeMatchMaxWidths()
Domnibox_popup_model.h34 static void ComputeMatchMaxWidths(int contents_width,
/external/chromium_org/ui/app_list/views/
Dpage_switcher.cc189 void PageSwitcher::CalculateButtonWidthAndSpacing(int contents_width) { in CalculateButtonWidthAndSpacing() argument
194 contents_width -= 2 * kButtonStripPadding; in CalculateButtonWidthAndSpacing()
199 button_spacing = (contents_width - button_width * button_count) / in CalculateButtonWidthAndSpacing()
205 button_width = (contents_width - (button_count - 1) * button_spacing) / in CalculateButtonWidthAndSpacing()
Dpage_switcher.h41 void CalculateButtonWidthAndSpacing(int contents_width);
/external/chromium_org/ui/message_center/views/
Dmessage_center_bubble.cc48 int contents_width = std::max(width - GetInsets().width(), 0); in GetHeightForWidth() local
49 int contents_height = child_at(0)->GetHeightForWidth(contents_width); in GetHeightForWidth()