Home
last modified time | relevance | path

Searched refs:MakeWH (Results 1 – 25 of 189) sorted by relevance

12345678

/external/skia/gm/
Drrects.cpp45 … static const SkRect kMaxTileBound = SkRect::MakeWH(SkIntToScalar(kTileX), SkIntToScalar(kTileY)); in onDraw()
74 fRRects[0].setRect(SkRect::MakeWH(kTileX-2, kTileY-2)); in setUpRRects()
75 fRRects[1].setOval(SkRect::MakeWH(kTileX-2, kTileY-2)); in setUpRRects()
76 fRRects[2].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 10, 10); in setUpRRects()
79 fRRects[kNumSimpleCases].setRectRadii(SkRect::MakeWH(kTileY-2, kTileY-2), gRadii[0]); in setUpRRects()
81 fRRects[kNumSimpleCases+i].setRectRadii(SkRect::MakeWH(kTileX-2, kTileY-2), gRadii[i]); in setUpRRects()
Dextractbitmap.cpp61 bitmap.extractSubset(&subset, SkIRect::MakeWH(x, y)); in onDraw()
65 bitmap.extractSubset(&subset, SkIRect::MakeWH(x, bitmap.height())); in onDraw()
71 bitmap.extractSubset(&subset, SkIRect::MakeWH(bitmap.height(), y)); in onDraw()
Dtexdata.cpp98 GrContext::AutoClip acs(ctx, SkRect::MakeWH(2*S, 2*S)); in onDraw()
118 ctx->drawRect(paint, SkRect::MakeWH(2*S, 2*S)); in onDraw()
132 ctx->drawRect(paint, SkRect::MakeWH(2*S, 2*S)); in onDraw()
Dblurroundrect.cpp28 SkRect r = SkRect::MakeWH(SkIntToScalar(width), SkIntToScalar(height)); in BlurRoundRectGM()
42 SkRect r = SkRect::MakeWH(SkIntToScalar(width), SkIntToScalar(height)); in BlurRoundRectGM()
118 const SkRect r = SkRect::MakeWH(SkIntToScalar(100), SkIntToScalar(100)); in onDraw()
Daaclip.cpp191 const SkRect constr = SkRect::MakeWH(dx, SkIntToScalar(2)); in test_mask()
233 SkRect target (SkRect::MakeWH(10 * SK_Scalar1, 10 * SK_Scalar1)); in draw_square()
238 SkRect target (SkRect::MakeWH(1 * SK_Scalar1, 10 * SK_Scalar1)); in draw_column()
243 SkRect target (SkRect::MakeWH(10 * SK_Scalar1, 1 * SK_Scalar1)); in draw_bar()
Dpathopsinverse.cpp79 canvas->clipRect(SkRect::MakeWH(110, 110), SkRegion::kIntersect_Op, true); in onDraw()
91 canvas->clipRect(SkRect::MakeWH(110, 110), SkRegion::kIntersect_Op, true); in onDraw()
Dhairmodes.cpp41 SkRect r = SkRect::MakeWH(W, H); in drawCell()
96 const SkRect bounds = SkRect::MakeWH(W, H); in onDraw()
Dtestimagefilters.cpp88 SkRect r = SkRect::MakeWH(FILTER_WIDTH, FILTER_HEIGHT); in draw0()
113 const SkRect bounds = SkRect::MakeWH(FILTER_WIDTH, FILTER_HEIGHT); in onDraw()
Dsrcmode.cpp50 canvas->drawRect(SkRect::MakeWH(W, H), paint); in draw_rect()
54 canvas->drawOval(SkRect::MakeWH(W, H), paint); in draw_oval()
Dgradtext.cpp50 SkRect r = SkRect::MakeWH(SkIntToScalar(100), SkIntToScalar(100)); in onDraw()
134 SkRect r = SkRect::MakeWH(SkIntToScalar(size.width()), in onDraw()
Daarectmodes.cpp89 SkRect r = SkRect::MakeWH(W, H); in drawCell()
148 const SkRect bounds = SkRect::MakeWH(W, H); in onDraw()
/external/chromium_org/skia/ext/
Danalysis_canvas_unittest.cc104 canvas.drawOval(SkRect::MakeWH(255, 255), paint); in TEST()
126 canvas.clipRect(SkRect::MakeWH(255, 255)); in TEST()
127 canvas.drawRect(SkRect::MakeWH(255, 255), paint); in TEST()
137 canvas.drawRect(SkRect::MakeWH(382, 382), paint); in TEST()
143 canvas.drawRect(SkRect::MakeWH(383, 383), paint); in TEST()
151 canvas.drawRect(SkRect::MakeWH(383, 383), paint); in TEST()
159 canvas.drawRect(SkRect::MakeWH(383, 383), paint); in TEST()
164 canvas.drawRect(SkRect::MakeWH(382, 382), paint); in TEST()
168 canvas.drawRect(SkRect::MakeWH(383, 383), paint); in TEST()
177 canvas.drawRect(SkRect::MakeWH(255, 255), paint); in TEST()
[all …]
Dlazy_pixel_ref_utils.cc141 SkRect bitmap_rect = SkRect::MakeWH(bitmap.width(), bitmap.height()); in drawBitmap()
156 SkRect bitmap_rect = SkRect::MakeWH(bitmap.width(), bitmap.height()); in drawBitmapRect()
170 SkRect bitmap_rect = SkRect::MakeWH(bitmap.width(), bitmap.height()); in drawSprite()
333 SkRect canvas_rect = SkRect::MakeWH(width(), height()); in AddBitmap()
405 canvas.clipRect(SkRect::MakeWH(picture->width(), picture->height()), in GatherPixelRefs()
/external/skia/tests/
DLayerDrawLooperTest.cpp59 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_frontToBack()
67 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_frontToBack()
96 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_backToFront()
104 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_backToFront()
133 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_mixed()
141 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_mixed()
DFontHostStreamTest.cpp78 SkIRect origRect = SkIRect::MakeWH(64, 64); in DEF_TEST()
83 SkIRect streamRect = SkIRect::MakeWH(64, 64); in DEF_TEST()
DDrawTextTest.cpp69 SkIRect drawTextRect = SkIRect::MakeWH(64, 64); in DEF_TEST()
74 SkIRect drawPosTextRect = SkIRect::MakeWH(64, 64); in DEF_TEST()
DDeviceLooperTest.cpp81 const SkIRect baseR = SkIRect::MakeWH(w, h); in make_rgn()
116 const SkIRect rect = SkIRect::MakeWH(w, h); in test_complex()
/external/chromium_org/content/renderer/pepper/
Dpepper_graphics_2d_host_unittest.cc219 SkIRect::MakeWH(backing_store_size.width, backing_store_size.height), in TEST_F()
282 SkIRect::MakeWH(backing_store_size.width, backing_store_size.height), in TEST_F()
295 SkIRect::MakeWH(backing_store_size.width, backing_store_size.height), in TEST_F()
347 SkIRect::MakeWH(backing_store_size.width, backing_store_size.height), in TEST_F()
387 SkIRect::MakeWH(backing_store_size.width, backing_store_size.height), in TEST_F()
/external/skia/bench/
DMergeBench.cpp36 SkRect r = fIsSmall ? SkRect::MakeWH(FILTER_WIDTH_SMALL, FILTER_HEIGHT_SMALL) : in onDraw()
37 SkRect::MakeWH(FILTER_WIDTH_LARGE, FILTER_HEIGHT_LARGE); in onDraw()
DTileBench.cpp97 r = SkRect::MakeWH(SkIntToScalar(2 * 640), SkIntToScalar(2 * 480)); in onDraw()
100 r = SkRect::MakeWH(SkIntToScalar(640), SkIntToScalar(480)); in onDraw()
DLightingBench.cpp24 SkRect r = fIsSmall ? SkRect::MakeWH(FILTER_WIDTH_SMALL, FILTER_HEIGHT_SMALL) : in draw()
25 SkRect::MakeWH(FILTER_WIDTH_LARGE, FILTER_HEIGHT_LARGE); in draw()
/external/chromium_org/third_party/skia/src/core/
DSkDeviceLooper.cpp24 SkASSERT(SkIRect::MakeWH(base.width(), base.height()).contains(rc.getBounds())); in SkDeviceLooper()
73 (void)fSubsetRC.op(SkIRect::MakeWH(fDelta, fDelta), in computeCurrBitmapAndClip()
/external/skia/src/core/
DSkDeviceLooper.cpp24 SkASSERT(SkIRect::MakeWH(base.width(), base.height()).contains(rc.getBounds())); in SkDeviceLooper()
73 (void)fSubsetRC.op(SkIRect::MakeWH(fDelta, fDelta), in computeCurrBitmapAndClip()
/external/chromium_org/third_party/skia/src/gpu/
DGrPathRenderer.cpp19 *bounds = SkRect::MakeWH(SkIntToScalar(devW), SkIntToScalar(devH)); in GetPathDevBounds()
/external/skia/src/gpu/
DGrPathRenderer.cpp19 *bounds = SkRect::MakeWH(SkIntToScalar(devW), SkIntToScalar(devH)); in GetPathDevBounds()

12345678