Home
last modified time | relevance | path

Searched refs:gHeight (Results 1 – 21 of 21) sorted by relevance

/external/skia/samplecode/
DSampleHairModes.cpp34 const int gHeight = 64; variable
36 const SkScalar H = SkIntToScalar(gHeight);
55 SkScalar y = SkScalarSin(SkIntToScalar(angle) * (SK_ScalarPI * 2) / 24) * gHeight; in drawCell()
DSampleTiling.cpp55 static const int gHeight = 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()
DSampleAARectModes.cpp34 const int gHeight = 64; variable
36 const SkScalar H = SkIntToScalar(gHeight);
/external/chromium_org/third_party/skia/samplecode/
DSampleHairModes.cpp34 const int gHeight = 64; variable
36 const SkScalar H = SkIntToScalar(gHeight);
55 SkScalar y = SkScalarSin(SkIntToScalar(angle) * (SK_ScalarPI * 2) / 24) * gHeight; in drawCell()
DSampleTiling.cpp55 static const int gHeight = 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()
DSampleAARectModes.cpp34 const int gHeight = 64; variable
36 const SkScalar H = SkIntToScalar(gHeight);
/external/chromium_org/third_party/skia/gm/
Dtilemodes.cpp159 static const int gHeight = 32; variable
163 makebm(&bm, kN32_SkColorType, gWidth, gHeight); in make_bm()
168 SkPoint pts[] = { { 0, 0 }, { SkIntToScalar(gWidth), SkIntToScalar(gHeight)} }; in make_grad()
169 SkPoint center = { SkIntToScalar(gWidth)/2, SkIntToScalar(gHeight)/2 }; in make_grad()
211 const SkScalar h = SkIntToScalar(gHeight); in onDraw()
Dhairmodes.cpp32 const int gHeight = 64; variable
34 const SkScalar H = SkIntToScalar(gHeight);
53 SkScalar y = SkScalarSin(SkIntToScalar(angle) * (SK_ScalarPI * 2) / 24) * gHeight; in drawCell()
Dtilemodes_scaled.cpp179 static const int gHeight = 32; variable
183 makebm(&bm, kN32_SkColorType, gWidth, gHeight); in make_bm()
188 SkPoint pts[] = { { 0, 0 }, { SkIntToScalar(gWidth), SkIntToScalar(gHeight)} }; in make_grad()
189 SkPoint center = { SkIntToScalar(gWidth)/2, SkIntToScalar(gHeight)/2 }; in make_grad()
231 const SkScalar h = SkIntToScalar(gHeight); in onDraw()
Daarectmodes.cpp79 const int gHeight = 64; variable
81 const SkScalar H = SkIntToScalar(gHeight);
/external/skia/gm/
Dtilemodes.cpp157 static const int gHeight = 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()
209 const SkScalar h = SkIntToScalar(gHeight); in onDraw()
Dhairmodes.cpp32 const int gHeight = 64; variable
34 const SkScalar H = SkIntToScalar(gHeight);
53 SkScalar y = SkScalarSin(SkIntToScalar(angle) * (SK_ScalarPI * 2) / 24) * gHeight; in drawCell()
Dtilemodes_scaled.cpp177 static const int gHeight = 32; variable
181 makebm(&bm, kN32_SkColorType, gWidth, gHeight); in make_bm()
186 SkPoint pts[] = { { 0, 0 }, { SkIntToScalar(gWidth), SkIntToScalar(gHeight)} }; in make_grad()
187 SkPoint center = { SkIntToScalar(gWidth)/2, SkIntToScalar(gHeight)/2 }; in make_grad()
229 const SkScalar h = SkIntToScalar(gHeight); in onDraw()
Daarectmodes.cpp79 const int gHeight = 64; variable
81 const SkScalar H = SkIntToScalar(gHeight);
/external/chromium_org/third_party/skia/tests/
DResourceCacheTest.cpp17 static const int gHeight = 480; variable
23 const SkIRect size = SkIRect::MakeWH(gWidth, gHeight); in test_cache()
299 desc.fHeight = gHeight; in DEF_GPUTEST()
300 SkImageInfo info = SkImageInfo::MakeN32Premul(gWidth, gHeight); in DEF_GPUTEST()
DDeferredCanvasTest.cpp27 static const int gHeight = 2; variable
30 bm->allocN32Pixels(gWidth, gHeight); in create()
35 SkSurface* surface = SkSurface::NewRasterPMColor(gWidth, gHeight); in createSurface()
258 SkIntToScalar(gHeight)); in TestDeferredCanvasFreshFrame()
844 rect.setXYWH(SkIntToScalar(0), SkIntToScalar(0), SkIntToScalar(gWidth), SkIntToScalar(gHeight)); in TestDeferredCanvasGetCanvasSize()
849 SkISize size = SkISize::Make(gWidth, gHeight); in TestDeferredCanvasGetCanvasSize()
DDrawBitmapRectTest.cpp290 static const int gHeight = 256; variable
293 bm->allocN32Pixels(gWidth, gHeight); in create()
/external/sonivox/jet_tools/JetCreator/
DJetSegGraph.py227 gWidth, gHeight = self.GetSize()
232 Marker.CalcCoord(step, gHeight, self.GetAColor)
257 Marker1.iHeight = gHeight / iOverlaps
331 dc.DrawRectangle(self.iEdges + iOffset, gHeight-6, till, 3)
350 gWidth, gHeight = self.GetSize()
356 dc.DrawRectangle(self.iEdges + iOffset, gHeight-6, till, 3)
/external/skia/tests/
DResourceCacheTest.cpp16 static const int gHeight = 480; variable
22 const SkIRect size = SkIRect::MakeWH(gWidth, gHeight); in test_cache()
297 desc.fHeight = gHeight; in DEF_GPUTEST()
DDrawBitmapRectTest.cpp291 static const int gHeight = 256; variable
294 bm->allocN32Pixels(gWidth, gHeight); in create()
DDeferredCanvasTest.cpp27 static const int gHeight = 2; variable
30 bm->allocN32Pixels(gWidth, gHeight); in create()
35 SkSurface* surface = SkSurface::NewRasterPMColor(gWidth, gHeight); in createSurface()
275 SkIntToScalar(gHeight)); in TestDeferredCanvasFreshFrame()