Searched defs:rects (Results 126 - 150 of 157) sorted by relevance

1234567

/external/chromium_org/ui/views/widget/desktop_aura/
H A Ddesktop_window_tree_host_win.cc292 std::vector<SkIRect> rects; local
300 rects.push_back(rounded_scaled_rect);
302 if (!rects.empty())
303 device_region.setRects(&rects[0], rects.size());
/external/kernel-headers/original/uapi/drm/
H A Dvmwgfx_drm.h735 * @clips_ptr: Pointer to an array of clip rects cast to an uint64_t.
768 * @clips_ptr: Pointer to an array of clip rects cast to an uint64_t.
793 * @rects: pointer to array of drm_vmw_rect cast to an uint64_t
800 uint64_t rects; member in struct:drm_vmw_update_layout_arg
H A Ddrm.h97 struct drm_clip_rect *rects; member in struct:drm_drawable_info
/external/pdfium/core/src/fxge/Microsoft SDK/include/
H A DGdiPlusGraphics.h700 IN const RectF* rects,
705 rects, count));
734 IN const Rect* rects,
739 rects,
1028 IN const RectF* rects,
1033 rects, count));
1062 IN const Rect* rects,
1067 rects,
699 DrawRectangles(IN const Pen* pen, IN const RectF* rects, IN INT count) argument
733 DrawRectangles(IN const Pen* pen, IN const Rect* rects, IN INT count) argument
1027 FillRectangles(IN const Brush* brush, IN const RectF* rects, IN INT count) argument
1061 FillRectangles(IN const Brush* brush, IN const Rect* rects, IN INT count) argument
H A DGdiPlusPath.h491 Status AddRectangles(IN const RectF* rects, argument
495 rects,
509 Status AddRectangles(IN const Rect* rects, INT count) argument
512 rects,
/external/pdfium/fpdfsdk/src/
H A Dfsdk_mgr.cpp992 void CPDFSDK_PageView::UpdateRects(CFX_RectArray& rects) argument
994 for(int i=0; i<rects.GetSize(); i++)
996 CPDF_Rect rc = rects.GetAt(i);
/external/pixman/pixman/
H A Dpixman-region.c342 box_type_t * rects; local
346 rects = PIXREGION_RECTS (rgn);
358 rects[i].x1, rects[i].y1, rects[i].x2, rects[i].y2);
554 * the end of the rects array. Used only by pixman_op.
1460 t = rects[a]; \
1461 rects[a] = rects[
1466 quick_sort_rects( box_type_t rects[], int numRects) argument
2477 box_type_t *rects; local
2603 box_type_t *first_rect, *rects, *prect_line_start; local
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/
H A DSDL_fbvideo.c821 static void FB_DirectUpdate(_THIS, int numrects, SDL_Rect *rects);
823 static void FB_VGA16Update(_THIS, int numrects, SDL_Rect *rects);
1496 static void FB_DirectUpdate(_THIS, int numrects, SDL_Rect *rects) argument
1522 x1 = rects[i].x;
1523 y1 = rects[i].y;
1524 x2 = x1 + rects[i].w;
1525 y2 = y1 + rects[i].h;
1619 static void FB_VGA16Update(_THIS, int numrects, SDL_Rect *rects) argument
1642 left = rects->x & ~7;
1643 width = (rects
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/os2fslib/
H A DSDL_os2fslib.c990 SDL_Rect *rects; local
995 rects = (SDL_Rect *) mp2;
1025 rects[i].y, rects[i].x, rects[i].w, rects[i].h);
2141 static void os2fslib_UpdateRects(_THIS, int numrects, SDL_Rect *rects) argument
2150 (MPARAM) rects);
2194 rects[i].y, rects[
[all...]
/external/skia/src/effects/
H A DSkBlurMaskFilter.cpp220 static bool draw_rects_into_mask(const SkRect rects[], int count, SkMask* mask) { argument
221 if (!prepare_to_draw_into_mask(rects[0], mask)) {
240 canvas.drawRect(rects[0], paint);
244 path.addRect(rects[0]);
245 path.addRect(rects[1]);
258 SK_CONF_DECLARE( bool, c_analyticBlurRRect, "mask.filter.blur.analyticblurrrect", false, "Use the faster analytic blur approach for ninepatch rects" );
260 SK_CONF_DECLARE( bool, c_analyticBlurRRect, "mask.filter.blur.analyticblurrrect", true, "Use the faster analytic blur approach for ninepatch round rects" );
300 // for now, just skip too-large src rects (to take the old code path).
394 SK_CONF_DECLARE( bool, c_analyticBlurNinepatch, "mask.filter.analyticNinePatch", true, "Use the faster analytic blur approach for ninepatch rects" );
397 SkBlurMaskFilterImpl::filterRectsToNine(const SkRect rects[], in argument
[all...]
/external/skia/src/gpu/
H A DGrContext.cpp723 // we use a simple coverage ramp to do aa on axis-aligned rects
1111 SkRect rects[2],
1137 if (!path.isNestedRects(rects, dirs)) {
1142 // The two rects need to be wound opposite to each other
1146 // Right now, nested rects where the margin is not the same width
1148 const SkScalar* outer = rects[0].asScalars();
1149 const SkScalar* inner = rects[1].asScalars();
1222 SkRect rects[2]; local
1224 if (is_nested_rects(target, path, strokeRec, rects, &useVertexCoverage)) {
1232 rects,
1108 is_nested_rects(GrDrawTarget* target, const SkPath& path, const SkStrokeRec& stroke, SkRect rects[2], bool* useVertexCoverage) argument
[all...]
/external/skia/tests/
H A DPathOpsOpTest.cpp1169 SkRect rects[5]; local
1170 rects[0].set(xB, yB, xE, yE);
1171 paths[0].addRoundRect(rects[0], SkIntToScalar(5), SkIntToScalar(5)); // red
1172 rects[1].set(xA, yA, xD, yD);
1173 paths[1].addRoundRect(rects[1], SkIntToScalar(5), SkIntToScalar(5)); // green
1174 rects[2].set(xC, yA, xF, yD);
1175 paths[2].addRoundRect(rects[2], SkIntToScalar(5), SkIntToScalar(5)); // blue
1176 rects[3].set(xA, yC, xD, yF);
1177 paths[3].addRoundRect(rects[3], SkIntToScalar(5), SkIntToScalar(5)); // yellow
1178 rects[
[all...]
H A DPathTest.cpp582 // Chrome creates its own round rects with each corner possibly being different.
905 static const SkRect rects[] = { local
913 for (size_t i = 0; i < SK_ARRAY_COUNT(rects); ++i) {
914 path0.addRect(rects[i]);
915 add_rect(&path1, rects[i]);
1341 // rects with edges off by one from kBaseRect's edges
1364 // zero-w/h rects at each corner of kBaseRect
1440 // Slightly non-convex shape, shouldn't contain any rects.
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderText.cpp326 void RenderText::absoluteRects(Vector<IntRect>& rects, const LayoutPoint& accumulatedOffset) const argument
329 rects.append(enclosingIntRect(FloatRect(accumulatedOffset + box->topLeft(), box->size())));
353 void RenderText::absoluteRectsForRange(Vector<IntRect>& rects, unsigned start, unsigned end, bool useSelectionHeight, bool* wasFixed) argument
379 rects.append(localToAbsoluteQuad(r, 0, wasFixed).enclosingBoundingBox());
384 rects.append(localToAbsoluteQuad(rect, 0, wasFixed).enclosingBoundingBox());
H A DRenderObject.cpp986 void RenderObject::addChildFocusRingRects(Vector<LayoutRect>& rects, const LayoutPoint& additionalOffset, const RenderLayerModelObject* paintContainer) const argument
1001 rects.append(rect);
1004 box->addFocusRingRects(rects, additionalOffset + box->locationOffset(), paintContainer);
1007 current->addFocusRingRects(rects, additionalOffset, paintContainer);
1030 Vector<IntRect> rects; local
1031 absoluteRects(rects, flooredLayoutPoint(absPos));
1033 size_t n = rects.size();
1037 LayoutRect result = rects[0];
1039 result.unite(rects[i]);
1045 Vector<LayoutRect> rects; local
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DGraphicsContext.cpp662 void GraphicsContext::drawFocusRing(const Vector<IntRect>& rects, int width, int offset, const Color& color) argument
667 unsigned rectCount = rects.size();
674 SkIRect r = rects[i];
/external/chromium_org/third_party/skia/src/utils/
H A DSkLua.cpp1206 SkRect rects[2]; local
1208 bool pred = get_obj<SkPath>(L, 1)->isNestedRects(rects, dirs);
1213 lua.pushRect(rects[0]);
1214 lua.pushRect(rects[1]);
/external/chromium_org/ui/gfx/
H A Drender_text.cc1024 std::vector<Rect> rects; local
1027 rects.push_back(Rect(ToViewPoint(Point(x.GetMin(), 0)),
1029 return rects;
1036 // rect corresponding to the intersection to |rects|.
1046 rects.push_back(rect + offset);
1052 return rects;
/external/opencv/cv/src/
H A Dcvhaar.cpp1564 int k, rects = 0; local
1583 sscanf( stage, "%d%n", &rects, &dl );
1586 assert( rects >= 2 && rects <= CV_HAAR_FEATURE_MAX );
1588 for( k = 0; k < rects; k++ )
1603 for( k = rects; k < CV_HAAR_FEATURE_MAX; k++ )
1758 #define ICV_HAAR_RECTS_NAME "rects"
2199 CV_CALL( cvEndWriteStruct( fs ) ); /* rects */
/external/skia/src/core/
H A DSkPath.cpp533 bool SkPath::isNestedRects(SkRect rects[2], Direction dirs[2]) const { argument
548 if (rects) {
549 rects[0] = testRects[0];
550 rects[1] = testRects[1];
559 if (rects) {
560 rects[0] = testRects[1];
561 rects[1] = testRects[0];
896 // Chrome will sometimes create 0 radius round rects. Having degenerate
2227 // The error epsilon was empirically derived; worse case round rects
/external/skia/src/utils/
H A DSkLua.cpp1198 SkRect rects[2]; local
1200 bool pred = get_obj<SkPath>(L, 1)->isNestedRects(rects, dirs);
1205 lua.pushRect(rects[0]);
1206 lua.pushRect(rects[1]);
/external/chromium_org/content/browser/renderer_host/
H A Drender_widget_host_view_aura.cc167 // the clip rect from the renderer, then remove the cutout rects from the
200 // We start with the cutout rects that came from the renderer, then add the
209 // If we don't have any cutout rects then no point in messing with the
1004 const std::vector<gfx::Rect>& rects) {
1010 if (rects == constrained_rects_)
1013 constrained_rects_ = rects;
1003 UpdateConstrainedWindowRects( const std::vector<gfx::Rect>& rects) argument
/external/chromium_org/third_party/WebKit/Source/core/testing/
H A DInternals.cpp1236 // Given a vector of rects, merge those that are adjacent, leaving empty rects
1238 // of rects returned by an SkRegion (which have been split apart for sorting
1241 static void mergeRects(blink::WebVector<blink::WebRect>& rects) argument
1243 for (size_t i = 0; i < rects.size(); ++i) {
1244 if (rects[i].isEmpty())
1249 for (size_t j = i+1; j < rects.size(); ++j) {
1250 if (rects[j].isEmpty())
1252 // Try to merge rects[j] into rects[
1281 accumulateLayerRectList(RenderLayerCompositor* compositor, GraphicsLayer* graphicsLayer, LayerRectList* rects) argument
1319 LayerRectList* rects = LayerRectList::create(); local
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkPath.cpp533 bool SkPath::isNestedRects(SkRect rects[2], Direction dirs[2]) const { argument
548 if (rects) {
549 rects[0] = testRects[0];
550 rects[1] = testRects[1];
559 if (rects) {
560 rects[0] = testRects[1];
561 rects[1] = testRects[0];
898 // Chrome will sometimes create 0 radius round rects. Having degenerate
2156 // The error epsilon was empirically derived; worse case round rects
/external/chromium_org/third_party/skia/tests/
H A DPathTest.cpp609 // Chrome creates its own round rects with each corner possibly being different.
932 static const SkRect rects[] = { local
940 for (size_t i = 0; i < SK_ARRAY_COUNT(rects); ++i) {
941 path0.addRect(rects[i]);
942 add_rect(&path1, rects[i]);
1379 // rects with edges off by one from kBaseRect's edges
1402 // zero-w/h rects at each corner of kBaseRect
1478 // Slightly non-convex shape, shouldn't contain any rects.

Completed in 621 milliseconds

1234567