Home
last modified time | relevance | path

Searched refs:imageSlices (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
DNinePieceImage.cpp42 NinePieceImage::NinePieceImage(PassRefPtr<StyleImage> image, LengthBox imageSlices, bool fill, cons… in NinePieceImage() argument
46 m_data.access()->imageSlices = imageSlices; in NinePieceImage()
59 …, imageSlices(Length(100, Percent), Length(100, Percent), Length(100, Percent), Length(100, Percen… in NinePieceImageData()
71 , imageSlices(other.imageSlices) in NinePieceImageData()
80 && imageSlices == other.imageSlices in operator ==()
DNinePieceImage.h51 LengthBox imageSlices; variable
63 …NinePieceImage(PassRefPtr<StyleImage>, LengthBox imageSlices, bool fill, const BorderImageLengthBo…
73 const LengthBox& imageSlices() const { return m_data->imageSlices; } in imageSlices() function
74 void setImageSlices(const LengthBox& slices) { m_data.access()->imageSlices = slices; } in setImageSlices()
93 m_data.access()->imageSlices = other.m_data->imageSlices; in copyImageSlicesFrom()
115 m_data.access()->imageSlices = LengthBox(0); in setMaskDefaults()
DRenderStyle.h487 LengthBox borderImageSlices() const { return surround->border.image().imageSlices(); } in borderImageSlices()
661 …LengthBox maskBoxImageSlices() const { return rareNonInheritedData->m_maskBoxImage.imageSlices(); } in maskBoxImageSlices()
DRenderStyle.cpp1592 if (surround->border.m_image.imageSlices() == slices) in setBorderImageSlices()
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSComputedStyleDeclaration.cpp420 if (image.imageSlices().top().isPercent()) in valueForNinePieceImageSlice()
421 …top = cssValuePool().createValue(image.imageSlices().top().value(), CSSPrimitiveValue::CSS_PERCENT… in valueForNinePieceImageSlice()
423 …top = cssValuePool().createValue(image.imageSlices().top().value(), CSSPrimitiveValue::CSS_NUMBER); in valueForNinePieceImageSlice()
425 …if (image.imageSlices().right() == image.imageSlices().top() && image.imageSlices().bottom() == im… in valueForNinePieceImageSlice()
426 && image.imageSlices().left() == image.imageSlices().top()) { in valueForNinePieceImageSlice()
431 if (image.imageSlices().right().isPercent()) in valueForNinePieceImageSlice()
432 …right = cssValuePool().createValue(image.imageSlices().right().value(), CSSPrimitiveValue::CSS_PER… in valueForNinePieceImageSlice()
434 …right = cssValuePool().createValue(image.imageSlices().right().value(), CSSPrimitiveValue::CSS_NUM… in valueForNinePieceImageSlice()
436 …if (image.imageSlices().bottom() == image.imageSlices().top() && image.imageSlices().right() == im… in valueForNinePieceImageSlice()
440 if (image.imageSlices().bottom().isPercent()) in valueForNinePieceImageSlice()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
DStyleResourceLoader.cpp181 …reflection->setMask(NinePieceImage(loadedImage.release(), maskImage.imageSlices(), maskImage.fill(… in loadPendingImages()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderBoxModelObject.cpp1186 …int topSlice = min<int>(imageHeight, valueForLength(ninePieceImage.imageSlices().top(), imageHeigh… in paintNinePieceImage()
1187 …int rightSlice = min<int>(imageWidth, valueForLength(ninePieceImage.imageSlices().right(), imageWi… in paintNinePieceImage()
1188 …int bottomSlice = min<int>(imageHeight, valueForLength(ninePieceImage.imageSlices().bottom(), imag… in paintNinePieceImage()
1189 …int leftSlice = min<int>(imageWidth, valueForLength(ninePieceImage.imageSlices().left(), imageWidt… in paintNinePieceImage()