HomeSort by relevance Sort by last modified time
    Searched refs:GetPreferredSize (Results 1 - 25 of 432) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/ui/views/controls/button/
label_button_unittest.cc 61 EXPECT_LT(button.GetPreferredSize().width(), short_text_width);
63 EXPECT_GT(button.GetPreferredSize().height(), font_list.GetHeight());
64 EXPECT_GT(button.GetPreferredSize().width(), short_text_width);
65 EXPECT_LT(button.GetPreferredSize().width(), long_text_width);
67 EXPECT_GT(button.GetPreferredSize().width(), long_text_width);
69 EXPECT_GT(button.GetPreferredSize().width(), long_text_width);
73 EXPECT_EQ(button.GetPreferredSize(), gfx::Size(long_text_width, 1));
77 EXPECT_GT(button.GetPreferredSize().width(), short_text_width);
78 EXPECT_LT(button.GetPreferredSize().width(), long_text_width);
89 EXPECT_LT(button.GetPreferredSize().width(), small_size)
    [all...]
  /external/chromium_org/ui/views/test/
test_views.cc 13 gfx::Size StaticSizedView::GetPreferredSize() const {
26 gfx::Size ProportionallySizedView::GetPreferredSize() const {
29 return View::GetPreferredSize();
test_views.h 19 virtual gfx::Size GetPreferredSize() const OVERRIDE;
36 virtual gfx::Size GetPreferredSize() const OVERRIDE;
  /external/chromium_org/ash/system/tray/
fixed_sized_image_view.h 23 virtual gfx::Size GetPreferredSize() const OVERRIDE;
fixed_sized_image_view.cc 19 gfx::Size FixedSizedImageView::GetPreferredSize() const {
20 gfx::Size size = views::ImageView::GetPreferredSize();
fixed_sized_scroll_view.cc 18 view->SetBoundsRect(gfx::Rect(view->GetPreferredSize()));
28 gfx::Size FixedSizedScrollView::GetPreferredSize() const {
30 contents()->GetPreferredSize() : fixed_size_;
37 gfx::Rect bounds = gfx::Rect(contents()->GetPreferredSize());
50 gfx::Rect bounds = gfx::Rect(contents()->GetPreferredSize());
fixed_sized_scroll_view.h 29 virtual gfx::Size GetPreferredSize() const OVERRIDE;
tray_bar_button_with_title.h 34 virtual gfx::Size GetPreferredSize() const OVERRIDE;
tray_popup_header_button.h 32 virtual gfx::Size GetPreferredSize() const OVERRIDE;
  /external/chromium_org/chrome/browser/ui/views/location_bar/
keyword_hint_view.cc 68 gfx::Size KeywordHintView::GetPreferredSize() const {
70 return gfx::Size(leading_label_->GetPreferredSize().width() +
71 tab_image_->GetPreferredSize().width() +
72 trailing_label_->GetPreferredSize().width(),
78 return tab_image_->GetPreferredSize();
82 int tab_width = tab_image_->GetPreferredSize().width();
84 gfx::Size leading_size(leading_label_->GetPreferredSize());
89 gfx::Size trailing_size(trailing_label_->GetPreferredSize());
page_action_with_badge_view.h 27 virtual gfx::Size GetPreferredSize() const OVERRIDE;
selected_keyword_view.cc 42 gfx::Size SelectedKeywordView::GetPreferredSize() const {
44 return GetSizeForLabelWidth(full_label_.GetPreferredSize().width());
53 SetLabel(((width() == GetPreferredSize().width()) ?
  /external/chromium_org/ui/app_list/views/
progress_bar_view.h 25 virtual gfx::Size GetPreferredSize() const OVERRIDE;
  /external/chromium_org/ui/views/controls/menu/
menu_item_view_unittest.cc 22 virtual gfx::Size GetPreferredSize() const OVERRIDE {
59 gfx::Size label_size = label_view->GetPreferredSize();
63 gfx::Size flexible_size = flexible_view->GetPreferredSize();
75 submenu->GetPreferredSize().height());
menu_separator.h 24 virtual gfx::Size GetPreferredSize() const OVERRIDE;
  /external/chromium_org/ui/views/controls/scrollbar/
kennedy_scroll_bar.h 28 virtual gfx::Size GetPreferredSize() const OVERRIDE;
  /external/chromium_org/ui/views/layout/
fill_layout.h 28 virtual gfx::Size GetPreferredSize(const View* host) const OVERRIDE;
layout_manager.cc 22 return GetPreferredSize(host).height();
fill_layout.cc 23 gfx::Size FillLayout::GetPreferredSize(const View* host) const {
27 gfx::Rect rect(host->child_at(0)->GetPreferredSize());
layout_manager.h 45 virtual gfx::Size GetPreferredSize(const View* host) const = 0;
48 // implementation returns the value from GetPreferredSize.
  /external/chromium_org/ui/views/examples/
throbber_example.cc 28 virtual gfx::Size GetPreferredSize() const OVERRIDE {
34 gfx::Size ps = child->GetPreferredSize();
  /external/chromium_org/chrome/browser/ui/views/infobars/
infobar_container_view.h 22 virtual gfx::Size GetPreferredSize() const OVERRIDE;
  /external/chromium_org/ui/message_center/views/
proportional_image_view.h 20 virtual gfx::Size GetPreferredSize() const OVERRIDE;
  /external/chromium_org/ui/views/controls/
separator.h 31 virtual gfx::Size GetPreferredSize() const OVERRIDE;
  /external/chromium_org/chrome/browser/ui/views/toolbar/
extension_toolbar_menu_view.cc 67 gfx::Size ExtensionToolbarMenuView::GetPreferredSize() const {
68 return container_->GetPreferredSize();
83 gfx::Size sz = GetPreferredSize();

Completed in 374 milliseconds

1 2 3 4 5 6 7 8 91011>>