/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/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/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/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/base/core/java/com/android/internal/view/menu/ |
H A D | IconMenuView.java | 449 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 D | RecordingCanvas.cpp | 305 void RecordingCanvas::drawSimpleRects(const float* rects, int vertexCount, const SkPaint* paint) { argument 306 if (rects == nullptr) return; 316 float l = rects[index + 0]; 317 float t = rects[index + 1]; 318 float r = rects[index + 2]; 319 float b = rects[index + 3]; 344 Vector<float> rects; local 348 rects.push(r.fLeft); 349 rects.push(r.fTop); 350 rects [all...] |
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 | 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...] |
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 | BakedOpRenderer.h | 102 void drawRects(const float* rects, int count, const SkPaint* paint);
|
H A D | LayerRenderer.cpp | 148 const android::Rect* rects = safeRegion.getArray(&count); local 169 const android::Rect* r = &rects[i];
|
H A D | OpenGLRenderer.h | 199 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 D | DisplayListCanvas.h | 232 void drawRects(const float* rects, int count, const SkPaint* paint);
|
H A D | RecordingCanvas.h | 208 void drawSimpleRects(const float* rects, int vertexCount, const SkPaint* paint);
|
/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/native/opengl/tests/hwc/ |
H A D | hwcColorEquiv.cpp | 365 layer->visibleRegionScreen.rects = &layer->displayFrame; 379 layer->visibleRegionScreen.rects = &layer->displayFrame;
|
H A D | hwcRects.cpp | 325 layer->visibleRegionScreen.rects = &layer->displayFrame;
|
H A D | hwcStress.cpp | 476 layer->visibleRegionScreen.rects = &layer->displayFrame;
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | HWC2On1Adapter.cpp | 88 std::free(const_cast<hwc_rect_t*>(layer.visibleRegionScreen.rects)); 1306 std::copy_n(region.rects, region.numRects, newRects); 1307 region.rects = newRects; 1959 auto rects = static_cast<hwc_rect_t*>(std::malloc(sizeof(hwc_rect_t))); local 1960 rects[0].left = 0; 1961 rects[0].top = 0; 1962 rects[0].right = width; 1963 rects[0].bottom = height; 1964 hwc1Target.visibleRegionScreen.rects = rects; [all...] |
H A D | HWComposer_hwc1.cpp | 624 disp.framebufferTarget->visibleRegionScreen.rects = 1003 l->visibleRegionScreen.rects = NULL; 1055 visibleRegion.rects = reinterpret_cast<hwc_rect_t const *>( 1065 // 0 rects for HWComposer 1068 surfaceDamage.rects = NULL; 1072 surfaceDamage.rects = reinterpret_cast<hwc_rect_t const *>(
|
/frameworks/native/libs/gui/ |
H A D | Surface.cpp | 780 android_native_rect_t* rects = va_arg(args, android_native_rect_t*); local 782 setSurfaceDamage(rects, numRects); 1148 void Surface::setSurfaceDamage(android_native_rect_t* rects, size_t numRects) { argument 1164 Rect rect(rects[r].left, rects[r].bottom, rects[r].right, rects[r].top);
|
/frameworks/native/opengl/libs/EGL/ |
H A D | eglApi.cpp | 1079 EGLint *rects, EGLint n_rects) 1117 int x = rects[offset]; 1118 int y = rects[offset + 1]; 1119 int width = rects[offset + 2]; 1120 int height = rects[offset + 3]; 1133 rects, n_rects); 1997 EGLint *rects, EGLint n_rects) 2016 rects, n_rects); 1078 eglSwapBuffersWithDamageKHR(EGLDisplay dpy, EGLSurface draw, EGLint *rects, EGLint n_rects) argument 1996 eglSetDamageRegionKHR(EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects) argument
|
/frameworks/native/include/gui/ |
H A D | Surface.h | 216 virtual void setSurfaceDamage(android_native_rect_t* rects, size_t numRects);
|
/frameworks/native/opengl/include/EGL/ |
H A D | eglext.h | 182 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 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++;
|