/frameworks/base/libs/hwui/ |
H A D | BakedOpRenderer.cpp | 192 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 D | LayerRenderer.cpp | 148 const android::Rect* rects = safeRegion.getArray(&count); local 169 const android::Rect* r = &rects[i];
|
H A D | DisplayListCanvas.cpp | 463 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 D | RecordingCanvas.cpp | 299 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 D | DisplayListOp.h | 985 DrawRectsOp(const float* rects, int count, const SkPaint* paint) argument 986 : DrawBoundedOp(rects, count, paint), 987 mRects(rects), mCount(count) {}
|
H A D | OpenGLRenderer.cpp | 932 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...] |
/frameworks/base/libs/hwui/renderstate/ |
H A D | OffscreenBufferPool.cpp | 74 const android::Rect* rects = safeRegion.getArray(&count); local 82 const android::Rect* r = &rects[i];
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | EglManager.cpp | 317 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/native/include/private/ui/ |
H A D | RegionHelper.h | 50 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/core/jni/android/graphics/ |
H A D | Region.cpp | 215 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/native/libs/ui/ |
H A D | Region.cpp | 81 * 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++;
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Path.java | 42 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/native/libs/gui/ |
H A D | Surface.cpp | 724 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 D | eglApi.cpp | 1062 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/services/surfaceflinger/DisplayHardware/ |
H A D | HWC2On1Adapter.cpp | 88 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...] |