/external/skia/tests/ |
D | TextureOpTest.cpp | 29 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/ |
D | gpu_blur_utils.cpp | 134 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));
|
D | croppedrects.cpp | 80 kSrcImageClip.makeOutset(0.5f * kSrcImageClip.width(), in onDraw() 82 drawRect.makeOutset(0.5f * drawRect.width(), drawRect.height()), in onDraw()
|
D | texelsubset.cpp | 113 : 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()
|
D | blurpositioning.cpp | 29 SkRect b = r.makeOutset(border + 1, border + 1);
|
D | crbug_1156804.cpp | 21 canvas->saveLayer(rect.makeOutset(saveBorder, saveBorder), &sp); in drawOne()
|
D | skbug_8664.cpp | 53 SkRect outer = inner.makeOutset(16.f, 16.f);
|
D | crbug_1174354.cpp | 19 auto outsetRect = SkRect::Make(rect).makeOutset(10, 10); in draw_bg_blur()
|
D | localmatriximagefilter.cpp | 39 SkRect r = SkRect::MakeIWH(image->width(), image->height()).makeOutset(SK_ScalarHalf, in show_image()
|
D | aarecteffect.cpp | 84 auto drawRect = rect.makeOutset(kOutset, kOutset); in onDraw()
|
D | backdrop_imagefilter_croprect.cpp | 28 SkIRect cropRect = cropInLocal.makeOutset(outsetX, outsetY).roundOut(); in draw_backdrop_filter_gm()
|
D | convexpolyeffect.cpp | 119 auto rect = p.getBounds().makeOutset(kOutset, kOutset); in onDraw()
|
/external/skqp/gm/ |
D | croppedrects.cpp | 74 kSrcImageClip.makeOutset(0.5f * kSrcImageClip.width(), in onDraw() 76 drawRect.makeOutset(0.5f * drawRect.width(), drawRect.height()), in onDraw()
|
D | blurpositioning.cpp | 21 SkRect b = r.makeOutset(border + 1, border + 1);
|
D | skbug_8664.cpp | 46 SkRect outer = inner.makeOutset(16.f, 16.f);
|
D | localmatriximagefilter.cpp | 32 SkRect r = SkRect::MakeIWH(image->width(), image->height()).makeOutset(SK_ScalarHalf, in show_image()
|
D | showmiplevels.cpp | 128 …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()
|
D | shadermaskfilter.cpp | 115 const SkRect r2 = r.makeOutset(1.5f, 1.5f); 218 canvas->drawRect(r.makeOutset(1, 1), overlayPaint);
|
/external/skia/docs/examples/ |
D | Rect_makeOutset.cpp | 10 rect = rect.makeOutset(15, 32); in draw()
|
D | IRect_makeOutset.cpp | 10 rect = rect.makeOutset(15, 32); in draw()
|
/external/skia/samplecode/ |
D | SampleImageFilterDAG.cpp | 166 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/ |
D | SkScan_Hairline.cpp | 167 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/ |
D | SkScan_Hairline.cpp | 176 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/ |
D | GrAARectEffect.fp | 47 rect.makeOutset(.5f, .5f) : rect;
|
/external/skia/src/gpu/effects/generated/ |
D | GrAARectEffect.cpp | 83 GrProcessorEdgeTypeIsAA(edgeType) ? rect.makeOutset(.5f, .5f) : rect; in onSetData()
|