Lines Matching refs:Region
33 * Delegate implementing the native methods of android.graphics.Region
35 * Through the layoutlib_create tool, the original native methods of Region have been replaced
40 * it and the original Region class.
42 * This also serve as a base class for all Region delegate classes.
70 * to the given {@link Region.Op}.
80 if (regionOp == Region.Op.DIFFERENCE.nativeInt) {
91 } else if (regionOp == Region.Op.INTERSECT.nativeInt) {
102 } else if (regionOp == Region.Op.UNION.nativeInt) {
113 } else if (regionOp == Region.Op.XOR.nativeInt) {
124 } else if (regionOp == Region.Op.REVERSE_DIFFERENCE.nativeInt) {
141 /*package*/ static boolean isEmpty(Region thisRegion) {
151 /*package*/ static boolean isRect(Region thisRegion) {
161 /*package*/ static boolean isComplex(Region thisRegion) {
171 /*package*/ static boolean contains(Region thisRegion, int x, int y) {
181 /*package*/ static boolean quickContains(Region thisRegion,
193 /*package*/ static boolean quickReject(Region thisRegion,
205 /*package*/ static boolean quickReject(Region thisRegion, Region rgn) {
223 /*package*/ static void translate(Region thisRegion, int dx, int dy, Region dst) {
245 /*package*/ static void scale(Region thisRegion, float scale, Region dst) {
437 // This is only called by Region.CREATOR (Parcelable.Creator<Region>), which is only