Searched refs:gWidth (Results 1 – 11 of 11) sorted by relevance
/external/skia/tests/ |
D | SkImageTest.cpp | 12 static const int gWidth = 20; variable 20 srcBitmap.allocN32Pixels(gWidth, gHeight); in DEF_TEST() 23 SkIRect r = SkIRect::MakeXYWH(5, 5, gWidth - 5, gWidth - 5); in DEF_TEST() 33 tgt.allocN32Pixels(gWidth, gHeight); in DEF_TEST() 42 canvas.readPixels(info, &pixel, 4, gWidth - 6, gWidth - 6); in DEF_TEST() 45 canvas.readPixels(info, &pixel, 4, gWidth - 5, gWidth - 5); in DEF_TEST()
|
D | DrawBitmapRectTest.cpp | 285 static const int gWidth = 256; variable 289 bm->allocN32Pixels(gWidth, gHeight); in create() 301 SkIRect srcR = { gWidth, 0, gWidth + 16, 16 }; in DEF_TEST()
|
D | ResourceCacheTest.cpp | 29 static const int gWidth = 640; variable 37 desc.fWidth = gWidth; 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/sonivox/jet_tools/JetCreator/ |
D | JetSegGraph.py | 227 gWidth, gHeight = self.GetSize() 228 gWidth = gWidth - (self.iEdges * 2) 229 step = int(gWidth / (self.iLengthInMeasures + .01)) 292 if gWidth == 0: 295 iDiv = (gWidth)/18 328 till = gWidth * (self.iLocationInMs / self.iLengthInMs) 350 gWidth, gHeight = self.GetSize() 351 gWidth = gWidth - (self.iEdges * 2) 353 till = gWidth * (self.iLocationInMs / self.iLengthInMs)
|
/external/skia/gm/ |
D | tilemodes_scaled.cpp | 160 static const int gWidth = 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() 172 SkScalar rad = SkIntToScalar(gWidth)/2; in make_grad() 209 const SkScalar w = SkIntToScalar(gWidth); in onDraw()
|
D | tilemodes.cpp | 156 static const int gWidth = 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() 168 SkScalar rad = SkIntToScalar(gWidth)/2; in make_grad() 205 const SkScalar w = SkIntToScalar(gWidth); in onDraw()
|
D | hairmodes.cpp | 31 const int gWidth = 64; variable 33 const SkScalar W = SkIntToScalar(gWidth); 52 SkScalar x = SkScalarCos(SkIntToScalar(angle) * (SK_ScalarPI * 2) / 24) * gWidth; in drawCell()
|
D | aarectmodes.cpp | 79 const int gWidth = 64; variable 81 const SkScalar W = SkIntToScalar(gWidth);
|
/external/skia/samplecode/ |
D | SampleHairModes.cpp | 33 const int gWidth = 64; variable 35 const SkScalar W = SkIntToScalar(gWidth); 54 SkScalar x = SkScalarCos(SkIntToScalar(angle) * (SK_ScalarPI * 2) / 24) * gWidth; in drawCell()
|
D | SampleTiling.cpp | 54 static const int gWidth = 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()
|
D | SampleAARectModes.cpp | 33 const int gWidth = 64; variable 35 const SkScalar W = SkIntToScalar(gWidth);
|