Home
last modified time | relevance | path

Searched refs:GetHeightForWidth (Results 1 – 25 of 82) sorted by relevance

1234

/external/chromium_org/ui/message_center/views/
Dmessage_center_view.cc66 virtual int GetHeightForWidth(int width) const OVERRIDE;
95 int NoNotificationMessageView::GetHeightForWidth(int width) const { in GetHeightForWidth() function in message_center::NoNotificationMessageView
100 int text_height = label_->GetHeightForWidth(width()); in Layout()
126 virtual int GetHeightForWidth(int width) const OVERRIDE;
220 int height = child->GetHeightForWidth(child_area.width()); in Layout()
289 GetHeightForWidth(width + GetInsets().width())); in GetPreferredSize()
292 int MessageListView::GetHeightForWidth(int width) const { in GetHeightForWidth() function in message_center::MessageListView
303 height += child->GetHeightForWidth(width) + padding; in GetHeightForWidth()
331 fixed_height_ = GetHeightForWidth(width()); in SetRepositionTarget()
479 : GetHeightForWidth(width()) - GetInsets().bottom(); in AnimateNotificationsAboveTarget()
[all …]
Dmessage_center_bubble.cc25 virtual int GetHeightForWidth(int width) const OVERRIDE;
46 int ContentsView::GetHeightForWidth(int width) const { in GetHeightForWidth() function in message_center::ContentsView
49 int contents_height = child_at(0)->GetHeightForWidth(contents_width); in GetHeightForWidth()
Dmessage_center_view_unittest.cc44 virtual int GetHeightForWidth(int w) const OVERRIDE;
69 int MockNotificationView::GetHeightForWidth(int width) const { in GetHeightForWidth() function in message_center::MockNotificationView
72 return NotificationView::GetHeightForWidth(width); in GetHeightForWidth()
Dnotification_view.cc395 return gfx::Size(preferred_width, GetHeightForWidth(preferred_width)); in GetPreferredSize()
398 int NotificationView::GetHeightForWidth(int width) const { in GetHeightForWidth() function in message_center::NotificationView
401 int top_height = top_view_->GetHeightForWidth(content_width); in GetHeightForWidth()
402 int bottom_height = bottom_view_->GetHeightForWidth(content_width); in GetHeightForWidth()
447 int top_height = top_view_->GetHeightForWidth(content_width); in Layout()
455 int bottom_height = bottom_view_->GetHeightForWidth(content_width); in Layout()
Dproportional_image_view.h21 virtual int GetHeightForWidth(int width) const OVERRIDE;
Dnotification_button.h31 virtual int GetHeightForWidth(int width) const OVERRIDE;
Dproportional_image_view.cc20 int ProportionalImageView::GetHeightForWidth(int width) const { in GetHeightForWidth() function in message_center::ProportionalImageView
/external/chromium_org/ui/views/test/
Dtest_views.cc22 int ProportionallySizedView::GetHeightForWidth(int w) const { in GetHeightForWidth() function in views::ProportionallySizedView
28 return gfx::Size(preferred_width_, GetHeightForWidth(preferred_width_)); in GetPreferredSize()
Dtest_views.h35 virtual int GetHeightForWidth(int w) const OVERRIDE;
/external/chromium_org/ui/views/controls/menu/
Dmenu_item_view_unittest.cc25 virtual int GetHeightForWidth(int width) const OVERRIDE { in GetHeightForWidth() function in __anona8a7bb030111::SquareView
69 int flex_height = flexible_view->GetHeightForWidth(label_size.width()); in TEST()
/external/chromium_org/chrome/browser/ui/views/toolbar/
Dextension_toolbar_menu_view.cc71 int ExtensionToolbarMenuView::GetHeightForWidth(int width) const { in GetHeightForWidth() function in ExtensionToolbarMenuView
78 int height = container_->GetHeightForWidth(width); in GetHeightForWidth()
Dextension_toolbar_menu_view.h35 virtual int GetHeightForWidth(int width) const OVERRIDE;
/external/chromium_org/ui/views/controls/
Dstyled_label_unittest.cc42 return styled_->GetHeightForWidth(w) - styled_->GetInsets().height(); in StyledLabelContentHeightForWidth()
163 int pref_height = styled()->GetHeightForWidth(label_preferred_size.width()); in TEST_F()
189 int pref_height = styled()->GetHeightForWidth(label_preferred_size.width()); in TEST_F()
243 int pref_height = styled()->GetHeightForWidth(styled_width); in TEST_F()
360 int pref_height = styled()->GetHeightForWidth(label_preferred_size.width()); in TEST_F()
411 int default_height = styled()->GetHeightForWidth(100); in TEST_F()
415 EXPECT_EQ(18 * 2 + default_height, styled()->GetHeightForWidth(100)); in TEST_F()
Dscroll_view.cc217 int ScrollView::GetHeightForWidth(int width) const { in GetHeightForWidth() function in views::ScrollView
219 return View::GetHeightForWidth(width); in GetHeightForWidth()
223 int height = contents()->GetHeightForWidth(width) + insets.height(); in GetHeightForWidth()
230 int content_height = contents()->GetHeightForWidth(content_width); in Layout()
233 content_height = contents()->GetHeightForWidth(content_width); in Layout()
/external/chromium_org/chrome/browser/ui/views/message_center/
Dmessage_center_widget_delegate.cc119 return gfx::Size(preferred_width, GetHeightForWidth(preferred_width)); in GetPreferredSize()
127 int MessageCenterWidgetDelegate::GetHeightForWidth(int width) const { in GetHeightForWidth() function in message_center::MessageCenterWidgetDelegate
128 int height = MessageCenterView::GetHeightForWidth(width); in GetHeightForWidth()
/external/chromium_org/chrome/browser/ui/views/
Dvalidation_message_bubble_delegate.cc62 label_width, label->GetHeightForWidth(label_width)); in ValidationMessageBubbleDelegate()
69 sub_label->GetHeightForWidth(label_width)); in ValidationMessageBubbleDelegate()
/external/chromium_org/chrome/browser/chromeos/ui/
Decho_dialog_view.cc164 label_->GetHeightForWidth(kDialogLabelPreferredWidth)); in GetPreferredSize()
179 label_->GetHeightForWidth(kDialogLabelPreferredWidth)); in SetLabelBorderAndBounds()
/external/chromium_org/ui/views/layout/
Dfill_layout.cc37 return host->child_at(0)->GetHeightForWidth(width - insets.width()) + in GetPreferredHeightForWidth()
/external/chromium_org/ash/system/tray/
Dspecial_popup_row.h39 virtual int GetHeightForWidth(int width) const OVERRIDE;
/external/chromium_org/ui/views/examples/
Dmultiline_example.cc74 virtual int GetHeightForWidth(int w) const OVERRIDE { in GetHeightForWidth() function in views::examples::MultilineExample::RenderTextView
77 return View::GetHeightForWidth(w); in GetHeightForWidth()
/external/chromium_org/ash/system/chromeos/power/
Dpower_status_view.h32 virtual int GetHeightForWidth(int width) const OVERRIDE;
/external/chromium_org/chrome/browser/ui/views/autofill/
Dpassword_generation_popup_view_views.cc181 height += help_label_->GetHeightForWidth(popup_width); in GetPreferredSizeOfPasswordView()
232 help_label_->GetHeightForWidth(popup_width)); in Layout()
/external/chromium_org/ui/app_list/views/
Dstart_page_view.cc201 bounds.set_height(instant_container_->GetHeightForWidth(bounds.width())); in Layout()
207 bounds.set_height(tiles_container_->GetHeightForWidth(bounds.width())); in Layout()
Dsearch_result_list_view.cc217 int SearchResultListView::GetHeightForWidth(int w) const { in GetHeightForWidth() function in app_list::SearchResultListView
218 return results_container_->GetHeightForWidth(w); in GetHeightForWidth()
/external/chromium_org/chrome/browser/ui/views/extensions/
Dextension_installed_bubble_view.cc385 height += heading_->GetHeightForWidth(kRightColumnWidth); in GetPreferredSize()
389 height += how_to_use_->GetHeightForWidth(kRightColumnWidth); in GetPreferredSize()
394 height += manage_->GetHeightForWidth(kRightColumnWidth); in GetPreferredSize()
404 height += manage_shortcut_->GetHeightForWidth(kRightColumnWidth); in GetPreferredSize()

1234