Searched refs:view_size (Results 1 – 4 of 4) sorted by relevance
111 const gfx::Size view_size = view_->GetPreferredSize(); in ShowBubble() local113 const int x = view_size.width() / 2 + in ShowBubble()114 kBubbleXRatio * (bounds.width() - view_size.width()); in ShowBubble()115 const int y = bounds.height() - view_size.height() / 2 - kBubbleBottomGap; in ShowBubble()
303 gfx::Size view_size = (*ri)->GetPreferredSize(); in Layout() local308 int item_width = view_size.width(); in Layout()310 item_width = static_cast<int>(static_cast<double>(view_size.width()) * in Layout()319 (*ri)->SetBounds(x, CenterPosition(view_size.height(), height()), in Layout()320 item_width, view_size.height()); in Layout()
867 gfx::Size view_size = view->GetPreferredSize(); in LayoutView() local868 if ((view_size.width() + padding) > available_width) in LayoutView()869 view_size = view->GetMinimumSize(); in LayoutView()870 int desired_width = view_size.width() + padding; in LayoutView()874 leading ? bounds->x() : (bounds->right() - view_size.width()), in LayoutView()875 view->y(), view_size.width(), view->height()); in LayoutView()
65 params.view_size = params.bitmap_rect.size();