/external/chromium_org/chrome/browser/devtools/ |
devtools_contents_resizing_strategy.cc | 39 const gfx::Size& container_size, 45 0, 0, container_size.width(), container_size.height()); 52 int left = std::min(bounds.x(), container_size.width()); 53 int top = std::min(bounds.y(), container_size.height()); 54 int width = std::min(bounds.width(), container_size.width() - left); 55 int height = std::min(bounds.height(), container_size.height() - top); 60 int width = std::max(0, container_size.width() - insets.width()); 63 int min_width = std::min(min_size.width(), container_size.width()); 64 int insets_width = container_size.width() - min_width [all...] |
devtools_contents_resizing_strategy_unittest.cc | 11 gfx::Size container_size(100, 200); 17 zeroStrategy, container_size, 27 gfx::Size container_size(100, 200); 33 strategy, container_size, 43 gfx::Size container_size(100, 200); 49 strategy, container_size, 59 gfx::Size container_size(100, 200); 65 strategy, container_size, 75 gfx::Size container_size(100, 200); 81 strategy, container_size, [all...] |
devtools_contents_resizing_strategy.h | 45 // inside a common parent view, which size should be passed in |container_size|. 50 const gfx::Size& container_size,
|
/external/chromium_org/ui/message_center/ |
message_center_style.cc | 29 gfx::Size GetImageSizeForContainerSize(const gfx::Size& container_size, 31 if (container_size.IsEmpty() || image_size.IsEmpty()) 39 scaled_size.SetSize(container_size.width(), 40 std::max(0.5 + container_size.width() * proportion, 1.0)); 41 if (scaled_size.height() > container_size.height()) { 43 std::max(0.5 + container_size.height() / proportion, 1.0), 44 container_size.height());
|
message_center_style.h | 85 // which fits into |container_size|. 86 gfx::Size GetImageSizeForContainerSize(const gfx::Size& container_size,
|
/external/chromium_org/chrome/browser/ui/views/frame/ |
contents_layout_manager.cc | 47 gfx::Size container_size(width, height); 55 ApplyDevToolsContentsResizingStrategy(strategy_, container_size,
|
/external/chromium_org/athena/wm/ |
window_overview_mode.cc | 127 const gfx::Size container_size = container_->bounds().size(); local 141 float x_translate = container_size.width() * (1 - kMinScale) / 2.; 147 x_translate = container_size.width() * (1 - kMaxScale) / 2.;
|
/external/chromium_org/ui/app_list/views/ |
contents_view.cc | 251 const gfx::Size container_size = local 257 int width = std::max(container_size.width(), results_size.width()); 258 int height = std::max(container_size.height(), results_size.height());
|
/external/chromium_org/ash/frame/caption_buttons/ |
frame_caption_button_container_view_unittest.cc | 82 gfx::Rect container_size(container->GetPreferredSize());
|
/external/chromium_org/cc/layers/ |
layer_position_constraint_unittest.cc | 145 gfx::Size container_size(container_layer->bounds()); 146 gfx::Size new_container_size(container_size.width() + delta.x(), 147 container_size.height() + delta.y()); [all...] |
/external/chromium_org/chrome/browser/ui/views/autofill/ |
autofill_dialog_views.cc | 413 gfx::Size container_size = container_->GetPreferredSize(); variable 414 gfx::Rect container_bounds((width() - container_size.width()) / 2, 415 (height() - container_size.height()) / 2, 416 container_size.width(), 417 container_size.height()); [all...] |