/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
D | LayoutPoint.h | 40 class LayoutPoint { 42 LayoutPoint() { } in LayoutPoint() function 43 LayoutPoint(LayoutUnit x, LayoutUnit y) : m_x(x), m_y(y) { } in LayoutPoint() function 44 LayoutPoint(const IntPoint& point) : m_x(point.x()), m_y(point.y()) { } in LayoutPoint() function 45 explicit LayoutPoint(const FloatPoint& size) : m_x(size.x()), m_y(size.y()) { } in LayoutPoint() function 46 explicit LayoutPoint(const LayoutSize& size) : m_x(size.width()), m_y(size.height()) { } in LayoutPoint() function 48 static LayoutPoint zero() { return LayoutPoint(); } in zero() 57 void moveBy(const LayoutPoint& offset) { move(offset.x(), offset.y()); } in moveBy() 65 LayoutPoint expandedTo(const LayoutPoint& other) const in expandedTo() 67 return LayoutPoint(std::max(m_x, other.m_x), std::max(m_y, other.m_y)); in expandedTo() [all …]
|
D | LayoutRect.cpp | 42 : m_location(LayoutPoint(r.location())) in LayoutRect() 63 LayoutPoint newLocation(std::max(x(), other.x()), std::max(y(), other.y())); in intersect() 64 LayoutPoint newMaxPoint(std::min(maxX(), other.maxX()), std::min(maxY(), other.maxY())); in intersect() 68 newLocation = LayoutPoint(0, 0); in intersect() 69 newMaxPoint = LayoutPoint(0, 0); in intersect() 86 LayoutPoint newLocation(std::min(x(), other.x()), std::min(y(), other.y())); in unite() 87 LayoutPoint newMaxPoint(std::max(maxX(), other.maxX()), std::max(maxY(), other.maxY())); in unite() 103 LayoutPoint newLocation(std::min(x(), other.x()), std::min(y(), other.y())); in uniteIfNonZero() 104 LayoutPoint newMaxPoint(std::max(maxX(), other.maxX()), std::max(maxY(), other.maxY())); in uniteIfNonZero() 153 LayoutPoint location = flooredLayoutPoint(rect.minXMinYCorner()); in enclosingLayoutRect() [all …]
|
D | LayoutRect.h | 46 LayoutRect(const LayoutPoint& location, const LayoutSize& size) in LayoutRect() 49 : m_location(LayoutPoint(x, y)), m_size(LayoutSize(width, height)) { } in LayoutRect() 56 LayoutPoint location() const { return m_location; } in location() 62 void setLocation(const LayoutPoint& location) { m_location = location; } in setLocation() 88 LayoutPoint center() const { return LayoutPoint(x() + width() / 2, y() + height() / 2); } in center() 91 void moveBy(const LayoutPoint& offset) { m_location.move(offset.x(), offset.y()); } in moveBy() 132 LayoutPoint minXMinYCorner() const { return m_location; } // typically topLeft in minXMinYCorner() 133 …LayoutPoint maxXMinYCorner() const { return LayoutPoint(m_location.x() + m_size.width(), m_locatio… in maxXMinYCorner() 134 …LayoutPoint minXMaxYCorner() const { return LayoutPoint(m_location.x(), m_location.y() + m_size.he… in minXMaxYCorner() 135 …LayoutPoint maxXMaxYCorner() const { return LayoutPoint(m_location.x() + m_size.width(), m_locatio… in maxXMaxYCorner() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/paint/ |
D | BlockPainter.h | 12 class LayoutPoint; variable 23 void paint(PaintInfo&, const LayoutPoint& paintOffset); 24 void paintObject(PaintInfo&, const LayoutPoint&); 25 void paintChildren(PaintInfo&, const LayoutPoint&); 26 void paintChildAsInlineBlock(RenderBox*, PaintInfo&, const LayoutPoint&); 31 static void paintAsInlineBlock(RenderObject*, PaintInfo&, const LayoutPoint&); 32 …static void paintChildrenOfFlexibleBox(RenderFlexibleBox&, PaintInfo&, const LayoutPoint& paintOff… 33 static void paintInlineBox(InlineBox&, PaintInfo&, const LayoutPoint& paintOffset); 38 void paintCarets(PaintInfo&, const LayoutPoint&); 39 void paintContents(PaintInfo&, const LayoutPoint&); [all …]
|
D | TablePainter.h | 10 class LayoutPoint; variable 18 void paint(PaintInfo&, const LayoutPoint&); 19 void paintObject(PaintInfo&, const LayoutPoint&); 20 void paintBoxDecorationBackground(PaintInfo&, const LayoutPoint&); 21 void paintMask(PaintInfo&, const LayoutPoint&);
|
D | TableSectionPainter.h | 10 class LayoutPoint; variable 19 void paint(PaintInfo&, const LayoutPoint&); 20 void paintObject(PaintInfo&, const LayoutPoint&); 23 void paintCell(RenderTableCell*, PaintInfo&, const LayoutPoint&);
|
D | GridPainter.h | 11 class LayoutPoint; variable 19 void paintChildren(PaintInfo&, const LayoutPoint&); 20 void paintChild(RenderBox&, PaintInfo&, const LayoutPoint&); 22 void paint(PaintInfo&, const LayoutPoint& paintOffset);
|
D | TablePainter.cpp | 17 void TablePainter::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset) in paint() 21 LayoutPoint adjustedPaintOffset = paintOffset + m_renderTable.location(); in paint() 39 void TablePainter::paintObject(PaintInfo& paintInfo, const LayoutPoint& paintOffset) in paintObject() 64 …LayoutPoint childPoint = m_renderTable.flipForWritingModeForChild(toRenderBox(child), paintOffset); in paintObject() 80 … LayoutPoint childPoint = m_renderTable.flipForWritingModeForChild(section, paintOffset); in paintObject() 92 void TablePainter::paintBoxDecorationBackground(PaintInfo& paintInfo, const LayoutPoint& paintOffse… in paintBoxDecorationBackground() 102 void TablePainter::paintMask(PaintInfo& paintInfo, const LayoutPoint& paintOffset) in paintMask()
|
D | InlinePainter.h | 14 class LayoutPoint; variable 23 void paint(PaintInfo&, const LayoutPoint& paintOffset); 24 void paintOutline(PaintInfo&, const LayoutPoint& paintOffset); 27 …void paintOutlineForLine(GraphicsContext*, const LayoutPoint&, const LayoutRect& prevLine, const L…
|
D | BlockPainter.cpp | 29 void BlockPainter::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset) in paint() 33 LayoutPoint adjustedPaintOffset = paintOffset + m_renderBlock.location(); in paint() 77 void BlockPainter::paintChildren(PaintInfo& paintInfo, const LayoutPoint& paintOffset) in paintChildren() 83 void BlockPainter::paintChild(RenderBox* child, PaintInfo& paintInfo, const LayoutPoint& paintOffse… in paintChild() 85 LayoutPoint childPoint = m_renderBlock.flipForWritingModeForChild(child, paintOffset); in paintChild() 90 …ibleBox(RenderFlexibleBox& renderFlexibleBox, PaintInfo& paintInfo, const LayoutPoint& paintOffset) in paintChildrenOfFlexibleBox() 96 …er::paintChildAsInlineBlock(RenderBox* child, PaintInfo& paintInfo, const LayoutPoint& paintOffset) in paintChildAsInlineBlock() 98 LayoutPoint childPoint = m_renderBlock.flipForWritingModeForChild(child, paintOffset); in paintChildAsInlineBlock() 103 void BlockPainter::paintInlineBox(InlineBox& inlineBox, PaintInfo& paintInfo, const LayoutPoint& pa… in paintInlineBox() 108 LayoutPoint childPoint = paintOffset; in paintInlineBox() [all …]
|
D | InlineFlowBoxPainter.h | 16 class LayoutPoint; variable 25 … void paint(PaintInfo&, const LayoutPoint&, const LayoutUnit lineTop, const LayoutUnit lineBottom); 28 void paintBoxDecorationBackground(PaintInfo&, const LayoutPoint&); 29 void paintMask(PaintInfo&, const LayoutPoint&);
|
D | BoxPainter.h | 13 class LayoutPoint; variable 21 void paint(PaintInfo&, const LayoutPoint&); 23 void paintBoxDecorationBackground(PaintInfo&, const LayoutPoint&); 24 void paintMask(PaintInfo&, const LayoutPoint&); 25 void paintClippingMask(PaintInfo&, const LayoutPoint&); 28 void paintBoxDecorationBackgroundWithRect(PaintInfo&, const LayoutPoint&, const LayoutRect&);
|
D | MultiColumnSetPainter.h | 11 class LayoutPoint; variable 17 void paintObject(PaintInfo&, const LayoutPoint& paintOffset); 20 void paintColumnRules(PaintInfo&, const LayoutPoint& paintOffset);
|
D | DetailsMarkerPainter.h | 12 class LayoutPoint; variable 19 void paint(PaintInfo&, const LayoutPoint& paintOffset); 23 Path getPath(const LayoutPoint& origin) const;
|
D | ListMarkerPainter.h | 12 class LayoutPoint; variable 19 void paint(PaintInfo&, const LayoutPoint& paintOffset); 23 Path getPath(const LayoutPoint& origin) const;
|
/external/chromium_org/third_party/WebKit/Source/core/events/ |
D | MouseRelatedEvent.h | 44 const LayoutPoint& clientLocation() const { return m_clientLocation; } in clientLocation() 60 const LayoutPoint& absoluteLocation() const { return m_absoluteLocation; } in absoluteLocation() 61 void setAbsoluteLocation(const LayoutPoint& p) { m_absoluteLocation = p; } in setAbsoluteLocation() 73 void initCoordinates(const LayoutPoint& clientLocation); 81 LayoutPoint m_clientLocation; 82 LayoutPoint m_movementDelta; 85 LayoutPoint m_pageLocation; 86 LayoutPoint m_layerLocation; 87 LayoutPoint m_offsetLocation; 88 LayoutPoint m_absoluteLocation;
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | RenderBlock.h | 151 virtual PositionWithAffinity positionForPoint(const LayoutPoint&) OVERRIDE; 156 LayoutPoint flipForWritingModeIncludingColumns(const LayoutPoint&) const; 164 …LayoutRect logicalLeftSelectionGap(const RenderBlock* rootBlock, const LayoutPoint& rootBlockPhysi… 166 …LayoutRect logicalRightSelectionGap(const RenderBlock* rootBlock, const LayoutPoint& rootBlockPhys… 173 …LayoutRect logicalRectToPhysicalRect(const LayoutPoint& physicalPosition, const LayoutRect& logica… 182 virtual LayoutSize columnOffset(const LayoutPoint&) const OVERRIDE; 183 void adjustForColumnRect(LayoutSize& offset, const LayoutPoint& locationInContainer) const; 233 …st&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOff… 246 …GapRects selectionGaps(const RenderBlock* rootBlock, const LayoutPoint& rootBlockPhysicalPosition,… 281 virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE; [all …]
|
D | HitTestResult.h | 55 HitTestResult(const LayoutPoint&); 57 …HitTestResult(const LayoutPoint& centerPoint, unsigned topPadding, unsigned rightPadding, unsigned… 80 const LayoutPoint& pointInMainFrame() const { return m_hitTestLocation.point(); } in pointInMainFrame() 84 const LayoutPoint& pointInInnerNodeFrame() const { return m_pointInInnerNodeFrame; } in pointInInnerNodeFrame() 89 const LayoutPoint& localPoint() const { return m_localPoint; } in localPoint() 90 void setLocalPoint(const LayoutPoint& p) { m_localPoint = p; } in setLocalPoint() 133 void resolveRectBasedTest(Node* resolvedInnerNode, const LayoutPoint& resolvedPointInMainFrame); 145 LayoutPoint m_pointInInnerNodeFrame; // The hit-tested point in innerNode frame coordinates. 146 …LayoutPoint m_localPoint; // A point in the local coordinate space of m_innerNonSharedNode's rende…
|
D | RenderBox.h | 138 void setLogicalLocation(const LayoutPoint& location) in setLogicalLocation() 167 LayoutPoint location() const { return m_frameRect.location(); } in location() 172 void setLocation(const LayoutPoint& location) { m_frameRect.setLocation(location); } in setLocation() 181 LayoutRect borderBoxRect() const { return LayoutRect(LayoutPoint(), size()); } in borderBoxRect() 197 …virtual void addFocusRingRects(Vector<LayoutRect>&, const LayoutPoint& additionalOffset, const Ren… 330 … virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedOffset) const OVERRIDE; 338 virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE; 339 …st&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOff… 367 …virtual LayoutSize offsetFromContainer(const RenderObject*, const LayoutPoint&, bool* offsetDepend… 502 …virtual LayoutRect overflowClipRect(const LayoutPoint& location, OverlayScrollbarSizeRelevancy = I… [all …]
|
D | HitTestLocation.h | 42 HitTestLocation(const LayoutPoint&); 46 …HitTestLocation(const LayoutPoint& centerPoint, unsigned topPadding, unsigned rightPadding, unsign… 52 const LayoutPoint& point() const { return m_point; } in point() 60 …static IntRect rectForPoint(const LayoutPoint&, unsigned topPadding, unsigned rightPadding, unsign… 80 LayoutPoint m_point;
|
D | RenderLineBoxList.h | 66 …st&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOff… 67 bool anyLineIntersectsRect(RenderBoxModelObject*, const LayoutRect&, const LayoutPoint&) const; 68 …rsectsDirtyRect(RenderBoxModelObject*, InlineFlowBox*, const PaintInfo&, const LayoutPoint&) const; 69 …ct*, LayoutUnit logicalTop, LayoutUnit logicalBottom, const LayoutRect&, const LayoutPoint&) const;
|
D | RenderWidget.h | 52 virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE; 53 virtual CursorDirective getCursor(const LayoutPoint&, Cursor&) const OVERRIDE FINAL; 54 …st&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOff… 56 virtual void paintContents(PaintInfo&, const LayoutPoint&);
|
D | RenderLayer.h | 137 LayoutPoint location() const; 222 void convertToLayerCoords(const RenderLayer* ancestorLayer, LayoutPoint&) const; 236 …nds, const LayoutRect& damageRect, const RenderLayer* rootLayer, const LayoutPoint* offsetFromRoot… 239 …LayoutRect physicalBoundingBox(const RenderLayer* ancestorLayer, const LayoutPoint* offsetFromRoot… 240 …gReflectionAndStackingChildren(const RenderLayer* ancestorLayer, const LayoutPoint& offsetFromRoot… 323 …static LayoutPoint positionFromPaintInvalidationBacking(const RenderObject*, const RenderLayerMode… 520 LayoutPoint computeOffsetFromTransformedAncestor() const; 555 …LayoutPoint renderBoxLocation() const { return renderer()->isBox() ? toRenderBox(renderer())->loca… in renderBoxLocation() 558 …xt*, const LayerPaintingInfo&, PaintLayerFlags, const LayoutPoint& translationOffset = LayoutPoint… 570 ShouldRespectOverflowClip = RespectOverflowClip, const LayoutPoint* offsetFromRoot = 0, [all …]
|
D | RenderEmbeddedObject.h | 47 virtual void paintContents(PaintInfo&, const LayoutPoint&) OVERRIDE FINAL; 48 virtual void paintReplaced(PaintInfo&, const LayoutPoint&) OVERRIDE FINAL; 49 virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE FINAL; 61 …bool getReplacementTextGeometry(const LayoutPoint& accumulatedOffset, FloatRect& contentRect, Path…
|
D | RenderInline.h | 60 …virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedOffset) const OVERRIDE … 63 …virtual LayoutSize offsetFromContainer(const RenderObject*, const LayoutPoint&, bool* offsetDepend… 88 …virtual void addFocusRingRects(Vector<LayoutRect>&, const LayoutPoint& additionalOffset, const Ren… 99 …st&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOff… 106 …virtual void computeSelfHitTestRects(Vector<LayoutRect>& rects, const LayoutPoint& layerOffset) co… 137 virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE FINAL; 139 …st&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOff… 154 virtual PositionWithAffinity positionForPoint(const LayoutPoint&) OVERRIDE FINAL; 171 virtual void updateHitTestResult(HitTestResult&, const LayoutPoint&) OVERRIDE FINAL;
|