Searched refs:pref_height (Results 1 - 5 of 5) sorted by relevance

/external/chromium_org/ui/views/controls/
H A Dstyled_label_unittest.cc163 int pref_height = styled()->GetHeightForWidth(label_preferred_size.width()); local
165 pref_height - styled()->GetInsets().height());
167 styled()->SetBounds(0, 0, label_preferred_size.width(), pref_height);
189 int pref_height = styled()->GetHeightForWidth(label_preferred_size.width()); local
191 pref_height - styled()->GetInsets().height());
193 styled()->SetBounds(0, 0, label_preferred_size.width(), pref_height);
243 int pref_height = styled()->GetHeightForWidth(styled_width); local
248 unstyled.SetBounds(0, 0, styled_width, pref_height);
252 styled()->SetBounds(0, 0, styled_width, pref_height);
360 int pref_height local
[all...]
/external/chromium_org/ui/views/layout/
H A Dgrid_layout.cc314 GridLayout::Alignment v_align, int pref_width, int pref_height)
324 pref_height_fixed(pref_height > 0),
326 pref_height(pref_height),
344 // If true, the pref_width/pref_height were explicitly set and the view's
351 int pref_height; member in struct:views::ViewState
608 view_state->pref_height = pref.height();
745 int pref_width, int pref_height) {
754 pref_height);
823 height = view_state->pref_height;
312 ViewState(ColumnSet* column_set, View* view, int start_col, int start_row, int col_span, int row_span, GridLayout::Alignment h_align, GridLayout::Alignment v_align, int pref_width, int pref_height) argument
743 AddView(View* view, int col_span, int row_span, Alignment h_align, Alignment v_align, int pref_width, int pref_height) argument
[all...]
H A Dgrid_layout.h155 // pref_width/pref_height is > 0 then the preferred width/height of the view
161 int pref_width, int pref_height);
H A Dgrid_layout_unittest.cc426 int pref_height = 20; local
440 layout.AddView(new SettableSizeView(gfx::Size(pref_width, pref_height)));
451 2 + pref_height * row,
453 pref_height, view);
459 row_count * pref_height + 4), pref);
/external/chromium_org/ui/views/controls/menu/
H A Dsubmenu_view.cc102 int pref_height = GetPreferredSize().height(); local
104 if (pref_height > parent()->height())
105 new_y = std::max(parent()->height() - pref_height, y());
108 SetBounds(x(), new_y, parent()->width(), pref_height);

Completed in 101 milliseconds