Searched refs:rects (Results 1 - 18 of 18) 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/graphics/java/android/graphics/
H A DPath.java39 public Region rects; field in class:Path
59 if (src.rects != null) {
60 rects = new Region(src.rects);
73 if (rects != null) rects.setEmpty();
88 if (rects != null) rects.setEmpty();
164 rects = null;
484 * Specifies how closed shapes (e.g. rects, oval
[all...]
/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuView.java449 final ArrayList<Rect> rects = mHorizontalDividerRects;
450 for (int i = rects.size() - 1; i >= 0; i--) {
451 drawable.setBounds(rects.get(i));
459 final ArrayList<Rect> rects = mVerticalDividerRects;
460 for (int i = rects.size() - 1; i >= 0; i--) {
461 drawable.setBounds(rects.get(i));
/frameworks/native/libs/ui/
H A DRegion.cpp79 * Copy rects from the src vector into the dst vector, resolving vertical T-Junctions along the way
405 // This is our region rasterizer, which merges rects and spans together
715 Rect* rects = reg.mStorage.editArray(); local
717 rects->offsetBy(dx, dy);
718 rects++;
746 Rect* rects = reinterpret_cast<Rect*>(buffer); local
747 memcpy(rects, mStorage.array(), mStorage.size() * sizeof(Rect));
754 Rect const* rects = reinterpret_cast<Rect const*>(buffer); local
762 memcpy(result.mStorage.editArray(), rects, count*sizeof(Rect));
/frameworks/base/libs/hwui/
H A DOpenGLRenderer.cpp1109 const android::Rect* rects; local
1112 rects = layer->region.getArray(&count);
1115 rects = safeRegion.getArray(&count);
1155 const android::Rect* r = &rects[i];
1193 const android::Rect* rects = region.getArray(&count); local
1201 int32_t top = rects[0].top;
1204 if (top != rects[i].top) {
1206 top = rects[i].top;
1211 Rect r(rects[i].left, rects[
1218 Vector<float> rects; local
3124 drawRects(const float* rects, int count, const SkPaint* paint) argument
3172 drawColorRects(const float* rects, int count, const SkPaint* paint, bool ignoreTransform, bool dirty, bool clip) argument
[all...]
H A DDisplayListRenderer.cpp434 status_t DisplayListRenderer::drawRects(const float* rects, int count, const SkPaint* paint) { argument
437 rects = refBuffer<float>(rects, count);
439 addDrawOp(new (alloc()) DrawRectsOp(rects, count, paint));
H A DRenderer.h199 virtual status_t drawRects(const float* rects, int count, const SkPaint* paint) = 0;
H A DLayerRenderer.cpp149 const android::Rect* rects = safeRegion.getArray(&count); local
170 const android::Rect* r = &rects[i];
H A DOpenGLRenderer.h196 virtual status_t drawRects(const float* rects, int count, const SkPaint* paint);
625 * @param rects A list of rectangles, 4 floats (left, top, right, bottom)
630 * @param clip True if the rects should be clipped, false otherwise
632 status_t drawColorRects(const float* rects, int count, const SkPaint* paint,
H A DDisplayListRenderer.h125 virtual status_t drawRects(const float* rects, int count, const SkPaint* paint);
H A DDisplayListOp.h1050 DrawRectsOp(const float* rects, int count, const SkPaint* paint) argument
1051 : DrawBoundedOp(rects, count, paint),
1052 mRects(rects), mCount(count) {}
/frameworks/native/opengl/tests/hwc/
H A DhwcColorEquiv.cpp367 layer->visibleRegionScreen.rects = &layer->displayFrame;
381 layer->visibleRegionScreen.rects = &layer->displayFrame;
H A DhwcRects.cpp326 layer->visibleRegionScreen.rects = &layer->displayFrame;
H A DhwcStress.cpp475 layer->visibleRegionScreen.rects = &layer->displayFrame;
H A DhwcCommit.cpp1427 layer->visibleRegionScreen.rects = &layer->displayFrame;
/frameworks/base/core/jni/
H A Dandroid_view_GLES20Canvas.cpp533 Vector<float> rects; local
537 rects.push(r.fLeft);
538 rects.push(r.fTop);
539 rects.push(r.fRight);
540 rects.push(r.fBottom);
544 renderer->drawRects(rects.array(), count, paint);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.cpp595 disp.framebufferTarget->visibleRegionScreen.rects =
966 l->visibleRegionScreen.rects = NULL;
1021 visibleRegion.rects = reinterpret_cast<hwc_rect_t const *>(sb->data());
1044 SharedBuffer const* sb = SharedBuffer::bufferFromData(visibleRegion.rects);
1049 visibleRegion.rects = NULL;
/frameworks/base/core/java/android/view/
H A DGLES20Canvas.java797 if (path.rects != null) {
798 nDrawRects(mRenderer, path.rects.mNativeRegion, paint.mNativePaint);

Completed in 526 milliseconds