Searched defs:gHeight (Results 1 - 10 of 10) sorted by relevance

/external/skia/tests/
H A DSkImageTest.cpp13 static const int gHeight = 20; variable
20 srcBitmap.allocN32Pixels(gWidth, gHeight);
33 tgt.allocN32Pixels(gWidth, gHeight);
H A DDrawBitmapRectTest.cpp286 static const int gHeight = 256; variable
289 bm->allocN32Pixels(gWidth, gHeight);
H A DResourceCacheTest.cpp30 static const int gHeight = 480; variable
38 desc.fHeight = gHeight;
39 SkImageInfo info = SkImageInfo::MakeN32Premul(gWidth, gHeight);
44 const SkIRect size = SkIRect::MakeWH(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 Daarectmodes.cpp80 const int gHeight = 64; variable
82 const SkScalar H = SkIntToScalar(gHeight);
H A Dtilemodes.cpp157 static const int gHeight = 32; variable
161 makebm(&bm, kN32_SkColorType, gWidth, gHeight);
166 SkPoint pts[] = { { 0, 0 }, { SkIntToScalar(gWidth), SkIntToScalar(gHeight)} };
167 SkPoint center = { SkIntToScalar(gWidth)/2, SkIntToScalar(gHeight)/2 };
206 const SkScalar h = SkIntToScalar(gHeight);
H A Dtilemodes_scaled.cpp161 static const int gHeight = 32; variable
165 makebm(&bm, kN32_SkColorType, gWidth, gHeight);
170 SkPoint pts[] = { { 0, 0 }, { SkIntToScalar(gWidth), SkIntToScalar(gHeight)} };
171 SkPoint center = { SkIntToScalar(gWidth)/2, SkIntToScalar(gHeight)/2 };
210 const SkScalar h = SkIntToScalar(gHeight);
/external/skia/samplecode/
H A DSampleAARectModes.cpp34 const int gHeight = 64; variable
36 const SkScalar H = SkIntToScalar(gHeight);
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 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) };

Completed in 502 milliseconds