Home
last modified time | relevance | path

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

/external/chromium_org/ui/views/corewm/
Dimage_grid.cc108 int center_height = std::max(size.height() - top - bottom, 0); in SetSize() local
114 gfx::Size(center_width, center_height), layer_->device_scale_factor())); in SetSize()
136 if (center_height > 0) { in SetSize()
142 left_layer_->SetVisible(center_height > 0); in SetSize()
145 if (center_height > 0) { in SetSize()
152 right_layer_->SetVisible(center_height > 0); in SetSize()
202 if (center_width > 0 && center_height > 0) { in SetSize()
206 center_height / center_layer_->bounds().height()); in SetSize()
209 center_layer_->SetVisible(center_width > 0 && center_height > 0); in SetSize()
/external/chromium_org/ui/native_theme/
Dnative_theme_aura.cc81 int center_height = rect.height(); in PaintScrollbarTrack() local
94 center_height -= top->height(); in PaintScrollbarTrack()
105 center_height -= bottom->height(); in PaintScrollbarTrack()
108 if (center_height > 0) { in PaintScrollbarTrack()
114 center->width(), center_height); in PaintScrollbarTrack()
/external/chromium_org/ui/views/controls/combobox/
Dcombobox.cc209 int center_height = height - top_image.height() - bottom_image.height(); in PaintImagesVertically() local
212 x, y, width, center_height, false); in PaintImagesVertically()
213 y += center_height; in PaintImagesVertically()