/external/skia/tests/ |
H A D | RegionTest.cpp | 13 static void Union(SkRegion* rgn, const SkIRect& rect) { argument 14 rgn->op(rect, SkRegion::kUnion_Op); 17 #define TEST_NO_INTERSECT(rgn, rect) REPORTER_ASSERT(reporter, !rgn.intersects(rect)) 18 #define TEST_INTERSECT(rgn, rect) REPORTER_ASSERT(reporter, rgn.intersects(rect)) 19 #define TEST_NO_CONTAINS(rgn, rect) REPORTER_ASSERT(reporter, !rgn.contains(rect)) 73 SkRegion rgn; local 74 Union(&rgn, SkIRec 110 randRgn(SkRandom& rand, SkRegion* rgn, int n) argument 134 test_contains_iter(skiatest::Reporter* reporter, const SkRegion& rgn) argument 163 test_intersects_iter(skiatest::Reporter* reporter, const SkRegion& rgn) argument [all...] |
H A D | AAClipTest.cpp | 59 static void copyToMask(const SkRegion& rgn, SkMask* mask) { argument 62 if (rgn.isEmpty()) { 69 mask->fBounds = rgn.getBounds(); 80 // so we translate the rgn to match that before drawing into the mask. 82 SkRegion tmpRgn(rgn); 83 tmpRgn.translate(-rgn.getBounds().fLeft, -rgn.getBounds().fTop); 98 static void make_rand_rgn(SkRegion* rgn, SkRandom& rand) { argument 101 rgn->op(rand_rect(rand, 100), SkRegion::kXOR_Op); 105 static bool operator==(const SkRegion& rgn, cons argument 117 equalsAAClip(const SkRegion& rgn) argument 123 setRgnToPath(SkRegion* rgn, const SkPath& path) argument 133 SkRegion rgn; local 139 SkRegion rgn; local [all...] |
H A D | DeviceLooperTest.cpp | 76 static void make_rgn(SkRegion* rgn, int w, int h, unsigned mask) { argument 89 rgn->op(r, SkRegion::kUnion_Op); 123 SkRegion rgn; local 124 make_rgn(&rgn, w, h, mask); 127 rc.op(rgn, SkRegion::kReplace_Op);
|
/external/chromium_org/third_party/skia/include/core/ |
H A D | SkRegion.h | 217 * Return true if this region, or rgn, is empty, or if their bounds do not 221 bool quickReject(const SkRegion& rgn) const { 222 return this->isEmpty() || rgn.isEmpty() || 223 !SkIRect::Intersects(fBounds, rgn.fBounds); 270 * specified region: this = (this op rgn). 273 bool op(const SkRegion& rgn, Op op) { return this->op(*this, rgn, op); } argument 277 * rectangle and region: this = (rect op rgn). 280 bool op(const SkIRect& rect, const SkRegion& rgn, Op); 284 * region and rectangle: this = (rgn o 318 const SkRegion* rgn() const { return fRgn; } function in class:SkRegion::Iterator [all...] |
H A D | SkReader32.h | 121 bool readRegion(SkRegion* rgn) { argument 122 return readObjectFromMemory(rgn);
|
H A D | SkWriter32.h | 138 void writeRegion(const SkRegion& rgn) { argument 139 size_t size = rgn.writeToMemory(NULL); 141 rgn.writeToMemory(this->reserve(size));
|
/external/chromium_org/third_party/skia/src/images/ |
H A D | SkPageFlipper.cpp | 53 void SkPageFlipper::inval(const SkRegion& rgn) { argument 56 if (r.op(rgn, SkRegion::kIntersect_Op)) {
|
/external/skia/include/core/ |
H A D | SkRegion.h | 217 * Return true if this region, or rgn, is empty, or if their bounds do not 221 bool quickReject(const SkRegion& rgn) const { 222 return this->isEmpty() || rgn.isEmpty() || 223 !SkIRect::Intersects(fBounds, rgn.fBounds); 270 * specified region: this = (this op rgn). 273 bool op(const SkRegion& rgn, Op op) { return this->op(*this, rgn, op); } argument 277 * rectangle and region: this = (rect op rgn). 280 bool op(const SkIRect& rect, const SkRegion& rgn, Op); 284 * region and rectangle: this = (rgn o 318 const SkRegion* rgn() const { return fRgn; } function in class:SkRegion::Iterator [all...] |
H A D | SkReader32.h | 121 bool readRegion(SkRegion* rgn) { argument 122 return readObjectFromMemory(rgn);
|
H A D | SkWriter32.h | 138 void writeRegion(const SkRegion& rgn) { argument 139 size_t size = rgn.writeToMemory(NULL); 141 rgn.writeToMemory(this->reserve(size));
|
/external/skia/src/images/ |
H A D | SkPageFlipper.cpp | 53 void SkPageFlipper::inval(const SkRegion& rgn) { argument 56 if (r.op(rgn, SkRegion::kIntersect_Op)) {
|
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkRegion.cpp | 171 bool SkRegion::op(const SkIRect& rect, const SkRegion& rgn, Op op) { argument 174 return this->op(tmp, rgn, op); 177 bool SkRegion::op(const SkRegion& rgn, const SkIRect& rect, Op op) { argument 180 return this->op(rgn, tmp, op); 399 bool SkRegion::contains(const SkRegion& rgn) const { 401 SkDEBUGCODE(rgn.validate();) 403 if (this->isEmpty() || rgn.isEmpty() || !fBounds.contains(rgn.fBounds)) { 409 if (rgn.isRect()) { 410 return this->contains(rgn 981 setRegionCheck(SkRegion* result, const SkRegion& rgn) argument [all...] |
H A D | SkRasterClip.cpp | 102 bool SkRasterClip::op(const SkRegion& rgn, SkRegion::Op op) { argument 106 (void)fBW.op(rgn, op); 109 tmp.setRegion(rgn);
|
/external/skia/src/core/ |
H A D | SkRegion.cpp | 171 bool SkRegion::op(const SkIRect& rect, const SkRegion& rgn, Op op) { argument 174 return this->op(tmp, rgn, op); 177 bool SkRegion::op(const SkRegion& rgn, const SkIRect& rect, Op op) { argument 180 return this->op(rgn, tmp, op); 399 bool SkRegion::contains(const SkRegion& rgn) const { 401 SkDEBUGCODE(rgn.validate();) 403 if (this->isEmpty() || rgn.isEmpty() || !fBounds.contains(rgn.fBounds)) { 409 if (rgn.isRect()) { 410 return this->contains(rgn 981 setRegionCheck(SkRegion* result, const SkRegion& rgn) argument [all...] |
H A D | SkRasterClip.cpp | 102 bool SkRasterClip::op(const SkRegion& rgn, SkRegion::Op op) { argument 106 (void)fBW.op(rgn, op); 109 tmp.setRegion(rgn);
|
/external/chromium_org/third_party/skia/src/effects/ |
H A D | Sk2DPathEffect.cpp | 33 SkRegion rgn; local 34 rgn.setPath(tmp, SkRegion(ir)); 35 SkRegion::Iterator iter(rgn);
|
/external/skia/src/effects/ |
H A D | Sk2DPathEffect.cpp | 33 SkRegion rgn; local 34 rgn.setPath(tmp, SkRegion(ir)); 35 SkRegion::Iterator iter(rgn);
|
/external/chromium_org/remoting/host/ |
H A D | disconnect_window_win.cc | 382 HRGN rgn = CreateRoundRectRgn(0, 0, width, height, kWindowBorderRadius, local 384 if (!rgn) 386 if (!SetWindowRgn(hwnd_, rgn, TRUE))
|
/external/chromium/chrome/browser/ui/views/tab_contents/ |
H A D | native_tab_contents_view_win.h | 63 virtual void OnNCPaint(HRGN rgn) OVERRIDE;
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/ |
H A D | SkiaUtils.cpp | 162 SkRegion rgn; local 175 return rgn.setPath(scaledPath, clip);
|
/external/chromium_org/third_party/skia/src/utils/ |
H A D | SkCullPoints.cpp | 210 SkRegion rgn; local 211 return rgn.setPath(*pathPtr, clip) ^ isInverse;
|
H A D | SkDumpCanvas.cpp | 115 static void toString(const SkRegion& rgn, SkString* str) { argument 117 toString(rgn.getBounds(), str); 119 if (rgn.isComplex()) {
|
/external/skia/src/utils/ |
H A D | SkCullPoints.cpp | 210 SkRegion rgn; local 211 return rgn.setPath(*pathPtr, clip) ^ isInverse;
|
H A D | SkDumpCanvas.cpp | 115 static void toString(const SkRegion& rgn, SkString* str) { argument 117 toString(rgn.getBounds(), str); 119 if (rgn.isComplex()) {
|
/external/chromium_org/chrome/browser/ui/views/apps/ |
H A D | native_app_window_views.cc | 703 SkRegion* rgn = new SkRegion; local 706 rgn->op(*draggable_region_, SkRegion::kUnion_Op); 709 rgn->op(0, 0, width, kResizeInsideBoundsSize, SkRegion::kUnion_Op); 710 rgn->op(0, 0, kResizeInsideBoundsSize, height, SkRegion::kUnion_Op); 711 rgn->op(width - kResizeInsideBoundsSize, 0, width, height, 713 rgn->op(0, height - kResizeInsideBoundsSize, width, height, 718 web_contents()->GetRenderViewHost()->GetView()->SetClickthroughRegion(rgn);
|