/external/skia/tests/ |
D | SkImageTest.cpp | 13 static const int gWidth = 20; variable 21 srcBitmap.allocN32Pixels(gWidth, gHeight); in DEF_TEST() 24 SkIRect r = SkIRect::MakeXYWH(5, 5, gWidth - 5, gWidth - 5); in DEF_TEST() 34 tgt.allocN32Pixels(gWidth, gHeight); in DEF_TEST() 43 tgt.readPixels(info, &pixel, 4, gWidth - 6, gWidth - 6); in DEF_TEST() 46 tgt.readPixels(info, &pixel, 4, gWidth - 5, gWidth - 5); in DEF_TEST()
|
D | DrawBitmapRectTest.cpp | 235 static const int gWidth = 256; variable 239 bm->allocN32Pixels(gWidth, gHeight); in create() 251 SkRect srcR = { gWidth, 0, gWidth + 16, 16 }; in DEF_TEST()
|
D | ResourceCacheTest.cpp | 31 static const int gWidth = 640; 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/ |
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 tgt.readPixels(info, &pixel, 4, gWidth - 6, gWidth - 6); in DEF_TEST() 45 tgt.readPixels(info, &pixel, 4, gWidth - 5, gWidth - 5); in DEF_TEST()
|
D | DrawBitmapRectTest.cpp | 231 static const int gWidth = 256; variable 235 bm->allocN32Pixels(gWidth, gHeight); in create() 247 SkIRect srcR = { gWidth, 0, gWidth + 16, 16 }; in DEF_TEST()
|
D | ResourceCacheTest.cpp | 31 static const int gWidth = 640; variable 40 desc.fWidth = gWidth; 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/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/skqp/gm/ |
D | tilemodes_scaled.cpp | 156 constexpr 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 | 28 const int gWidth = 64; variable 30 const SkScalar W = SkIntToScalar(gWidth); 49 SkScalar x = SkScalarCos(SkIntToScalar(angle) * (SK_ScalarPI * 2) / 24) * gWidth; in drawCell()
|
D | tilemodes.cpp | 156 constexpr int gWidth = 32; 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 | aarectmodes.cpp | 76 const int gWidth = 64; variable 78 const SkScalar W = SkIntToScalar(gWidth);
|
/external/skia/gm/ |
D | tilemodes_scaled.cpp | 164 constexpr int gWidth = 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() 176 SkScalar rad = SkIntToScalar(gWidth)/2; in make_grad() 208 const SkScalar w = SkIntToScalar(gWidth); in onDraw()
|
D | hairmodes.cpp | 40 const int gWidth = 64; variable 42 const SkScalar W = SkIntToScalar(gWidth); 61 SkScalar x = SkScalarCos(SkIntToScalar(angle) * (SK_ScalarPI * 2) / 24) * gWidth; in drawCell()
|
D | tilemodes.cpp | 167 constexpr int gWidth = 32; 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() 179 SkScalar rad = SkIntToScalar(gWidth)/2; in make_grad() 212 const SkScalar w = SkIntToScalar(gWidth); in onDraw()
|
D | aarectmodes.cpp | 88 const int gWidth = 64; variable 90 const SkScalar W = SkIntToScalar(gWidth);
|
/external/skqp/samplecode/ |
D | SampleHairModes.cpp | 29 const int gWidth = 64; variable 31 const SkScalar W = SkIntToScalar(gWidth); 49 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() 85 SkRect r = { 0, 0, SkIntToScalar(gWidth*2), SkIntToScalar(gHeight*2) }; in onDrawContent()
|
D | SampleAARectModes.cpp | 29 const int gWidth = 64; variable 31 const SkScalar W = SkIntToScalar(gWidth);
|
/external/skia/samplecode/ |
D | SampleHairModes.cpp | 29 const int gWidth = 64; variable 31 const SkScalar W = SkIntToScalar(gWidth); 49 SkScalar x = SkScalarCos(SkIntToScalar(angle) * (SK_ScalarPI * 2) / 24) * gWidth; in drawCell()
|
D | SampleAARectModes.cpp | 29 const int gWidth = 64; variable 31 const SkScalar W = SkIntToScalar(gWidth);
|