/external/chromium_org/third_party/skia/gm/ |
H A D | aarectmodes.cpp | 78 const int gWidth = 64; variable 80 const SkScalar W = SkIntToScalar(gWidth);
|
H A 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;
|
H A D | tilemodes.cpp | 158 static const int gWidth = 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 }; 170 SkScalar rad = SkIntToScalar(gWidth)/2; 210 const SkScalar w = SkIntToScalar(gWidth);
|
H A D | tilemodes_scaled.cpp | 178 static const int gWidth = 32; variable 183 makebm(&bm, kN32_SkColorType, gWidth, gHeight); 188 SkPoint pts[] = { { 0, 0 }, { SkIntToScalar(gWidth), SkIntToScalar(gHeight)} }; 189 SkPoint center = { SkIntToScalar(gWidth)/2, SkIntToScalar(gHeight)/2 }; 190 SkScalar rad = SkIntToScalar(gWidth)/2; 230 const SkScalar w = SkIntToScalar(gWidth);
|
/external/chromium_org/third_party/skia/samplecode/ |
H A D | SampleAARectModes.cpp | 33 const int gWidth = 64; variable 35 const SkScalar W = SkIntToScalar(gWidth);
|
H A 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;
|
H A D | SampleTiling.cpp | 54 static const int gWidth = 32; variable 66 makebm(&fTexture[i], gColorTypes[i], gWidth, gHeight); 86 SkRect r = { 0, 0, SkIntToScalar(gWidth*2), SkIntToScalar(gHeight*2) };
|
/external/skia/gm/ |
H A D | aarectmodes.cpp | 78 const int gWidth = 64; variable 80 const SkScalar W = SkIntToScalar(gWidth);
|
H A 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;
|
H A D | tilemodes.cpp | 156 static const int gWidth = 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 }; 168 SkScalar rad = SkIntToScalar(gWidth)/2; 208 const SkScalar w = SkIntToScalar(gWidth);
|
H A D | tilemodes_scaled.cpp | 176 static const int gWidth = 32; variable 181 makebm(&bm, kN32_SkColorType, gWidth, gHeight); 186 SkPoint pts[] = { { 0, 0 }, { SkIntToScalar(gWidth), SkIntToScalar(gHeight)} }; 187 SkPoint center = { SkIntToScalar(gWidth)/2, SkIntToScalar(gHeight)/2 }; 188 SkScalar rad = SkIntToScalar(gWidth)/2; 228 const SkScalar w = SkIntToScalar(gWidth);
|
/external/skia/samplecode/ |
H A D | SampleAARectModes.cpp | 33 const int gWidth = 64; variable 35 const SkScalar W = SkIntToScalar(gWidth);
|
H A 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;
|
H A D | SampleTiling.cpp | 54 static const int gWidth = 32; variable 66 makebm(&fTexture[i], gColorTypes[i], gWidth, gHeight); 86 SkRect r = { 0, 0, SkIntToScalar(gWidth*2), SkIntToScalar(gHeight*2) };
|
/external/chromium_org/third_party/skia/tests/ |
H A D | DrawBitmapRectTest.cpp | 289 static const int gWidth = 256; variable 293 bm->allocN32Pixels(gWidth, gHeight); 305 SkIRect srcR = { gWidth, 0, gWidth + 16, 16 };
|
H A D | ResourceCacheTest.cpp | 16 static const int gWidth = 640; variable 23 const SkIRect size = SkIRect::MakeWH(gWidth, gHeight); 298 desc.fWidth = gWidth; 300 SkImageInfo info = SkImageInfo::MakeN32Premul(gWidth, gHeight);
|
H A D | DeferredCanvasTest.cpp | 26 static const int gWidth = 2; variable 30 bm->allocN32Pixels(gWidth, gHeight); 35 SkSurface* surface = SkSurface::NewRasterPMColor(gWidth, gHeight); 257 fullRect.setXYWH(SkIntToScalar(0), SkIntToScalar(0), SkIntToScalar(gWidth), 844 rect.setXYWH(SkIntToScalar(0), SkIntToScalar(0), SkIntToScalar(gWidth), SkIntToScalar(gHeight)); 849 SkISize size = SkISize::Make(gWidth, gHeight);
|
/external/skia/tests/ |
H A D | DrawBitmapRectTest.cpp | 290 static const int gWidth = 256; variable 294 bm->allocN32Pixels(gWidth, gHeight); 306 SkIRect srcR = { gWidth, 0, gWidth + 16, 16 };
|
H A D | ResourceCacheTest.cpp | 15 static const int gWidth = 640; variable 22 const SkIRect size = SkIRect::MakeWH(gWidth, gHeight); 296 desc.fWidth = gWidth;
|
H A D | DeferredCanvasTest.cpp | 26 static const int gWidth = 2; variable 30 bm->allocN32Pixels(gWidth, gHeight); 35 SkSurface* surface = SkSurface::NewRasterPMColor(gWidth, gHeight); 274 fullRect.setXYWH(SkIntToScalar(0), SkIntToScalar(0), SkIntToScalar(gWidth),
|