HomeSort by relevance Sort by last modified time
    Searched refs:LayoutPoint (Results 1 - 25 of 202) sorted by null

1 2 3 4 5 6 7 8 9

  /external/chromium_org/third_party/WebKit/Source/platform/geometry/
LayoutPoint.h 40 class LayoutPoint {
42 LayoutPoint() { }
43 LayoutPoint(LayoutUnit x, LayoutUnit y) : m_x(x), m_y(y) { }
44 LayoutPoint(const IntPoint& point) : m_x(point.x()), m_y(point.y()) { }
45 explicit LayoutPoint(const FloatPoint& size) : m_x(size.x()), m_y(size.y()) { }
46 explicit LayoutPoint(const LayoutSize& size) : m_x(size.width()), m_y(size.height()) { }
48 static LayoutPoint zero() { return LayoutPoint(); }
57 void moveBy(const LayoutPoint& offset) { move(offset.x(), offset.y()); }
65 LayoutPoint expandedTo(const LayoutPoint& other) cons
    [all...]
LayoutRect.cpp 41 : m_location(LayoutPoint(r.location()))
62 LayoutPoint newLocation(std::max(x(), other.x()), std::max(y(), other.y()));
63 LayoutPoint newMaxPoint(std::min(maxX(), other.maxX()), std::min(maxY(), other.maxY()));
67 newLocation = LayoutPoint(0, 0);
68 newMaxPoint = LayoutPoint(0, 0);
85 LayoutPoint newLocation(std::min(x(), other.x()), std::min(y(), other.y()));
86 LayoutPoint newMaxPoint(std::max(maxX(), other.maxX()), std::max(maxY(), other.maxY()));
102 LayoutPoint newLocation(std::min(x(), other.x()), std::min(y(), other.y()));
103 LayoutPoint newMaxPoint(std::max(maxX(), other.maxX()), std::max(maxY(), other.maxY()));
142 LayoutPoint location = flooredLayoutPoint(rect.minXMinYCorner())
    [all...]
LayoutRect.h 36 #include "platform/geometry/LayoutPoint.h"
46 LayoutRect(const LayoutPoint& location, const LayoutSize& size)
49 : m_location(LayoutPoint(x, y)), m_size(LayoutSize(width, height)) { }
56 LayoutPoint location() const { return m_location; }
62 void setLocation(const LayoutPoint& location) { m_location = location; }
88 LayoutPoint center() const { return LayoutPoint(x() + width() / 2, y() + height() / 2); }
91 void moveBy(const LayoutPoint& offset) { m_location.move(offset.x(), offset.y()); }
132 LayoutPoint minXMinYCorner() const { return m_location; } // typically topLeft
133 LayoutPoint maxXMinYCorner() const { return LayoutPoint(m_location.x() + m_size.width(), m_location.y()); } // (…)
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
LayoutPointTest.java 21 LayoutPoint point = LayoutPoint.create(mCanvas, 10, 20);
27 LayoutPoint point1 = LayoutPoint.create(mCanvas, 1, 1);
28 LayoutPoint point2 = LayoutPoint.create(mCanvas, 1, 2);
29 LayoutPoint point3 = LayoutPoint.create(mCanvas, 2, 1);
30 LayoutPoint point2b = LayoutPoint.create(mCanvas, 1, 2)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/events/
MouseRelatedEvent.h 28 #include "platform/geometry/LayoutPoint.h"
44 const LayoutPoint& clientLocation() const { return m_clientLocation; }
52 virtual const LayoutPoint& pageLocation() const;
58 const LayoutPoint& absoluteLocation() const { return m_absoluteLocation; }
59 void setAbsoluteLocation(const LayoutPoint& p) { m_absoluteLocation = p; }
69 void initCoordinates(const LayoutPoint& clientLocation);
77 LayoutPoint m_clientLocation;
78 LayoutPoint m_movementDelta;
81 LayoutPoint m_pageLocation;
82 LayoutPoint m_layerLocation
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderDetailsMarker.h 40 virtual void paint(PaintInfo&, const LayoutPoint&);
44 Path getPath(const LayoutPoint& origin) const;
RenderLineBoxList.h 66 void paint(RenderBoxModelObject*, PaintInfo&, const LayoutPoint&) const;
67 bool hitTest(RenderBoxModelObject*, const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) const;
70 bool anyLineIntersectsRect(RenderBoxModelObject*, const LayoutRect&, const LayoutPoint&, LayoutUnit outlineSize = 0) const;
71 bool lineIntersectsDirtyRect(RenderBoxModelObject*, InlineFlowBox*, const PaintInfo&, const LayoutPoint&) const;
72 bool rangeIntersectsRect(RenderBoxModelObject*, LayoutUnit logicalTop, LayoutUnit logicalBottom, const LayoutRect&, const LayoutPoint&) const;
RenderReplica.h 48 virtual void paint(PaintInfo&, const LayoutPoint&);
RenderWidget.h 58 virtual void paint(PaintInfo&, const LayoutPoint&);
59 virtual CursorDirective getCursor(const LayoutPoint&, Cursor&) const;
60 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) OVERRIDE;
62 virtual void paintContents(PaintInfo&, const LayoutPoint&);
RenderFieldset.h 49 virtual void paintBoxDecorations(PaintInfo&, const LayoutPoint&);
50 virtual void paintMask(PaintInfo&, const LayoutPoint&);
RenderFileUploadControl.h 50 virtual void paintObject(PaintInfo&, const LayoutPoint&);
56 virtual PositionWithAffinity positionForPoint(const LayoutPoint&) OVERRIDE FINAL;
HitTestLocation.h 48 HitTestLocation(const LayoutPoint&);
52 HitTestLocation(const LayoutPoint& centerPoint, unsigned topPadding, unsigned rightPadding, unsigned bottomPadding, unsigned leftPadding);
59 const LayoutPoint& point() const { return m_point; }
69 static IntRect rectForPoint(const LayoutPoint&, unsigned topPadding, unsigned rightPadding, unsigned bottomPadding, unsigned leftPadding);
88 LayoutPoint m_point;
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&, FloatRect& replacementTextRect, Font&, TextRun&, float& textWidth) const;
HitTestResult.h 53 HitTestResult(const LayoutPoint&);
55 HitTestResult(const LayoutPoint& centerPoint, unsigned topPadding, unsigned rightPadding, unsigned bottomPadding, unsigned leftPadding);
73 const LayoutPoint& pointInMainFrame() const { return m_hitTestLocation.point(); }
77 const LayoutPoint& pointInInnerNodeFrame() const { return m_pointInInnerNodeFrame; }
82 const LayoutPoint& localPoint() const { return m_localPoint; }
83 void setLocalPoint(const LayoutPoint& p) { m_localPoint = p; }
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 renderer. Allows us to efficiently
RenderHTMLCanvas.h 46 virtual void paintReplaced(PaintInfo&, const LayoutPoint&);
RenderReplaced.h 66 virtual void paint(PaintInfo&, const LayoutPoint&);
67 bool shouldPaint(PaintInfo&, const LayoutPoint&);
77 virtual void paintReplaced(PaintInfo&, const LayoutPoint&) { }
81 virtual PositionWithAffinity positionForPoint(const LayoutPoint&) OVERRIDE FINAL;
RenderListBox.h 51 LayoutRect itemBoundingBoxRect(const LayoutPoint&, int index);
69 virtual void paintObject(PaintInfo&, const LayoutPoint&);
70 virtual LayoutRect controlClipRect(const LayoutPoint&) const;
72 virtual bool isPointInOverflowControl(HitTestResult&, const LayoutPoint& locationInContainer, const LayoutPoint& accumulatedOffset);
85 virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint& additionalOffset, const RenderLayerModelObject* paintContainer = 0) OVERRIDE;
102 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) OVERRIDE;
149 void paintScrollbar(PaintInfo&, const LayoutPoint&);
150 void paintItemForeground(PaintInfo&, const LayoutPoint&, int listIndex);
151 void paintItemBackground(PaintInfo&, const LayoutPoint&, int listIndex)
    [all...]
