Home
last modified time | relevance | path

Searched refs:image_bounds (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/ash/system/user/
Drounded_image_view.cc55 gfx::Rect image_bounds(size()); in OnPaint() local
56 image_bounds.ClampToCenteredSize(GetPreferredSize()); in OnPaint()
57 image_bounds.Inset(GetInsets()); in OnPaint()
69 path.addRoundRect(gfx::RectToSkRect(image_bounds), kRadius); in OnPaint()
75 resized_, image_bounds.x(), image_bounds.y(), path, paint); in OnPaint()
/external/chromium_org/ui/views/controls/
Dimage_view.cc219 gfx::Rect image_bounds(GetImageBounds()); in OnPaintImage() local
220 if (image_bounds.IsEmpty()) in OnPaintImage()
223 if (image_bounds.size() != gfx::Size(image_.width(), image_.height())) { in OnPaintImage()
228 image_bounds.x(), image_bounds.y(), image_bounds.width(), in OnPaintImage()
229 image_bounds.height(), true, paint); in OnPaintImage()
231 canvas->DrawImageInt(image_, image_bounds.x(), image_bounds.y()); in OnPaintImage()
/external/chromium_org/cc/layers/
Dui_resource_layer_impl.cc52 void UIResourceLayerImpl::SetImageBounds(const gfx::Size& image_bounds) { in SetImageBounds() argument
57 if (image_bounds_ == image_bounds) in SetImageBounds()
60 image_bounds_ = image_bounds; in SetImageBounds()
Dui_resource_layer_impl.h33 void SetImageBounds(const gfx::Size& image_bounds);