Home
last modified time | relevance | path

Searched refs:fillLayer (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
DAnimatedStyleBuilder.cpp129 void setFillSize(FillLayer* fillLayer, const AnimatableValue* value, const StyleResolverState& stat… in setFillSize() argument
132fillLayer->setSize(FillSize(SizeLength, animatableValueToLengthSize(value, state, NonNegativeValue… in setFillSize()
134 … state.styleMap().mapFillSize(property, fillLayer, toAnimatableUnknown(value)->toCSSValue().get()); in setFillSize()
146 void setOnFillLayers(FillLayer* fillLayer, const AnimatableValue* value, StyleResolverState& state) in setOnFillLayers() argument
152 if (!fillLayer) { in setOnFillLayers()
159 fillLayer = new FillLayer(BackgroundFillLayer); in setOnFillLayers()
165 fillLayer = new FillLayer(MaskFillLayer); in setOnFillLayers()
170 prev->setNext(fillLayer); in setOnFillLayers()
177 fillLayer->setImage(toAnimatableImage(layerValue)->toStyleImage()); in setOnFillLayers()
180 fillLayer->setImage(0); in setOnFillLayers()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/animation/css/
DCSSAnimatableValueFactory.cpp185 inline static PassRefPtr<AnimatableValue> createFromFillLayers(const FillLayer* fillLayer, const Re… in createFromFillLayers() argument
187 ASSERT(fillLayer); in createFromFillLayers()
189 while (fillLayer) { in createFromFillLayers()
191 if (!fillLayer->isImageSet()) in createFromFillLayers()
193 values.append(createFromStyleImage(fillLayer->image())); in createFromFillLayers()
195 if (!fillLayer->isXPositionSet()) in createFromFillLayers()
197 values.append(createFromLength(fillLayer->xPosition(), style)); in createFromFillLayers()
199 if (!fillLayer->isYPositionSet()) in createFromFillLayers()
201 values.append(createFromLength(fillLayer->yPosition(), style)); in createFromFillLayers()
203 if (!fillLayer->isSizeSet()) in createFromFillLayers()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderBoxModelObject.cpp876 IntSize RenderBoxModelObject::calculateFillTileSize(const FillLayer* fillLayer, const IntSize& posi… in calculateFillTileSize() argument
878 StyleImage* image = fillLayer->image(); in calculateFillTileSize()
879 EFillSizeType type = fillLayer->size().type; in calculateFillTileSize()
888 Length layerWidth = fillLayer->size().size.width(); in calculateFillTileSize()
889 Length layerHeight = fillLayer->size().size.height(); in calculateFillTileSize()
999 void RenderBoxModelObject::calculateBackgroundImageGeometry(const FillLayer* fillLayer, const Layou… in calculateBackgroundImageGeometry() argument
1009 bool fixedAttachment = fillLayer->attachment() == FixedBackgroundAttachment; in calculateBackgroundImageGeometry()
1027 if (fillLayer->origin() != BorderFillBox) { in calculateBackgroundImageGeometry()
1032 if (fillLayer->origin() == ContentFillBox) { in calculateBackgroundImageGeometry()
1061 IntSize fillTileSize = calculateFillTileSize(fillLayer, positioningAreaSize); in calculateBackgroundImageGeometry()
[all …]
DInlineFlowBox.cpp1136 …FillLayers(const PaintInfo& paintInfo, const Color& c, const FillLayer* fillLayer, const LayoutRec… in paintFillLayers() argument
1138 if (!fillLayer) in paintFillLayers()
1140 paintFillLayers(paintInfo, c, fillLayer->next(), rect, op); in paintFillLayers()
1141 paintFillLayer(paintInfo, c, fillLayer, rect, op); in paintFillLayers()
1153 …tFillLayer(const PaintInfo& paintInfo, const Color& c, const FillLayer* fillLayer, const LayoutRec… in paintFillLayer() argument
1155 StyleImage* img = fillLayer->image(); in paintFillLayer()
1158 …boxModelObject()->paintFillLayerExtended(paintInfo, c, fillLayer, rect, BackgroundBleedNone, this,… in paintFillLayer()
1162 …boxModelObject()->paintFillLayerExtended(paintInfo, c, fillLayer, rect, BackgroundBleedNone, this,… in paintFillLayer()
1192 …boxModelObject()->paintFillLayerExtended(paintInfo, c, fillLayer, LayoutRect(stripX, stripY, strip… in paintFillLayer()
DRenderBox.cpp1459 const FillLayer* fillLayer = style()->backgroundLayers(); in backgroundHasOpaqueTopLayer() local
1460 if (!fillLayer || fillLayer->clip() != BorderFillBox) in backgroundHasOpaqueTopLayer()
1464 if (hasOverflowClip() && fillLayer->attachment() == LocalBackgroundAttachment) in backgroundHasOpaqueTopLayer()
1467 …if (fillLayer->hasOpaqueImage(this) && fillLayer->hasRepeatXY() && fillLayer->image()->canRender(t… in backgroundHasOpaqueTopLayer()
1471 if (!fillLayer->next() && !fillLayer->hasImage()) { in backgroundHasOpaqueTopLayer()
1564 …FillLayers(const PaintInfo& paintInfo, const Color& c, const FillLayer* fillLayer, const LayoutRec… in paintFillLayers() argument
1568 const FillLayer* curLayer = fillLayer; in paintFillLayers()
1584 …if (curLayer->clipOccludesNextLayers(curLayer == fillLayer) && curLayer->hasOpaqueImage(this) && c… in paintFillLayers()
1603 …tFillLayer(const PaintInfo& paintInfo, const Color& c, const FillLayer* fillLayer, const LayoutRec… in paintFillLayer() argument
1606 …paintFillLayerExtended(paintInfo, c, fillLayer, rect, bleedAvoidance, 0, LayoutSize(), op, backgro… in paintFillLayer()