/external/chromium_org/ui/views/ |
view_model.h | 48 int view_size() const { return static_cast<int>(entries_.size()); } function in class:views::ViewModel
|
/external/chromium/chrome/browser/chromeos/ |
setting_level_bubble.cc | 111 const gfx::Size view_size = view_->GetPreferredSize(); local 113 const int x = view_size.width() / 2 + 114 kBubbleXRatio * (bounds.width() - view_size.width()); 115 const int y = bounds.height() - view_size.height() / 2 - kBubbleBottomGap;
|
/external/chromium_org/ui/views/controls/ |
styled_label.cc | 255 const gfx::Size view_size = label->GetPreferredSize(); local 256 DCHECK_EQ(line_height, view_size.height() - 2 * overlap); 261 view_size)); 264 x += view_size.width() - 2 * overlap;
|
/external/chromium_org/chrome/browser/ui/views/download/ |
download_shelf_view.cc | 256 gfx::Size view_size = (*ri)->GetPreferredSize(); local 261 int item_width = view_size.width(); 263 item_width = static_cast<int>(static_cast<double>(view_size.width()) * 272 (*ri)->SetBounds(x, CenterPosition(view_size.height(), height()), 273 item_width, view_size.height());
|
/external/chromium/chrome/browser/ui/views/download/ |
download_shelf_view.cc | 303 gfx::Size view_size = (*ri)->GetPreferredSize(); local 308 int item_width = view_size.width(); 310 item_width = static_cast<int>(static_cast<double>(view_size.width()) * 319 (*ri)->SetBounds(x, CenterPosition(view_size.height(), height()), 320 item_width, view_size.height());
|
/external/chromium_org/content/browser/renderer_host/media/ |
web_contents_video_capture_device.cc | 607 gfx::Size view_size = view->GetViewBounds().size(); local 609 if (!view_size.IsEmpty()) { 610 fitted_size = ComputeYV12LetterboxRegion(video_size, view_size).size(); 612 if (view_size != last_view_size_) { 613 last_view_size_ = view_size; 618 view_size.width() * view_size.height() / 1024); 630 gfx::Rect(view_size),
|
/external/chromium_org/ash/system/chromeos/audio/ |
tray_audio.cc | 337 gfx::Size view_size = view_left_to_more->GetPreferredSize(); variable 338 gfx::Rect view_bounds(view_size); 339 view_bounds.set_x(more_->bounds().x() - view_size.width() - 341 view_bounds.set_y((height() - view_size.height()) / 2);
|
/external/chromium/chrome/browser/ui/views/location_bar/ |
location_bar_view.cc | 867 gfx::Size view_size = view->GetPreferredSize(); local 868 if ((view_size.width() + padding) > available_width) 869 view_size = view->GetMinimumSize(); 870 int desired_width = view_size.width() + padding; 874 leading ? bounds->x() : (bounds->right() - view_size.width()), 875 view->y(), view_size.width(), view->height()); [all...] |
/external/chromium_org/content/renderer/browser_plugin/ |
browser_plugin.cc | 570 if ((!auto_size && (width() != params.view_size.width() || 571 height() != params.view_size.height())) || 609 if (auto_size && (params.view_size != last_view_size_)) { 612 last_view_size_ = params.view_size; 639 params.view_size); 1158 gfx::Size view_size = (auto_size_params && auto_size_params->enable) ? local [all...] |