Searched refs:rects (Results 1 - 25 of 29) sorted by relevance

12

/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.java42 public Region rects; field in class:Path
62 if (src.rects != null) {
63 rects = new Region(src.rects);
76 if (rects != null) rects.setEmpty();
91 if (rects != null) rects.setEmpty();
107 if (rects != null && src.rects !
[all...]
/frameworks/base/core/jni/android/graphics/
H A DRegion.cpp215 std::vector<int32_t> rects; local
216 p->readInt32Vector(&rects);
218 if ((rects.size() % 4) != 0) {
223 for (size_t x = 0; x + 4 <= rects.size(); x += 4) {
224 region->op(rects[x], rects[x+1], rects[x+2], rects[x+3], SkRegion::kUnion_Op);
239 std::vector<int32_t> rects; local
243 rects
[all...]
/frameworks/base/libs/hwui/renderthread/
H A DEglManager.cpp317 EGLint rects[4]; local
318 frame.map(dirty, rects);
319 if (!eglSetDamageRegionKHR(mEglDisplay, frame.mSurface, rects, 1)) {
338 EGLint rects[4]; local
339 frame.map(screenDirty, rects);
340 eglSwapBuffersWithDamageKHR(mEglDisplay, frame.mSurface, rects,
/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/base/libs/hwui/
H A DRecordingCanvas.cpp299 void RecordingCanvas::drawSimpleRects(const float* rects, int vertexCount, const SkPaint* paint) { argument
300 if (rects == nullptr) return;
310 float l = rects[index + 0];
311 float t = rects[index + 1];
312 float r = rects[index + 2];
313 float b = rects[index + 3];
336 Vector<float> rects; local
340 rects.push(r.fLeft);
341 rects.push(r.fTop);
342 rects
[all...]
H A DBakedOpRenderer.cpp192 void BakedOpRenderer::drawRects(const float* rects, int count, const SkPaint* paint) { argument
198 float l = rects[index + 0];
199 float t = rects[index + 1];
200 float r = rects[index + 2];
201 float b = rects[index + 3];
H A DOpenGLRenderer.cpp932 const android::Rect* rects; local
935 rects = layer->region.getArray(&count);
938 rects = safeRegion.getArray(&count);
948 const android::Rect* r = &rects[i];
982 const android::Rect* rects = region.getArray(&count); local
990 int32_t top = rects[0].top;
993 if (top != rects[i].top) {
995 top = rects[i].top;
1000 Rect r(rects[i].left, rects[
1007 Vector<float> rects; local
2343 drawRects(const float* rects, int count, const SkPaint* paint) argument
2383 drawColorRects(const float* rects, int count, const SkPaint* paint, bool ignoreTransform, bool dirty, bool clip) argument
[all...]
H A DDisplayListCanvas.cpp463 Vector<float> rects; local
467 rects.push(r.fLeft);
468 rects.push(r.fTop);
469 rects.push(r.fRight);
470 rects.push(r.fBottom);
474 drawRects(rects.array(), count, &paint);
478 void DisplayListCanvas::drawRects(const float* rects, int count, const SkPaint* paint) { argument
481 rects = refBuffer<float>(rects, count);
483 addDrawOp(new (alloc()) DrawRectsOp(rects, coun
[all...]
H A DBakedOpRenderer.h102 void drawRects(const float* rects, int count, const SkPaint* paint);
H A DLayerRenderer.cpp148 const android::Rect* rects = safeRegion.getArray(&count); local
169 const android::Rect* r = &rects[i];
H A DOpenGLRenderer.h199 void drawRects(const float* rects, int count, const SkPaint* paint);
589 * @param rects A list of rectangles, 4 floats (left, top, right, bottom)
594 * @param clip True if the rects should be clipped, false otherwise
596 void drawColorRects(const float* rects, int count, const SkPaint* paint,
H A DDisplayListCanvas.h232 void drawRects(const float* rects, int count, const SkPaint* paint);
H A DRecordingCanvas.h208 void drawSimpleRects(const float* rects, int vertexCount, const SkPaint* paint);
/frameworks/base/libs/hwui/renderstate/
H A DOffscreenBufferPool.cpp74 const android::Rect* rects = safeRegion.getArray(&count); local
82 const android::Rect* r = &rects[i];
/frameworks/native/opengl/tests/hwc/
H A DhwcColorEquiv.cpp365 layer->visibleRegionScreen.rects = &layer->displayFrame;
379 layer->visibleRegionScreen.rects = &layer->displayFrame;
H A DhwcRects.cpp325 layer->visibleRegionScreen.rects = &layer->displayFrame;
H A DhwcStress.cpp476 layer->visibleRegionScreen.rects = &layer->displayFrame;
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWC2On1Adapter.cpp88 std::free(const_cast<hwc_rect_t*>(layer.visibleRegionScreen.rects));
1305 std::copy_n(region.rects, region.numRects, newRects);
1306 region.rects = newRects;
1949 auto rects = static_cast<hwc_rect_t*>(std::malloc(sizeof(hwc_rect_t))); local
1950 rects[0].left = 0;
1951 rects[0].top = 0;
1952 rects[0].right = width;
1953 rects[0].bottom = height;
1954 hwc1Target.visibleRegionScreen.rects = rects;
[all...]
H A DHWComposer_hwc1.cpp617 disp.framebufferTarget->visibleRegionScreen.rects =
996 l->visibleRegionScreen.rects = NULL;
1048 visibleRegion.rects = reinterpret_cast<hwc_rect_t const *>(
1058 // 0 rects for HWComposer
1061 surfaceDamage.rects = NULL;
1065 surfaceDamage.rects = reinterpret_cast<hwc_rect_t const *>(
/frameworks/native/libs/gui/
H A DSurface.cpp724 android_native_rect_t* rects = va_arg(args, android_native_rect_t*); local
726 setSurfaceDamage(rects, numRects);
1078 void Surface::setSurfaceDamage(android_native_rect_t* rects, size_t numRects) { argument
1094 Rect rect(rects[r].left, rects[r].bottom, rects[r].right, rects[r].top);
/frameworks/native/opengl/libs/EGL/
H A DeglApi.cpp1062 EGLint *rects, EGLint n_rects)
1100 int x = rects[offset];
1101 int y = rects[offset + 1];
1102 int width = rects[offset + 2];
1103 int height = rects[offset + 3];
1116 rects, n_rects);
1914 EGLint *rects, EGLint n_rects)
1933 rects, n_rects);
1061 eglSwapBuffersWithDamageKHR(EGLDisplay dpy, EGLSurface draw, EGLint *rects, EGLint n_rects) argument
1913 eglSetDamageRegionKHR(EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects) argument
/frameworks/native/include/gui/
H A DSurface.h211 virtual void setSurfaceDamage(android_native_rect_t* rects, size_t numRects);
/frameworks/native/opengl/include/EGL/
H A Deglext.h182 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSETDAMAGEREGIONKHRPROC) (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
184 EGLAPI EGLBoolean EGLAPIENTRY eglSetDamageRegionKHR (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
459 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC) (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
461 EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersWithDamageKHR (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
/frameworks/native/libs/ui/
H A DRegion.cpp81 * Copy rects from the src vector into the dst vector, resolving vertical T-Junctions along the way
416 // This is our region rasterizer, which merges rects and spans together
743 Rect* rects = reg.mStorage.editArray(); local
745 rects->offsetBy(dx, dy);
746 rects++;

Completed in 5671 milliseconds

12