Searched refs:gWidth (Results 1 - 12 of 12) sorted by relevance

/external/skia/tests/
H A DSkImageTest.cpp12 static const int gWidth = 20; variable
20 srcBitmap.allocN32Pixels(gWidth, gHeight);
24 SkIRect r = SkIRect::MakeXYWH(5, 5, gWidth - 5, gWidth - 5);
34 tgt.allocN32Pixels(gWidth, gHeight);
44 canvas.readPixels(info, &pixel, 4, gWidth - 6, gWidth - 6);
47 canvas.readPixels(info, &pixel, 4, gWidth - 5, gWidth - 5);
H A DDrawBitmapRectTest.cpp283 static const int gWidth = 256; variable
287 bm->allocN32Pixels(gWidth, gHeight);
299 SkIRect srcR = { gWidth, 0, gWidth + 16, 16 };
H A DDeferredCanvasTest.cpp26 static const int gWidth = 2; variable
30 bm->allocN32Pixels(gWidth, gHeight);
35 SkSurface* surface = SkSurface::NewRasterN32Premul(gWidth, gHeight);
291 fullRect.setXYWH(SkIntToScalar(0), SkIntToScalar(0), SkIntToScalar(gWidth),
873 rect.setXYWH(SkIntToScalar(0), SkIntToScalar(0), SkIntToScalar(gWidth), SkIntToScalar(gHeight));
878 SkISize size = SkISize::Make(gWidth, gHeight);
H A DResourceCacheTest.cpp27 static const int gWidth = 640; variable
32 const SkIRect size = SkIRect::MakeWH(gWidth, gHeight);
1188 desc.fWidth = gWidth;
1190 SkImageInfo info = SkImageInfo::MakeN32Premul(gWidth, gHeight);
/external/skia/gm/
H A Dhairmodes.cpp31 const int gWidth = 64; variable
33 const SkScalar W = SkIntToScalar(gWidth);
52 SkScalar x = SkScalarCos(SkIntToScalar(angle) * (SK_ScalarPI * 2) / 24) * gWidth;
H A Dtilemodes.cpp158 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;
207 const SkScalar w = SkIntToScalar(gWidth);
H A Dtilemodes_scaled.cpp170 static const int gWidth = 32; variable
175 makebm(&bm, kN32_SkColorType, gWidth, gHeight);
180 SkPoint pts[] = { { 0, 0 }, { SkIntToScalar(gWidth), SkIntToScalar(gHeight)} };
181 SkPoint center = { SkIntToScalar(gWidth)/2, SkIntToScalar(gHeight)/2 };
182 SkScalar rad = SkIntToScalar(gWidth)/2;
219 const SkScalar w = SkIntToScalar(gWidth);
H A Daarectmodes.cpp78 const int gWidth = 64; variable
80 const SkScalar W = SkIntToScalar(gWidth);
/external/skia/samplecode/
H A DSampleHairModes.cpp33 const int gWidth = 64; variable
35 const SkScalar W = SkIntToScalar(gWidth);
54 SkScalar x = SkScalarCos(SkIntToScalar(angle) * (SK_ScalarPI * 2) / 24) * gWidth;
H A DSampleAARectModes.cpp33 const int gWidth = 64; variable
35 const SkScalar W = SkIntToScalar(gWidth);
H A DSampleTiling.cpp54 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/sonivox/jet_tools/JetCreator/
H A DJetSegGraph.py227 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
[all...]

Completed in 144 milliseconds