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

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/third_party/WebKit/Source/platform/geometry/
RegionTest.cpp 68 r.unite(IntRect(35, 35, 1, 1));
75 r.unite(IntRect(30, 30, 10, 10));
82 r.unite(IntRect(31, 40, 10, 10));
97 r.unite(IntRect(42, 40, 10, 10));
118 r.unite(IntRect(5, 0, 10, 10));
119 r.unite(IntRect(0, 5, 10, 10));
120 r.subtract(IntRect(7, 7, 10, 0));
122 Vector<IntRect> rects = r.rects();
147 TEST_NO_INTERSECT(IntRect(), IntRect());
    [all...]
IntRect.cpp 27 #include "platform/geometry/IntRect.h"
37 IntRect::IntRect(const FloatRect& r)
43 IntRect::IntRect(const LayoutRect& r)
49 bool IntRect::intersects(const IntRect& other) const
57 bool IntRect::contains(const IntRect& other) const
63 void IntRect::intersect(const IntRect& other
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/
HostWindow.h 40 class IntRect;
50 virtual void invalidateContentsAndRootView(const IntRect& updateRect) = 0;
53 virtual void scroll(const IntSize& scrollDelta, const IntRect& rectToScroll, const IntRect& clipRect) = 0;
56 virtual void invalidateContentsForSlowScroll(const IntRect& updateRect) = 0;
59 virtual IntRect rootViewToScreen(const IntRect&) const = 0;
Widget.h 33 #include "platform/geometry/IntRect.h"
63 virtual void setFrameRect(const IntRect& frame) { m_frame = frame; }
64 const IntRect& frameRect() const { return m_frame; }
65 IntRect boundsRect() const { return IntRect(0, 0, width(), height()); }
67 void resize(int w, int h) { setFrameRect(IntRect(x(), y(), w, h)); }
68 void resize(const IntSize& s) { setFrameRect(IntRect(location(), s)); }
69 void move(int x, int y) { setFrameRect(IntRect(x, y, width(), height())); }
70 void move(const IntPoint& p) { setFrameRect(IntRect(p, size())); }
72 virtual void paint(GraphicsContext*, const IntRect&) {
    [all...]
  /external/chromium_org/third_party/WebKit/Source/web/painting/
PaintAggregator.h 35 #include "platform/geometry/IntRect.h"
57 WebCore::IntRect calculateScrollDamage() const;
60 WebCore::IntRect calculatePaintBounds() const;
63 WebCore::IntRect scrollRect;
64 WTF::Vector<WebCore::IntRect> paintRects;
76 void invalidateRect(const WebCore::IntRect&);
79 void scrollRect(int dx, int dy, const WebCore::IntRect& clipRect);
82 WebCore::IntRect scrollPaintRect(const WebCore::IntRect& paintRect, int dx, int dy) const;
83 bool shouldInvalidateScrollRect(const WebCore::IntRect&) const
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/page/
TouchDisambiguation.h 40 class IntRect;
43 void findGoodTouchTargets(const IntRect& touchBox, LocalFrame* mainFrame, Vector<IntRect>& goodTargets, WillBeHeapVector<RawPtrWillBeMember<Node> >& highlightNodes);
PagePopupDriver.h 31 class IntRect;
37 virtual PagePopup* openPagePopup(PagePopupClient*, const IntRect& originBoundsInRootView) = 0;
TouchAdjustment.h 24 #include "platform/geometry/IntRect.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> >&);
  /external/chromium_org/third_party/WebKit/Source/core/plugins/
PluginOcclusionSupport.h 28 class IntRect;
30 void getPluginOcclusions(Element*, Widget* parentWidget, const IntRect& frameRect, Vector<IntRect>& occlusions);
  /external/chromium_org/third_party/WebKit/Source/platform/scroll/
ScrollbarThemeMock.h 43 virtual IntRect backButtonRect(ScrollbarThemeClient*, ScrollbarPart, bool /*painting*/ = false) OVERRIDE { return IntRect(); }
44 virtual IntRect forwardButtonRect(ScrollbarThemeClient*, ScrollbarPart, bool /*painting*/ = false) OVERRIDE { return IntRect(); }
45 virtual IntRect trackRect(ScrollbarThemeClient*, bool painting = false) OVERRIDE;
47 virtual void paintTrackBackground(GraphicsContext*, ScrollbarThemeClient*, const IntRect&) OVERRIDE;
48 virtual void paintThumb(GraphicsContext*, ScrollbarThemeClient*, const IntRect&) OVERRIDE;
ScrollbarThemeMacCommon.h 49 virtual void paintOverhangBackground(GraphicsContext*, const IntRect& horizontalOverhangArea, const IntRect& verticalOverhangArea, const IntRect& dirtyRect) OVERRIDE;
50 virtual void paintOverhangShadows(GraphicsContext*, const IntSize& scrollOffset, const IntRect& horizontalOverhangArea, const IntRect& verticalOverhangArea, const IntRect& dirtyRect) OVERRIDE;
51 virtual void paintTickmarks(GraphicsContext*, ScrollbarThemeClient*, const IntRect&) OVERRIDE;
65 void paintGivenTickmarks(GraphicsContext*, ScrollbarThemeClient*, const IntRect&, const Vector<IntRect>&);
ScrollbarTheme.h 30 #include "platform/geometry/IntRect.h"
48 virtual bool paint(ScrollbarThemeClient*, GraphicsContext*, const IntRect& damageRect);
81 virtual void paintScrollCorner(GraphicsContext*, const IntRect& cornerRect);
83 virtual void paintTickmarks(GraphicsContext*, ScrollbarThemeClient*, const IntRect&) { }
84 virtual void paintOverhangBackground(GraphicsContext*, const IntRect&, const IntRect&, const IntRect&);
85 virtual void paintOverhangShadows(GraphicsContext*, const IntSize&, const IntRect&, const IntRect&, const IntRect&) {
    [all...]
ScrollbarThemeNonMacCommon.h 45 virtual IntRect backButtonRect(ScrollbarThemeClient*, ScrollbarPart, bool painting = false) OVERRIDE;
46 virtual IntRect forwardButtonRect(ScrollbarThemeClient*, ScrollbarPart, bool painting = false) OVERRIDE;
47 virtual IntRect trackRect(ScrollbarThemeClient*, bool painting = false) OVERRIDE;
49 virtual void paintTrackBackground(GraphicsContext*, ScrollbarThemeClient*, const IntRect&) OVERRIDE;
50 virtual void paintTickmarks(GraphicsContext*, ScrollbarThemeClient*, const IntRect&) OVERRIDE;
FramelessScrollView.cpp 45 void FramelessScrollView::invalidateScrollbarRect(Scrollbar* scrollbar, const IntRect& rect)
48 IntRect dirtyRect = rect;
64 IntRect FramelessScrollView::scrollableAreaBoundingBox() const
69 void FramelessScrollView::invalidateRect(const IntRect& rect)
80 IntRect FramelessScrollView::windowClipRect(IncludeScrollbarsInRect scrollbarInclusion) const
82 IntRect clipRect = visibleContentRect(scrollbarInclusion);
88 void FramelessScrollView::paintContents(GraphicsContext*, const IntRect&)
ScrollView.h 32 #include "platform/geometry/IntRect.h"
67 virtual IntRect windowClipRect(IncludeScrollbarsInRect = ExcludeScrollbars) const = 0;
122 virtual IntRect visibleContentRect(IncludeScrollbarsInRect = ExcludeScrollbars) const OVERRIDE;
176 IntRect rootViewToContents(const IntRect&) const;
177 IntRect contentsToRootView(const IntRect&) const;
185 IntRect windowToContents(const IntRect&) const;
186 IntRect contentsToWindow(const IntRect&) const
    [all...]
ScrollbarThemeAura.h 43 virtual void paintTrackPiece(GraphicsContext*, ScrollbarThemeClient*, const IntRect&, ScrollbarPart) OVERRIDE;
44 virtual void paintButton(GraphicsContext*, ScrollbarThemeClient*, const IntRect&, ScrollbarPart) OVERRIDE;
45 virtual void paintThumb(GraphicsContext*, ScrollbarThemeClient*, const IntRect&) OVERRIDE;
ScrollbarThemeMacNonOverlayAPI.h 44 virtual bool paint(ScrollbarThemeClient*, GraphicsContext*, const IntRect& damageRect) OVERRIDE;
47 virtual IntRect trackRect(ScrollbarThemeClient*, bool painting = false) OVERRIDE;
48 virtual IntRect backButtonRect(ScrollbarThemeClient*, ScrollbarPart, bool painting = false) OVERRIDE;
49 virtual IntRect forwardButtonRect(ScrollbarThemeClient*, ScrollbarPart, bool painting = false) OVERRIDE;
ScrollbarThemeNonMacCommon.cpp 44 IntRect ScrollbarThemeNonMacCommon::backButtonRect(ScrollbarThemeClient* scrollbar, ScrollbarPart part, bool)
48 return IntRect();
51 return IntRect(scrollbar->x(), scrollbar->y(), size.width(), size.height());
54 IntRect ScrollbarThemeNonMacCommon::forwardButtonRect(ScrollbarThemeClient* scrollbar, ScrollbarPart part, bool)
58 return IntRect();
69 return IntRect(x, y, size.width(), size.height());
72 IntRect ScrollbarThemeNonMacCommon::trackRect(ScrollbarThemeClient* scrollbar, bool)
80 return IntRect();
81 return IntRect(scrollbar->x() + bs.width(), scrollbar->y(), scrollbar->width() - 2 * bs.width(), thickness);
84 return IntRect();
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/frame/
ImageBitmap.h 11 #include "platform/geometry/IntRect.h"
26 static PassRefPtrWillBeRawPtr<ImageBitmap> create(HTMLImageElement*, const IntRect&);
27 static PassRefPtrWillBeRawPtr<ImageBitmap> create(HTMLVideoElement*, const IntRect&);
28 static PassRefPtrWillBeRawPtr<ImageBitmap> create(HTMLCanvasElement*, const IntRect&);
29 static PassRefPtrWillBeRawPtr<ImageBitmap> create(ImageData*, const IntRect&);
30 static PassRefPtrWillBeRawPtr<ImageBitmap> create(ImageBitmap*, const IntRect&);
31 static PassRefPtrWillBeRawPtr<ImageBitmap> create(Image*, const IntRect&);
36 IntRect bitmapRect() const { return m_bitmapRect; }
53 ImageBitmap(HTMLImageElement*, const IntRect&);
54 ImageBitmap(HTMLVideoElement*, const IntRect&)
    [all...]
SmartClip.h 46 SmartClipData(Node* node, IntRect rect, String string)
53 IntRect rect() const;
58 IntRect m_rect;
71 SmartClipData dataForRect(const IntRect&);
77 Node* findBestOverlappingNode(Node*, const IntRect& cropRect);
79 void collectOverlappingChildNodes(Node* parentNode, const IntRect& cropRect, WillBeHeapVector<RawPtrWillBeMember<Node> >& overlappingNodeInfoTable);
80 IntRect convertRectToWindow(const IntRect& nodeRect);
ImageBitmap.cpp 19 static inline IntRect normalizeRect(const IntRect& rect)
21 return IntRect(std::min(rect.x(), rect.maxX()),
27 static inline PassRefPtr<Image> cropImage(Image* image, const IntRect& cropRect)
29 IntRect intersectRect = intersection(IntRect(IntPoint(), image->size()), cropRect);
38 ImageBitmap::ImageBitmap(HTMLImageElement* image, const IntRect& cropRect)
43 IntRect srcRect = intersection(cropRect, IntRect(0, 0, image->width(), image->height()));
44 m_bitmapRect = IntRect(IntPoint(std::max(0, -cropRect.x()), std::max(0, -cropRect.y())), srcRect.size())
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/
ImageObserver.h 34 class IntRect;
48 virtual void changedInRect(const Image*, const IntRect&) = 0;
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderTheme.h 70 bool paint(RenderObject*, const PaintInfo&, const IntRect&);
71 bool paintBorderOnly(RenderObject*, const PaintInfo&, const IntRect&);
72 bool paintDecorations(RenderObject*, const PaintInfo&, const IntRect&);
104 virtual void adjustRepaintRect(const RenderObject*, IntRect&);
163 virtual bool paintCapsLockIndicator(RenderObject*, const PaintInfo&, const IntRect&) { return 0; };
174 virtual IntSize meterSizeForBounds(const RenderMeter*, const IntRect&) const;
182 void paintSliderTicks(RenderObject*, const PaintInfo&, const IntRect&);
216 virtual bool paintCheckbox(RenderObject*, const PaintInfo&, const IntRect&) { return true; }
220 virtual bool paintRadio(RenderObject*, const PaintInfo&, const IntRect&) { return true; }
224 virtual bool paintButton(RenderObject*, const PaintInfo&, const IntRect&) { return true;
    [all...]
RenderThemeChromiumSkia.h 77 virtual bool paintTextArea(RenderObject*, const PaintInfo&, const IntRect&) OVERRIDE;
80 virtual bool paintSearchField(RenderObject*, const PaintInfo&, const IntRect&) OVERRIDE;
83 virtual bool paintSearchFieldCancelButton(RenderObject*, const PaintInfo&, const IntRect&) OVERRIDE;
88 virtual bool paintSearchFieldResultsDecoration(RenderObject*, const PaintInfo&, const IntRect&) OVERRIDE;
90 virtual bool paintMediaSliderTrack(RenderObject*, const PaintInfo&, const IntRect&) OVERRIDE;
91 virtual bool paintMediaVolumeSliderTrack(RenderObject*, const PaintInfo&, const IntRect&) OVERRIDE;
93 virtual bool paintMediaSliderThumb(RenderObject*, const PaintInfo&, const IntRect&) OVERRIDE;
94 virtual bool paintMediaToggleClosedCaptionsButton(RenderObject*, const PaintInfo&, const IntRect&) OVERRIDE;
95 virtual bool paintMediaVolumeSliderThumb(RenderObject*, const PaintInfo&, const IntRect&) OVERRIDE;
96 virtual bool paintMediaPlayButton(RenderObject*, const PaintInfo&, const IntRect&) OVERRIDE
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/svg/graphics/filters/
SVGFilter.h 37 static PassRefPtr<SVGFilter> create(const AffineTransform&, const IntRect&, const FloatRect&, const FloatRect&, bool);
43 virtual IntRect sourceImageRect() const OVERRIDE { return m_absoluteSourceDrawingRegion; }
47 SVGFilter(const AffineTransform& absoluteTransform, const IntRect& absoluteSourceDrawingRegion, const FloatRect& targetBoundingBox, const FloatRect& filterRegion, bool effectBBoxMode);
49 IntRect m_absoluteSourceDrawingRegion;

Completed in 150 milliseconds

1 2 3 4 5 6 7 8 91011>>