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

1 2 3 45 6 7 8 91011>>

  /external/chromium_org/ash/ime/
candidate_view.cc 33 virtual gfx::Size GetPreferredSize() const OVERRIDE {
34 gfx::Size size = Label::GetPreferredSize();
169 *shortcut_width = shortcut_label_->GetPreferredSize().width();
170 *candidate_width = candidate_label_->GetPreferredSize().width();
275 gfx::Size CandidateView::GetPreferredSize() const {
280 size = shortcut_label_->GetPreferredSize();
284 gfx::Size candidate_size = candidate_label_->GetPreferredSize();
289 gfx::Size annotation_size = annotation_label_->GetPreferredSize();
mode_indicator_view.cc 71 gfx::Size ModeIndicatorView::GetPreferredSize() const {
72 gfx::Size size = label_view_->GetPreferredSize();
  /external/chromium_org/ash/system/tray/
throbber_view.cc 59 gfx::Size ThrobberView::GetPreferredSize() const {
65 gfx::Size ps = child->GetPreferredSize();
tray_bar_button_with_title.cc 87 gfx::Size TrayBarButtonWithTitle::GetPreferredSize() const {
102 gfx::Size title_size = title_->GetPreferredSize();
tray_details_view.cc 30 virtual gfx::Size GetPreferredSize() const OVERRIDE {
136 gfx::Size size = GetPreferredSize();
140 gfx::Size scroller_size = scroll_content_->GetPreferredSize();
  /external/chromium_org/ash/system/user/
rounded_image_view.cc 48 gfx::Size RoundedImageView::GetPreferredSize() const {
56 image_bounds.ClampToCenteredSize(GetPreferredSize());
  /external/chromium_org/chrome/browser/chromeos/power/
idle_action_warning_dialog_view.cc 38 virtual gfx::Size GetPreferredSize() const OVERRIDE;
54 gfx::Size FixedWidthLabel::GetPreferredSize() const {
  /external/chromium_org/chrome/browser/ui/views/
menu_test_base.cc 72 gfx::Size MenuTestBase::GetPreferredSize() const {
73 return button_->GetPreferredSize();
find_bar_view.cc 280 int panel_width = GetPreferredSize().width();
288 gfx::Size sz = close_button_->GetPreferredSize();
298 sz = find_next_button_->GetPreferredSize();
307 sz = find_previous_button_->GetPreferredSize();
315 sz = match_count_text_->GetPreferredSize();
347 gfx::Size FindBarView::GetPreferredSize() const {
348 gfx::Size prefsize = find_text_->GetPreferredSize();
356 prefsize.Enlarge(find_previous_button_->GetPreferredSize().width(), 0);
357 prefsize.Enlarge(find_next_button_->GetPreferredSize().width(), 0);
358 prefsize.Enlarge(close_button_->GetPreferredSize().width(), 0)
    [all...]
  /external/chromium_org/chrome/browser/ui/views/toolbar/
toolbar_button_test.cc 41 virtual gfx::Size GetPreferredSize() const OVERRIDE {
42 return button_->GetPreferredSize();
  /external/chromium_org/ui/views/controls/tabbed_pane/
tabbed_pane_unittest.cc 25 virtual gfx::Size GetPreferredSize() const OVERRIDE {
37 // Tests TabbedPane::GetPreferredSize() and TabbedPane::Layout().
50 gfx::Size pref(tabbed_pane->GetPreferredSize());
  /external/chromium_org/chrome/browser/ui/views/download/
download_shelf_view.cc 83 gfx::Size view_preferred = view->GetPreferredSize();
172 gfx::Size DownloadShelfView::GetPreferredSize() const {
196 // GetPreferredSize, where we will do our animation. In the case where the
222 gfx::Size image_size = arrow_image_->GetPreferredSize();
223 gfx::Size close_button_size = close_button_->GetPreferredSize();
224 gfx::Size show_all_size = show_all_view_->GetPreferredSize();
260 gfx::Size view_size = (*ri)->GetPreferredSize();
324 gfx::Size image_size = arrow_image_->GetPreferredSize();
325 gfx::Size close_button_size = close_button_->GetPreferredSize();
326 gfx::Size show_all_size = show_all_view_->GetPreferredSize();
    [all...]
  /external/chromium_org/ui/views/layout/
grid_layout_unittest.cc 27 virtual gfx::Size GetPreferredSize() const OVERRIDE {
42 virtual gfx::Size GetPreferredSize() const OVERRIDE {
63 void GetPreferredSize() {
64 pref = layout.GetPreferredSize(&host);
89 gfx::Size pref = layout.GetPreferredSize(&host);
138 GetPreferredSize();
162 GetPreferredSize();
187 GetPreferredSize();
213 GetPreferredSize();
243 GetPreferredSize();
    [all...]
box_layout.cc 154 gfx::Size BoxLayout::GetPreferredSize(const View* host) const {
164 width = std::max(width, child->GetPreferredSize().width());
248 ? view->GetPreferredSize().width()
252 : view->GetPreferredSize().width());
257 ? view->GetPreferredSize().width()
258 : view->GetHeightForWidth(view->GetPreferredSize().width());
275 gfx::Size size(child->GetPreferredSize());
box_layout_unittest.cc 29 EXPECT_EQ(gfx::Size(20, 20), layout->GetPreferredSize(host_.get()));
39 EXPECT_EQ(gfx::Size(20, 20), layout->GetPreferredSize(host_.get()));
53 EXPECT_EQ(gfx::Size(20, 20), layout->GetPreferredSize(host_.get()));
67 EXPECT_EQ(gfx::Size(40, 60), layout->GetPreferredSize(host_.get()));
75 EXPECT_EQ(gfx::Size(50, 40), layout->GetPreferredSize(host_.get()));
89 EXPECT_EQ(gfx::Size(42, 34), layout->GetPreferredSize(host_.get()));
146 EXPECT_EQ(gfx::Size(30, 30), layout->GetPreferredSize(host_.get()));
160 EXPECT_EQ(gfx::Size(20, 50), layout->GetPreferredSize(host_.get()));
172 layout->GetPreferredSize(host_.get()).ToString());
195 EXPECT_EQ(v2->GetPreferredSize().width(), host_->bounds().width()) << i
    [all...]
  /external/chromium_org/chrome/browser/ui/views/location_bar/
origin_chip_view.cc 273 gfx::Size OriginChipView::GetPreferredSize() const {
276 int label_size = host_label_->GetPreferredSize().width();
278 label_size += ev_label_->GetPreferredSize().width() +
282 location_icon_view_->GetPreferredSize().height());
292 location_icon_view_->GetPreferredSize().width(),
301 std::min(ev_label_->GetPreferredSize().width(), label_width);
303 // TODO(pkasting): See comments in GetPreferredSize().
315 return kEdgeThickness + location_icon_view_->GetPreferredSize().width() +
location_bar_layout.cc 113 (*i)->computed_width = (*i)->view->GetPreferredSize().width();
126 std::min((*i)->view->GetPreferredSize().width(),
142 (*i)->computed_width = (*i)->view->GetPreferredSize().width();
  /external/chromium_org/ui/views/controls/menu/
menu_scroll_view_container.cc 43 virtual gfx::Size GetPreferredSize() const OVERRIDE {
160 child->GetPreferredSize().height() - this->height(),
231 gfx::Size pref = scroll_up_button_->GetPreferredSize();
237 pref = scroll_down_button_->GetPreferredSize();
246 gfx::Size MenuScrollViewContainer::GetPreferredSize() const {
247 gfx::Size prefsize = scroll_view_->GetContents()->GetPreferredSize();
267 gfx::Size content_pref = scroll_view_->GetContents()->GetPreferredSize();
  /external/chromium_org/chrome/browser/ui/views/profiles/
avatar_menu_bubble_view.cc 210 virtual gfx::Size GetPreferredSize() const OVERRIDE;
291 gfx::Size ProfileItemView::GetPreferredSize() const {
292 int text_width = std::max(name_label_->GetPreferredSize().width(),
293 sync_state_label_->GetPreferredSize().width());
294 text_width = std::max(edit_link_->GetPreferredSize().width(), text_width);
306 icon_rect.set_size(image_view_->GetPreferredSize());
317 gfx::Size name_size = name_label_->GetPreferredSize();
319 gfx::Size state_size = sync_state_label_->GetPreferredSize();
321 gfx::Size edit_size = edit_link_->GetPreferredSize();
532 gfx::Size AvatarMenuBubbleView::GetPreferredSize() const
    [all...]
  /external/chromium_org/ash/frame/caption_buttons/
frame_caption_button_container_view_unittest.cc 87 gfx::Rect expected(container->GetPreferredSize());
89 gfx::Rect container_size(container->GetPreferredSize());
164 container.SetBoundsRect(gfx::Rect(container.GetPreferredSize()));
195 EXPECT_LT(container.GetPreferredSize().width(),
212 EXPECT_EQ(container.GetPreferredSize().width(),
  /external/chromium_org/ui/views/window/
dialog_delegate_unittest.cc 40 virtual gfx::Size GetPreferredSize() const OVERRIDE {
221 EXPECT_LT(frame1->GetPreferredSize().height(),
222 frame2->GetPreferredSize().height());
227 EXPECT_EQ(frame1->GetPreferredSize().height(),
228 frame2->GetPreferredSize().height());
  /external/chromium_org/ash/shell/
widgets.cc 35 virtual gfx::Size GetPreferredSize() const OVERRIDE;
110 gfx::Size preferred = view->GetPreferredSize();
116 gfx::Size WidgetsWindow::GetPreferredSize() const {
  /external/chromium_org/athena/activity/
activity_frame_view.cc 122 gfx::Size ActivityFrameView::GetPreferredSize() const {
123 gfx::Size pref = frame_->client_view()->GetPreferredSize();
144 gfx::Size preferred_title_size = title_->GetPreferredSize();
  /external/chromium_org/mojo/examples/wm_flow/wm/
frame_controller.cc 37 gfx::Size ps = close_button_->GetPreferredSize();
42 ps = maximize_button_->GetPreferredSize();
52 virtual gfx::Size GetPreferredSize(const views::View* host) const OVERRIDE {
  /external/chromium_org/ui/views/controls/scrollbar/
overlay_scroll_bar.cc 33 virtual gfx::Size GetPreferredSize() const OVERRIDE;
56 gfx::Size OverlayScrollBarThumb::GetPreferredSize() const {
141 gfx::Size OverlayScrollBar::GetPreferredSize() const {

Completed in 560 milliseconds

1 2 3 45 6 7 8 91011>>