Home
last modified time | relevance | path

Searched refs:rects (Results 1 – 19 of 19) sorted by relevance

/frameworks/native/include/private/ui/
DRegionHelper.h50 RECT const* rects; member
55 : rects(rhs.rects), count(rhs.count), dx(rhs.dx), dy(rhs.dy) { } in region()
57 : rects(r), count(c), dx(), dy() { } in region()
59 : rects(r), count(c), dx(dx), dy(dy) { } in region()
169 SpannerBase::lhs_head = lhs.rects->top + lhs.dy; in Spanner()
170 SpannerBase::lhs_tail = lhs.rects->bottom + lhs.dy; in Spanner()
173 SpannerBase::rhs_head = rhs.rects->top + rhs.dy; in Spanner()
174 SpannerBase::rhs_tail = rhs.rects->bottom + rhs.dy; in Spanner()
201 RECT const * rects = reg.rects; in advance() local
202 RECT const * const end = rects + count; in advance()
[all …]
/frameworks/base/graphics/java/android/graphics/
DPath.java39 public Region rects; field in Path
59 if (src.rects != null) { in Path()
60 rects = new Region(src.rects); in Path()
73 if (rects != null) rects.setEmpty(); in reset()
88 if (rects != null) rects.setEmpty(); in rewind()
164 rects = null; in op()
506 if (rects == null) rects = new Region(); in detectSimplePath()
507 rects.op((int) left, (int) top, (int) right, (int) bottom, Region.Op.UNION); in detectSimplePath()
/frameworks/base/core/java/com/android/internal/view/menu/
DIconMenuView.java449 final ArrayList<Rect> rects = mHorizontalDividerRects; in onDraw() local
450 for (int i = rects.size() - 1; i >= 0; i--) { in onDraw()
451 drawable.setBounds(rects.get(i)); in onDraw()
459 final ArrayList<Rect> rects = mVerticalDividerRects; in onDraw() local
460 for (int i = rects.size() - 1; i >= 0; i--) { in onDraw()
461 drawable.setBounds(rects.get(i)); in onDraw()
/frameworks/native/libs/ui/
DRegion.cpp715 Rect* rects = reg.mStorage.editArray(); in translate() local
717 rects->offsetBy(dx, dy); in translate()
718 rects++; in translate()
746 Rect* rects = reinterpret_cast<Rect*>(buffer); in flatten() local
747 memcpy(rects, mStorage.array(), mStorage.size() * sizeof(Rect)); in flatten()
754 Rect const* rects = reinterpret_cast<Rect const*>(buffer); in unflatten() local
762 memcpy(result.mStorage.editArray(), rects, count*sizeof(Rect)); in unflatten()
/frameworks/base/libs/hwui/
DOpenGLRenderer.cpp1109 const android::Rect* rects; in composeLayerRegion() local
1112 rects = layer->region.getArray(&count); in composeLayerRegion()
1115 rects = safeRegion.getArray(&count); in composeLayerRegion()
1155 const android::Rect* r = &rects[i]; in composeLayerRegion()
1193 const android::Rect* rects = region.getArray(&count); in drawRegionRectsDebug() local
1201 int32_t top = rects[0].top; in drawRegionRectsDebug()
1204 if (top != rects[i].top) { in drawRegionRectsDebug()
1206 top = rects[i].top; in drawRegionRectsDebug()
1211 Rect r(rects[i].left, rects[i].top, rects[i].right, rects[i].bottom); in drawRegionRectsDebug()
1218 Vector<float> rects; in drawRegionRects() local
[all …]
DDisplayListRenderer.cpp434 status_t DisplayListRenderer::drawRects(const float* rects, int count, const SkPaint* paint) { in drawRects() argument
437 rects = refBuffer<float>(rects, count); in drawRects()
439 addDrawOp(new (alloc()) DrawRectsOp(rects, count, paint)); in drawRects()
DLayerRenderer.cpp149 const android::Rect* rects = safeRegion.getArray(&count); in generateMesh() local
170 const android::Rect* r = &rects[i]; in generateMesh()
DRenderer.h199 virtual status_t drawRects(const float* rects, int count, const SkPaint* paint) = 0;
DOpenGLRenderer.h196 virtual status_t drawRects(const float* rects, int count, const SkPaint* paint);
632 status_t drawColorRects(const float* rects, int count, const SkPaint* paint,
DDisplayListRenderer.h125 virtual status_t drawRects(const float* rects, int count, const SkPaint* paint);
DDisplayListOp.h1050 DrawRectsOp(const float* rects, int count, const SkPaint* paint) in DrawRectsOp() argument
1051 : DrawBoundedOp(rects, count, paint), in DrawRectsOp()
1052 mRects(rects), mCount(count) {} in DrawRectsOp()
/frameworks/native/opengl/tests/hwc/
DhwcColorEquiv.cpp367 layer->visibleRegionScreen.rects = &layer->displayFrame; in main()
381 layer->visibleRegionScreen.rects = &layer->displayFrame; in main()
DhwcRects.cpp326 layer->visibleRegionScreen.rects = &layer->displayFrame; in main()
DhwcStress.cpp475 layer->visibleRegionScreen.rects = &layer->displayFrame; in main()
DhwcCommit.cpp1427 layer->visibleRegionScreen.rects = &layer->displayFrame; in numOverlays()
/frameworks/base/core/jni/
Dandroid_view_GLES20Canvas.cpp533 Vector<float> rects; in android_view_GLES20Canvas_drawRegionAsRects() local
537 rects.push(r.fLeft); in android_view_GLES20Canvas_drawRegionAsRects()
538 rects.push(r.fTop); in android_view_GLES20Canvas_drawRegionAsRects()
539 rects.push(r.fRight); in android_view_GLES20Canvas_drawRegionAsRects()
540 rects.push(r.fBottom); in android_view_GLES20Canvas_drawRegionAsRects()
544 renderer->drawRects(rects.array(), count, paint); in android_view_GLES20Canvas_drawRegionAsRects()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp595 disp.framebufferTarget->visibleRegionScreen.rects = in createWorkList()
966 l->visibleRegionScreen.rects = NULL; in setDefaultState()
1021 visibleRegion.rects = reinterpret_cast<hwc_rect_t const *>(sb->data()); in setVisibleRegionScreen()
1044 SharedBuffer const* sb = SharedBuffer::bufferFromData(visibleRegion.rects); in onDisplayed()
1049 visibleRegion.rects = NULL; in onDisplayed()
/frameworks/base/core/java/android/view/
DGLES20Canvas.java797 if (path.rects != null) { in drawPath()
798 nDrawRects(mRenderer, path.rects.mNativeRegion, paint.mNativePaint); in drawPath()
/frameworks/base/docs/html/about/versions/
Djelly-bean.jd659 certain shapes (rounded rects, circles and ovals).</p>