/external/skia/tests/ |
RegionTest.cpp | 12 static void Union(SkRegion* rgn, const SkIRect& rect) { 13 rgn->op(rect, SkRegion::kUnion_Op); 16 #define TEST_NO_INTERSECT(rgn, rect) REPORTER_ASSERT(reporter, !rgn.intersects(rect)) 17 #define TEST_INTERSECT(rgn, rect) REPORTER_ASSERT(reporter, rgn.intersects(rect)) 18 #define TEST_NO_CONTAINS(rgn, rect) REPORTER_ASSERT(reporter, !rgn.contains(rect)) 72 SkRegion rgn; local 73 Union(&rgn, SkIRect::MakeXYWH(0, 0, 10, 10)) [all...] |
AAClipTest.cpp | 59 static void copyToMask(const SkRegion& rgn, SkMask* mask) { 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, SkMWCRandom& rand) { 101 rgn->op(rand_rect(rand, 100), SkRegion::kXOR_Op); 105 static bool operator==(const SkRegion& rgn, const SkAAClip& aaclip) 133 SkRegion rgn; local 139 SkRegion rgn; local [all...] |
/frameworks/base/core/jni/android/graphics/ |
Region.cpp | 33 SkRegion* rgn = (SkRegion*)env->GetIntField(regionObject, gRegion_nativeInstanceFieldID); local 34 SkASSERT(rgn != NULL); 35 return rgn; 121 SkRegion* rgn = GetSkRegion(env, region); local 123 rgn->translate(x, y, GetSkRegion(env, dst)); 125 rgn->translate(x, y); 151 SkRegion* rgn = GetSkRegion(env, region); local 153 scale_rgn(GetSkRegion(env, dst), *rgn, scale); local 155 scale_rgn(rgn, *rgn, scale) [all...] |
/external/chromium_org/third_party/skia/include/core/ |
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); } 277 * rectangle and region: this = (rect op rgn). 280 bool op(const SkIRect& rect, const SkRegion& rgn, Op); 284 * region and rectangle: this = (rgn op rect) 318 const SkRegion* rgn() const { return fRgn; } function in class:SkRegion::Iterator [all...] |
SkReader32.h | 126 void readRegion(SkRegion* rgn) { 127 size_t size = rgn->readFromMemory(this->peek());
|
SkWriter32.h | 137 void writeRegion(const SkRegion& rgn) { 138 size_t size = rgn.writeToMemory(NULL); 140 rgn.writeToMemory(this->reserve(size));
|
/external/chromium_org/third_party/skia/src/images/ |
SkPageFlipper.cpp | 53 void SkPageFlipper::inval(const SkRegion& rgn) { 56 if (r.op(rgn, SkRegion::kIntersect_Op)) {
|
/external/skia/include/core/ |
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); } 277 * rectangle and region: this = (rect op rgn). 280 bool op(const SkIRect& rect, const SkRegion& rgn, Op); 284 * region and rectangle: this = (rgn op rect) 318 const SkRegion* rgn() const { return fRgn; } function in class:SkRegion::Iterator [all...] |
SkReader32.h | 126 void readRegion(SkRegion* rgn) { 127 size_t size = rgn->readFromMemory(this->peek());
|
SkWriter32.h | 137 void writeRegion(const SkRegion& rgn) { 138 size_t size = rgn.writeToMemory(NULL); 140 rgn.writeToMemory(this->reserve(size));
|
/external/skia/include/images/ |
SkFlipPixelRef.h | 30 void inval(const SkRegion& rgn) { fFlipper.inval(rgn); }
|
/external/skia/src/images/ |
SkPageFlipper.cpp | 53 void SkPageFlipper::inval(const SkRegion& rgn) { 56 if (r.op(rgn, SkRegion::kIntersect_Op)) {
|
/external/chromium_org/third_party/skia/src/core/ |
SkRegion.cpp | 171 bool SkRegion::op(const SkIRect& rect, const SkRegion& rgn, Op op) { 174 return this->op(tmp, rgn, op); 177 bool SkRegion::op(const SkRegion& rgn, const SkIRect& rect, Op op) { 180 return this->op(rgn, tmp, op); 398 bool SkRegion::contains(const SkRegion& rgn) const { 400 SkDEBUGCODE(rgn.validate();) 402 if (this->isEmpty() || rgn.isEmpty() || !fBounds.contains(rgn.fBounds)) { 408 if (rgn.isRect()) { 409 return this->contains(rgn.getBounds()) [all...] |
SkRasterClip.cpp | 102 bool SkRasterClip::op(const SkRegion& rgn, SkRegion::Op op) { 106 (void)fBW.op(rgn, op); 109 tmp.setRegion(rgn);
|
/external/skia/src/core/ |
SkRegion.cpp | 171 bool SkRegion::op(const SkIRect& rect, const SkRegion& rgn, Op op) { 174 return this->op(tmp, rgn, op); 177 bool SkRegion::op(const SkRegion& rgn, const SkIRect& rect, Op op) { 180 return this->op(rgn, tmp, op); 398 bool SkRegion::contains(const SkRegion& rgn) const { 400 SkDEBUGCODE(rgn.validate();) 402 if (this->isEmpty() || rgn.isEmpty() || !fBounds.contains(rgn.fBounds)) { 408 if (rgn.isRect()) { 409 return this->contains(rgn.getBounds()) [all...] |
SkRasterClip.cpp | 102 bool SkRasterClip::op(const SkRegion& rgn, SkRegion::Op op) { 106 (void)fBW.op(rgn, op); 109 tmp.setRegion(rgn);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
Regions.java | 68 Region rgn = new Region(); local 69 rgn.set(mRect1); 70 rgn.op(mRect2, op); 73 RegionIterator iter = new RegionIterator(rgn);
|
/external/chromium_org/third_party/skia/src/effects/ |
Sk2DPathEffect.cpp | 33 SkRegion rgn; local 34 rgn.setPath(tmp, SkRegion(ir)); 35 SkRegion::Iterator iter(rgn);
|
/external/skia/src/effects/ |
Sk2DPathEffect.cpp | 33 SkRegion rgn; local 34 rgn.setPath(tmp, SkRegion(ir)); 35 SkRegion::Iterator iter(rgn);
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/skia/ |
SkiaUtils.cpp | 167 SkRegion rgn; local 180 return rgn.setPath(scaledPath, clip);
|
/external/chromium/chrome/browser/ui/views/tab_contents/ |
native_tab_contents_view_win.h | 63 virtual void OnNCPaint(HRGN rgn) OVERRIDE;
|
/external/chromium_org/chrome/browser/ui/views/apps/ |
native_app_window_views.cc | 483 SkRegion* rgn = new SkRegion; local 486 rgn->op(*draggable_region(), SkRegion::kUnion_Op); 489 rgn->op(0, 0, width, kResizeInsideBoundsSize, SkRegion::kUnion_Op); 490 rgn->op(0, 0, kResizeInsideBoundsSize, height, SkRegion::kUnion_Op); 491 rgn->op(width - kResizeInsideBoundsSize, 0, width, height, 493 rgn->op(0, height - kResizeInsideBoundsSize, width, height, 498 web_contents()->GetRenderViewHost()->GetView()->SetClickthroughRegion(rgn);
|
/external/chromium_org/remoting/host/ |
disconnect_window_win.cc | 380 HRGN rgn = CreateRoundRectRgn(0, 0, width, height, kWindowBorderRadius, local 382 if (!rgn) 384 if (!SetWindowRgn(hwnd_, rgn, TRUE))
|
/external/chromium_org/third_party/skia/src/utils/ |
SkCullPoints.cpp | 210 SkRegion rgn; local 211 return rgn.setPath(*pathPtr, clip) ^ isInverse;
|
/external/skia/src/utils/ |
SkCullPoints.cpp | 210 SkRegion rgn; local 211 return rgn.setPath(*pathPtr, clip) ^ isInverse;
|