/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/events/ |
D | MouseRelatedEvent.h | 44 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/ |
D | RenderBlock.h | 152 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 …]
|
D | RenderListBox.h | 51 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);
|
D | HitTestResult.h | 53 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. 141 …LayoutPoint m_localPoint; // A point in the local coordinate space of m_innerNonSharedNode's rende…
|
D | RenderLineBoxList.h | 66 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;
|
D | RenderEmbeddedObject.h | 47 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…
|
D | RenderInline.h | 59 …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 …]
|
D | HitTestLocation.h | 40 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;
|
D | RenderBox.h | 136 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 …]
|
D | RenderLayer.h | 139 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; 525 …LayoutPoint renderBoxLocation() const { return renderer()->isBox() ? toRenderBox(renderer())->loca… in renderBoxLocation() 528 …xt*, const LayerPaintingInfo&, PaintLayerFlags, const LayoutPoint& translationOffset = LayoutPoint… [all …]
|
D | RenderWidget.h | 53 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&);
|
D | RenderReplaced.h | 66 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;
|
D | RenderPart.cpp | 90 …tTestResult& result, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOff… in nodeAtPoint() 103 LayoutPoint adjustedLocation = accumulatedOffset + location(); in nodeAtPoint() 104 …LayoutPoint contentOffset = LayoutPoint(borderLeft() + paddingLeft(), borderTop() + paddingTop()) … in nodeAtPoint()
|
D | RenderTableCell.h | 129 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…
|
D | EllipsisBox.h | 43 …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…
|
D | RenderWidget.cpp | 154 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()
|
D | EllipsisBox.cpp | 36 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()
|
D | RenderObject.h | 668 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 748 …LayoutPoint 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/ |
D | RenderSVGModelObject.cpp | 73 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()
|
D | RenderSVGForeignObject.cpp | 53 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()
|
D | RenderSVGModelObject.h | 57 …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/ |
D | Touch.h | 68 const LayoutPoint& absoluteLocation() const { return m_absoluteLocation; } in absoluteLocation() 81 const FloatSize& radius, float rotationAngle, float force, LayoutPoint absoluteLocation); 98 LayoutPoint m_absoluteLocation;
|