Lines Matching refs:Region
56 const Region Region::INVALID_REGION(Rect::INVALID_RECT);
60 Region::Region() { in Region() function in android::Region
64 Region::Region(const Region& rhs) in Region() function in android::Region
72 Region::Region(const Rect& rhs) { in Region() function in android::Region
76 Region::~Region() in ~Region()
191 Region Region::createTJunctionFreeRegion(const Region& r) { in createTJunctionFreeRegion()
198 Region outputRegion; in createTJunctionFreeRegion()
210 Region& Region::operator = (const Region& rhs) in operator =()
220 Region& Region::makeBoundsSelf() in makeBoundsSelf()
230 bool Region::contains(const Point& point) const { in contains()
234 bool Region::contains(int x, int y) const { in contains()
246 void Region::clear() in clear()
252 void Region::set(const Rect& r) in set()
258 void Region::set(int32_t w, int32_t h) in set()
264 void Region::set(uint32_t w, uint32_t h) in set()
270 bool Region::isTriviallyEqual(const Region& region) const { in isTriviallyEqual()
276 void Region::addRectUnchecked(int l, int t, int r, int b) in addRectUnchecked()
285 Region& Region::orSelf(const Rect& r) { in orSelf()
288 Region& Region::xorSelf(const Rect& r) { in xorSelf()
291 Region& Region::andSelf(const Rect& r) { in andSelf()
294 Region& Region::subtractSelf(const Rect& r) { in subtractSelf()
297 Region& Region::operationSelf(const Rect& r, int op) { in operationSelf()
298 Region lhs(*this); in operationSelf()
305 Region& Region::orSelf(const Region& rhs) { in orSelf()
308 Region& Region::xorSelf(const Region& rhs) { in xorSelf()
311 Region& Region::andSelf(const Region& rhs) { in andSelf()
314 Region& Region::subtractSelf(const Region& rhs) { in subtractSelf()
317 Region& Region::operationSelf(const Region& rhs, int op) { in operationSelf()
318 Region lhs(*this); in operationSelf()
323 Region& Region::translateSelf(int x, int y) { in translateSelf()
330 const Region Region::merge(const Rect& rhs) const { in merge()
333 const Region Region::mergeExclusive(const Rect& rhs) const { in mergeExclusive()
336 const Region Region::intersect(const Rect& rhs) const { in intersect()
339 const Region Region::subtract(const Rect& rhs) const { in subtract()
342 const Region Region::operation(const Rect& rhs, int op) const { in operation()
343 Region result; in operation()
350 const Region Region::merge(const Region& rhs) const { in merge()
353 const Region Region::mergeExclusive(const Region& rhs) const { in mergeExclusive()
356 const Region Region::intersect(const Region& rhs) const { in intersect()
359 const Region Region::subtract(const Region& rhs) const { in subtract()
362 const Region Region::operation(const Region& rhs, int op) const { in operation()
363 Region result; in operation()
368 const Region Region::translate(int x, int y) const { in translate()
369 Region result; in translate()
376 Region& Region::orSelf(const Region& rhs, int dx, int dy) { in orSelf()
379 Region& Region::xorSelf(const Region& rhs, int dx, int dy) { in xorSelf()
382 Region& Region::andSelf(const Region& rhs, int dx, int dy) { in andSelf()
385 Region& Region::subtractSelf(const Region& rhs, int dx, int dy) { in subtractSelf()
388 Region& Region::operationSelf(const Region& rhs, int dx, int dy, int op) { in operationSelf()
389 Region lhs(*this); in operationSelf()
396 const Region Region::merge(const Region& rhs, int dx, int dy) const { in merge()
399 const Region Region::mergeExclusive(const Region& rhs, int dx, int dy) const { in mergeExclusive()
402 const Region Region::intersect(const Region& rhs, int dx, int dy) const { in intersect()
405 const Region Region::subtract(const Region& rhs, int dx, int dy) const { in subtract()
408 const Region Region::operation(const Region& rhs, int dx, int dy, int op) const { in operation()
409 Region result; in operation()
418 class Region::rasterizer : public region_operator<Rect>::region_rasterizer
427 rasterizer(Region& reg) in rasterizer()
445 Region::rasterizer::~rasterizer() in ~rasterizer()
463 void Region::rasterizer::operator()(const Rect& rect) in operator ()()
479 void Region::rasterizer::flushSpan() in flushSpan()
513 bool Region::validate(const Region& reg, const char* name, bool silent) in validate()
585 void Region::boolean_operation(int op, Region& dst, in boolean_operation()
586 const Region& lhs, in boolean_operation()
587 const Region& rhs, int dx, int dy) in boolean_operation()
650 Region::const_iterator head = dst.begin(); in boolean_operation()
651 Region::const_iterator const tail = dst.end(); in boolean_operation()
695 void Region::boolean_operation(int op, Region& dst, in boolean_operation()
696 const Region& lhs, in boolean_operation()
708 boolean_operation(op, dst, lhs, Region(rhs), dx, dy); in boolean_operation()
724 void Region::boolean_operation(int op, Region& dst, in boolean_operation()
725 const Region& lhs, const Region& rhs) in boolean_operation()
730 void Region::boolean_operation(int op, Region& dst, in boolean_operation()
731 const Region& lhs, const Rect& rhs) in boolean_operation()
736 void Region::translate(Region& reg, int dx, int dy) in translate()
755 void Region::translate(Region& dst, const Region& reg, int dx, int dy) in translate()
763 size_t Region::getFlattenedSize() const { in getFlattenedSize()
767 status_t Region::flatten(void* buffer, size_t size) const { in flatten()
787 status_t Region::unflatten(void const* buffer, size_t size) { in unflatten()
803 Region result; in unflatten()
829 Region::const_iterator Region::begin() const { in begin()
833 Region::const_iterator Region::end() const { in end()
838 Rect const* Region::getArray(size_t* count) const { in getArray()
845 void Region::dump(String8& out, const char* what, uint32_t /* flags */) const in dump()
859 void Region::dump(const char* what, uint32_t /* flags */) const in dump()