Home
last modified time | relevance | path

Searched refs:layerRect (Results 1 – 5 of 5) sorted by relevance

/external/skia/gm/
Drrectclipdrawpaint.cpp31 const SkRect layerRect = SkRect::MakeWH(256.f, 256.f); variable
32 canvas->saveLayer(layerRect, nullptr);
39 canvas->saveLayer(layerRect, nullptr);
48 canvas->saveLayer(layerRect, nullptr);
57 canvas->saveLayer(layerRect, nullptr);
Dimagefilterscropexpand.cpp147 void draw(SkCanvas* canvas, sk_sp<SkImage> image, const SkIRect& layerRect, in draw() argument
150 SkRect rect = SkRect::Make(layerRect); in draw()
/external/skqp/gm/
Drrectclipdrawpaint.cpp23 const SkRect layerRect = SkRect::MakeWH(256.f, 256.f); variable
24 canvas->saveLayer(layerRect, nullptr);
31 canvas->saveLayer(layerRect, nullptr);
41 canvas->saveLayer(layerRect, nullptr);
50 canvas->saveLayer(layerRect, nullptr);
/external/skqp/tests/
DCanvasStateTest.cpp171 SkIRect layerRect = SkIRect::MakeWH(WIDTH, HEIGHT / 4); in DEF_TEST() local
172 layerRect.inset(2*SPACER, 2*SPACER); in DEF_TEST()
174 SkIRect clipRect = layerRect; in DEF_TEST()
230 SkRect layerBounds = SkRect::Make(layerRect); in DEF_TEST()
261 canvas.translate(0, SkIntToScalar(2*(layerRect.height() + (SPACER)))); in DEF_TEST()
262 localRegion.translate(0, 2*(layerRect.height() + SPACER)); in DEF_TEST()
/external/skia/tests/
DCanvasStateTest.cpp200 SkIRect layerRect = SkIRect::MakeWH(WIDTH, HEIGHT / 4); in DEF_TEST() local
201 layerRect.inset(2*SPACER, 2*SPACER); in DEF_TEST()
203 SkIRect clipRect = layerRect; in DEF_TEST()
251 SkRect layerBounds = SkRect::Make(layerRect); in DEF_TEST()
282 canvas->translate(0, SkIntToScalar(2*(layerRect.height() + (SPACER)))); in DEF_TEST()
283 localRegion.translate(0, 2*(layerRect.height() + SPACER)); in DEF_TEST()