/external/skia/tests/ |
RegionTest.cpp | 13 static void Union(SkRegion* rgn, const SkIRect& rect) { 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, 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, SkRandom& 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...] |
DeviceLooperTest.cpp | 76 static void make_rgn(SkRegion* rgn, int w, int h, unsigned mask) { 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);
|
/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 | 121 bool readRegion(SkRegion* rgn) { 122 return readObjectFromMemory(rgn);
|
SkWriter32.h | 138 void writeRegion(const SkRegion& rgn) { 139 size_t size = rgn.writeToMemory(NULL); 141 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 | 121 bool readRegion(SkRegion* rgn) { 122 return readObjectFromMemory(rgn);
|
SkWriter32.h | 138 void writeRegion(const SkRegion& rgn) { 139 size_t size = rgn.writeToMemory(NULL); 141 rgn.writeToMemory(this->reserve(size));
|
/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); 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.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); 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.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/chrome/browser/ui/views/tab_contents/ |
native_tab_contents_view_win.h | 63 virtual void OnNCPaint(HRGN rgn) OVERRIDE;
|
/external/chromium_org/remoting/host/ |
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_org/third_party/WebKit/Source/platform/graphics/skia/ |
SkiaUtils.cpp | 162 SkRegion rgn; local 175 return rgn.setPath(scaledPath, clip);
|
/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;
|
/external/chromium_org/chrome/browser/ui/views/apps/ |
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); [all...] |