Home
last modified time | relevance | path

Searched refs:gHeight (Results 1 – 20 of 20) sorted by relevance

/external/skia/tests/
DSkImageTest.cpp14 static const int gHeight = 20; variable
21 srcBitmap.allocN32Pixels(gWidth, gHeight); in DEF_TEST()
34 tgt.allocN32Pixels(gWidth, gHeight); in DEF_TEST()
DDrawBitmapRectTest.cpp236 static const int gHeight = 256; variable
239 bm->allocN32Pixels(gWidth, gHeight); in create()
DResourceCacheTest.cpp32 static const int gHeight = 480; variable
37 SkImageInfo info = SkImageInfo::MakeN32Premul(gWidth, gHeight); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
41 const SkIRect size = SkIRect::MakeWH(gWidth, gHeight); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/tests/
DSkImageTest.cpp13 static const int gHeight = 20; variable
20 srcBitmap.allocN32Pixels(gWidth, gHeight); in DEF_TEST()
33 tgt.allocN32Pixels(gWidth, gHeight); in DEF_TEST()
DDrawBitmapRectTest.cpp232 static const int gHeight = 256; variable
235 bm->allocN32Pixels(gWidth, gHeight); in create()
DResourceCacheTest.cpp32 static const int gHeight = 480; variable
41 desc.fHeight = gHeight; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
42 SkImageInfo info = SkImageInfo::MakeN32Premul(gWidth, gHeight); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
46 const SkIRect size = SkIRect::MakeWH(gWidth, gHeight); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/samplecode/
DSampleHairModes.cpp30 const int gHeight = 64; variable
32 const SkScalar H = SkIntToScalar(gHeight);
50 SkScalar y = SkScalarSin(SkIntToScalar(angle) * (SK_ScalarPI * 2) / 24) * gHeight; in drawCell()
DSampleTiling.cpp55 static const int gHeight = 32; variable
66 makebm(&fTexture[i], gColorTypes[i], gWidth, gHeight); in TilingView()
85 SkRect r = { 0, 0, SkIntToScalar(gWidth*2), SkIntToScalar(gHeight*2) }; in onDrawContent()
DSampleAARectModes.cpp30 const int gHeight = 64; variable
32 const SkScalar H = SkIntToScalar(gHeight);
/external/skia/samplecode/
DSampleHairModes.cpp30 const int gHeight = 64; variable
32 const SkScalar H = SkIntToScalar(gHeight);
50 SkScalar y = SkScalarSin(SkIntToScalar(angle) * (SK_ScalarPI * 2) / 24) * gHeight; in drawCell()
DSampleAARectModes.cpp30 const int gHeight = 64; variable
32 const SkScalar H = SkIntToScalar(gHeight);
/external/skia/gm/
Dhairmodes.cpp41 const int gHeight = 64; variable
43 const SkScalar H = SkIntToScalar(gHeight);
62 SkScalar y = SkScalarSin(SkIntToScalar(angle) * (SK_ScalarPI * 2) / 24) * gHeight; in drawCell()
Dtilemodes_scaled.cpp165 constexpr int gHeight = 32; variable
169 makebm(&bm, kN32_SkColorType, gWidth, gHeight); in make_bm()
174 SkPoint pts[] = { { 0, 0 }, { SkIntToScalar(gWidth), SkIntToScalar(gHeight)} }; in make_grad()
175 SkPoint center = { SkIntToScalar(gWidth)/2, SkIntToScalar(gHeight)/2 }; in make_grad()
209 const SkScalar h = SkIntToScalar(gHeight); in onDraw()
Dtilemodes.cpp168 constexpr int gHeight = 32; variable
172 makebm(&bm, kN32_SkColorType, gWidth, gHeight); in make_bm()
177 SkPoint pts[] = { { 0, 0 }, { SkIntToScalar(gWidth), SkIntToScalar(gHeight)} }; in make_grad()
178 SkPoint center = { SkIntToScalar(gWidth)/2, SkIntToScalar(gHeight)/2 }; in make_grad()
213 const SkScalar h = SkIntToScalar(gHeight); in onDraw()
Daarectmodes.cpp89 const int gHeight = 64; variable
91 const SkScalar H = SkIntToScalar(gHeight);
/external/skqp/gm/
Dhairmodes.cpp29 const int gHeight = 64; variable
31 const SkScalar H = SkIntToScalar(gHeight);
50 SkScalar y = SkScalarSin(SkIntToScalar(angle) * (SK_ScalarPI * 2) / 24) * gHeight; in drawCell()
Dtilemodes_scaled.cpp157 constexpr int gHeight = 32; variable
161 makebm(&bm, kN32_SkColorType, gWidth, gHeight); in make_bm()
166 SkPoint pts[] = { { 0, 0 }, { SkIntToScalar(gWidth), SkIntToScalar(gHeight)} }; in make_grad()
167 SkPoint center = { SkIntToScalar(gWidth)/2, SkIntToScalar(gHeight)/2 }; in make_grad()
206 const SkScalar h = SkIntToScalar(gHeight); in onDraw()
Dtilemodes.cpp157 constexpr int gHeight = 32; variable
161 makebm(&bm, kN32_SkColorType, gWidth, gHeight); in make_bm()
166 SkPoint pts[] = { { 0, 0 }, { SkIntToScalar(gWidth), SkIntToScalar(gHeight)} }; in make_grad()
167 SkPoint center = { SkIntToScalar(gWidth)/2, SkIntToScalar(gHeight)/2 }; in make_grad()
206 const SkScalar h = SkIntToScalar(gHeight); in onDraw()
Daarectmodes.cpp77 const int gHeight = 64; variable
79 const SkScalar H = SkIntToScalar(gHeight);
/external/sonivox/jet_tools/JetCreator/
DJetSegGraph.py227 gWidth, gHeight = self.GetSize()
232 Marker.CalcCoord(step, gHeight, self.GetAColor)
257 Marker1.iHeight = gHeight / iOverlaps
331 dc.DrawRectangle(self.iEdges + iOffset, gHeight-6, till, 3)
350 gWidth, gHeight = self.GetSize()
356 dc.DrawRectangle(self.iEdges + iOffset, gHeight-6, till, 3)