Searched refs:positioningAreaSize (Results 1 – 2 of 2) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/core/paint/ |
D | BoxPainter.cpp | 627 IntSize positioningAreaSize; in calculateBackgroundImageGeometry() local 666 …positioningAreaSize = pixelSnappedIntSize(toRenderBox(&obj)->size() - LayoutSize(left + right, top… in calculateBackgroundImageGeometry() 670 …positioningAreaSize = pixelSnappedIntSize(paintRect.size() - LayoutSize(left + right, top + bottom… in calculateBackgroundImageGeometry() 687 positioningAreaSize = geometry.destRect().size(); in calculateBackgroundImageGeometry() 691 IntSize fillTileSize = calculateFillTileSize(obj, fillLayer, positioningAreaSize); in calculateBackgroundImageGeometry() 697 int availableWidth = positioningAreaSize.width() - geometry.tileSize().width(); in calculateBackgroundImageGeometry() 698 int availableHeight = positioningAreaSize.height() - geometry.tileSize().height(); in calculateBackgroundImageGeometry() 701 …if (backgroundRepeatX == RoundFill && positioningAreaSize.width() > 0 && fillTileSize.width() > 0)… in calculateBackgroundImageGeometry() 702 … long nrTiles = std::max(1l, lroundf((float)positioningAreaSize.width() / fillTileSize.width())); in calculateBackgroundImageGeometry() 705 …fillTileSize.setHeight(fillTileSize.height() * positioningAreaSize.width() / (nrTiles * fillTileSi… in calculateBackgroundImageGeometry() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | RenderBoxModelObject.cpp | 363 …alculateImageIntrinsicDimensions(StyleImage* image, const IntSize& positioningAreaSize, ScaleByEff… in calculateImageIntrinsicDimensions() argument 367 return IntSize(positioningAreaSize.width(), positioningAreaSize.height()); in calculateImageIntrinsicDimensions() 391 …return resolveAgainstIntrinsicWidthOrHeightAndRatio(positioningAreaSize, intrinsicRatio, resolvedS… in calculateImageIntrinsicDimensions() 397 return resolveAgainstIntrinsicRatio(positioningAreaSize, intrinsicRatio); in calculateImageIntrinsicDimensions() 401 return positioningAreaSize; in calculateImageIntrinsicDimensions()
|