Lines Matching defs:region

54     /** Create an empty region
60 /** Return a copy of the specified region
62 public Region(Region region) {
64 nativeSetRegion(mNativeRegion, region.mNativeRegion);
67 /** Return a region set to the specified rectangle
74 /** Return a region set to the specified rectangle
81 /** Set the region to the empty region
87 /** Set the region to the specified region.
89 public boolean set(Region region) {
90 nativeSetRegion(mNativeRegion, region.mNativeRegion);
94 /** Set the region to the specified rectangle
100 /** Set the region to the specified rectangle
107 * Set the region to the area described by the path and clip.
108 * Return true if the resulting region is non-empty. This produces a region
117 * Return true if this region is empty
122 * Return true if the region contains a single rectangle
127 * Return true if the region contains more than one rectangle
132 * Return a new Rect set to the bounds of the region. If the region is
142 * Set the Rect to the bounds of the region. If the region is empty, the
153 * Return the boundary of the region as a new Path. If the region is empty,
163 * Set the path to the boundary of the region. If the region is empty, the
171 * Return true if the region contains the specified point
176 * Return true if the region is a single rectangle (not complex) and it
178 * that the rectangle is not contained by this region, but return true is a
179 * guarantee that the rectangle is contained by this region.
186 * Return true if the region is a single rectangle (not complex) and it
188 * that the rectangle is not contained by this region, but return true is a
189 * guarantee that the rectangle is contained by this region.
195 * Return true if the region is empty, or if the specified rectangle does
196 * not intersect the region. Returning false is not a guarantee that they
204 * Return true if the region is empty, or if the specified rectangle does
205 * not intersect the region. Returning false is not a guarantee that they
211 * Return true if the region is empty, or if the specified region does not
212 * intersect the region. Returning false is not a guarantee that they
218 * Translate the region by [dx, dy]. If the region is empty, do nothing.
225 * Set the dst region to the result of translating this region by [dx, dy].
226 * If this region is empty, then dst will be set to empty.
231 * Scale the region by the given scale amount. This re-constructs new region by
232 * scaling the rects that this region consists of. New rectis are computed by scaling
235 * an empty region. If this region is empty, do nothing.
244 * Set the dst region to the result of scaling this region by the given scale amount.
245 * If this region is empty, then dst will be set to empty.
255 * Perform the specified Op on this region and the specified rect. Return
264 * Perform the specified Op on this region and the specified rect. Return
273 * Perform the specified Op on this region and the specified region. Return
276 public boolean op(Region region, Op op) {
277 return op(this, region, op);
281 * Set this region to the result of performing the Op on the specified rect
282 * and region. Return true if the result is not empty.
284 public boolean op(Rect rect, Region region, Op op) {
285 return nativeOp(mNativeRegion, rect, region.mNativeRegion,
290 * Set this region to the result of performing the Op on the specified
308 Region region = sPool.acquire();
309 return (region != null) ? region : new Region();
320 Region region = obtain();
321 region.set(other);
322 return region;
341 * @param p Parcel object to read the region from
342 * @return a new region created from the data in the parcel
361 * Write the region and its pixels to the parcel. The region can be
363 * @param p Parcel object to write the region data into