Home
last modified time | relevance | path

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

/external/skia/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.cpp286 static const int gHeight = 256; variable
289 bm->allocN32Pixels(gWidth, gHeight); in create()
DResourceCacheTest.cpp30 static const int gHeight = 480; variable
38 desc.fHeight = gHeight; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
39 SkImageInfo info = SkImageInfo::MakeN32Premul(gWidth, gHeight); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
44 const SkIRect size = SkIRect::MakeWH(gWidth, gHeight); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/gm/
Dtilemodes_scaled.cpp161 static const int gHeight = 32; variable
165 makebm(&bm, kN32_SkColorType, gWidth, gHeight); in make_bm()
170 SkPoint pts[] = { { 0, 0 }, { SkIntToScalar(gWidth), SkIntToScalar(gHeight)} }; in make_grad()
171 SkPoint center = { SkIntToScalar(gWidth)/2, SkIntToScalar(gHeight)/2 }; in make_grad()
210 const SkScalar h = SkIntToScalar(gHeight); in onDraw()
Dtilemodes.cpp157 static const 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()
Dhairmodes.cpp32 const int gHeight = 64; variable
34 const SkScalar H = SkIntToScalar(gHeight);
53 SkScalar y = SkScalarSin(SkIntToScalar(angle) * (SK_ScalarPI * 2) / 24) * gHeight; in drawCell()
Daarectmodes.cpp80 const int gHeight = 64; variable
82 const SkScalar H = SkIntToScalar(gHeight);
/external/skia/samplecode/
DSampleHairModes.cpp34 const int gHeight = 64; variable
36 const SkScalar H = SkIntToScalar(gHeight);
55 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()
86 SkRect r = { 0, 0, SkIntToScalar(gWidth*2), SkIntToScalar(gHeight*2) }; in onDrawContent()
DSampleAARectModes.cpp34 const int gHeight = 64; variable
36 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)