Searched refs:layerBounds (Results 1 - 21 of 21) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/win/
H A DWebLayer.cpp43 CGRect layerBounds = bounds(); local
44 CGRect repaintCounterRect = layerBounds;
49 repaintCounterRect.origin.y = layerBounds.size.height - (layerBounds.origin.y + repaintCounterRect.size.height);
70 CGRect layerBounds = bounds(); local
73 CGContextTranslateCTM(context, 0, -layerBounds.size.height);
92 CGContextFillRect(context, layerBounds);
111 CGRect aBounds = layerBounds;
H A DWebTiledLayer.cpp113 CGRect layerBounds = bounds(); local
114 CGRect indicatorRect = CGRectMake(layerBounds.origin.x, layerBounds.origin.y, 80, 25);
/external/webkit/Source/WebCore/platform/graphics/chromium/
H A DImageLayerChromium.h63 virtual IntRect layerBounds() const;
H A DImageLayerChromium.cpp92 IntRect ImageLayerChromium::layerBounds() const function in class:WebCore::ImageLayerChromium
102 const IntRect sourceRect = layerBounds();
H A DContentLayerChromium.cpp98 updateLayerSize(layerBounds().size());
105 dirty.intersect(layerBounds());
135 const IntRect layerBoundRect = layerBounds();
159 IntRect ContentLayerChromium::layerBounds() const function in class:WebCore::ContentLayerChromium
H A DContentLayerChromium.h71 virtual IntRect layerBounds() const;
/external/webkit/Source/WebCore/platform/graphics/ca/win/
H A DPlatformCALayerWinInternal.cpp69 CGRect layerBounds = owner()->bounds(); local
72 CGContextTranslateCTM(context, 0, -layerBounds.size.height);
91 CGContextFillRect(context, layerBounds);
110 CGRect aBounds = layerBounds;
163 CGRect layerBounds = m_owner->bounds(); local
164 CGRect indicatorRect = CGRectMake(layerBounds.origin.x, layerBounds.origin.y, 80, 25);
170 FloatRect layerBounds = owner()->bounds(); local
171 FloatRect repaintCounterRect = layerBounds;
177 repaintCounterRect.setY(layerBounds
[all...]
H A DWKCACFViewLayerTreeHost.cpp84 CGRect layerBounds = rootLayer()->bounds(); local
89 if (CGRectEqualToRect(layerBounds, rootLayer()->bounds()))
H A DPlatformCALayerWin.cpp611 FloatRect layerBounds = layer->bounds(); local
627 layerBounds.x(), layerBounds.y(), layerBounds.width(), layerBounds.height(),
/external/webkit/Source/WebCore/platform/graphics/mac/
H A DWebGLLayer.mm120 CGRect layerBounds = CGRectIntegral([self bounds]);
122 size_t width = layerBounds.size.width;
123 size_t height = layerBounds.size.height;
H A DWebLayer.mm51 CGRect layerBounds = [layer bounds];
54 CGContextTranslateCTM(context, 0, -layerBounds.size.height);
93 CGRect aBounds = layerBounds;
/external/webkit/Source/WebCore/rendering/
H A DRenderLayerCompositor.h216 static void addToOverlapMap(OverlapMap&, RenderLayer*, IntRect& layerBounds, bool& boundsComputed);
217 static bool overlapsCompositedLayers(OverlapMap&, const IntRect& layerBounds);
H A DRenderLayerBacking.cpp185 IntRect layerBounds = compositor()->calculateCompositedBounds(m_owningLayer, m_owningLayer); local
211 layerBounds.intersect(clippingBounds);
217 if (layerBounds.isEmpty() && hasNonZeroTransformOrigin(renderer())) {
218 layerBounds.setWidth(1);
219 layerBounds.setHeight(1);
224 setCompositedBounds(layerBounds);
429 IntRect layerBounds = IntRect(deltaX, deltaY, borderBox.width(), borderBox.height()); local
434 FloatPoint3D anchor(relativeCompositingBounds.width() != 0.0f ? ((layerBounds.x() - relativeCompositingBounds.x()) + transformOrigin.x()) / relativeCompositingBounds.width() : 0.5f,
435 relativeCompositingBounds.height() != 0.0f ? ((layerBounds.y() - relativeCompositingBounds.y()) + transformOrigin.y()) / relativeCompositingBounds.height() : 0.5f,
481 FloatRect layerBounds local
1099 IntRect layerBounds, damageRect, clipRectToApply, outlineRect; local
[all...]
H A DRenderTreeAsText.cpp594 const IntRect& layerBounds, const IntRect& backgroundClipRect, const IntRect& clipRect, const IntRect& outlineClipRect,
604 ts << layerBounds; local
606 if (!layerBounds.isEmpty()) {
607 if (!backgroundClipRect.contains(layerBounds))
609 if (!clipRect.contains(layerBounds))
611 if (!outlineClipRect.contains(layerBounds))
659 IntRect layerBounds, damageRect, clipRectToApply, outlineRect; local
660 l->calculateRects(rootLayer, paintDirtyRect, layerBounds, damageRect, clipRectToApply, outlineRect, true);
666 bool shouldPaint = (behavior & RenderAsTextShowAllLayers) ? true : l->intersectsDamageRect(layerBounds, damageRect, rootLayer);
670 write(ts, *l, layerBounds, damageRec
593 write(TextStream& ts, RenderLayer& l, const IntRect& layerBounds, const IntRect& backgroundClipRect, const IntRect& clipRect, const IntRect& outlineClipRect, LayerPaintPhase paintPhase = LayerPaintPhaseAll, int indent = 0, RenderAsTextBehavior behavior = RenderAsTextBehaviorNormal) argument
[all...]
H A DRenderLayer.cpp1462 IntRect layerBounds = IntRect(absPos.x() + scrollXOffset(), absPos.y() + scrollYOffset(), box->clientWidth(), box->clientHeight()); local
1464 IntRect r = getRectToExpose(layerBounds, exposeRect, alignX, alignY);
1469 xOffset = max(0, min(scrollWidth() - layerBounds.width(), xOffset));
1470 yOffset = max(0, min(scrollHeight() - layerBounds.height(), yOffset));
2638 IntRect layerBounds, damageRect, clipRectToApply, outlineRect; local
2639 calculateRects(rootLayer, paintDirtyRect, layerBounds, damageRect, clipRectToApply, outlineRect, localPaintFlags & PaintLayerTemporaryClipRects);
2640 int x = layerBounds.x();
2641 int y = layerBounds.y();
2665 bool shouldPaint = intersectsDamageRect(layerBounds, damageRect, rootLayer) && m_hasVisibleContent && isSelfPaintingLayer();
3085 IntRect layerBounds; local
3190 hitTestContents(const HitTestRequest& request, HitTestResult& result, const IntRect& layerBounds, const IntPoint& hitTestPoint, HitTestFilter hitTestFilter) const argument
3485 calculateRects(const RenderLayer* rootLayer, const IntRect& paintDirtyRect, IntRect& layerBounds, IntRect& backgroundRect, IntRect& foregroundRect, IntRect& outlineRect, bool temporaryClipRects, OverlayScrollbarSizeRelevancy relevancy) const argument
3551 IntRect layerBounds, backgroundRect, foregroundRect, outlineRect; local
3560 IntRect layerBounds, backgroundRect, foregroundRect, outlineRect; local
3595 intersectsDamageRect(const IntRect& layerBounds, const IntRect& damageRect, const RenderLayer* rootLayer) const argument
[all...]
H A DRenderLayer.h409 // This method figures out our layerBounds in coordinates relative to
412 void calculateRects(const RenderLayer* rootLayer, const IntRect& paintDirtyRect, IntRect& layerBounds,
426 bool intersectsDamageRect(const IntRect& layerBounds, const IntRect& damageRect, const RenderLayer* rootLayer) const;
565 bool hitTestContents(const HitTestRequest&, HitTestResult&, const IntRect& layerBounds, const IntPoint& hitTestPoint, HitTestFilter) const;
H A DRenderLayerCompositor.cpp585 void RenderLayerCompositor::addToOverlapMap(OverlapMap& overlapMap, RenderLayer* layer, IntRect& layerBounds, bool& boundsComputed) argument
591 layerBounds = layer->renderer()->localToAbsoluteQuad(FloatRect(layer->localBoundingBox())).enclosingBoundingBox();
593 if (layerBounds.isEmpty())
594 layerBounds.setSize(IntSize(1, 1));
598 overlapMap.add(layer, layerBounds);
601 bool RenderLayerCompositor::overlapsCompositedLayers(OverlapMap& overlapMap, const IntRect& layerBounds) argument
606 if (layerBounds.intersects(bounds)) {
/external/webkit/Source/WebKit/win/
H A DFullscreenVideoController.cpp212 FloatRect layerBounds = layer->bounds();
216 if (videoSize.aspectRatio() > layerBounds.size().aspectRatio())
217 scaleFactor = layerBounds.width() / videoSize.width();
219 scaleFactor = layerBounds.height() / videoSize.height();
222 // Calculate the centered position based on the videoBounds and layerBounds:
225 videoOrigin.setX((layerBounds.width() - videoSize.width()) * 0.5);
226 videoOrigin.setY((layerBounds.height() - videoSize.height()) * 0.5);
/external/webkit/Source/WebKit/android/nav/
H A DCachedRoot.cpp1562 SkIRect layerBounds(layers.getBounds());
1567 int topOverlap = layerBounds.fBottom - original.fTop;
1568 int bottomOverlap = original.fBottom - layerBounds.fTop;
1569 int leftOverlap = layerBounds.fRight - original.fLeft;
1570 int rightOverlap = original.fRight - layerBounds.fLeft;
1572 if (layerBounds.fLeft < original.fLeft && leftOverlap < 0)
1574 if (original.fRight < layerBounds.fRight && rightOverlap > 0
1585 if (layerBounds.fTop < original.fTop && topOverlap < 0)
1587 if (original.fBottom < layerBounds.fBottom && bottomOverlap > 0
1601 layerBounds
[all...]
/external/webkit/Source/WebCore/platform/graphics/android/
H A DGraphicsLayerAndroid.cpp565 IntRect layerBounds(0, 0, m_size.width(), m_size.height());
574 if (!paintContext(m_contentLayer->recordContext(), layerBounds))
626 if (!paintContext(m_contentLayer->recordContext(), layerBounds))
/external/webkit/Source/WebCore/platform/graphics/ca/
H A DGraphicsLayerCA.cpp571 FloatRect layerBounds(FloatPoint(), m_size);
572 rect.intersect(layerBounds);

Completed in 266 milliseconds