Home
last modified time | relevance | path

Searched refs:makeOutset (Results 1 – 25 of 76) sorted by relevance

1234

/external/skia/tests/
DTextureOpTest.cpp29 SkAssertResult(op.bounds() == firstRect.makeOutset(0.5f, 0.5f)); in check_chain()
31 SkAssertResult(op.bounds() == lastRect.makeOutset(0.5f, 0.5f)); in check_chain()
54 quad.fDevice = GrQuad::MakeFromRect(rect.makeOutset(0.5f, 0.5f), SkMatrix::I()); in create_op()
/external/skia/gm/
Dgpu_blur_utils.cpp134 surf->getCanvas()->clipIRect(contentArea->makeOutset(1, 1)); in make_src_image()
196 srcRect.makeOutset(srcW/5, srcH/5) in run()
310 auto dstR = SkRect::Make(dstRect).makeOutset(0.5f, 0.5f); in run()
323 auto srcR = SkRect::Make(srcRect).makeOutset(0.5f, 0.5f); in run()
362 auto dstB = srcB.makeOutset(30, 30); in do_very_large_blur_gm()
382 SkRect::Make(dstRect).makeOutset(0.5, 0.5), in do_very_large_blur_gm()
424 do_very_large_blur_gm(sdc, ctx, std::move(src), srcB.makeOutset(1, 1));
Dcroppedrects.cpp80 kSrcImageClip.makeOutset(0.5f * kSrcImageClip.width(), in onDraw()
82 drawRect.makeOutset(0.5f * drawRect.width(), drawRect.height()), in onDraw()
Dtexelsubset.cpp113 : a.makeOutset(.25f * a.width(), .25f * a.height()); in onDraw()
117 : a.makeOutset(.20f * a.width(), .35f * a.height()); in onDraw()
127 SkRect localRect = SkRect::Make(fBitmap.bounds()).makeOutset(kDrawPad, kDrawPad); in onDraw()
Dblurpositioning.cpp29 SkRect b = r.makeOutset(border + 1, border + 1);
Dcrbug_1156804.cpp21 canvas->saveLayer(rect.makeOutset(saveBorder, saveBorder), &sp); in drawOne()
Dskbug_8664.cpp53 SkRect outer = inner.makeOutset(16.f, 16.f);
Dcrbug_1174354.cpp19 auto outsetRect = SkRect::Make(rect).makeOutset(10, 10); in draw_bg_blur()
Dlocalmatriximagefilter.cpp39 SkRect r = SkRect::MakeIWH(image->width(), image->height()).makeOutset(SK_ScalarHalf, in show_image()
Daarecteffect.cpp84 auto drawRect = rect.makeOutset(kOutset, kOutset); in onDraw()
Dbackdrop_imagefilter_croprect.cpp28 SkIRect cropRect = cropInLocal.makeOutset(outsetX, outsetY).roundOut(); in draw_backdrop_filter_gm()
Dconvexpolyeffect.cpp119 auto rect = p.getBounds().makeOutset(kOutset, kOutset); in onDraw()
/external/skqp/gm/
Dcroppedrects.cpp74 kSrcImageClip.makeOutset(0.5f * kSrcImageClip.width(), in onDraw()
76 drawRect.makeOutset(0.5f * drawRect.width(), drawRect.height()), in onDraw()
Dblurpositioning.cpp21 SkRect b = r.makeOutset(border + 1, border + 1);
Dskbug_8664.cpp46 SkRect outer = inner.makeOutset(16.f, 16.f);
Dlocalmatriximagefilter.cpp32 SkRect r = SkRect::MakeIWH(image->width(), image->height()).makeOutset(SK_ScalarHalf, in show_image()
Dshowmiplevels.cpp128 …canvas->drawRect(SkRect::MakeIWH(bm.width(), bm.height()).makeOffset(x, y).makeOutset(0.5f, 0.5f),… in DrawAndFrame()
239 …canvas->drawRect(SkRect::MakeIWH(bm.width(), bm.height()).makeOffset(x, y).makeOutset(0.5f, 0.5f),… in DrawAndFrame()
Dshadermaskfilter.cpp115 const SkRect r2 = r.makeOutset(1.5f, 1.5f);
218 canvas->drawRect(r.makeOutset(1, 1), overlayPaint);
/external/skia/docs/examples/
DRect_makeOutset.cpp10 rect = rect.makeOutset(15, 32); in draw()
DIRect_makeOutset.cpp10 rect = rect.makeOutset(15, 32); in draw()
/external/skia/samplecode/
DSampleImageFilterDAG.cpp166 canvas->drawRect(SkRect::Make(SkIRect(node.fHintedLayerBounds)).makeOutset(3.f, 3.f), line); in draw_node()
169 canvas->drawRect(SkRect::Make(SkIRect(node.fUnhintedLayerBounds)).makeOutset(2.f, 2.f), line); in draw_node()
173 canvas->drawRect(SkRect::Make(SkIRect(node.fOutputBounds)).makeOutset(1.f, 1.f), line); in draw_node()
/external/skqp/src/core/
DSkScan_Hairline.cpp167 if (!r.intersect(clip.getBounds().makeOutset(1, 1))) { in HairRect()
515 const SkIRect ibounds = path.getBounds().roundOut().makeOutset(capOut, capOut); in hair_path()
543 outsetStorage = insetStorage.makeOutset(1, 1); in hair_path()
726 if (!clip.quickContains(r.roundOut().makeOutset(1, 1))) { in AntiHairLine()
/external/skia/src/core/
DSkScan_Hairline.cpp176 if (!r.intersect(clip.getBounds().makeOutset(1, 1))) { in HairRect()
524 const SkIRect ibounds = path.getBounds().roundOut().makeOutset(capOut, capOut); in hair_path()
552 outsetStorage = insetStorage.makeOutset(1, 1); in hair_path()
738 if (!clip.quickContains(r.roundOut().makeOutset(1, 1))) { in AntiHairLine()
/external/skia/src/gpu/effects/
DGrAARectEffect.fp47 rect.makeOutset(.5f, .5f) : rect;
/external/skia/src/gpu/effects/generated/
DGrAARectEffect.cpp83 GrProcessorEdgeTypeIsAA(edgeType) ? rect.makeOutset(.5f, .5f) : rect; in onSetData()

1234