Home
last modified time | relevance | path

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

/external/chromium_org/ui/views/controls/
Dstyled_label_unittest.cc149 int pref_height = styled()->GetHeightForWidth(label_preferred_size.width()); in TEST_F() local
151 pref_height - styled()->GetInsets().height()); in TEST_F()
153 styled()->SetBounds(0, 0, label_preferred_size.width(), pref_height); in TEST_F()
173 int pref_height = styled()->GetHeightForWidth(label_preferred_size.width()); in TEST_F() local
175 pref_height - styled()->GetInsets().height()); in TEST_F()
177 styled()->SetBounds(0, 0, label_preferred_size.width(), pref_height); in TEST_F()
226 int pref_height = styled()->GetHeightForWidth(styled_width); in TEST_F() local
231 unstyled.SetBounds(0, 0, styled_width, pref_height); in TEST_F()
235 styled()->SetBounds(0, 0, styled_width, pref_height); in TEST_F()
336 int pref_height = styled()->GetHeightForWidth(label_preferred_size.width()); in TEST_F() local
[all …]
/external/chromium_org/ui/views/layout/
Dgrid_layout.cc321 GridLayout::Alignment v_align, int pref_width, int pref_height) in ViewState()
331 pref_height_fixed(pref_height > 0), in ViewState()
333 pref_height(pref_height), in ViewState()
358 int pref_height; member
616 view_state->pref_height = pref.height(); in CalculateSize()
753 int pref_width, int pref_height) { in AddView() argument
762 pref_height); in AddView()
831 height = view_state->pref_height; in Layout()
833 CalculateSize(view_state->pref_height, view_state->v_align, &y, &height); in Layout()
896 view_state->remaining_height = view_state->pref_height; in SizeRowsAndColumns()
[all …]
Dgrid_layout_unittest.cc399 int pref_height = 20; in TEST_F() local
413 layout.AddView(new SettableSizeView(gfx::Size(pref_width, pref_height))); in TEST_F()
424 2 + pref_height * row, in TEST_F()
426 pref_height, view); in TEST_F()
432 row_count * pref_height + 4), pref); in TEST_F()
Dgrid_layout.h161 int pref_width, int pref_height);
/external/chromium/chrome/browser/ui/views/
Dinstant_confirm_view.cc71 int pref_height = in GetPreferredSize() local
73 return gfx::Size(pref_width, pref_height); in GetPreferredSize()
/external/chromium_org/ui/views/controls/menu/
Dsubmenu_view.cc98 int pref_height = GetPreferredSize().height(); in Layout() local
100 if (pref_height > parent()->height()) in Layout()
101 new_y = std::max(parent()->height() - pref_height, y()); in Layout()
104 SetBounds(x(), new_y, parent()->width(), pref_height); in Layout()