/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/libs/hwui/ |
H A D | LayerRenderer.cpp | 148 const android::Rect* rects = safeRegion.getArray(&count); local 169 const android::Rect* r = &rects[i];
|
H A D | DisplayListRenderer.cpp | 438 status_t DisplayListRenderer::drawRects(const float* rects, int count, SkPaint* paint) { argument 441 rects = refBuffer<float>(rects, count); 443 addDrawOp(new (alloc()) DrawRectsOp(rects, count, paint));
|
H A D | DisplayListOp.h | 1168 DrawRectsOp(const float* rects, int count, SkPaint* paint) argument 1169 : DrawBoundedOp(rects, count, paint), 1170 mRects(rects), mCount(count) {}
|
H A D | OpenGLRenderer.cpp | 1198 const android::Rect* rects; local 1201 rects = layer->region.getArray(&count); 1204 rects = safeRegion.getArray(&count); 1242 const android::Rect* r = &rects[i]; 1281 const android::Rect* rects = region.getArray(&count); local 1289 int32_t top = rects[0].top; 1292 if (top != rects[i].top) { 1294 top = rects[i].top; 1297 Rect r(rects[i].left, rects[ 1306 Vector<float> rects; local 3320 drawRects(const float* rects, int count, SkPaint* paint) argument 3335 drawColorRects(const float* rects, int count, int color, SkXfermode::Mode mode, bool ignoreTransform, bool dirty, bool clip) argument [all...] |
/frameworks/native/libs/ui/ |
H A D | Region.cpp | 78 * Copy rects from the src vector into the dst vector, resolving vertical T-Junctions along the way 388 // This is our region rasterizer, which merges rects and spans together 698 Rect* rects = reg.mStorage.editArray(); local 700 rects->offsetBy(dx, dy); 701 rects++; 729 Rect* rects = reinterpret_cast<Rect*>(buffer); local 730 memcpy(rects, mStorage.array(), mStorage.size() * sizeof(Rect)); 737 Rect const* rects = reinterpret_cast<Rect const*>(buffer); local 745 memcpy(result.mStorage.editArray(), rects, count*sizeof(Rect));
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Path.java | 41 public Region rects; field in class:Path 63 if (src.rects != null) { 64 rects = new Region(src.rects); 79 if (rects != null) rects.setEmpty(); 96 if (rects != null) rects.setEmpty(); 173 rects = null; 462 * Specifies how closed shapes (e.g. rects, oval [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_GLES20Canvas.cpp | 504 Vector<float> rects; local 508 rects.push(r.fLeft); 509 rects.push(r.fTop); 510 rects.push(r.fRight); 511 rects.push(r.fBottom); 515 renderer->drawRects(rects.array(), count, paint); 520 OpenGLRenderer* renderer, jfloatArray rects, jint count, SkPaint* paint) { 521 jfloat* storage = env->GetFloatArrayElements(rects, NULL); 523 env->ReleaseFloatArrayElements(rects, storage, 0); 519 android_view_GLES20Canvas_drawRects(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jfloatArray rects, jint count, SkPaint* paint) argument
|
/frameworks/base/core/java/android/view/ |
H A D | GLES20Canvas.java | 1060 if (path.rects != null) { 1061 nDrawRects(mRenderer, path.rects.mNativeRegion, paint.mNativePaint); 1074 void drawRects(float[] rects, int count, Paint paint) { argument 1077 nDrawRects(mRenderer, rects, count, paint.mNativePaint); 1083 private static native void nDrawRects(int renderer, float[] rects, int count, int paint); argument
|