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

1 2 3 4 5 6 7 8 910

  /external/chromium_org/third_party/WebKit/Source/platform/geometry/
IntPoint.h 44 class PLATFORM_EXPORT IntPoint {
46 IntPoint() : m_x(0), m_y(0) { }
47 IntPoint(int x, int y) : m_x(x), m_y(y) { }
48 explicit IntPoint(const IntSize& size) : m_x(size.width()), m_y(size.height()) { }
50 static IntPoint zero() { return IntPoint(); }
59 void moveBy(const IntPoint& offset) { move(offset.x(), offset.y()); }
67 IntPoint expandedTo(const IntPoint& other) const
69 return IntPoint(m_x > other.m_x ? m_x : other.m_x
    [all...]
IntRect.h 29 #include "platform/geometry/IntPoint.h"
54 IntRect(const IntPoint& location, const IntSize& size)
57 : m_location(IntPoint(x, y)), m_size(IntSize(width, height)) { }
62 IntPoint location() const { return m_location; }
65 void setLocation(const IntPoint& location) { m_location = location; }
84 IntPoint center() const { return IntPoint(x() + width() / 2, y() + height() / 2); }
87 void moveBy(const IntPoint& offset) { m_location.move(offset.x(), offset.y()); }
118 IntPoint minXMinYCorner() const { return m_location; } // typically topLeft
119 IntPoint maxXMinYCorner() const { return IntPoint(m_location.x() + m_size.width(), m_location.y()); } // ty (…)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/page/
TouchAdjustment.h 23 #include "platform/geometry/IntPoint.h"
33 bool findBestClickableCandidate(Node*& targetNode, IntPoint& targetPoint, const IntPoint& touchHotspot, const IntRect& touchArea, const WillBeHeapVector<RefPtrWillBeMember<Node> >&);
34 bool findBestContextMenuCandidate(Node*& targetNode, IntPoint& targetPoint, const IntPoint& touchHotspot, const IntRect& touchArea, const WillBeHeapVector<RefPtrWillBeMember<Node> >&);
35 bool findBestZoomableArea(Node*& targetNode, IntRect& targetArea, const IntPoint& touchHotspot, const IntRect& touchArea, const WillBeHeapVector<RefPtrWillBeMember<Node> >&);
DragClient.h 38 class IntPoint;
43 virtual void startDrag(DragImage*, const IntPoint& dragImageOrigin, const IntPoint& eventPos, DataTransfer*, LocalFrame*, bool linkDrag = false) = 0;
DragData.h 30 #include "platform/geometry/IntPoint.h"
56 DragData(DataObject*, const IntPoint& clientPosition, const IntPoint& globalPosition, DragOperation, DragApplicationFlags = DragApplicationNone);
57 DragData(const String& dragStorageName, const IntPoint& clientPosition, const IntPoint& globalPosition, DragOperation, DragApplicationFlags = DragApplicationNone);
58 const IntPoint& clientPosition() const { return m_clientPosition; }
59 const IntPoint& globalPosition() const { return m_globalPosition; }
78 IntPoint m_clientPosition;
79 IntPoint m_globalPosition;
AutoscrollController.h 29 #include "platform/geometry/IntPoint.h"
65 void updateDragAndDrop(Node* targetNode, const IntPoint& eventPosition, double eventTime);
68 void startPanScrolling(RenderBox*, const IntPoint&);
77 void updatePanScrollState(FrameView*, const IntPoint& lastKnownMousePosition);
83 IntPoint m_dragAndDropAutoscrollReferencePosition;
86 IntPoint m_panScrollStartPos;
  /external/chromium_org/third_party/WebKit/Source/platform/geometry/mac/
IntPointMac.mm 27 #include "platform/geometry/IntPoint.h"
33 IntPoint::IntPoint(const NSPoint& p) : m_x(static_cast<int>(p.x)), m_y(static_cast<int>(p.y))
37 IntPoint::operator NSPoint() const
  /external/chromium_org/third_party/WebKit/Source/platform/geometry/cg/
IntPointCG.cpp 27 #include "platform/geometry/IntPoint.h"
33 IntPoint::IntPoint(const CGPoint& p) : m_x(static_cast<int>(p.x)), m_y(static_cast<int>(p.y))
37 IntPoint::operator CGPoint() const
  /external/chromium_org/third_party/WebKit/Source/platform/
PlatformMouseEvent.h 30 #include "platform/geometry/IntPoint.h"
55 PlatformMouseEvent(const IntPoint& position, const IntPoint& globalPosition, MouseButton button, PlatformEvent::Type type, int clickCount, Modifiers modifiers, double timestamp)
66 PlatformMouseEvent(const IntPoint& position, const IntPoint& globalPosition, MouseButton button, PlatformEvent::Type type, int clickCount, Modifiers modifiers, SyntheticEventType synthesized, double timestamp)
77 PlatformMouseEvent(const IntPoint& position, const IntPoint& globalPosition, MouseButton button, PlatformEvent::Type type, int clickCount, bool shiftKey, bool ctrlKey, bool altKey, bool metaKey, SyntheticEventType synthesized, double timestamp)
88 const IntPoint& position() const { return m_position; }
89 const IntPoint& globalPosition() const { return m_globalPosition; }
90 const IntPoint& movementDelta() const { return m_movementDelta;
    [all...]
Widget.cpp 85 IntPoint Widget::convertFromContainingWindow(const IntPoint& windowPoint) const
88 IntPoint parentPoint = parentWidget->convertFromContainingWindow(windowPoint);
96 // Widgets / windows are required to be IntPoint aligned, but we may need to convert
98 IntPoint flooredPoint = flooredIntPoint(windowPoint);
106 IntPoint parentLineEnd = this->convertFromContainingWindow(flooredPoint + roundedIntSize(windowFraction.scaledBy(kFactor)));
113 IntPoint Widget::convertToContainingWindow(const IntPoint& localPoint) const
116 IntPoint parentPoint = convertToContainingView(localPoint);
143 IntPoint Widget::convertToContainingView(const IntPoint& localPoint) cons
    [all...]
Widget.h 61 IntPoint location() const { return frameRect().location(); }
70 void move(const IntPoint& p) { setFrameRect(IntRect(p, size())); }
108 IntPoint convertToContainingWindow(const IntPoint&) const;
109 IntPoint convertFromContainingWindow(const IntPoint&) const;
120 virtual IntPoint convertToContainingView(const IntPoint&) const;
121 virtual IntPoint convertFromContainingView(const IntPoint&) const
    [all...]
PlatformWheelEvent.h 30 #include "platform/geometry/IntPoint.h"
78 PlatformWheelEvent(IntPoint position, IntPoint globalPosition, float deltaX, float deltaY, float wheelTicksX, float wheelTicksY, PlatformWheelEventGranularity granularity, bool shiftKey, bool ctrlKey, bool altKey, bool metaKey)
100 const IntPoint& position() const { return m_position; } // PlatformWindow coordinates.
101 const IntPoint& globalPosition() const { return m_globalPosition; } // Screen coordinates.
127 IntPoint m_position;
128 IntPoint m_globalPosition;
  /external/chromium_org/third_party/WebKit/Source/web/
ScrollbarGroup.h 45 void setLastMousePosition(const IntPoint&);
50 virtual void setScrollOffset(const IntPoint&) OVERRIDE;
57 virtual IntPoint convertFromContainingViewToScrollbar(const Scrollbar*, const IntPoint& parentPoint) const OVERRIDE;
60 virtual IntPoint scrollPosition() const OVERRIDE;
61 virtual IntPoint minimumScrollPosition() const OVERRIDE;
62 virtual IntPoint maximumScrollPosition() const OVERRIDE;
67 virtual IntPoint lastKnownMousePosition() const OVERRIDE;
78 IntPoint m_lastMousePosition;
DragClientImpl.h 48 const IntPoint& dragImageOrigin,
49 const IntPoint& eventPos,
PopupListBox.h 100 virtual IntPoint convertChildToSelf(const Widget* child, const IntPoint&) const OVERRIDE;
101 virtual IntPoint convertSelfToChild(const Widget* child, const IntPoint&) const OVERRIDE;
110 virtual void setScrollOffset(const IntPoint&) OVERRIDE;
116 virtual IntPoint scrollPosition() const OVERRIDE { return visibleContentRect().location(); }
117 virtual IntPoint maximumScrollPosition() const OVERRIDE; // The maximum position we can be scrolled to.
118 virtual IntPoint minimumScrollPosition() const OVERRIDE; // The minimum position we can be scrolled to.
222 int pointToRowIndex(const IntPoint&);
228 bool isPointInBounds(const IntPoint&)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
FELighting.h 64 inline void topLeft(int offset, IntPoint& normalVector);
65 inline void topRow(int offset, IntPoint& normalVector);
66 inline void topRight(int offset, IntPoint& normalVector);
67 inline void leftColumn(int offset, IntPoint& normalVector);
68 inline void interior(int offset, IntPoint& normalVector);
69 inline void rightColumn(int offset, IntPoint& normalVector);
70 inline void bottomLeft(int offset, IntPoint& normalVector);
71 inline void bottomRow(int offset, IntPoint& normalVector);
72 inline void bottomRight(int offset, IntPoint& normalVector);
95 int lightX, int lightY, float factorX, float factorY, IntPoint& normalVector)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/scroll/
ScrollView.h 50 virtual void setScrollOffset(const IntPoint&) OVERRIDE;
133 virtual IntPoint scrollPosition() const OVERRIDE { return visibleContentRect().location(); }
136 virtual IntPoint maximumScrollPosition() const OVERRIDE; // The maximum position we can be scrolled to.
137 virtual IntPoint minimumScrollPosition() const OVERRIDE; // The minimum position we can be scrolled to.
139 IntPoint adjustScrollPositionWithinRange(const IntPoint&) const;
146 IntPoint cachedScrollPosition() const { return m_cachedScrollPosition; }
149 virtual void setScrollPosition(const IntPoint&, ScrollBehavior = ScrollBehaviorInstant);
164 IntPoint rootViewToContents(const IntPoint&) const
    [all...]
ScrollableArea.h 74 void notifyScrollPositionChanged(const IntPoint&);
126 const IntPoint& scrollOrigin() const { return m_scrollOrigin; }
149 virtual IntPoint convertFromScrollbarToContainingView(const Scrollbar* scrollbar, const IntPoint& scrollbarPoint) const
153 virtual IntPoint convertFromContainingViewToScrollbar(const Scrollbar* scrollbar, const IntPoint& parentPoint) const
163 virtual IntPoint scrollPosition() const = 0;
164 virtual IntPoint minimumScrollPosition() const = 0;
165 virtual IntPoint maximumScrollPosition() const = 0;
172 virtual IntPoint lastKnownMousePosition() const { return IntPoint();
    [all...]
ScrollbarThemeClient.h 30 #include "platform/geometry/IntPoint.h"
48 virtual IntPoint location() const = 0;
64 virtual IntPoint convertFromContainingWindow(const IntPoint& windowPoint) = 0;
  /external/chromium_org/third_party/WebKit/Source/core/paint/
BackgroundImageGeometry.h 8 #include "platform/geometry/IntPoint.h"
20 IntPoint destOrigin() const { return m_destOrigin; }
21 void setDestOrigin(const IntPoint& destOrigin)
33 IntPoint relativePhase() const;
35 IntPoint phase() const { return m_phase; }
36 void setPhase(const IntPoint& phase)
61 void useFixedAttachment(const IntPoint& attachmentPoint);
70 IntPoint m_destOrigin;
71 IntPoint m_phase;
BackgroundImageGeometry.cpp 23 void BackgroundImageGeometry::useFixedAttachment(const IntPoint& attachmentPoint)
25 IntPoint alignedPoint = attachmentPoint;
34 IntPoint BackgroundImageGeometry::relativePhase() const
36 IntPoint phase = m_phase;
  /external/chromium_org/third_party/WebKit/Source/core/css/
CSSCursorImageValue.h 25 #include "platform/geometry/IntPoint.h"
35 static PassRefPtrWillBeRawPtr<CSSCursorImageValue> create(PassRefPtrWillBeRawPtr<CSSValue> imageValue, bool hasHotSpot, const IntPoint& hotSpot)
44 IntPoint hotSpot() const
48 return IntPoint(-1, -1);
66 CSSCursorImageValue(PassRefPtrWillBeRawPtr<CSSValue> imageValue, bool hasHotSpot, const IntPoint& hotSpot);
75 IntPoint m_hotSpot;
  /external/chromium_org/third_party/WebKit/Source/core/rendering/style/
CursorData.h 29 #include "platform/geometry/IntPoint.h"
35 CursorData(PassRefPtr<StyleImage> image, const IntPoint& hotSpot)
55 const IntPoint& hotSpot() const { return m_hotSpot; }
59 IntPoint m_hotSpot; // for CSS3 support
  /external/chromium_org/third_party/WebKit/Source/core/events/
MouseRelatedEvent.h 39 const IntPoint& screenLocation() const { return m_screenLocation; }
68 PassRefPtrWillBeRawPtr<AbstractView>, int detail, const IntPoint& screenLocation,
69 const IntPoint& windowLocation, const IntPoint& movementDelta, bool ctrlKey, bool altKey,
80 IntPoint m_screenLocation;
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderLayerScrollableArea.h 90 virtual IntPoint convertFromScrollbarToContainingView(const Scrollbar*, const IntPoint&) const OVERRIDE;
91 virtual IntPoint convertFromContainingViewToScrollbar(const Scrollbar*, const IntPoint&) const OVERRIDE;
93 virtual void setScrollOffset(const IntPoint&) OVERRIDE;
94 virtual IntPoint scrollPosition() const OVERRIDE;
95 virtual IntPoint minimumScrollPosition() const OVERRIDE;
96 virtual IntPoint maximumScrollPosition() const OVERRIDE;
102 virtual IntPoint lastKnownMousePosition() const OVERRIDE;
134 IntSize offsetFromResizeCorner(const IntPoint& absolutePoint) const
    [all...]

Completed in 431 milliseconds

1 2 3 4 5 6 7 8 910