Searched defs:rects (Results 1 - 5 of 5) sorted by relevance

/frameworks/native/include/private/ui/
H A DRegionHelper.h50 RECT const* rects; member in struct:android::region_operator::region
55 : rects(rhs.rects), count(rhs.count), dx(rhs.dx), dy(rhs.dy) { }
57 : rects(r), count(c), dx(), dy() { }
59 : rects(r), count(c), dx(dx), dy(dy) { }
169 SpannerBase::lhs_head = lhs.rects->top + lhs.dy;
170 SpannerBase::lhs_tail = lhs.rects->bottom + lhs.dy;
173 SpannerBase::rhs_head = rhs.rects->top + rhs.dy;
174 SpannerBase::rhs_tail = rhs.rects->bottom + rhs.dy;
201 RECT const * rects local
[all...]
/frameworks/base/libs/hwui/
H A DLayerRenderer.cpp140 const android::Rect* rects = mLayer->region.getArray(&count); local
168 const android::Rect* r = &rects[i];
H A DOpenGLRenderer.cpp993 const android::Rect* rects = layer->region.getArray(&count); local
1026 const android::Rect* r = &rects[i];
1065 const android::Rect* rects = region.getArray(&count); local
1073 int32_t top = rects[0].top;
1076 if (top != rects[i].top) {
1078 top = rects[i].top;
1081 Rect r(rects[i].left, rects[i].top, rects[i].right, rects[
[all...]
/frameworks/native/libs/ui/
H A DRegion.cpp252 // This is our region rasterizer, which merges rects and spans together
564 Rect* rects = reg.mStorage.editArray(); local
566 rects->translate(dx, dy);
567 rects++;
592 Rect* rects = reinterpret_cast<Rect*>(buffer); local
593 memcpy(rects, mStorage.array(), mStorage.size() * sizeof(Rect));
600 Rect const* rects = reinterpret_cast<Rect const*>(buffer); local
608 memcpy(result.mStorage.editArray(), rects, count*sizeof(Rect));
/frameworks/base/graphics/java/android/graphics/
H A DPath.java41 public Region rects; field in class:Path
75 if (rects != null) rects.setEmpty();
88 if (rects != null) rects.setEmpty();
369 * Specifies how closed shapes (e.g. rects, ovals) are oriented when they
392 if (rects == null) rects = new Region();
393 rects.op((int) left, (int) top, (int) right, (int) bottom, Region.Op.UNION);

Completed in 1062 milliseconds