Home
last modified time | relevance | path

Searched refs:LayoutPoint (Results 1 – 25 of 191) sorted by relevance

12345678

/external/chromium_org/third_party/WebKit/Source/platform/geometry/
DLayoutPoint.h40 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 …]
DLayoutRect.cpp42 : 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 …]
DLayoutRect.h46 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()
133LayoutPoint maxXMinYCorner() const { return LayoutPoint(m_location.x() + m_size.width(), m_locatio… in maxXMinYCorner()
134LayoutPoint minXMaxYCorner() const { return LayoutPoint(m_location.x(), m_location.y() + m_size.he… in minXMaxYCorner()
135LayoutPoint maxXMaxYCorner() const { return LayoutPoint(m_location.x() + m_size.width(), m_locatio… in maxXMaxYCorner()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/events/
DMouseRelatedEvent.h44 const LayoutPoint& clientLocation() const { return m_clientLocation; } in clientLocation()
57 const LayoutPoint& absoluteLocation() const { return m_absoluteLocation; } in absoluteLocation()
58 void setAbsoluteLocation(const LayoutPoint& p) { m_absoluteLocation = p; } in setAbsoluteLocation()
70 void initCoordinates(const LayoutPoint& clientLocation);
78 LayoutPoint m_clientLocation;
79 LayoutPoint m_movementDelta;
82 LayoutPoint m_pageLocation;
83 LayoutPoint m_layerLocation;
84 LayoutPoint m_offsetLocation;
85 LayoutPoint m_absoluteLocation;
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderBlock.h152 virtual PositionWithAffinity positionForPoint(const LayoutPoint&) OVERRIDE;
157 LayoutPoint flipForWritingModeIncludingColumns(const LayoutPoint&) const;
168 …LayoutRect logicalLeftSelectionGap(RenderBlock* rootBlock, const LayoutPoint& rootBlockPhysicalPos…
170 …LayoutRect logicalRightSelectionGap(RenderBlock* rootBlock, const LayoutPoint& rootBlockPhysicalPo…
175 …LayoutRect logicalRectToPhysicalRect(const LayoutPoint& physicalPosition, const LayoutRect& logica…
184 virtual LayoutSize columnOffset(const LayoutPoint&) const OVERRIDE;
185 void adjustForColumnRect(LayoutSize& offset, const LayoutPoint& locationInContainer) const;
247 …st&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOff…
265 static void paintAsInlineBlock(RenderObject*, PaintInfo&, const LayoutPoint&);
291 virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE;
[all …]
DRenderListBox.h51 LayoutRect itemBoundingBoxRect(const LayoutPoint&, int index) const;
71 virtual void paintObject(PaintInfo&, const LayoutPoint&) OVERRIDE;
72 virtual LayoutRect controlClipRect(const LayoutPoint&) const OVERRIDE;
74 …ool isPointInOverflowControl(HitTestResult&, const LayoutPoint& locationInContainer, const LayoutP…
87 …virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint& additionalOffset, const Render…
103 …st&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOff…
134 LayoutRect itemBoundingBoxRectInternal(const LayoutPoint&, int index) const;
150 void paintScrollbar(PaintInfo&, const LayoutPoint&);
151 void paintItemForeground(PaintInfo&, const LayoutPoint&, int listIndex);
152 void paintItemBackground(PaintInfo&, const LayoutPoint&, int listIndex);
DHitTestResult.h53 HitTestResult(const LayoutPoint&);
55 …HitTestResult(const LayoutPoint& centerPoint, unsigned topPadding, unsigned rightPadding, unsigned…
73 const LayoutPoint& pointInMainFrame() const { return m_hitTestLocation.point(); } in pointInMainFrame()
77 const LayoutPoint& pointInInnerNodeFrame() const { return m_pointInInnerNodeFrame; } in pointInInnerNodeFrame()
82 const LayoutPoint& localPoint() const { return m_localPoint; } in localPoint()
83 void setLocalPoint(const LayoutPoint& p) { m_localPoint = p; } in setLocalPoint()
140 LayoutPoint m_pointInInnerNodeFrame; // The hit-tested point in innerNode frame coordinates.
141LayoutPoint m_localPoint; // A point in the local coordinate space of m_innerNonSharedNode's rende…
DRenderLineBoxList.h66 void paint(RenderBoxModelObject*, PaintInfo&, const LayoutPoint&) const;
67 …st&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOff…
70 bool anyLineIntersectsRect(RenderBoxModelObject*, const LayoutRect&, const LayoutPoint&) const;
71 …rsectsDirtyRect(RenderBoxModelObject*, InlineFlowBox*, const PaintInfo&, const LayoutPoint&) const;
72 …ct*, LayoutUnit logicalTop, LayoutUnit logicalBottom, const LayoutRect&, const LayoutPoint&) const;
DRenderEmbeddedObject.h47 virtual void paintReplaced(PaintInfo&, const LayoutPoint&) OVERRIDE FINAL;
48 virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE FINAL;
58 void paintSnapshotImage(PaintInfo&, const LayoutPoint&, Image*);
59 virtual void paintContents(PaintInfo&, const LayoutPoint&) OVERRIDE FINAL;
65 …bool getReplacementTextGeometry(const LayoutPoint& accumulatedOffset, FloatRect& contentRect, Path…
DRenderInline.h59 …virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedOffset) const OVERRIDE …
62 …virtual LayoutSize offsetFromContainer(const RenderObject*, const LayoutPoint&, bool* offsetDepend…
87 …virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint& additionalOffset, const Render…
88 void paintOutline(PaintInfo&, const LayoutPoint&);
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;
173 virtual void updateHitTestResult(HitTestResult&, const LayoutPoint&) OVERRIDE FINAL;
[all …]
DHitTestLocation.h40 HitTestLocation(const LayoutPoint&);
44 …HitTestLocation(const LayoutPoint& centerPoint, unsigned topPadding, unsigned rightPadding, unsign…
50 const LayoutPoint& point() const { return m_point; } in point()
58 …static IntRect rectForPoint(const LayoutPoint&, unsigned topPadding, unsigned rightPadding, unsign…
77 LayoutPoint m_point;
DRenderBox.h136 void setLogicalLocation(const LayoutPoint& location) in setLogicalLocation()
165 LayoutPoint location() const { return m_frameRect.location(); } in location()
170 void setLocation(const LayoutPoint& location) { m_frameRect.setLocation(location); } in setLocation()
179 LayoutRect borderBoxRect() const { return LayoutRect(LayoutPoint(), size()); } in borderBoxRect()
195 …virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint& additionalOffset, const Render…
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 …]
DRenderLayer.h139 const LayoutPoint& location() const { return m_topLeft; } in location()
140 void setLocation(const LayoutPoint& p) { m_topLeft = p; } in setLocation()
241 void convertToLayerCoords(const RenderLayer* ancestorLayer, LayoutPoint& location) const;
255 …nds, const LayoutRect& damageRect, const RenderLayer* rootLayer, const LayoutPoint* offsetFromRoot…
258 …LayoutRect physicalBoundingBox(const RenderLayer* ancestorLayer, const LayoutPoint* offsetFromRoot…
259 …gReflectionAndStackingChildren(const RenderLayer* ancestorLayer, const LayoutPoint& offsetFromRoot…
342 …static LayoutPoint positionFromPaintInvalidationContainer(const RenderObject*, const RenderLayerMo…
491 LayoutPoint computeOffsetFromTransformedAncestor() const;
525LayoutPoint renderBoxLocation() const { return renderer()->isBox() ? toRenderBox(renderer())->loca… in renderBoxLocation()
528 …xt*, const LayerPaintingInfo&, PaintLayerFlags, const LayoutPoint& translationOffset = LayoutPoint
[all …]
DRenderWidget.h53 virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE;
54 virtual CursorDirective getCursor(const LayoutPoint&, Cursor&) const OVERRIDE FINAL;
55 …st&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOff…
57 virtual void paintContents(PaintInfo&, const LayoutPoint&);
DRenderReplaced.h66 virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE;
67 bool shouldPaint(PaintInfo&, const LayoutPoint&);
77 virtual void paintReplaced(PaintInfo&, const LayoutPoint&) { } in paintReplaced() argument
81 virtual PositionWithAffinity positionForPoint(const LayoutPoint&) OVERRIDE FINAL;
DRenderPart.cpp90 …tTestResult& result, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOff… in nodeAtPoint()
103 LayoutPoint adjustedLocation = accumulatedOffset + location(); in nodeAtPoint()
104LayoutPoint contentOffset = LayoutPoint(borderLeft() + paddingLeft(), borderTop() + paddingTop()) … in nodeAtPoint()
DRenderTableCell.h129 virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE;
131 void paintCollapsedBorders(PaintInfo&, const LayoutPoint&);
132 void paintBackgroundsBehindCell(PaintInfo&, const LayoutPoint&, RenderObject* backgroundObject);
224 …s(LayerHitTestRects&, const RenderLayer* currentCompositedLayer, const LayoutPoint& layerOffset, c…
235 virtual void paintBoxDecorations(PaintInfo&, const LayoutPoint&) OVERRIDE;
236 virtual void paintMask(PaintInfo&, const LayoutPoint&) OVERRIDE;
240 …virtual LayoutSize offsetFromContainer(const RenderObject*, const LayoutPoint&, bool* offsetDepend…
DEllipsisBox.h43 …virtual void paint(PaintInfo&, const LayoutPoint&, LayoutUnit lineTop, LayoutUnit lineBottom) OVER…
44 …st&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOff…
50 …void paintMarkupBox(PaintInfo&, const LayoutPoint& paintOffset, LayoutUnit lineTop, LayoutUnit lin…
DRenderWidget.cpp154 void RenderWidget::paintContents(PaintInfo& paintInfo, const LayoutPoint& paintOffset) in paintContents()
156 LayoutPoint adjustedPaintOffset = paintOffset + location(); in paintContents()
190 void RenderWidget::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset) in paint()
197 LayoutPoint adjustedPaintOffset = paintOffset + location(); in paint()
304 …tTestResult& result, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOff… in nodeAtPoint()
315 CursorDirective RenderWidget::getCursor(const LayoutPoint& point, Cursor& cursor) const in getCursor()
DEllipsisBox.cpp36 void EllipsisBox::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset, LayoutUnit lineTop, L… in paint()
116 void EllipsisBox::paintMarkupBox(PaintInfo& paintInfo, const LayoutPoint& paintOffset, LayoutUnit l… in paintMarkupBox()
122 LayoutPoint adjustedPaintOffset = paintOffset; in paintMarkupBox()
159 …tTestResult& result, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOff… in nodeAtPoint()
161 LayoutPoint adjustedLocation = accumulatedOffset + roundedLayoutPoint(topLeft()); in nodeAtPoint()
168 …if (markupBox->nodeAtPoint(request, result, locationInContainer, LayoutPoint(mtx, mty), lineTop, l… in nodeAtPoint()
DRenderObject.h668 virtual void paint(PaintInfo&, const LayoutPoint&);
693 …st&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOff…
694 virtual void updateHitTestResult(HitTestResult&, const LayoutPoint&);
695 …st&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOff…
697 virtual PositionWithAffinity positionForPoint(const LayoutPoint&);
741 …virtual LayoutSize offsetFromContainer(const RenderObject*, const LayoutPoint&, bool* offsetDepend…
745 virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint&) const { } in absoluteRects() argument
748LayoutPoint positionFromPaintInvalidationContainer(const RenderLayerModelObject* paintInvalidation…
789 virtual CursorDirective getCursor(const LayoutPoint&, Cursor&) const;
834 const LayoutRect& oldBounds, const LayoutPoint& oldPositionFromPaintInvalidationContainer,
[all …]
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DRenderSVGModelObject.cpp73 void RenderSVGModelObject::absoluteRects(Vector<IntRect>& rects, const LayoutPoint& accumulatedOffs… in absoluteRects()
97 …itTestRects(LayerHitTestRects&, const RenderLayer* currentLayer, const LayoutPoint& layerOffset, c… in addLayerHitTestRects()
114 …t(const HitTestRequest&, HitTestResult&, const HitTestLocation&, const LayoutPoint&, HitTestAction) in nodeAtPoint() argument
140 …const LayoutPoint oldPositionFromPaintInvalidationContainer = previousPositionFromPaintInvalidatio… in invalidateTreeAfterLayout()
161 …const LayoutPoint& newPositionFromPaintInvalidationContainer = previousPositionFromPaintInvalidati… in invalidateTreeAfterLayout()
DRenderSVGForeignObject.cpp53 void RenderSVGForeignObject::paint(PaintInfo& paintInfo, const LayoutPoint&) in paint() argument
77 LayoutPoint childPoint = IntPoint(); in paint()
184 …return RenderBlock::nodeAtPoint(request, result, hitTestLocation, LayoutPoint(), HitTestForeground) in nodeAtFloatPoint()
185 || RenderBlock::nodeAtPoint(request, result, hitTestLocation, LayoutPoint(), HitTestFloat) in nodeAtFloatPoint()
186 …|| RenderBlock::nodeAtPoint(request, result, hitTestLocation, LayoutPoint(), HitTestChildBlockBack… in nodeAtFloatPoint()
DRenderSVGModelObject.h57 …virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedOffset) const OVERRIDE …
73 …s(LayerHitTestRects&, const RenderLayer* currentCompositedLayer, const LayoutPoint& layerOffset, c…
81 …st&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOff…
/external/chromium_org/third_party/WebKit/Source/core/dom/
DTouch.h68 const LayoutPoint& absoluteLocation() const { return m_absoluteLocation; } in absoluteLocation()
81 const FloatSize& radius, float rotationAngle, float force, LayoutPoint absoluteLocation);
98 LayoutPoint m_absoluteLocation;

12345678