/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 | 41 : m_location(LayoutPoint(r.location())) in LayoutRect() 62 LayoutPoint newLocation(std::max(x(), other.x()), std::max(y(), other.y())); in intersect() 63 LayoutPoint newMaxPoint(std::min(maxX(), other.maxX()), std::min(maxY(), other.maxY())); in intersect() 67 newLocation = LayoutPoint(0, 0); in intersect() 68 newMaxPoint = LayoutPoint(0, 0); in intersect() 85 LayoutPoint newLocation(std::min(x(), other.x()), std::min(y(), other.y())); in unite() 86 LayoutPoint newMaxPoint(std::max(maxX(), other.maxX()), std::max(maxY(), other.maxY())); in unite() 102 LayoutPoint newLocation(std::min(x(), other.x()), std::min(y(), other.y())); in uniteIfNonZero() 103 LayoutPoint newMaxPoint(std::max(maxX(), other.maxX()), std::max(maxY(), other.maxY())); in uniteIfNonZero() 142 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() 52 virtual const LayoutPoint& pageLocation() const; 58 const LayoutPoint& absoluteLocation() const { return m_absoluteLocation; } in absoluteLocation() 59 void setAbsoluteLocation(const LayoutPoint& p) { m_absoluteLocation = p; } in setAbsoluteLocation() 69 void initCoordinates(const LayoutPoint& clientLocation); 77 LayoutPoint m_clientLocation; 78 LayoutPoint m_movementDelta; 81 LayoutPoint m_pageLocation; 82 LayoutPoint m_layerLocation; 83 LayoutPoint m_offsetLocation; [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | RenderBlock.h | 218 virtual PositionWithAffinity positionForPoint(const LayoutPoint&) OVERRIDE; 223 LayoutPoint flipForWritingModeIncludingColumns(const LayoutPoint&) const; 233 …LayoutRect logicalLeftSelectionGap(RenderBlock* rootBlock, const LayoutPoint& rootBlockPhysicalPos… 235 …LayoutRect logicalRightSelectionGap(RenderBlock* rootBlock, const LayoutPoint& rootBlockPhysicalPo… 240 …LayoutRect logicalRectToPhysicalRect(const LayoutPoint& physicalPosition, const LayoutRect& logica… 249 virtual void adjustForColumns(LayoutSize&, const LayoutPoint&) const OVERRIDE FINAL; 250 void adjustForColumnRect(LayoutSize& offset, const LayoutPoint& locationInContainer) const; 389 static void paintAsInlineBlock(RenderObject*, PaintInfo&, const LayoutPoint&); 407 virtual void paint(PaintInfo&, const LayoutPoint&); 408 virtual void paintObject(PaintInfo&, const LayoutPoint&); [all …]
|
D | RenderListBox.h | 51 LayoutRect itemBoundingBoxRect(const LayoutPoint&, int index); 69 virtual void paintObject(PaintInfo&, const LayoutPoint&); 70 virtual LayoutRect controlClipRect(const LayoutPoint&) const; 72 …ool isPointInOverflowControl(HitTestResult&, const LayoutPoint& locationInContainer, const LayoutP… 85 …virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint& additionalOffset, const Render… 102 …st&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOff… 149 void paintScrollbar(PaintInfo&, const LayoutPoint&); 150 void paintItemForeground(PaintInfo&, const LayoutPoint&, int listIndex); 151 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() 138 LayoutPoint m_pointInInnerNodeFrame; // The hit-tested point in innerNode frame coordinates. 139 …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&, LayoutUni… 71 …rsectsDirtyRect(RenderBoxModelObject*, InlineFlowBox*, const PaintInfo&, const LayoutPoint&) const; 72 …ct*, LayoutUnit logicalTop, LayoutUnit logicalBottom, const LayoutRect&, const LayoutPoint&) const;
|
D | RenderInline.h | 56 …virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedOffset) const OVERRIDE … 59 …virtual LayoutSize offsetFromContainer(RenderObject*, const LayoutPoint&, bool* offsetDependsOnPoi… 84 …virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint& additionalOffset, const Render… 85 void paintOutline(PaintInfo&, const LayoutPoint&); 96 …st&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOff… 103 …virtual void computeSelfHitTestRects(Vector<LayoutRect>& rects, const LayoutPoint& layerOffset) co… 134 virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE FINAL; 136 …st&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOff… 151 virtual PositionWithAffinity positionForPoint(const LayoutPoint&) OVERRIDE FINAL; 170 virtual void updateHitTestResult(HitTestResult&, const LayoutPoint&) OVERRIDE FINAL; [all …]
|
D | HitTestLocation.h | 48 HitTestLocation(const LayoutPoint&); 52 …HitTestLocation(const LayoutPoint& centerPoint, unsigned topPadding, unsigned rightPadding, unsign… 59 const LayoutPoint& point() const { return m_point; } in point() 69 …static IntRect rectForPoint(const LayoutPoint&, unsigned topPadding, unsigned rightPadding, unsign… 88 LayoutPoint m_point;
|
D | RenderEmbeddedObject.h | 54 virtual void paintReplaced(PaintInfo&, const LayoutPoint&) OVERRIDE FINAL; 55 virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE FINAL; 67 void paintSnapshotImage(PaintInfo&, const LayoutPoint&, Image*); 68 virtual void paintContents(PaintInfo&, const LayoutPoint&) OVERRIDE FINAL; 76 …bool getReplacementTextGeometry(const LayoutPoint& accumulatedOffset, FloatRect& contentRect, Path…
|
D | RenderBox.h | 111 void setLogicalLocation(const LayoutPoint& location) in setLogicalLocation() 140 LayoutPoint location() const { return m_frameRect.location(); } in location() 145 void setLocation(const LayoutPoint& location) { m_frameRect.setLocation(location); } in setLocation() 154 LayoutRect borderBoxRect() const { return LayoutRect(LayoutPoint(), size()); } in borderBoxRect() 172 …virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint& additionalOffset, const Render… 307 virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedOffset) const; 316 virtual void paint(PaintInfo&, const LayoutPoint&); 317 …st&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOff… 345 …virtual LayoutSize offsetFromContainer(RenderObject*, const LayoutPoint&, bool* offsetDependsOnPoi… 485 …virtual LayoutRect overflowClipRect(const LayoutPoint& location, RenderRegion*, OverlayScrollbarSi… [all …]
|
D | RenderLayer.h | 132 const LayoutPoint& location() const { return m_topLeft; } in location() 133 void setLocation(const LayoutPoint& p) { m_topLeft = p; } in setLocation() 253 void convertToLayerCoords(const RenderLayer* ancestorLayer, LayoutPoint& location) const; 271 …backgroundRect, ClipRect& foregroundRect, ClipRect& outlineRect, const LayoutPoint* offsetFromRoot… 278 …nds, const LayoutRect& damageRect, const RenderLayer* rootLayer, const LayoutPoint* offsetFromRoot… 294 …Box(const RenderLayer* rootLayer, CalculateLayerBoundsFlags = 0, const LayoutPoint* offsetFromRoot… 308 …IntRect calculateLayerBounds(const RenderLayer* ancestorLayer, const LayoutPoint* offsetFromRoot =… 311 LayoutPoint computeOffsetFromRoot(bool& hasLayerOffset) const; 503 …LayoutPoint renderBoxLocation() const { return renderer()->isBox() ? toRenderBox(renderer())->loca… in renderBoxLocation() 506 …xt*, const LayerPaintingInfo&, PaintLayerFlags, const LayoutPoint& translationOffset = LayoutPoint… [all …]
|
D | RenderWidget.h | 58 virtual void paint(PaintInfo&, const LayoutPoint&); 59 virtual CursorDirective getCursor(const LayoutPoint&, Cursor&) const; 60 …st&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOff… 62 virtual void paintContents(PaintInfo&, const LayoutPoint&);
|
D | RenderReplaced.h | 66 virtual void paint(PaintInfo&, const LayoutPoint&); 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 | RenderTableCell.h | 127 virtual void paint(PaintInfo&, const LayoutPoint&); 129 void paintCollapsedBorders(PaintInfo&, const LayoutPoint&); 130 void paintBackgroundsBehindCell(PaintInfo&, const LayoutPoint&, RenderObject* backgroundObject); 222 …s(LayerHitTestRects&, const RenderLayer* currentCompositedLayer, const LayoutPoint& layerOffset, c… 233 virtual void paintBoxDecorations(PaintInfo&, const LayoutPoint&); 234 virtual void paintMask(PaintInfo&, const LayoutPoint&); 238 …virtual LayoutSize offsetFromContainer(RenderObject*, const LayoutPoint&, bool* offsetDependsOnPoi…
|
D | RenderPart.cpp | 114 …tTestResult& result, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOff… in nodeAtPoint() 123 LayoutPoint adjustedLocation = accumulatedOffset + location(); in nodeAtPoint() 124 …LayoutPoint contentOffset = LayoutPoint(borderLeft() + paddingLeft(), borderTop() + paddingTop()) … in nodeAtPoint()
|
D | EllipsisBox.cpp | 36 void EllipsisBox::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset, LayoutUnit lineTop, L… in paint() 43 LayoutPoint adjustedPaintOffset = paintOffset; in paint() 118 void EllipsisBox::paintMarkupBox(PaintInfo& paintInfo, const LayoutPoint& paintOffset, LayoutUnit l… in paintMarkupBox() 124 LayoutPoint adjustedPaintOffset = paintOffset; in paintMarkupBox() 163 …tTestResult& result, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOff… in nodeAtPoint() 165 LayoutPoint adjustedLocation = accumulatedOffset + roundedLayoutPoint(topLeft()); in nodeAtPoint() 172 …if (markupBox->nodeAtPoint(request, result, locationInContainer, LayoutPoint(mtx, mty), lineTop, l… in nodeAtPoint()
|
D | EllipsisBox.h | 43 virtual void paint(PaintInfo&, const LayoutPoint&, LayoutUnit lineTop, LayoutUnit lineBottom); 44 …st&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOff… 50 …void paintMarkupBox(PaintInfo&, const LayoutPoint& paintOffset, LayoutUnit lineTop, LayoutUnit lin…
|
D | RenderFlowThread.h | 68 …st&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOff… 82 … flowThreadPortionRect, const LayoutRect& flowThreadPortionOverflowRect, const LayoutPoint&) const; 83 …st&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOff… 101 …LayoutPoint adjustedPositionRelativeToOffsetParent(const RenderBoxModelObject&, const LayoutPoint&… 191 …LayoutRect computeRegionClippingRect(const LayoutPoint&, const LayoutRect&, const LayoutRect&) con…
|
D | RenderTextControlSingleLine.h | 52 virtual LayoutRect controlClipRect(const LayoutPoint&) const; 55 virtual void paint(PaintInfo&, const LayoutPoint&); 58 …st&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOff…
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
D | RenderSVGForeignObject.cpp | 48 void RenderSVGForeignObject::paint(PaintInfo& paintInfo, const LayoutPoint&) in paint() argument 72 LayoutPoint childPoint = IntPoint(); in paint() 182 …return RenderBlock::nodeAtPoint(request, result, hitTestLocation, LayoutPoint(), HitTestForeground) in nodeAtFloatPoint() 183 || RenderBlock::nodeAtPoint(request, result, hitTestLocation, LayoutPoint(), HitTestFloat) in nodeAtFloatPoint() 184 …|| RenderBlock::nodeAtPoint(request, result, hitTestLocation, LayoutPoint(), HitTestChildBlockBack… in nodeAtFloatPoint() 187 …t(const HitTestRequest&, HitTestResult&, const HitTestLocation&, const LayoutPoint&, HitTestAction) in nodeAtPoint() argument
|
D | RenderSVGModelObject.h | 56 …virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedOffset) const OVERRIDE … 71 …s(LayerHitTestRects&, const RenderLayer* currentCompositedLayer, const LayoutPoint& layerOffset, c… 79 …st&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOff…
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
D | Touch.h | 62 const LayoutPoint& absoluteLocation() const { return m_absoluteLocation; } in absoluteLocation() 72 int radiusX, int radiusY, float rotationAngle, float force, LayoutPoint absoluteLocation); 86 LayoutPoint m_absoluteLocation;
|
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/ |
D | MediaControlElements.h | 59 void startDrag(const LayoutPoint& eventLocation); 60 void continueDrag(const LayoutPoint& eventLocation); 67 void setPosition(const LayoutPoint&); 73 LayoutPoint m_lastDragEventLocation; 74 LayoutPoint m_cumulativeDragOffset;
|