Lines Matching refs:region
37 SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); in GetSkRegion() local
38 SkASSERT(region != NULL); in GetSkRegion()
39 return region; in GetSkRegion()
47 SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); in Region_destructor() local
48 SkASSERT(region); in Region_destructor()
49 delete region; in Region_destructor()
77 SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); in Region_getBounds() local
78 GraphicsJNI::irect_to_jrect(region->getBounds(), env, rectBounds); in Region_getBounds()
79 bool result = !region->isEmpty(); in Region_getBounds()
84 const SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); in Region_getBoundaryPath() local
86 bool result = region->getBoundaryPath(path); in Region_getBoundaryPath()
98 const SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); in Region_op1() local
101 bool result = dst->op(ir, *region, (SkRegion::Op)op); in Region_op1()
115 static jboolean Region_isEmpty(JNIEnv* env, jobject region) { in Region_isEmpty() argument
116 bool result = GetSkRegion(env, region)->isEmpty(); in Region_isEmpty()
120 static jboolean Region_isRect(JNIEnv* env, jobject region) { in Region_isRect() argument
121 bool result = GetSkRegion(env, region)->isRect(); in Region_isRect()
125 static jboolean Region_isComplex(JNIEnv* env, jobject region) { in Region_isComplex() argument
126 bool result = GetSkRegion(env, region)->isComplex(); in Region_isComplex()
130 static jboolean Region_contains(JNIEnv* env, jobject region, jint x, jint y) { in Region_contains() argument
131 bool result = GetSkRegion(env, region)->contains(x, y); in Region_contains()
135 static jboolean Region_quickContains(JNIEnv* env, jobject region, jint left, jint top, jint right, … in Region_quickContains() argument
136 bool result = GetSkRegion(env, region)->quickContains({left, top, right, bottom}); in Region_quickContains()
140 static jboolean Region_quickRejectIIII(JNIEnv* env, jobject region, jint left, jint top, jint right… in Region_quickRejectIIII() argument
143 bool result = GetSkRegion(env, region)->quickReject(ir); in Region_quickRejectIIII()
147 static jboolean Region_quickRejectRgn(JNIEnv* env, jobject region, jobject other) { in Region_quickRejectRgn() argument
148 bool result = GetSkRegion(env, region)->quickReject(*GetSkRegion(env, other)); in Region_quickRejectRgn()
152 static void Region_translate(JNIEnv* env, jobject region, jint x, jint y, jobject dst) { in Region_translate() argument
153 SkRegion* rgn = GetSkRegion(env, region); in Region_translate()
182 static void Region_scale(JNIEnv* env, jobject region, jfloat scale, jobject dst) { in Region_scale() argument
183 SkRegion* rgn = GetSkRegion(env, region); in Region_scale()
191 SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); in Region_toString() local
192 char* str = region->toString(); in Region_toString()
220 SkRegion* region = new SkRegion; in Region_createFromParcel() local
222 region->op({rects[x], rects[x+1], rects[x+2], rects[x+3]}, SkRegion::kUnion_Op); in Region_createFromParcel()
225 return reinterpret_cast<jlong>(region); in Region_createFromParcel()
234 const SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); in Region_writeToParcel() local
240 SkRegion::Iterator it(*region); in Region_writeToParcel()
284 const SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); in RegionIter_constructor() local
285 SkASSERT(region); in RegionIter_constructor()
286 return reinterpret_cast<jlong>(new RgnIterPair(*region)); in RegionIter_constructor()