Searched refs:gHeight (Results 1 - 12 of 12) sorted by relevance

/external/skia/tests/
H A DSkImageTest.cpp13 static const int gHeight = 20; variable
20 srcBitmap.allocN32Pixels(gWidth, gHeight);
34 tgt.allocN32Pixels(gWidth, gHeight);
H A DDrawBitmapRectTest.cpp284 static const int gHeight = 256; variable
287 bm->allocN32Pixels(gWidth, gHeight);
H A DDeferredCanvasTest.cpp27 static const int gHeight = 2; variable
30 bm->allocN32Pixels(gWidth, gHeight);
35 SkSurface* surface = SkSurface::NewRasterN32Premul(gWidth, gHeight);
292 SkIntToScalar(gHeight));
873 rect.setXYWH(SkIntToScalar(0), SkIntToScalar(0), SkIntToScalar(gWidth), SkIntToScalar(gHeight));
878 SkISize size = SkISize::Make(gWidth, gHeight);
H A DResourceCacheTest.cpp28 static const int gHeight = 480; variable
32 const SkIRect size = SkIRect::MakeWH(gWidth, gHeight);
1189 desc.fHeight = gHeight;
1190 SkImageInfo info = SkImageInfo::MakeN32Premul(gWidth, gHeight);
/external/skia/gm/
H A Dhairmodes.cpp32 const int gHeight = 64; variable
34 const SkScalar H = SkIntToScalar(gHeight);
53 SkScalar y = SkScalarSin(SkIntToScalar(angle) * (SK_ScalarPI * 2) / 24) * gHeight;
H A Dtilemodes.cpp159 static const int gHeight = 32; variable
163 makebm(&bm, kN32_SkColorType, gWidth, gHeight);
168 SkPoint pts[] = { { 0, 0 }, { SkIntToScalar(gWidth), SkIntToScalar(gHeight)} };
169 SkPoint center = { SkIntToScalar(gWidth)/2, SkIntToScalar(gHeight)/2 };
208 const SkScalar h = SkIntToScalar(gHeight);
H A Dtilemodes_scaled.cpp171 static const int gHeight = 32; variable
175 makebm(&bm, kN32_SkColorType, gWidth, gHeight);
180 SkPoint pts[] = { { 0, 0 }, { SkIntToScalar(gWidth), SkIntToScalar(gHeight)} };
181 SkPoint center = { SkIntToScalar(gWidth)/2, SkIntToScalar(gHeight)/2 };
220 const SkScalar h = SkIntToScalar(gHeight);
H A Daarectmodes.cpp79 const int gHeight = 64; variable
81 const SkScalar H = SkIntToScalar(gHeight);
/external/skia/samplecode/
H A DSampleHairModes.cpp34 const int gHeight = 64; variable
36 const SkScalar H = SkIntToScalar(gHeight);
55 SkScalar y = SkScalarSin(SkIntToScalar(angle) * (SK_ScalarPI * 2) / 24) * gHeight;
H A DSampleAARectModes.cpp34 const int gHeight = 64; variable
36 const SkScalar H = SkIntToScalar(gHeight);
H A DSampleTiling.cpp55 static const int gHeight = 32; variable
66 makebm(&fTexture[i], gColorTypes[i], gWidth, gHeight);
86 SkRect r = { 0, 0, SkIntToScalar(gWidth*2), SkIntToScalar(gHeight*2) };
/external/sonivox/jet_tools/JetCreator/
H A 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)

Completed in 210 milliseconds