Home
last modified time | relevance | path

Searched refs:SPACER (Results 1 – 3 of 3) sorted by relevance

/external/skqp/tests/
DCanvasStateTest.cpp75 const int SPACER = 10; in DEF_TEST() local
77 SkRect rect = SkRect::MakeXYWH(SkIntToScalar(SPACER), SkIntToScalar(SPACER), in DEF_TEST()
78 SkIntToScalar(WIDTH-(2*SPACER)), in DEF_TEST()
79 SkIntToScalar((HEIGHT-(2*SPACER)) / 7)); in DEF_TEST()
136 rect.fLeft, rect.fTop, rect.fRight, rect.fBottom, SPACER); in DEF_TEST()
144 rect.fRight, rect.fBottom, SPACER); in DEF_TEST()
150 canvas.translate(0, 2*(rect.height() + SPACER)); in DEF_TEST()
169 const int SPACER = 10; in DEF_TEST() local
172 layerRect.inset(2*SPACER, 2*SPACER); in DEF_TEST()
175 clipRect.fRight = clipRect.fLeft + (clipRect.width() / 2) - (2*SPACER); in DEF_TEST()
[all …]
/external/skia/tests/
DCanvasStateTest.cpp117 const int SPACER = 10; in DEF_TEST() local
119 SkRect rect = SkRect::MakeXYWH(SkIntToScalar(SPACER), SkIntToScalar(SPACER), in DEF_TEST()
120 SkIntToScalar(WIDTH-(2*SPACER)), in DEF_TEST()
121 SkIntToScalar((HEIGHT-(2*SPACER)) / 7)); in DEF_TEST()
170 rect.fLeft, rect.fTop, rect.fRight, rect.fBottom, SPACER); in DEF_TEST()
178 rect.fRight, rect.fBottom, SPACER); in DEF_TEST()
184 canvas->translate(0, 2*(rect.height() + SPACER)); in DEF_TEST()
198 const int SPACER = 10; in DEF_TEST() local
201 layerRect.inset(2*SPACER, 2*SPACER); in DEF_TEST()
204 clipRect.fRight = clipRect.fLeft + (clipRect.width() / 2) - (2*SPACER); in DEF_TEST()
[all …]
/external/skia/tools/gpu/gl/interface/
Dgen_interface.go31 SPACER = " " const
166 block += SPACER
172 block += SPACER + "}"
202 block += SPACER
262 return str + SPACER + line + "\n"
309 content += SPACER
327 lineBreak := "\n" + SPACER + " "
332 content += fmt.Sprintf("if (%s) {\n", strings.Join(standardChecks, " ||\n"+SPACER+" "))
335 content += SPACER + "}\n"
350 indent := strings.Repeat(SPACER, indentLevel)
[all …]