/external/chromium_org/ui/views/corewm/ |
image_grid.cc | 107 int center_width = std::max(size.width() - left - right, 0); local 114 gfx::Size(center_width, center_height), layer_->device_scale_factor())); 117 if (center_width > 0) { 123 top_layer_->SetVisible(center_width > 0); 126 if (center_width > 0) { 133 bottom_layer_->SetVisible(center_width > 0); 202 if (center_width > 0 && center_height > 0) { 205 transform.Scale(center_width / center_layer_->bounds().width(), 209 center_layer_->SetVisible(center_width > 0 && center_height > 0);
|
/external/chromium_org/ui/native_theme/ |
native_theme_aura.cc | 118 int center_width = rect.width(); local 127 center_width -= left->width(); 138 center_width -= right->width(); 141 if (center_width > 0) { 147 center_width, center->height());
|
/external/chromium/chrome/browser/ui/touch/tabs/ |
touch_tab.cc | 101 int center_width = width() - tab_image->l_width - tab_image->r_width; local 102 if (center_width < 0) 103 center_width = 0; 104 title_bounds_ = gfx::Rect(x_base, y_base, center_width, image_height);
|
/external/chromium_org/ui/views/window/ |
frame_background.cc | 182 int center_width = local 184 if (center_width <= 0) 190 center_width, bottom_edge_->height()),
|
/external/chromium/chrome/browser/ui/views/download/ |
download_item_view.cc | 749 int center_width = width() - kLeftPadding - local 757 if (center_width <= 0) 806 x, box_y_, box_height_, center_width); 807 x += center_width; 828 x, box_y_, box_height_, center_width); 829 x += center_width; [all...] |
/external/chromium_org/chrome/browser/ui/views/download/ |
download_item_view.cc | 643 int center_width = width() - kLeftPadding - local 651 if (center_width <= 0) 701 x, box_y_, box_height_, center_width); 702 x += center_width; 723 x, box_y_, box_height_, center_width); 724 x += center_width; [all...] |
/external/chromium_org/chrome/browser/ui/views/frame/ |
app_panel_browser_frame_view.cc | 352 int center_width = width() - left_edge->width() - right_edge->width(); local 353 if (center_width > 0) { 356 height() - bottom_edge->height(), center_width,
|
/external/chromium/chrome/browser/ui/gtk/ |
browser_window_gtk.cc | 417 int center_width = window_vbox_->allocation.width; local 430 center_width -= (top_left->Width() + top_right->Width()); 431 center_width += 2 * kContentShadowThickness; 437 center_width, top_center->Height()); 449 int right_x = center_left_x + center_width; [all...] |
/external/chromium_org/chrome/browser/ui/gtk/ |
browser_window_gtk.cc | 384 int center_width = window_vbox_allocation.width; local 397 center_width -= (top_left->Width() + top_right->Width()); 398 center_width += 2 * kContentShadowThickness; 405 center_width, top_center->Height()); 417 int right_x = center_left_x + center_width; [all...] |