Home
last modified time | relevance | path

Searched refs:SkIRect (Results 1 – 25 of 192) sorted by relevance

12345678

/external/skia/include/core/
DSkRegion.h46 explicit SkRegion(const SkIRect&);
93 const SkIRect& getBounds() const { return fBounds; } in getBounds()
112 bool setRect(const SkIRect&);
126 bool setRects(const SkIRect rects[], int count);
146 bool intersects(const SkIRect&) const;
165 bool contains(const SkIRect&) const;
181 bool quickContains(const SkIRect& r) const { in quickContains()
208 bool quickReject(const SkIRect& rect) const { in quickReject()
210 !SkIRect::Intersects(fBounds, rect); in quickReject()
220 !SkIRect::Intersects(fBounds, rgn.fBounds); in quickReject()
[all …]
DSkRect.h27 struct SK_API SkIRect { struct
30 static SkIRect MakeEmpty() { in MakeEmpty() argument
31 SkIRect r; in MakeEmpty()
36 static SkIRect MakeWH(int32_t w, int32_t h) { in MakeWH() argument
37 SkIRect r; in MakeWH()
42 static SkIRect MakeSize(const SkISize& size) { in MakeSize() argument
43 SkIRect r; in MakeSize()
48 static SkIRect MakeLTRB(int32_t l, int32_t t, int32_t r, int32_t b) { in MakeLTRB() argument
49 SkIRect rect; in MakeLTRB()
54 static SkIRect MakeXYWH(int32_t x, int32_t y, int32_t w, int32_t h) { in MakeXYWH() argument
[all …]
DSkBounder.h25 struct SkIRect;
44 bool doIRect(const SkIRect&);
45 bool doIRectGlyph(const SkIRect& , int x, int y, const SkGlyph&);
54 virtual bool onIRect(const SkIRect&) { in onIRect() argument
72 virtual bool onIRectGlyph(const SkIRect& r, const GlyphRec&) { in onIRectGlyph()
DSkBlitter.h36 virtual void blitMask(const SkMask&, const SkIRect& clip);
46 void blitRectRegion(const SkIRect& rect, const SkRegion& clip);
78 virtual void blitMask(const SkMask&, const SkIRect& clip);
88 void init(SkBlitter* blitter, const SkIRect& clipRect) { in init()
99 virtual void blitMask(const SkMask&, const SkIRect& clip);
104 SkIRect fClipRect;
124 virtual void blitMask(const SkMask&, const SkIRect& clip);
135 const SkIRect* bounds = NULL);
DSkDevice.h28 struct SkIRect;
106 void getBounds(SkIRect* bounds) const;
112 bool intersects(const SkIRect& r, SkIRect* sect = NULL) const;
174 virtual bool readPixels(const SkIRect& srcRect, SkBitmap* bitmap);
209 const SkIRect* srcRectOrNull,
DSkRasterizer.h26 struct SkIRect;
35 const SkIRect* clipBounds, SkMaskFilter* filter,
43 const SkIRect* clipBounds,
/external/webkit/Source/WebKit/android/nav/
DSelectText.h73 SkIRect findClosest(FirstCheck& , const SkPicture& , int* base);
74 SkIRect findEdge(const SkPicture& , const SkIRect& area,
76 SkIRect findLeft(const SkPicture& picture, const SkIRect& area,
78 SkIRect findRight(const SkPicture& picture, const SkIRect& area,
89 SkIRect m_selStart;
90 SkIRect m_selEnd;
91 SkIRect m_lastStart;
92 SkIRect m_lastEnd;
93 SkIRect m_lastDrawnStart;
94 SkIRect m_lastDrawnEnd;
[all …]
DSelectText.cpp156 CommonCheck(const SkIRect& area) in CommonCheck()
222 const SkIRect& getArea() const { in getArea()
357 SkIRect mArea;
379 LineCheck(int x, int y, const SkIRect& area) in LineCheck()
402 const SkIRect& rect = mParagraphs[index]; in finish()
436 bool inColumn(const SkIRect& test) const in inColumn()
439 const SkIRect& rect = mSelected[index]; in inColumn()
449 const SkIRect& rect = mSelected[index]; in inColumn()
456 virtual bool onIRect(const SkIRect& rect) in onIRect()
458 SkIRect bounds; in onIRect()
[all …]
/external/skia/src/core/
DSkScanPriv.h26 SkScanClipper(SkBlitter* blitter, const SkRegion* clip, const SkIRect& bounds);
29 const SkIRect* getClipRect() const { return fClipRect; } in getClipRect()
35 const SkIRect* fClipRect;
39 void sk_fill_path(const SkPath& path, const SkIRect* clipRect,
44 void sk_blit_above(SkBlitter*, const SkIRect& avoid, const SkRegion& clip);
45 void sk_blit_below(SkBlitter*, const SkIRect& avoid, const SkRegion& clip);
DSkScan.cpp22 static inline void blitrect(SkBlitter* blitter, const SkIRect& r) { in blitrect()
26 void SkScan::FillIRect(const SkIRect& r, const SkRegion* clip, in FillIRect()
31 const SkIRect& clipBounds = clip->getBounds(); in FillIRect()
36 SkIRect rr = r; in FillIRect()
43 const SkIRect& rr = cliper.rect(); in FillIRect()
58 SkIRect r; in FillXRect()
68 SkIRect ir; in FillRect()
DSkScan_Path.cpp213 void setBlitter(SkBlitter* blitter, const SkIRect& clip, int shift) { in setBlitter()
248 virtual void blitMask(const SkMask&, const SkIRect& clip) { in blitMask()
275 const SkIRect* clipRect, SkEdge* list[], int shiftUp) { in build_edges()
283 SkIRect r; in build_edges()
441 void sk_fill_path(const SkPath& path, const SkIRect* clipRect, SkBlitter* blitter, in sk_fill_path()
474 const SkIRect& clipRect = clipRgn.getBounds(); in sk_fill_path()
522 void sk_blit_above(SkBlitter* blitter, const SkIRect& ir, const SkRegion& clip) { in sk_blit_above()
523 const SkIRect& cr = clip.getBounds(); in sk_blit_above()
524 SkIRect tmp; in sk_blit_above()
535 void sk_blit_below(SkBlitter* blitter, const SkIRect& ir, const SkRegion& clip) { in sk_blit_below()
[all …]
DSkBlitter.cpp101 void SkBlitter::blitMask(const SkMask& mask, const SkIRect& clip) { in blitMask()
187 const SkIRect& cr = clipper.rect(); in blitMaskRegion()
193 void SkBlitter::blitRectRegion(const SkIRect& rect, const SkRegion& clip) { in blitRectRegion()
197 const SkIRect& cr = clipper.rect(); in blitRectRegion()
207 const SkIRect& cr = iter.rect(); in blitRegion()
224 void SkNullBlitter::blitMask(const SkMask& mask, const SkIRect& clip) {} in blitMask()
250 static inline bool y_in_rect(int y, const SkIRect& rect) { in y_in_rect()
254 static inline bool x_in_rect(int x, const SkIRect& rect) { in x_in_rect()
338 SkIRect r; in blitRect()
346 void SkRectClipBlitter::blitMask(const SkMask& mask, const SkIRect& clip) { in blitMask()
[all …]
DSkScan_AntiPath.cpp48 BaseSuperBlitter(SkBlitter* realBlitter, const SkIRect& ir,
71 BaseSuperBlitter::BaseSuperBlitter(SkBlitter* realBlitter, const SkIRect& ir, in BaseSuperBlitter()
90 SuperBlitter(SkBlitter* realBlitter, const SkIRect& ir,
108 SuperBlitter::SuperBlitter(SkBlitter* realBlitter, const SkIRect& ir, in SuperBlitter()
213 MaskSuperBlitter(SkBlitter* realBlitter, const SkIRect& ir,
221 static bool CanHandleRect(const SkIRect& bounds) { in CanHandleRect()
244 SkIRect fClipRect;
250 MaskSuperBlitter::MaskSuperBlitter(SkBlitter* realBlitter, const SkIRect& ir, in MaskSuperBlitter()
425 SkIRect ir; in AntiFillPath()
443 const SkIRect* clipRect = clipper.getClipRect(); in AntiFillPath()
[all …]
DSkEdge.h42 int setLine(const SkPoint& p0, const SkPoint& p1, const SkIRect* clip,
45 void chopLineWithClip(const SkIRect& clip);
47 inline bool intersectsClip(const SkIRect& clip) const { in intersectsClip()
89 int setCubic(const SkPoint pts[4], const SkIRect* clip, int shiftUp);
DSkDevice.cpp89 void SkDevice::getBounds(SkIRect* bounds) const { in getBounds()
95 bool SkDevice::intersects(const SkIRect& r, SkIRect* sect) const { in intersects()
96 SkIRect bounds; in intersects()
99 return sect ? sect->intersect(r, bounds) : SkIRect::Intersects(r, bounds); in intersects()
114 bool SkDevice::readPixels(const SkIRect& srcRect, SkBitmap* bitmap) { in readPixels()
117 SkIRect bounds; in readPixels()
168 const SkIRect* srcRect, in drawBitmap()
/external/webkit/Source/WebCore/platform/graphics/android/
DTiledPage.h70 void prepare(bool goingDown, bool goingLeft, const SkIRect& tileBounds, PrepareBounds bounds);
74 bool updateTileDirtiness(const SkIRect& tileBounds);
79 bool swapBuffersIfReady(const SkIRect& tileBounds, float scale, SwapMethod swap);
81 void draw(float transparency, const SkIRect& tileBounds);
100 SkIRect* expandedTileBounds() { return &m_expandedTileBounds; } in expandedTileBounds()
105 … void prepareRow(bool goingLeft, int tilesInRow, int firstTileX, int y, const SkIRect& tileBounds);
131 SkIRect m_expandedTileBounds;
DGLWebViewState.h172 const SkIRect& futureViewport() const { return m_futureViewportTileBounds; } in futureViewport()
173 void setFutureViewport(const SkIRect& viewport) { m_futureViewportTileBounds = viewport; } in setFutureViewport()
194 const SkIRect& viewportTileBounds() const { return m_viewportTileBounds; } in viewportTileBounds()
196 const SkIRect& preZoomBounds() const { return m_preZoomBounds; } in preZoomBounds()
197 void setPreZoomBounds(const SkIRect& bounds) { m_preZoomBounds = bounds; } in setPreZoomBounds()
242 SkIRect m_viewportTileBounds;
243 SkIRect m_futureViewportTileBounds;
244 SkIRect m_preZoomBounds;
/external/webkit/Source/WebKit/android/jni/
DPictureSet.h52 class SkIRect; variable
59 SkIRect mArea;
60 SkIRect mRealArea;
81 void addToBucket(Bucket* bucket, int dx, int dy, SkIRect& rect);
82 void gatherBucketsForArea(WTF::Vector<Bucket*>& list, const SkIRect& rect);
83 void splitAdd(const SkIRect& rect);
102 const SkIRect& bounds(size_t i) const { in bounds()
128 SkIRect mUnsplit;
DPictureSet.cpp110 SkIRect area; in PictureSet()
118 const SkIRect& inval = bucketPicture.mRealArea; in PictureSet()
173 SkIRect ir = cliperator.rect(); in add()
234 void PictureSet::addToBucket(Bucket* bucket, int dx, int dy, SkIRect& rect) in addToBucket()
238 SkIRect totalArea = rect; in addToBucket()
254 intersect = SkIRect::Intersects(current->mArea, rect); in addToBucket()
282 SkIRect area = totalArea; in addToBucket()
346 void PictureSet::gatherBucketsForArea(WTF::Vector<Bucket*>& list, const SkIRect& rect) in gatherBucketsForArea()
378 void PictureSet::splitAdd(const SkIRect& rect) in splitAdd()
408 SkIRect newRect; in splitAdd()
[all …]
/external/skia/include/utils/
DSkCullPoints.h25 SkCullPoints(const SkIRect& r);
27 void reset(const SkIRect& r);
43 SkIRect fR; // the caller's rectangle
63 SkCullPointsPath(const SkIRect& r, SkPath* dst);
65 void reset(const SkIRect& r, SkPath* dst);
/external/skia/tests/
DRegionTest.cpp5 static void rand_rect(SkIRect* rect, SkRandom& rand) { in rand_rect()
13 static bool test_rects(const SkIRect rect[], int count) { in test_rects()
35 const SkIRect r2[] = { in TestRegion()
41 const SkIRect rects[] = { in TestRegion()
54 SkIRect rect[N]; in TestRegion()
/external/webkit/Tools/DumpRenderTree/chromium/
DWebThemeControlDRTWin.h47 struct SkIRect;
125 WebThemeControlDRTWin(SkCanvas*, const SkIRect&, Type, State);
139 void drawProgressBar(const SkIRect& fillRect);
144 void box(const SkIRect& irect, SkColor color);
185 const SkIRect m_irect;
/external/skia/src/utils/
DSkCullPoints.cpp35 const SkIRect& r = fR; in sect_test()
63 static void toQuad(const SkIRect& r, SkIPoint quad[4]) { in toQuad()
73 SkIRect r; in SkCullPoints()
78 SkCullPoints::SkCullPoints(const SkIRect& r) { in SkCullPoints()
82 void SkCullPoints::reset(const SkIRect& r) { in reset()
129 SkCullPointsPath::SkCullPointsPath(const SkIRect& r, SkPath* dst) in SkCullPointsPath()
133 void SkCullPointsPath::reset(const SkIRect& r, SkPath* dst) { in reset()
/external/webkit/Source/WebKit/android/plugins/
DPluginWidgetAndroid.h91 bool isDirty(SkIRect* dirtyBounds = NULL) const;
174 void setSurfaceClip(const SkIRect& clip);
199 SkIRect m_pluginBounds; // relative to the page
200 SkIRect m_visibleDocRect; // relative to the page
201 SkIRect m_requestedVisibleRect; // relative to the page
/external/webkit/Source/WebCore/platform/graphics/skia/
DIntRectSkia.cpp38 IntRect::operator SkIRect() const in operator SkIRect()
40 SkIRect rect = { x(), y(), maxX(), maxY() }; in operator SkIRect()
51 IntRect::IntRect(const SkIRect& r) in IntRect()

12345678