Home
last modified time | relevance | path

Searched refs:center_width (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/ui/wm/core/
Dimage_grid.cc142 int center_width = std::max(size.width() - left - right, 0); in SetSize() local
149 gfx::Size(center_width, center_height), layer_->device_scale_factor())); in SetSize()
152 if (center_width > 0) { in SetSize()
158 top_layer_->SetVisible(center_width > 0); in SetSize()
161 if (center_width > 0) { in SetSize()
168 bottom_layer_->SetVisible(center_width > 0); in SetSize()
237 if (center_width > 0 && center_height > 0) { in SetSize()
240 transform.Scale(center_width / center_layer_->bounds().width(), in SetSize()
244 center_layer_->SetVisible(center_width > 0 && center_height > 0); in SetSize()
/external/chromium_org/ui/views/window/
Dframe_background.cc163 int center_width = in PaintFrameColor() local
165 if (center_width <= 0) in PaintFrameColor()
171 center_width, bottom_edge_->height()), in PaintFrameColor()
/external/chromium_org/chrome/browser/ui/views/download/
Ddownload_item_view.cc663 int center_width = width() - kLeftPadding - in OnPaintBackground() local
671 if (center_width <= 0) in OnPaintBackground()
721 x, box_y_, box_height_, center_width); in OnPaintBackground()
722 x += center_width; in OnPaintBackground()
743 x, box_y_, box_height_, center_width); in OnPaintBackground()
744 x += center_width; in OnPaintBackground()