RenderPart.h 44 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) OVERRIDE;
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
LayoutPoint.java 27 * A {@link LayoutPoint} is a coordinate in the Android canvas (in other words,
31 public final class LayoutPoint {
42 * Constructs a new {@link LayoutPoint} from the given event. The event
48 * @param event The mouse event to construct the {@link LayoutPoint}
50 * @return A {@link LayoutPoint} which corresponds to the given
53 public static LayoutPoint create(LayoutCanvas canvas, MouseEvent event) {
61 * Constructs a new {@link LayoutPoint} from the given event. The event
67 * @param event The mouse event to construct the {@link LayoutPoint}
69 * @return A {@link LayoutPoint} which corresponds to the given
72 public static LayoutPoint create(LayoutCanvas canvas, DragSourceEvent event)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
SVGRootInlineBox.h 47 virtual void paint(PaintInfo&, const LayoutPoint&, LayoutUnit lineTop, LayoutUnit lineBottom) OVERRIDE FINAL;
53 InlineBox* closestLeafChildForPosition(const LayoutPoint&);
RenderSVGHiddenContainer.cpp 42 void RenderSVGHiddenContainer::paint(PaintInfo&, const LayoutPoint&)
RenderSVGBlock.h 45 virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedOffset) const OVERRIDE FINAL;
RenderSVGHiddenContainer.h 43 virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE FINAL;
SVGInlineFlowBox.h 43 virtual void paint(PaintInfo&, const LayoutPoint&, LayoutUnit lineTop, LayoutUnit lineBottom);
  /external/chromium_org/third_party/WebKit/Source/core/page/
MouseEventWithHitTestResults.h 37 LayoutPoint localPoint() const { return m_hitTestResult.localPoint(); }

Completed in 405 milliseconds

1 2 3 4 5 6 7 8 9