/external/webkit/Source/WebCore/platform/graphics/win/ |
WebLayer.cpp | 43 CGRect layerBounds = bounds(); 44 CGRect repaintCounterRect = layerBounds; 49 repaintCounterRect.origin.y = layerBounds.size.height - (layerBounds.origin.y + repaintCounterRect.size.height); 70 CGRect layerBounds = bounds(); 73 CGContextTranslateCTM(context, 0, -layerBounds.size.height); 92 CGContextFillRect(context, layerBounds); 111 CGRect aBounds = layerBounds;
|
WebTiledLayer.cpp | 113 CGRect layerBounds = bounds(); 114 CGRect indicatorRect = CGRectMake(layerBounds.origin.x, layerBounds.origin.y, 80, 25);
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
ImageLayerChromium.h | 63 virtual IntRect layerBounds() const;
|
ImageLayerChromium.cpp | 92 IntRect ImageLayerChromium::layerBounds() const 102 const IntRect sourceRect = layerBounds();
|
ContentLayerChromium.cpp | 98 updateLayerSize(layerBounds().size()); 105 dirty.intersect(layerBounds()); 135 const IntRect layerBoundRect = layerBounds(); 159 IntRect ContentLayerChromium::layerBounds() const
|
ContentLayerChromium.h | 71 virtual IntRect layerBounds() const;
|
/external/webkit/Source/WebCore/platform/graphics/mac/ |
WebGLLayer.mm | 120 CGRect layerBounds = CGRectIntegral([self bounds]); 122 size_t width = layerBounds.size.width; 123 size_t height = layerBounds.size.height;
|
WebLayer.mm | 51 CGRect layerBounds = [layer bounds]; 54 CGContextTranslateCTM(context, 0, -layerBounds.size.height); 93 CGRect aBounds = layerBounds;
|
/external/webkit/Source/WebCore/platform/graphics/ca/win/ |
PlatformCALayerWinInternal.cpp | 69 CGRect layerBounds = owner()->bounds(); 72 CGContextTranslateCTM(context, 0, -layerBounds.size.height); 91 CGContextFillRect(context, layerBounds); 110 CGRect aBounds = layerBounds; 163 CGRect layerBounds = m_owner->bounds(); 164 CGRect indicatorRect = CGRectMake(layerBounds.origin.x, layerBounds.origin.y, 80, 25); 170 FloatRect layerBounds = owner()->bounds(); 171 FloatRect repaintCounterRect = layerBounds; 177 repaintCounterRect.setY(layerBounds.height() - (layerBounds.y() + repaintCounterRect.height())) [all...] |
WKCACFViewLayerTreeHost.cpp | 84 CGRect layerBounds = rootLayer()->bounds(); 89 if (CGRectEqualToRect(layerBounds, rootLayer()->bounds()))
|
PlatformCALayerWin.cpp | 611 FloatRect layerBounds = layer->bounds(); 627 layerBounds.x(), layerBounds.y(), layerBounds.width(), layerBounds.height(),
|
/external/webkit/Source/WebCore/platform/graphics/android/ |
GraphicsLayerAndroid.cpp | 688 IntRect layerBounds(0, 0, m_size.width(), m_size.height()); 697 if (!paintContext(m_contentLayer, layerBounds)) 752 SkCanvas* canvas = picture->beginRecording(layerBounds.width(), 753 layerBounds.height(), 0); 761 paintGraphicsLayerContents(graphicsContext, layerBounds); 766 paintGraphicsLayerContents(graphicsContext, layerBounds); 776 m_foregroundLayer->setSize(layerBounds.width(), layerBounds.height()); 777 m_foregroundClipLayer->setPosition(layerBounds.x(), layerBounds.y()) [all...] |
/external/webkit/Source/WebCore/rendering/ |
RenderLayerCompositor.h | 216 static void addToOverlapMap(OverlapMap&, RenderLayer*, IntRect& layerBounds, bool& boundsComputed); 217 static bool overlapsCompositedLayers(OverlapMap&, const IntRect& layerBounds);
|
RenderLayerBacking.cpp | 185 IntRect layerBounds = compositor()->calculateCompositedBounds(m_owningLayer, m_owningLayer); 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()); 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 = compositedBounds() [all...] |
RenderTreeAsText.cpp | 594 const IntRect& layerBounds, const IntRect& backgroundClipRect, const IntRect& clipRect, const IntRect& outlineClipRect, 604 ts << layerBounds; 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; 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, damageRect, clipRectToApply, outlineRect, LayerPaintPhaseBackground, indent, behavior) [all...] |
RenderLayer.cpp | [all...] |
RenderLayer.h | 387 // This method figures out our layerBounds in coordinates relative to 390 void calculateRects(const RenderLayer* rootLayer, const IntRect& paintDirtyRect, IntRect& layerBounds, 404 bool intersectsDamageRect(const IntRect& layerBounds, const IntRect& damageRect, const RenderLayer* rootLayer) const; 549 bool hitTestContents(const HitTestRequest&, HitTestResult&, const IntRect& layerBounds, const IntPoint& hitTestPoint, HitTestFilter) const; [all...] |
RenderLayerCompositor.cpp | 594 void RenderLayerCompositor::addToOverlapMap(OverlapMap& overlapMap, RenderLayer* layer, IntRect& layerBounds, bool& boundsComputed) 600 layerBounds = layer->renderer()->localToAbsoluteQuad(FloatRect(layer->localBoundingBox())).enclosingBoundingBox(); 602 if (layerBounds.isEmpty()) 603 layerBounds.setSize(IntSize(1, 1)); 607 overlapMap.add(layer, layerBounds); 610 bool RenderLayerCompositor::overlapsCompositedLayers(OverlapMap& overlapMap, const IntRect& layerBounds) 615 if (layerBounds.intersects(bounds)) { [all...] |
/external/webkit/Source/WebKit/win/ |
FullscreenVideoController.cpp | 212 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);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
GcSnapshot.java | 229 return new GcSnapshot(this, null /*layerbounds*/, null /*paint*/, flags); 237 * @param layerBounds the layer bounds 245 public GcSnapshot saveLayer(RectF layerBounds, Paint_Delegate paint, int flags) { 246 return new GcSnapshot(this, layerBounds, paint, flags); 266 * @param layerBounds the region of the layer. Optional, if null, this is a normal save() 271 private GcSnapshot(GcSnapshot previous, RectF layerBounds, Paint_Delegate paint, int flags) { 285 if (layerBounds != null) { 289 // transform the layerBounds with the current transform and stores it into a int rect 291 mapRect(matrix, rect2, layerBounds);
|
/external/webkit/Source/WebCore/platform/graphics/ca/ |
GraphicsLayerCA.cpp | 571 FloatRect layerBounds(FloatPoint(), m_size); 572 rect.intersect(layerBounds); [all...] |