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

/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.java41 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/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/native/libs/ui/
H A DRegion.cpp78 * 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/libs/hwui/
H A DOpenGLRenderer.cpp1198 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...]
H A DDisplayListRenderer.cpp438 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 DLayerRenderer.cpp148 const android::Rect* rects = safeRegion.getArray(&count); local
169 const android::Rect* r = &rects[i];
H A DDisplayListRenderer.h127 virtual status_t drawRects(const float* rects, int count, SkPaint* paint);
H A DOpenGLRenderer.h320 virtual status_t drawRects(const float* rects, int count, SkPaint* paint);
731 * @param rects A list of rectangles, 4 floats (left, top, right, bottom)
737 * @param clip True if the rects should be clipped, false otherwise
739 status_t drawColorRects(const float* rects, int count, int color,
H A DDisplayListOp.h1168 DrawRectsOp(const float* rects, int count, SkPaint* paint) argument
1169 : DrawBoundedOp(rects, count, paint),
1170 mRects(rects), mCount(count) {}
/frameworks/native/opengl/tests/hwc/
H A DhwcColorEquiv.cpp368 layer->visibleRegionScreen.rects = &layer->displayFrame;
382 layer->visibleRegionScreen.rects = &layer->displayFrame;
H A DhwcRects.cpp327 layer->visibleRegionScreen.rects = &layer->displayFrame;
H A DhwcStress.cpp476 layer->visibleRegionScreen.rects = &layer->displayFrame;
H A DhwcCommit.cpp1428 layer->visibleRegionScreen.rects = &layer->displayFrame;
/frameworks/base/core/jni/
H A Dandroid_view_GLES20Canvas.cpp504 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/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.cpp551 disp.framebufferTarget->visibleRegionScreen.rects =
895 l->visibleRegionScreen.rects = NULL;
940 visibleRegion.rects = reinterpret_cast<hwc_rect_t const *>(sb->data());
953 SharedBuffer const* sb = SharedBuffer::bufferFromData(visibleRegion.rects);
958 visibleRegion.rects = NULL;
/frameworks/base/core/java/android/view/
H A DGLES20Canvas.java1060 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

Completed in 329 milliseconds