/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/skia/src/effects/ |
Sk2DPathEffect.cpp | 35 SkRegion rgn; local 36 rgn.setPath(tmp, SkRegion(ir)); 37 SkRegion::Iterator iter(rgn);
|
SkAlphaThresholdFilter.cpp | 270 SkRegion rgn; local 271 buffer.readRegion(&rgn); 272 return SkAlphaThresholdFilter::Create(rgn, inner, outer, common.getInput(0));
|
/external/skia/tests/ |
DeviceLooperTest.cpp | 74 static void make_rgn(SkRegion* rgn, int w, int h, unsigned mask) { 87 rgn->op(r, SkRegion::kUnion_Op); 121 SkRegion rgn; local 122 make_rgn(&rgn, w, h, mask); 125 rc.op(rgn, SkRegion::kReplace_Op);
|
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(); 82 // so we translate the rgn to match that before drawing into the mask. 84 SkRegion tmpRgn(rgn); 85 tmpRgn.translate(-rgn.getBounds().fLeft, -rgn.getBounds().fTop); 100 static void make_rand_rgn(SkRegion* rgn, SkRandom& rand) { 103 rgn->op(rand_rect(rand, 100), SkRegion::kXOR_Op); 107 static bool operator==(const SkRegion& rgn, const SkAAClip& aaclip) 135 SkRegion rgn; local 141 SkRegion rgn; local [all...] |
PathTest.cpp | 175 SkRegion rgn; local 176 rgn.setPath(path, clip); 178 rgn.setPath(path, clip); [all...] |
/external/skia/include/core/ |
SkRegion.h | 216 * Return true if this region, or rgn, is empty, or if their bounds do not 220 bool quickReject(const SkRegion& rgn) const { 221 return this->isEmpty() || rgn.isEmpty() || 222 !SkIRect::Intersects(fBounds, rgn.fBounds); 273 * specified region: this = (this op rgn). 276 bool op(const SkRegion& rgn, Op op) { return this->op(*this, rgn, op); } 280 * rectangle and region: this = (rect op rgn). 283 bool op(const SkIRect& rect, const SkRegion& rgn, Op); 287 * region and rectangle: this = (rgn op rect) 321 const SkRegion* rgn() const { return fRgn; } function in class:SkRegion::Iterator [all...] |
/external/skia/samplecode/ |
SampleRegion.cpp | 120 static void make_rgn(SkRegion* rgn, int left, int top, int right, int bottom, 125 rgn->debugSetRuns(runs, count); 126 SkASSERT(rgn->getBounds() == r); 178 static void paint_rgn(SkCanvas* canvas, const SkRegion& rgn, 181 scale_rgn(&scaled, rgn, 0.5f); 183 SkRegion::Iterator iter(rgn); 203 void build_base_rgn(SkRegion* rgn) { 204 rgn->setRect(fBase); 207 rgn->op(r, SkRegion::kUnion_Op); 210 void build_rgn(SkRegion* rgn, SkRegion::Op op) 236 SkRegion rgn; local 251 SkRegion rgn; local 260 SkRegion rgn; local 302 SkRegion rgn; local [all...] |
/frameworks/base/core/jni/android/graphics/ |
Region.cpp | 157 SkRegion* rgn = GetSkRegion(env, region); local 159 rgn->translate(x, y, GetSkRegion(env, dst)); 161 rgn->translate(x, y); 187 SkRegion* rgn = GetSkRegion(env, region); local 189 scale_rgn(GetSkRegion(env, dst), *rgn, scale); local 191 scale_rgn(rgn, *rgn, scale); 269 RgnIterPair(const SkRegion& rgn) : fRgn(rgn) {
|
/external/pdfium/samples/ |
pdfium_test.cc | 181 HRGN rgn = CreateRectRgn(0, 0, width, height); local 182 SelectClipRgn(dc, rgn); 183 DeleteObject(rgn);
|
/external/opencv3/3rdparty/libjasper/ |
jpc_cs.c | 185 {JPC_MS_RGN, "RGN", {0, jpc_rgn_getparms, jpc_rgn_putparms, 800 * RGN marker segment operations. 805 jpc_rgn_t *rgn = &ms->parms.rgn; local 811 rgn->compno = tmp; 813 if (jpc_getuint16(in, &rgn->compno)) { 817 if (jpc_getuint8(in, &rgn->roisty) || 818 jpc_getuint8(in, &rgn->roishift)) { 826 jpc_rgn_t *rgn = &ms->parms.rgn; local 845 jpc_rgn_t *rgn = &ms->parms.rgn; local [all...] |
jpc_cs.h | 118 * For example, a RGN/COC/QCC marker segment cannot be decoded unless the 353 * RGN marker segment parameters. 599 jpc_rgn_t rgn; member in union:__anon20878 643 #define JPC_MS_RGN 0xff5e /* Region of interest (RGN). */
|
jpc_dec.c | 169 static int jpc_dec_cp_setfromrgn(jpc_dec_cp_t *cp, jpc_rgn_t *rgn); 1306 jpc_rgn_t *rgn = &ms->parms.rgn; local [all...] |
/external/opencv3/modules/highgui/src/ |
window_w32.cpp | 1438 HRGN rgn, rgn1, rgn2; local [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jar | |
org.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jar | |