Searched refs:pref_height (Results 1 – 6 of 6) sorted by relevance
/external/chromium_org/ui/views/controls/ |
D | styled_label_unittest.cc | 149 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/ |
D | grid_layout.cc | 321 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 …]
|
D | grid_layout_unittest.cc | 399 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()
|
D | grid_layout.h | 161 int pref_width, int pref_height);
|
/external/chromium/chrome/browser/ui/views/ |
D | instant_confirm_view.cc | 71 int pref_height = in GetPreferredSize() local 73 return gfx::Size(pref_width, pref_height); in GetPreferredSize()
|
/external/chromium_org/ui/views/controls/menu/ |
D | submenu_view.cc | 98 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()
|