Searched refs:center_height (Results 1 – 3 of 3) sorted by relevance
108 int center_height = std::max(size.height() - top - bottom, 0); in SetSize() local114 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()
81 int center_height = rect.height(); in PaintScrollbarTrack() local94 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()
209 int center_height = height - top_image.height() - bottom_image.height(); in PaintImagesVertically() local212 x, y, width, center_height, false); in PaintImagesVertically()213 y += center_height; in PaintImagesVertically()