/external/chromium/chrome/browser/ui/views/ |
instant_confirm_view.cc | 71 int pref_height = local 73 return gfx::Size(pref_width, pref_height);
|
/external/chromium_org/ui/views/controls/ |
styled_label_unittest.cc | 149 int pref_height = styled()->GetHeightForWidth(label_preferred_size.width()); local 151 pref_height - styled()->GetInsets().height()); 153 styled()->SetBounds(0, 0, label_preferred_size.width(), pref_height); 173 int pref_height = styled()->GetHeightForWidth(label_preferred_size.width()); local 175 pref_height - styled()->GetInsets().height()); 177 styled()->SetBounds(0, 0, label_preferred_size.width(), pref_height); 226 int pref_height = styled()->GetHeightForWidth(styled_width); local 231 unstyled.SetBounds(0, 0, styled_width, pref_height); 235 styled()->SetBounds(0, 0, styled_width, pref_height); 336 int pref_height = styled()->GetHeightForWidth(label_preferred_size.width()) local [all...] |
/external/chromium_org/ui/views/layout/ |
grid_layout.cc | 321 GridLayout::Alignment v_align, int pref_width, int pref_height) 331 pref_height_fixed(pref_height > 0), 333 pref_height(pref_height), 351 // If true, the pref_width/pref_height were explicitly set and the view's 358 int pref_height; member in struct:views::ViewState 616 view_state->pref_height = pref.height(); 753 int pref_width, int pref_height) { 762 pref_height); 831 height = view_state->pref_height; [all...] |
grid_layout.h | 155 // pref_width/pref_height is > 0 then the preferred width/height of the view 161 int pref_width, int pref_height);
|
grid_layout_unittest.cc | 399 int pref_height = 20; local 413 layout.AddView(new SettableSizeView(gfx::Size(pref_width, pref_height))); 424 2 + pref_height * row, 426 pref_height, view); 432 row_count * pref_height + 4), pref);
|
/external/chromium_org/ui/views/controls/menu/ |
submenu_view.cc | 98 int pref_height = GetPreferredSize().height(); local 100 if (pref_height > parent()->height()) 101 new_y = std::max(parent()->height() - pref_height, y()); 104 SetBounds(x(), new_y, parent()->width(), pref_height);
|