HomeSort by relevance Sort by last modified time
    Searched defs:gWidth (Results 1 - 12 of 12) sorted by null

  /external/skia/tests/
SkImageTest.cpp 12 static const int gWidth = 20;
20 srcBitmap.allocN32Pixels(gWidth, gHeight);
23 SkIRect r = SkIRect::MakeXYWH(5, 5, gWidth - 5, gWidth - 5);
33 tgt.allocN32Pixels(gWidth, gHeight);
42 canvas.readPixels(info, &pixel, 4, gWidth - 6, gWidth - 6);
45 canvas.readPixels(info, &pixel, 4, gWidth - 5, gWidth - 5);
DrawBitmapRectTest.cpp 241 static const int gWidth = 256;
245 bm->allocN32Pixels(gWidth, gHeight);
257 SkIRect srcR = { gWidth, 0, gWidth + 16, 16 };
ResourceCacheTest.cpp 31 static const int gWidth = 640;
40 desc.fWidth = gWidth;
42 SkImageInfo info = SkImageInfo::MakeN32Premul(gWidth, gHeight);
46 const SkIRect size = SkIRect::MakeWH(gWidth, gHeight);
    [all...]
  /external/skia/gm/
aarectmodes.cpp 76 const int gWidth = 64;
78 const SkScalar W = SkIntToScalar(gWidth);
hairmodes.cpp 28 const int gWidth = 64;
30 const SkScalar W = SkIntToScalar(gWidth);
49 SkScalar x = SkScalarCos(SkIntToScalar(angle) * (SK_ScalarPI * 2) / 24) * gWidth;
tilemodes.cpp 158 constexpr int gWidth = 32;
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;
206 const SkScalar w = SkIntToScalar(gWidth);
tilemodes_scaled.cpp 161 constexpr int gWidth = 32;
166 makebm(&bm, kN32_SkColorType, gWidth, gHeight);
171 SkPoint pts[] = { { 0, 0 }, { SkIntToScalar(gWidth), SkIntToScalar(gHeight)} };
172 SkPoint center = { SkIntToScalar(gWidth)/2, SkIntToScalar(gHeight)/2 };
173 SkScalar rad = SkIntToScalar(gWidth)/2;
210 const SkScalar w = SkIntToScalar(gWidth);
  /external/skia/samplecode/
SampleAARectModes.cpp 29 const int gWidth = 64;
31 const SkScalar W = SkIntToScalar(gWidth);
SampleHairModes.cpp 29 const int gWidth = 64;
31 const SkScalar W = SkIntToScalar(gWidth);
49 SkScalar x = SkScalarCos(SkIntToScalar(angle) * (SK_ScalarPI * 2) / 24) * gWidth;
SampleTiling.cpp 52 static const int gWidth = 32;
64 makebm(&fTexture[i], gColorTypes[i], gWidth, gHeight);
84 SkRect r = { 0, 0, SkIntToScalar(gWidth*2), SkIntToScalar(gHeight*2) };
  /frameworks/native/opengl/tests/gl_perf/
fill_common.cpp 23 static uint32_t gWidth = 0;
125 double pixels = (gWidth * gHeight) * count;
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
GetSetTest.java 35 final int gWidth = 252;
38 final int gCount = gWidth * gHeight * gDepth;
46 script.set_gWidth(gWidth);
48 scriptRelaxed.set_gWidth(gWidth);
119 Type t1 = Type.createX(mRS, e, gWidth * gHeight * gDepth / vs);
127 Type t2 = Type.createXY(mRS, e, gWidth / vs, gHeight * gDepth);
135 Type t3 = Type.createXYZ(mRS, e, gWidth / vs, gHeight, gDepth);
    [all...]

Completed in 1479 milliseconds