/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | RenderOverflowTest.cpp | 43 void PrintTo(const LayoutRect& rect, std::ostream* os) in PrintTo() 56 LayoutRect initialLayoutOverflow() in initialLayoutOverflow() 58 return LayoutRect(10, 10, 80, 80); in initialLayoutOverflow() 61 LayoutRect initialVisualOverflow() in initialVisualOverflow() 63 return LayoutRect(0, 0, 100, 100); in initialVisualOverflow() 81 m_overflow.addLayoutOverflow(LayoutRect(0, 10, 30, 10)); in TEST_F() 82 EXPECT_EQ(LayoutRect(0, 10, 90, 80), m_overflow.layoutOverflowRect()); in TEST_F() 87 m_overflow.addLayoutOverflow(LayoutRect(50, 50, 10, 20)); in TEST_F() 96 m_overflow.addLayoutOverflow(LayoutRect(200, 200, 0, 0)); in TEST_F() 97 EXPECT_EQ(LayoutRect(10, 10, 190, 190), m_overflow.layoutOverflowRect()); in TEST_F() [all …]
|
D | RenderOverflow.h | 43 RenderOverflow(const LayoutRect& layoutRect, const LayoutRect& visualRect) in RenderOverflow() 49 const LayoutRect layoutOverflowRect() const { return m_layoutOverflow; } in layoutOverflowRect() 50 const LayoutRect visualOverflowRect() const { return m_visualOverflow; } in visualOverflowRect() 51 LayoutRect contentsVisualOverflowRect() const { return m_contentsVisualOverflow; } in contentsVisualOverflowRect() 55 void addLayoutOverflow(const LayoutRect&); 56 void addVisualOverflow(const LayoutRect&); 57 void addContentsVisualOverflow(const LayoutRect& rect) { m_contentsVisualOverflow.unite(rect); } in addContentsVisualOverflow() 59 void setLayoutOverflow(const LayoutRect&); 60 void setVisualOverflow(const LayoutRect&); 66 LayoutRect m_layoutOverflow; [all …]
|
D | GapRects.h | 31 const LayoutRect& left() const { return m_left; } in left() 32 const LayoutRect& center() const { return m_center; } in center() 33 const LayoutRect& right() const { return m_right; } in right() 35 void uniteLeft(const LayoutRect& r) { m_left.unite(r); } in uniteLeft() 36 void uniteCenter(const LayoutRect& r) { m_center.unite(r); } in uniteCenter() 37 void uniteRight(const LayoutRect& r) { m_right.unite(r); } in uniteRight() 40 operator LayoutRect() const in LayoutRect() function 42 LayoutRect result = m_left; in LayoutRect() 55 LayoutRect m_left; 56 LayoutRect m_center; [all …]
|
D | RenderRegion.cpp | 61 LayoutRect RenderRegion::flowThreadPortionOverflowRect() const in flowThreadPortionOverflowRect() 66 LayoutRect RenderRegion::overflowRectForFlowThreadPortion(const LayoutRect& flowThreadPortionRect, … in overflowRectForFlowThreadPortion() 73 LayoutRect flowThreadOverflow = m_flowThread->visualOverflowRect(); in overflowRectForFlowThreadPortion() 76 LayoutRect clipRect; in overflowRectForFlowThreadPortion() 82 clipRect = LayoutRect(minX, minY, maxX - minX, maxY - minY); in overflowRectForFlowThreadPortion() 88 clipRect = LayoutRect(minX, minY, maxX - minX, maxY - minY); in overflowRectForFlowThreadPortion() 122 …wThreadContentRectangle(const LayoutRect& paintInvalidationRect, const LayoutRect& flowThreadPorti… in paintInvalidationOfFlowThreadContentRectangle() 127 LayoutRect flippedFlowThreadPortionRect(flowThreadPortionRect); in paintInvalidationOfFlowThreadContentRectangle() 128 LayoutRect flippedFlowThreadPortionOverflowRect(flowThreadPortionOverflowRect); in paintInvalidationOfFlowThreadContentRectangle() 132 LayoutRect clippedRect(paintInvalidationRect); in paintInvalidationOfFlowThreadContentRectangle()
|
D | RenderMultiColumnSet.cpp | 77 LayoutRect portionRect(flowThreadPortionRectAt(columnIndex)); in flowThreadTranslationAtOffset() 79 LayoutRect columnRect(columnRectAt(columnIndex)); in flowThreadTranslationAtOffset() 275 LayoutRect rect(flowThreadPortionRect()); in expandToEncompassFlowThreadContentsIfNeeded() 284 LayoutRect layoutRect = flowThread()->layoutOverflowRect(); in expandToEncompassFlowThreadContentsIfNeeded() 286 …setFlowThreadPortionRect(LayoutRect(rect.x(), rect.y(), isHorizontal ? rect.width() : logicalHeigh… in expandToEncompassFlowThreadContentsIfNeeded() 334 LayoutRect RenderMultiColumnSet::columnRectAt(unsigned index) const in columnRectAt() 352 return LayoutRect(colLogicalLeft, colLogicalTop, colLogicalWidth, colLogicalHeight); in columnRectAt() 353 return LayoutRect(colLogicalTop, colLogicalLeft, colLogicalHeight, colLogicalWidth); in columnRectAt() 358 LayoutRect portionRect(flowThreadPortionRect()); in columnIndexAtOffset() 376 LayoutRect RenderMultiColumnSet::flowThreadPortionRectAt(unsigned index) const in flowThreadPortionRectAt() [all …]
|
D | RenderRegion.h | 48 void setFlowThreadPortionRect(const LayoutRect& rect) { m_flowThreadPortionRect = rect; } in setFlowThreadPortionRect() 49 LayoutRect flowThreadPortionRect() const { return m_flowThreadPortionRect; } in flowThreadPortionRect() 50 LayoutRect flowThreadPortionOverflowRect() const; 75 …LayoutRect overflowRectForFlowThreadPortion(const LayoutRect& flowThreadPortionRect, bool isFirstP… 76 …aintInvalidationOfFlowThreadContentRectangle(const LayoutRect& paintInvalidationRect, const Layout… 77 const LayoutRect& flowThreadPortionOverflowRect, const LayoutPoint& regionLocation) const; 86 LayoutRect m_flowThreadPortionRect;
|
D | RenderBox.h | 86 virtual bool backgroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect) const OVERRIDE; 177 LayoutRect frameRect() const { return m_frameRect; } in frameRect() 179 void setFrameRect(const LayoutRect& rect) { m_frameRect = rect; } in setFrameRect() 181 LayoutRect borderBoxRect() const { return LayoutRect(LayoutPoint(), size()); } in borderBoxRect() 182 …LayoutRect paddingBoxRect() const { return LayoutRect(borderLeft(), borderTop(), contentWidth() + … in paddingBoxRect() 187 …LayoutRect contentBoxRect() const { return LayoutRect(borderLeft() + paddingLeft(), borderTop() + … in contentBoxRect() 195 …LayoutRect computedCSSContentBoxRect() const { return LayoutRect(borderLeft() + computedCSSPadding… in computedCSSContentBoxRect() 197 …virtual void addFocusRingRects(Vector<LayoutRect>&, const LayoutPoint& additionalOffset, const Ren… 210 LayoutRect noOverflowRect() const; 211 …LayoutRect layoutOverflowRect() const { return m_overflow ? m_overflow->layoutOverflowRect() : noO… in layoutOverflowRect() [all …]
|
D | RenderLayer.h | 123 …void beginTransparencyLayers(GraphicsContext*, const RenderLayer* rootLayer, const LayoutRect& pai… 140 LayoutRect rect() const { return LayoutRect(location(), size()); } in rect() 162 void addBlockSelectionGapsBounds(const LayoutRect&); 223 void convertToLayerCoords(const RenderLayer* ancestorLayer, LayoutRect&) const; 230 …void paint(GraphicsContext*, const LayoutRect& damageRect, PaintBehavior = PaintBehaviorNormal, Re… 233 …void paintOverlayScrollbars(GraphicsContext*, const LayoutRect& damageRect, PaintBehavior, RenderO… 236 …bool intersectsDamageRect(const LayoutRect& layerBounds, const LayoutRect& damageRect, const Rende… 239 …LayoutRect physicalBoundingBox(const RenderLayer* ancestorLayer, const LayoutPoint* offsetFromRoot… 240 …LayoutRect physicalBoundingBoxIncludingReflectionAndStackingChildren(const RenderLayer* ancestorLa… 243 …LayoutRect boundingBoxForCompositingOverlapTest() const { return overlapBoundsIncludeChildren() ? … in boundingBoxForCompositingOverlapTest() [all …]
|
D | InlineFlowBox.h | 220 LayoutRect layoutOverflowRect(LayoutUnit lineTop, LayoutUnit lineBottom) const in layoutOverflowRect() 246 LayoutRect logicalLayoutOverflowRect(LayoutUnit lineTop, LayoutUnit lineBottom) const in logicalLayoutOverflowRect() 248 LayoutRect result = layoutOverflowRect(lineTop, lineBottom); in logicalLayoutOverflowRect() 254 LayoutRect visualOverflowRect(LayoutUnit lineTop, LayoutUnit lineBottom) const in visualOverflowRect() 272 LayoutRect logicalVisualOverflowRect(LayoutUnit lineTop, LayoutUnit lineBottom) const in logicalVisualOverflowRect() 274 LayoutRect result = visualOverflowRect(lineTop, lineBottom); in logicalVisualOverflowRect() 280 …void setOverflowFromLogicalRects(const LayoutRect& logicalLayoutOverflow, const LayoutRect& logica… 303 void addBoxShadowVisualOverflow(LayoutRect& logicalVisualOverflow); 304 void addBorderOutsetVisualOverflow(LayoutRect& logicalVisualOverflow); 305 void addOutlineVisualOverflow(LayoutRect& logicalVisualOverflow); [all …]
|
D | FilterEffectRenderer.h | 60 …bool prepareFilterEffect(RenderLayer*, const LayoutRect& filterBoxRect, const LayoutRect& dirtyRec… 64 const LayoutRect& paintInvalidationRect() const { return m_paintInvalidationRect; } in paintInvalidationRect() 69 LayoutRect m_paintInvalidationRect; 102 …LayoutRect computeSourceImageRectForDirtyRect(const LayoutRect& filterBoxRect, const LayoutRect& d…
|
D | ClipRect.h | 42 ClipRect(const LayoutRect& rect) in ClipRect() 47 const LayoutRect& rect() const { return m_rect; } in rect() 48 void setRect(const LayoutRect& rect) { m_rect = rect; } in setRect() 55 bool operator!=(const LayoutRect& otherRect) const { return rect() != otherRect; } 57 void intersect(const LayoutRect& other) { m_rect.intersect(other); } in intersect() 69 bool intersects(const LayoutRect& rect) const { return m_rect.intersects(rect); } in intersects() 73 LayoutRect m_rect;
|
D | RenderReplaced.cpp | 82 LayoutRect oldContentRect = replacedContentRect(); in layout() 128 LayoutRect paintRect = LayoutRect(adjustedPaintOffset, size()); in paint() 147 LayoutRect borderRect = LayoutRect(adjustedPaintOffset, size()); in paint() 174 LayoutRect selectionPaintingRect = localSelectionRect(); in paint() 287 LayoutRect RenderReplaced::replacedContentRect(const LayoutSize* overriddenIntrinsicSize) const in replacedContentRect() 289 LayoutRect contentRect = contentBoxRect(); in replacedContentRect() 300 LayoutRect finalRect = contentRect; in replacedContentRect() 498 LayoutRect RenderReplaced::selectionRectForPaintInvalidation(const RenderLayerModelObject* paintInv… in selectionRectForPaintInvalidation() 503 return LayoutRect(); in selectionRectForPaintInvalidation() 505 LayoutRect rect = localSelectionRect(); in selectionRectForPaintInvalidation() [all …]
|
D | RenderMultiColumnSet.h | 121 void paintInvalidationForFlowThreadContent(const LayoutRect& paintInvalidationRect) const; 128 …void collectLayerFragments(LayerFragments&, const LayoutRect& layerBoundingBox, const LayoutRect& … 150 LayoutRect columnRectAt(unsigned index) const; 153 LayoutRect flowThreadPortionRectAt(unsigned index) const; 154 …LayoutRect flowThreadPortionOverflowRect(const LayoutRect& flowThreadPortion, unsigned index, unsi…
|
D | RenderView.h | 87 …ationBacking(const RenderLayerModelObject* paintInvalidationContainer, LayoutRect&, ViewportConstr… 88 …ationBacking(const RenderLayerModelObject* paintInvalidationContainer, LayoutRect&, const PaintInv… 90 void invalidatePaintForRectangle(const LayoutRect&) const; 110 virtual LayoutRect viewRect() const OVERRIDE; 136 LayoutRect backgroundRect(RenderBox* backgroundRenderer) const; 158 virtual bool backgroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect) const OVERRIDE; 171 …virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint& layerOffset) const OV… 173 bool shouldInvalidatePaint(const LayoutRect&) const;
|
/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
D | LayoutRect.cpp | 41 LayoutRect::LayoutRect(const FloatRect& r) in LayoutRect() function in blink::LayoutRect 47 bool LayoutRect::intersects(const LayoutRect& other) const in intersects() 55 bool LayoutRect::contains(const LayoutRect& other) const in contains() 61 void LayoutRect::intersect(const LayoutRect& other) in intersect() 76 void LayoutRect::unite(const LayoutRect& other) in unite() 93 void LayoutRect::uniteIfNonZero(const LayoutRect& other) in uniteIfNonZero() 110 void LayoutRect::scale(float s) in scale() 116 void LayoutRect::scale(float xAxisScale, float yAxisScale) in scale() 123 void LayoutRect::show(bool showRawValue) const in show() 132 LayoutRect unionRect(const Vector<LayoutRect>& rects) in unionRect() [all …]
|
D | LayoutRect.h | 43 class PLATFORM_EXPORT LayoutRect { 45 LayoutRect() { } in LayoutRect() function 46 LayoutRect(const LayoutPoint& location, const LayoutSize& size) in LayoutRect() function 48 LayoutRect(LayoutUnit x, LayoutUnit y, LayoutUnit width, LayoutUnit height) in LayoutRect() function 50 LayoutRect(const FloatPoint& location, const FloatSize& size) in LayoutRect() function 52 LayoutRect(const IntRect& rect) : m_location(rect.location()), m_size(rect.size()) { } in LayoutRect() function 54 explicit LayoutRect(const FloatRect&); // don't do this implicitly since it's lossy 137 bool intersects(const LayoutRect&) const; 138 bool contains(const LayoutRect&) const; 146 void intersect(const LayoutRect&); [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/paint/ |
D | BoxPainter.h | 26 …void paintFillLayers(const PaintInfo&, const Color&, const FillLayer&, const LayoutRect&, Backgrou… 27 void paintMaskImages(const PaintInfo&, const LayoutRect&); 28 void paintBoxDecorationBackgroundWithRect(PaintInfo&, const LayoutPoint&, const LayoutRect&); 29 …xModelObject&, const PaintInfo&, const Color&, const FillLayer&, const LayoutRect&, BackgroundBlee… 30 … const RenderLayerModelObject* paintContainer, const FillLayer&, const LayoutRect& paintRect, Back… 32 …static void clipRoundedInnerRect(GraphicsContext*, const LayoutRect&, const RoundedRect& clipRect); 33 …static bool paintNinePieceImage(RenderBoxModelObject&, GraphicsContext*, const LayoutRect&, const … 34 …static void paintBorder(RenderBoxModelObject&, const PaintInfo&, const LayoutRect&, const RenderSt… 35 …static void paintBoxShadow(const PaintInfo&, const LayoutRect&, const RenderStyle*, ShadowStyle, b… 39 …void paintBackground(const PaintInfo&, const LayoutRect&, const Color& backgroundColor, Background… [all …]
|
D | InlineFlowBoxPainter.cpp | 21 LayoutRect overflowRect(m_inlineFlowBox.visualOverflowRect(lineTop, lineBottom)); in paint() 87 …aintInfo& paintInfo, const Color& c, const FillLayer& fillLayer, const LayoutRect& rect, Composite… in paintFillLayers() 96 …aintInfo& paintInfo, const Color& c, const FillLayer& fillLayer, const LayoutRect& rect, Composite… in paintFillLayer() 104 …paintInfo.context->clip(LayoutRect(rect.x(), rect.y(), m_inlineFlowBox.width(), m_inlineFlowBox.he… in paintFillLayer() 134 …paintInfo.context->clip(LayoutRect(rect.x(), rect.y(), m_inlineFlowBox.width(), m_inlineFlowBox.he… in paintFillLayer() 135 …erExtended(*m_inlineFlowBox.boxModelObject(), paintInfo, c, fillLayer, LayoutRect(stripX, stripY, … in paintFillLayer() 139 …Shadow(const PaintInfo& info, RenderStyle* s, ShadowStyle shadowStyle, const LayoutRect& paintRect) in paintBoxShadow() 151 static LayoutRect clipRectForNinePieceImageStrip(InlineFlowBox* box, const NinePieceImage& image, c… in clipRectForNinePieceImageStrip() 153 LayoutRect clipRect(paintRect); in clipRectForNinePieceImageStrip() 196 LayoutRect frameRect = roundedFrameRectClampedToLineTopAndBottomIfNeeded(); in paintBoxDecorationBackground() [all …]
|
D | InlineFlowBoxPainter.h | 17 class LayoutRect; variable 30 …void paintFillLayers(const PaintInfo&, const Color&, const FillLayer&, const LayoutRect&, Composit… 31 …void paintFillLayer(const PaintInfo&, const Color&, const FillLayer&, const LayoutRect&, Composite… 32 void paintBoxShadow(const PaintInfo&, RenderStyle*, ShadowStyle, const LayoutRect&); 33 LayoutRect roundedFrameRectClampedToLineTopAndBottomIfNeeded() const;
|
D | InlinePainter.h | 15 class LayoutRect; variable 27 …tlineForLine(GraphicsContext*, const LayoutPoint&, const LayoutRect& prevLine, const LayoutRect& t… 28 const LayoutRect& nextLine, const Color);
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
D | SpatialNavigation.cpp | 48 static RectsAlignment alignmentForRects(FocusType, const LayoutRect&, const LayoutRect&, const Layo… 49 static bool areRectsFullyAligned(FocusType, const LayoutRect&, const LayoutRect&); 50 static bool areRectsPartiallyAligned(FocusType, const LayoutRect&, const LayoutRect&); 51 static bool areRectsMoreThanFullScreenApart(FocusType, const LayoutRect& curRect, const LayoutRect&… 52 static bool isRectInDirection(FocusType, const LayoutRect&, const LayoutRect&); 53 static void deflateIfOverlapped(LayoutRect&, LayoutRect&); 54 static LayoutRect rectToAbsoluteCoordinates(LocalFrame* initialFrame, const LayoutRect&); 95 static RectsAlignment alignmentForRects(FocusType type, const LayoutRect& curRect, const LayoutRect… in alignmentForRects() 115 static inline LayoutUnit start(FocusType type, const LayoutRect& rect) in start() 120 static inline LayoutUnit middle(FocusType type, const LayoutRect& rect) in middle() [all …]
|
D | SpatialNavigation.h | 126 LayoutRect rect; 140 LayoutRect nodeRectInAbsoluteCoordinates(Node*, bool ignoreBorder = false); 141 LayoutRect frameRectInAbsoluteCoordinates(LocalFrame*); 142 LayoutRect virtualRectForDirection(FocusType, const LayoutRect& startingRect, LayoutUnit width = 0); 143 LayoutRect virtualRectForAreaElementAndDirection(HTMLAreaElement&, FocusType);
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
D | RenderedDocumentMarker.h | 44 void setRenderedRect(const LayoutRect& r) { m_renderedRect = r; } in setRenderedRect() 45 const LayoutRect& renderedRect() const { return m_renderedRect; } in renderedRect() 46 void invalidate(const LayoutRect&); 56 static const LayoutRect& invalidMarkerRect() in invalidMarkerRect() 58 static const LayoutRect rect = LayoutRect(-1, -1, -1, -1); in invalidMarkerRect() 62 LayoutRect m_renderedRect; 65 inline void RenderedDocumentMarker::invalidate(const LayoutRect& r) in invalidate()
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
D | Caret.cpp | 120 m_caretLocalRect = LayoutRect(); in clearCaretRect() 142 …etRectToCaretPainter(RenderObject* caretRenderer, RenderBlock* caretPainter, LayoutRect& caretRect) in mapCaretRectToCaretPainter() 162 caretRect = LayoutRect(); in mapCaretRectToCaretPainter() 167 m_caretLocalRect = LayoutRect(); in updateCaretRect() 199 IntRect CaretBase::absoluteBoundsForLocalRect(Node* node, const LayoutRect& rect) const in absoluteBoundsForLocalRect() 205 LayoutRect localRect(rect); in absoluteBoundsForLocalRect() 210 void CaretBase::invalidateLocalCaretRect(Node* node, const LayoutRect& rect) in invalidateLocalCaretRect() 218 LayoutRect inflatedRect = rect; in invalidateLocalCaretRect() 262 …* node, GraphicsContext* context, const LayoutPoint& paintOffset, const LayoutRect& clipRect) const in paintCaret() 267 LayoutRect drawingRect = localCaretRectWithoutUpdate(); in paintCaret() [all …]
|
D | Caret.h | 56 IntRect absoluteBoundsForLocalRect(Node*, const LayoutRect&) const; 58 void paintCaret(Node*, GraphicsContext*, const LayoutPoint&, const LayoutRect& clipRect) const; 60 const LayoutRect& localCaretRectWithoutUpdate() const { return m_caretLocalRect; } in localCaretRectWithoutUpdate() 71 static void invalidateLocalCaretRect(Node*, const LayoutRect&); 74 …LayoutRect m_caretLocalRect; // caret rect in coords local to the renderer responsible for paintin… 86 …void paintDragCaret(LocalFrame*, GraphicsContext*, const LayoutPoint&, const LayoutRect& clipRect)…
|