Searched defs:aperture (Results 1 - 7 of 7) sorted by relevance
/external/chromium_org/cc/blink/ |
H A D | web_nine_patch_layer_impl.cc | 33 void WebNinePatchLayerImpl::setAperture(const blink::WebRect& aperture) { argument 36 nine_patch->SetAperture(gfx::Rect(aperture));
|
/external/chromium_org/cc/layers/ |
H A D | nine_patch_layer.cc | 37 void NinePatchLayer::SetAperture(const gfx::Rect& aperture) { argument 38 if (image_aperture_ == aperture) 41 image_aperture_ = aperture;
|
H A D | nine_patch_layer_impl_unittest.cc | 84 // Check if the left-over quad is the same size as the mapped aperture quad in 114 // Input is a 100x100 bitmap with a 40x50 aperture at x=20, y=30. 189 // The aperture is the size of the bitmap and the center doesn't draw. 203 // The aperture is the size of the bitmap and the center does draw. 239 gfx::Rect aperture = gfx::Rect(3, 3, 4, 4); local 241 nine_patch_layer_impl->SetLayout(aperture, border, true);
|
H A D | nine_patch_layer_impl.cc | 47 void NinePatchLayerImpl::SetLayout(const gfx::Rect& aperture, argument 54 if (image_aperture_ == aperture && 58 image_aperture_ = aperture; 76 // |aperture| is in image space. It cannot exceed the bounds of the bitmap.
|
/external/chromium_org/ui/wm/core/ |
H A D | shadow.cc | 20 // Shadow aperture for different styles. 190 // Update the shadow aperture and border for style. Note that border is in 192 int aperture = GetShadowApertureForStyle(style_); local 193 int aperture_x = std::min(aperture, layer_bounds.width() / 2); 194 int aperture_y = std::min(aperture, layer_bounds.height() / 2);
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
H A D | GraphicsLayer.cpp | 946 void GraphicsLayer::setContentsToNinePatch(Image* image, const IntRect& aperture) argument 956 int borderWidth = bitmap.width() - aperture.width(); 957 int borderHeight = bitmap.height() - aperture.height(); 958 WebRect border(aperture.x(), aperture.y(), borderWidth, borderHeight); 961 m_ninePatchLayer->setAperture(aperture);
|
/external/chromium_org/ui/compositor/ |
H A D | layer.cc | 614 void Layer::UpdateNinePatchLayerAperture(const gfx::Rect& aperture) { argument 616 nine_patch_layer_->SetAperture(aperture);
|
Completed in 60 milliseconds