Home
last modified time | relevance | path

Searched refs:IntRect (Results 1 – 25 of 858) sorted by relevance

12345678910>>...35

/external/webkit/Source/WebCore/platform/graphics/
DIntRect.h76 class IntRect {
78 IntRect() { } in IntRect() function
79 IntRect(const IntPoint& location, const IntSize& size) in IntRect() function
81 IntRect(int x, int y, int width, int height) in IntRect() function
84 explicit IntRect(const FloatRect& rect); // don't do this implicitly since it's lossy
141 bool intersects(const IntRect&) const;
142 bool contains(const IntRect&) const;
150 void intersect(const IntRect&);
151 void unite(const IntRect&);
152 void uniteIfNonZero(const IntRect&);
[all …]
DIntRect.cpp37 IntRect::IntRect(const FloatRect& r) in IntRect() function in WebCore::IntRect
43 bool IntRect::intersects(const IntRect& other) const in intersects()
51 bool IntRect::contains(const IntRect& other) const in contains()
57 void IntRect::intersect(const IntRect& other) in intersect()
78 void IntRect::unite(const IntRect& other) in unite()
99 void IntRect::uniteIfNonZero(const IntRect& other) in uniteIfNonZero()
120 void IntRect::scale(float s) in scale()
128 IntRect unionRect(const Vector<IntRect>& rects) in unionRect()
130 IntRect result; in unionRect()
/external/webkit/Source/WebCore/rendering/
DRenderThemeMac.h52 virtual void adjustRepaintRect(const RenderObject*, IntRect&);
81 virtual bool paintCapsLockIndicator(RenderObject*, const PaintInfo&, const IntRect&);
84 virtual IntSize meterSizeForBounds(const RenderMeter*, const IntRect&) const;
85 virtual bool paintMeter(RenderObject*, const PaintInfo&, const IntRect&);
107 virtual bool paintTextField(RenderObject*, const PaintInfo&, const IntRect&);
110 virtual bool paintTextArea(RenderObject*, const PaintInfo&, const IntRect&);
113 virtual bool paintMenuList(RenderObject*, const PaintInfo&, const IntRect&);
116 virtual bool paintMenuListButton(RenderObject*, const PaintInfo&, const IntRect&);
121 virtual bool paintProgressBar(RenderObject*, const PaintInfo&, const IntRect&);
124 virtual bool paintSliderTrack(RenderObject*, const PaintInfo&, const IntRect&);
[all …]
DRenderThemeChromiumSkia.h75 virtual bool paintTextArea(RenderObject*, const PaintInfo&, const IntRect&);
78 virtual bool paintSearchField(RenderObject*, const PaintInfo&, const IntRect&);
81 virtual bool paintSearchFieldCancelButton(RenderObject*, const PaintInfo&, const IntRect&);
86 … virtual bool paintSearchFieldResultsDecoration(RenderObject*, const PaintInfo&, const IntRect&);
89 virtual bool paintSearchFieldResultsButton(RenderObject*, const PaintInfo&, const IntRect&);
91 virtual bool paintMediaControlsBackground(RenderObject*, const PaintInfo&, const IntRect&);
92 virtual bool paintMediaSliderTrack(RenderObject*, const PaintInfo&, const IntRect&);
93 virtual bool paintMediaVolumeSliderTrack(RenderObject*, const PaintInfo&, const IntRect&);
95 virtual bool paintMediaSliderThumb(RenderObject*, const PaintInfo&, const IntRect&);
96 virtual bool paintMediaVolumeSliderThumb(RenderObject*, const PaintInfo&, const IntRect&);
[all …]
DRenderTheme.h78 bool paint(RenderObject*, const PaintInfo&, const IntRect&);
79 bool paintBorderOnly(RenderObject*, const PaintInfo&, const IntRect&);
80 bool paintDecorations(RenderObject*, const PaintInfo&, const IntRect&);
116 virtual void adjustRepaintRect(const RenderObject*, IntRect&);
173 …virtual bool paintCapsLockIndicator(RenderObject*, const PaintInfo&, const IntRect&) { return 0; }; in paintCapsLockIndicator() argument
199 virtual IntSize meterSizeForBounds(const RenderMeter*, const IntRect&) const;
223 virtual bool paintCheckbox(RenderObject*, const PaintInfo&, const IntRect&) { return true; } in paintCheckbox() argument
227 virtual bool paintRadio(RenderObject*, const PaintInfo&, const IntRect&) { return true; } in paintRadio() argument
231 virtual bool paintButton(RenderObject*, const PaintInfo&, const IntRect&) { return true; } in paintButton() argument
235 …virtual bool paintInnerSpinButton(RenderObject*, const PaintInfo&, const IntRect&) { return true; } in paintInnerSpinButton() argument
[all …]
DRenderThemeSafari.h63 virtual void adjustRepaintRect(const RenderObject*, IntRect&);
89 virtual bool paintCheckbox(RenderObject*, const PaintInfo&, const IntRect&);
92 virtual bool paintRadio(RenderObject*, const PaintInfo&, const IntRect&);
96 virtual bool paintButton(RenderObject*, const PaintInfo&, const IntRect&);
99 virtual bool paintTextField(RenderObject*, const PaintInfo&, const IntRect&);
102 virtual bool paintTextArea(RenderObject*, const PaintInfo&, const IntRect&);
105 virtual bool paintMenuList(RenderObject*, const PaintInfo&, const IntRect&);
108 virtual bool paintMenuListButton(RenderObject*, const PaintInfo&, const IntRect&);
111 virtual bool paintSliderTrack(RenderObject*, const PaintInfo&, const IntRect&);
112 virtual bool paintSliderThumb(RenderObject*, const PaintInfo&, const IntRect&);
[all …]
DRenderThemeWin.h69 virtual bool paintCheckbox(RenderObject* o, const PaintInfo& i, const IntRect& r) in paintCheckbox()
73 virtual bool paintRadio(RenderObject* o, const PaintInfo& i, const IntRect& r) in paintRadio()
78 virtual bool paintButton(RenderObject*, const PaintInfo&, const IntRect&);
81 virtual bool paintInnerSpinButton(RenderObject*, const PaintInfo&, const IntRect&);
83 virtual bool paintTextField(RenderObject*, const PaintInfo&, const IntRect&);
85 virtual bool paintTextArea(RenderObject* o, const PaintInfo& i, const IntRect& r) in paintTextArea()
89 virtual bool paintMenuList(RenderObject*, const PaintInfo&, const IntRect&);
92 virtual bool paintMenuListButton(RenderObject*, const PaintInfo&, const IntRect&);
94 virtual bool paintSliderTrack(RenderObject* o, const PaintInfo& i, const IntRect& r);
95 virtual bool paintSliderThumb(RenderObject* o, const PaintInfo& i, const IntRect& r);
[all …]
DRenderThemeWinCE.h68 virtual bool paintCheckbox(RenderObject* o, const PaintInfo& i, const IntRect& r) in paintCheckbox()
72 virtual bool paintRadio(RenderObject* o, const PaintInfo& i, const IntRect& r) in paintRadio()
77 virtual bool paintButton(RenderObject*, const PaintInfo&, const IntRect&);
79 virtual bool paintTextField(RenderObject*, const PaintInfo&, const IntRect&);
81 virtual bool paintTextArea(RenderObject* o, const PaintInfo& i, const IntRect& r) in paintTextArea()
85 virtual bool paintMenuList(RenderObject*, const PaintInfo&, const IntRect&);
88 virtual bool paintMenuListButton(RenderObject*, const PaintInfo&, const IntRect&);
90 virtual bool paintSliderTrack(RenderObject* o, const PaintInfo& i, const IntRect& r);
91 virtual bool paintSliderThumb(RenderObject* o, const PaintInfo& i, const IntRect& r);
97 virtual bool paintSearchField(RenderObject*, const PaintInfo&, const IntRect&);
[all …]
DRenderLayer.h79 ClipRects(const IntRect& r) in ClipRects()
97 void reset(const IntRect& r) in reset()
105 const IntRect& overflowClipRect() const { return m_overflowClipRect; } in overflowClipRect()
106 void setOverflowClipRect(const IntRect& r) { m_overflowClipRect = r; } in setOverflowClipRect()
108 const IntRect& fixedClipRect() const { return m_fixedClipRect; } in fixedClipRect()
109 void setFixedClipRect(const IntRect&r) { m_fixedClipRect = r; } in setFixedClipRect()
111 const IntRect& posClipRect() const { return m_posClipRect; } in posClipRect()
112 void setPosClipRect(const IntRect& r) { m_posClipRect = r; } in setPosClipRect()
150 IntRect m_overflowClipRect;
151 IntRect m_fixedClipRect;
[all …]
DRenderOverflow.h43 RenderOverflow(const IntRect& layoutRect, const IntRect& visualRect) in RenderOverflow()
59 IntRect layoutOverflowRect() const;
65 IntRect visualOverflowRect() const;
79 void addLayoutOverflow(const IntRect&);
80 void addVisualOverflow(const IntRect&);
82 void setLayoutOverflow(const IntRect&);
83 void setVisualOverflow(const IntRect&);
85 void resetLayoutOverflow(const IntRect& defaultRect);
99 inline IntRect RenderOverflow::layoutOverflowRect() const in layoutOverflowRect()
101 …return IntRect(m_minXLayoutOverflow, m_minYLayoutOverflow, m_maxXLayoutOverflow - m_minXLayoutOver… in layoutOverflowRect()
[all …]
DGapRects.h31 const IntRect& left() const { return m_left; } in left()
32 const IntRect& center() const { return m_center; } in center()
33 const IntRect& right() const { return m_right; } in right()
35 void uniteLeft(const IntRect& r) { m_left.unite(r); } in uniteLeft()
36 void uniteCenter(const IntRect& r) { m_center.unite(r); } in uniteCenter()
37 void uniteRight(const IntRect& r) { m_right.unite(r); } in uniteRight()
40 operator IntRect() const in IntRect() function
42 IntRect result = m_left; in IntRect()
55 IntRect m_left;
56 IntRect m_center;
[all …]
/external/webkit/Source/WebCore/platform/
DScrollbarThemeComposite.h35 virtual bool paint(Scrollbar*, GraphicsContext* context, const IntRect& damageRect);
46 virtual void paintScrollCorner(ScrollView*, GraphicsContext*, const IntRect& cornerRect);
52 virtual IntRect backButtonRect(Scrollbar*, ScrollbarPart, bool painting = false) = 0;
53 virtual IntRect forwardButtonRect(Scrollbar*, ScrollbarPart, bool painting = false) = 0;
54 virtual IntRect trackRect(Scrollbar*, bool painting = false) = 0;
56 …virtual void splitTrack(Scrollbar*, const IntRect& track, IntRect& startTrack, IntRect& thumb, Int…
61 virtual void paintTrackBackground(GraphicsContext*, Scrollbar*, const IntRect&) {} in paintTrackBackground() argument
62 virtual void paintTrackPiece(GraphicsContext*, Scrollbar*, const IntRect&, ScrollbarPart) {} in paintTrackPiece() argument
63 virtual void paintButton(GraphicsContext*, Scrollbar*, const IntRect&, ScrollbarPart) {} in paintButton() argument
64 virtual void paintThumb(GraphicsContext*, Scrollbar*, const IntRect&) {} in paintThumb() argument
[all …]
DScrollView.h80 virtual IntRect windowClipRect(bool clipToContents = true) const = 0;
152 IntRect visibleContentRect(bool includeScrollbars = false) const;
153IntRect actualVisibleContentRect() const { return m_actualVisibleContentRect.isEmpty() ? visibleCo… in actualVisibleContentRect()
154 …void setActualVisibleContentRect(const IntRect& actualVisibleContentRect) { m_actualVisibleContent… in setActualVisibleContentRect()
219 IntRect windowToContents(const IntRect&) const;
220 IntRect contentsToWindow(const IntRect&) const;
223 IntRect contentsToScreen(const IntRect&) const;
232 virtual IntRect windowResizerRect() const { return IntRect(); } in windowResizerRect()
243 virtual void setFrameRect(const IntRect&);
276 virtual void paint(GraphicsContext*, const IntRect&);
[all …]
DWidget.cpp72 IntRect Widget::convertFromContainingWindow(const IntRect& windowRect) const in convertFromContainingWindow()
75 IntRect parentRect = parentScrollView->convertFromContainingWindow(windowRect); in convertFromContainingWindow()
81 IntRect Widget::convertToContainingWindow(const IntRect& localRect) const in convertToContainingWindow()
84 IntRect parentRect = convertToContainingView(localRect); in convertToContainingWindow()
113 IntRect Widget::convertFromRootToContainingWindow(const Widget*, const IntRect& rect) in convertFromRootToContainingWindow()
118 IntRect Widget::convertFromContainingWindowToRoot(const Widget*, const IntRect& rect) in convertFromContainingWindowToRoot()
134 IntRect Widget::convertToContainingView(const IntRect& localRect) const in convertToContainingView()
137 IntRect parentRect(localRect); in convertToContainingView()
144 IntRect Widget::convertFromContainingView(const IntRect& parentRect) const in convertFromContainingView()
147 IntRect localRect = parentRect; in convertFromContainingView()
DWidget.h160 virtual void setFrameRect(const IntRect&);
162 virtual IntRect frameRect() const;
163 IntRect boundsRect() const { return IntRect(0, 0, width(), height()); } in boundsRect()
165 … void resize(int w, int h) { setFrameRect(IntRect(x(), y(), w, h)); setBoundsSize(IntSize(w, h)); } in resize()
166 void resize(const IntSize& s) { setFrameRect(IntRect(pos(), s)); setBoundsSize(s); } in resize()
167 void move(int x, int y) { setFrameRect(IntRect(x, y, width(), height())); } in move()
168 void move(const IntPoint& p) { setFrameRect(IntRect(p, size())); } in move()
170 virtual void paint(GraphicsContext*, const IntRect&);
172 virtual void invalidateRect(const IntRect&) = 0;
207 IntRect convertToContainingWindow(const IntRect&) const;
[all …]
DScrollbarThemeComposite.cpp58 …Composite::paint(Scrollbar* scrollbar, GraphicsContext* graphicsContext, const IntRect& damageRect) in paint()
63 IntRect backButtonStartPaintRect; in paint()
64 IntRect backButtonEndPaintRect; in paint()
65 IntRect forwardButtonStartPaintRect; in paint()
66 IntRect forwardButtonEndPaintRect; in paint()
82 IntRect startTrackRect; in paint()
83 IntRect thumbRect; in paint()
84 IntRect endTrackRect; in paint()
85 IntRect trackPaintRect = trackRect(scrollbar, true); in paint()
90 IntRect track = trackRect(scrollbar); in paint()
[all …]
/external/webkit/Source/WebCore/platform/gtk/
DRenderThemeGtk.h59 virtual void adjustRepaintRect(const RenderObject*, IntRect&);
100 virtual bool paintCheckbox(RenderObject* o, const PaintInfo& i, const IntRect& r);
103 virtual bool paintRadio(RenderObject* o, const PaintInfo& i, const IntRect& r);
107 virtual bool paintButton(RenderObject*, const PaintInfo&, const IntRect&);
109 virtual bool paintTextField(RenderObject*, const PaintInfo&, const IntRect&);
110 virtual bool paintTextArea(RenderObject*, const PaintInfo&, const IntRect&);
123 virtual bool paintMenuList(RenderObject*, const PaintInfo&, const IntRect&);
124 virtual bool paintMenuListButton(RenderObject*, const PaintInfo&, const IntRect&);
127 virtual bool paintSearchFieldResultsDecoration(RenderObject*, const PaintInfo&, const IntRect&);
130 virtual bool paintSearchField(RenderObject*, const PaintInfo&, const IntRect&);
[all …]
DScrollbarThemeGtk.cpp83 …scrollbar->setFrameRect(IntRect(0, scrollbar->parent()->height() - thickness, scrollbar->width(), … in updateScrollbarsFrameThickness()
85 …scrollbar->setFrameRect(IntRect(scrollbar->parent()->width() - thickness, 0, thickness, scrollbar-… in updateScrollbarsFrameThickness()
96 IntRect ScrollbarThemeGtk::backButtonRect(Scrollbar* scrollbar, ScrollbarPart part, bool) in backButtonRect()
99 return IntRect(); in backButtonRect()
105 return IntRect(x, y, size.width(), size.height()); in backButtonRect()
109 …return IntRect(scrollbar->x() + scrollbar->width() - m_troughBorderWidth - (2 * size.width()), y, … in backButtonRect()
112 …return IntRect(x, scrollbar->y() + scrollbar->height() - m_troughBorderWidth - (2 * size.height())… in backButtonRect()
115 IntRect ScrollbarThemeGtk::forwardButtonRect(Scrollbar* scrollbar, ScrollbarPart part, bool) in forwardButtonRect()
118 return IntRect(); in forwardButtonRect()
124 …return IntRect(scrollbar->x() + scrollbar->width() - size.width() - m_troughBorderWidth, y, size.w… in forwardButtonRect()
[all …]
DWidgetRenderingContext.h41 WidgetRenderingContext(GraphicsContext*, const IntRect&);
44 void gtkPaintBox(const IntRect&, GtkWidget*, GtkStateType, GtkShadowType, const gchar*);
45 void gtkPaintFlatBox(const IntRect&, GtkWidget*, GtkStateType, GtkShadowType, const gchar*);
46 void gtkPaintFocus(const IntRect&, GtkWidget*, GtkStateType, const gchar*);
47 …void gtkPaintSlider(const IntRect&, GtkWidget*, GtkStateType, GtkShadowType, const gchar*, GtkOrie…
48 void gtkPaintCheck(const IntRect&, GtkWidget*, GtkStateType, GtkShadowType, const gchar*);
49 void gtkPaintOption(const IntRect&, GtkWidget*, GtkStateType, GtkShadowType, const gchar*);
50 void gtkPaintShadow(const IntRect&, GtkWidget*, GtkStateType, GtkShadowType, const gchar*);
51 …void gtkPaintArrow(const IntRect&, GtkWidget*, GtkStateType, GtkShadowType, int arrowDirection, co…
52 void gtkPaintVLine(const IntRect&, GtkWidget*, GtkStateType, const gchar*);
[all …]
/external/webkit/Source/WebCore/platform/qt/
DRenderThemeQt.h65 virtual void adjustRepaintRect(const RenderObject* o, IntRect& r);
96 virtual bool paintCheckbox(RenderObject* o, const PaintInfo& i, const IntRect& r);
99 virtual bool paintRadio(RenderObject* o, const PaintInfo& i, const IntRect& r);
103 virtual bool paintButton(RenderObject*, const PaintInfo&, const IntRect&);
106 virtual bool paintTextField(RenderObject*, const PaintInfo&, const IntRect&);
109 virtual bool paintTextArea(RenderObject*, const PaintInfo&, const IntRect&);
112 virtual bool paintMenuList(RenderObject* o, const PaintInfo& i, const IntRect& r);
115 virtual bool paintMenuListButton(RenderObject*, const PaintInfo&, const IntRect&);
120 virtual bool paintProgressBar(RenderObject*, const PaintInfo&, const IntRect&);
123 virtual bool paintSliderTrack(RenderObject*, const PaintInfo&, const IntRect&);
[all …]
/external/webkit/Source/WebCore/platform/graphics/chromium/
DLayerTilerChromium.h47 virtual void paint(GraphicsContext& context, const IntRect& contentRect) = 0;
60 void invalidateRect(const IntRect& contentRect);
65 void update(TilePaintInterface& painter, const IntRect& contentRect);
71 …void updateFromPixels(const IntRect& contentRect, const IntRect& paintRect, const uint8_t* pixels);
74 void draw(const IntRect& contentRect, const TransformationMatrix&, float opacity);
100 void clearDirty() { m_dirtyLayerRect = IntRect(); } in clearDirty()
107 IntRect m_dirtyLayerRect;
121 void growLayerToContain(const IntRect& contentRect);
127 void invalidateTiles(const IntRect& contentRect);
129 …void contentRectToTileIndices(const IntRect& contentRect, int &left, int &top, int &right, int &bo…
[all …]
/external/webkit/Source/WebKit2/UIProcess/
DTiledDrawingAreaProxy.h77 void takeSnapshot(const WebCore::IntSize& size, const WebCore::IntRect& contentsRect);
84 void paint(WebCore::GraphicsContext*, const WebCore::IntRect&);
102 WebCore::IntRect mapToContents(const WebCore::IntRect&) const;
103 WebCore::IntRect mapFromContents(const WebCore::IntRect&) const;
109 WebCore::IntRect webViewVisibleRect();
110 void updateWebView(const Vector<WebCore::IntRect>& paintedArea);
116 virtual bool paint(const WebCore::IntRect&, PlatformDrawingContext);
121 void invalidate(const WebCore::IntRect& rect);
124 void requestTileUpdate(int tileID, const WebCore::IntRect& dirtyRect);
138 void dropTilesOutsideRect(const WebCore::IntRect&);
[all …]
/external/webkit/Source/WebCore/platform/efl/
DRenderThemeEfl.h120 virtual bool paintCheckbox(RenderObject*, const PaintInfo&, const IntRect&);
123 virtual bool paintRadio(RenderObject*, const PaintInfo&, const IntRect&);
126 virtual bool paintButton(RenderObject*, const PaintInfo&, const IntRect&);
129 virtual bool paintTextField(RenderObject*, const PaintInfo&, const IntRect&);
132 virtual bool paintTextArea(RenderObject*, const PaintInfo&, const IntRect&);
135 virtual bool paintMenuList(RenderObject*, const PaintInfo&, const IntRect&);
138 virtual bool paintSearchFieldResultsDecoration(RenderObject*, const PaintInfo&, const IntRect&);
141 virtual bool paintSearchFieldDecoration(RenderObject*, const PaintInfo&, const IntRect&);
144 virtual bool paintSearchField(RenderObject*, const PaintInfo&, const IntRect&);
147 virtual bool paintSearchFieldResultsButton(RenderObject*, const PaintInfo&, const IntRect&);
[all …]
/external/webkit/Source/WebCore/platform/android/
DRenderThemeAndroid.h78 virtual bool paintCheckbox(RenderObject*, const PaintInfo&, const IntRect&);
85 …ual bool paintMediaFullscreenButton(RenderObject* o, const PaintInfo& paintInfo, const IntRect& r);
86 … virtual bool paintMediaMuteButton(RenderObject* o, const PaintInfo& paintInfo, const IntRect& r);
87 … virtual bool paintMediaPlayButton(RenderObject* o, const PaintInfo& paintInfo, const IntRect& r);
88 …rtual bool paintMediaSeekBackButton(RenderObject* o, const PaintInfo& paintInfo, const IntRect& r);
89 …al bool paintMediaSeekForwardButton(RenderObject* o, const PaintInfo& paintInfo, const IntRect& r);
90 … virtual bool paintMediaSliderTrack(RenderObject* o, const PaintInfo& paintInfo, const IntRect& r);
91 … virtual bool paintMediaSliderThumb(RenderObject* o, const PaintInfo& paintInfo, const IntRect& r);
92 …aintMediaControlsBackground(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect);
97 virtual bool paintRadio(RenderObject*, const PaintInfo&, const IntRect&);
[all …]
/external/webkit/Source/WebCore/page/
DSpatialNavigation.cpp48 static RectsAlignment alignmentForRects(FocusDirection, const IntRect&, const IntRect&, const IntSi…
49 static bool areRectsFullyAligned(FocusDirection, const IntRect&, const IntRect&);
50 static bool areRectsPartiallyAligned(FocusDirection, const IntRect&, const IntRect&);
51 …RectsMoreThanFullScreenApart(FocusDirection direction, const IntRect& curRect, const IntRect& targ…
52 static bool isRectInDirection(FocusDirection, const IntRect&, const IntRect&);
53 static void deflateIfOverlapped(IntRect&, IntRect&);
54 static IntRect rectToAbsoluteCoordinates(Frame* initialFrame, const IntRect&);
55 …AndExitPointsForDirection(FocusDirection direction, const IntRect& startingRect, const IntRect& po…
98 …sAlignment alignmentForRects(FocusDirection direction, const IntRect& curRect, const IntRect& targ… in alignmentForRects()
118 static inline int start(FocusDirection direction, const IntRect& rect) in start()
[all …]

12345678910>>...35