Home
last modified time | relevance | path

Searched refs:gData (Results 1 – 14 of 14) sorted by relevance

/external/skia/samplecode/
DSampleAvoid.cpp67 } gData[] = { in onDrawContent() local
80 for (size_t i = 0; i < SK_ARRAY_COUNT(gData); i++) { in onDrawContent()
82 SK_ColorGREEN, gData[i].fTolerance, gData[i].fMode)); in onDrawContent()
87 rr.offset(r.width() * gData[i].fDX/2, r.height() * gData[i].fDY/2); in onDrawContent()
DSampleSkLayer.cpp167 } gData[] = { in SkLayerView() local
176 for (size_t i = 0; i < SK_ARRAY_COUNT(gData); i++) { in SkLayerView()
177 SkLayer* child = new TestLayer(gData[i].fColor); in SkLayerView()
178 child->setSize(gData[i].fWidth, gData[i].fHeight); in SkLayerView()
179 child->setPosition(gData[i].fPosX, gData[i].fPosY); in SkLayerView()
/external/chromium_org/third_party/skia/samplecode/
DSampleAvoid.cpp67 } gData[] = { in onDrawContent() local
80 for (size_t i = 0; i < SK_ARRAY_COUNT(gData); i++) { in onDrawContent()
82 SK_ColorGREEN, gData[i].fTolerance, gData[i].fMode)); in onDrawContent()
87 rr.offset(r.width() * gData[i].fDX/2, r.height() * gData[i].fDY/2); in onDrawContent()
DSampleSkLayer.cpp167 } gData[] = { in SkLayerView() local
176 for (size_t i = 0; i < SK_ARRAY_COUNT(gData); i++) { in SkLayerView()
177 SkLayer* child = new TestLayer(gData[i].fColor); in SkLayerView()
178 child->setSize(gData[i].fWidth, gData[i].fHeight); in SkLayerView()
179 child->setPosition(gData[i].fPosX, gData[i].fPosY); in SkLayerView()
/external/chromium_org/third_party/skia/tests/
DInfRectTest.cpp22 static const RectCenter gData[] = { in test_center() local
29 for (size_t index = 0; index < SK_ARRAY_COUNT(gData); ++index) { in test_center()
31 gData[index].fRect.centerX() == gData[index].fCenter.x()); in test_center()
33 gData[index].fRect.centerY() == gData[index].fCenter.y()); in test_center()
DDataRefTest.cpp119 static const int gData[] = { in test_globaltable() local
122 int count = SK_ARRAY_COUNT(gData); in test_globaltable()
124 SkAutoTUnref<SkDataTable> table(SkDataTable::NewArrayProc(gData, in test_globaltable()
125 sizeof(gData[0]), count, NULL, NULL)); in test_globaltable()
/external/skia/tests/
DInfRectTest.cpp22 static const RectCenter gData[] = { in test_center() local
29 for (size_t index = 0; index < SK_ARRAY_COUNT(gData); ++index) { in test_center()
31 gData[index].fRect.centerX() == gData[index].fCenter.x()); in test_center()
33 gData[index].fRect.centerY() == gData[index].fCenter.y()); in test_center()
DDataRefTest.cpp119 static const int gData[] = { in test_globaltable() local
122 int count = SK_ARRAY_COUNT(gData); in test_globaltable()
124 SkAutoTUnref<SkDataTable> table(SkDataTable::NewArrayProc(gData, in test_globaltable()
125 sizeof(gData[0]), count, NULL, NULL)); in test_globaltable()
/external/skia/gm/
Ddashing.cpp55 } gData[] = { in onDraw() local
66 for (size_t data = 0; data < SK_ARRAY_COUNT(gData); ++data) { in onDraw()
74 drawline(canvas, gData[data].fOnInterval * scale, in onDraw()
75 gData[data].fOffInterval * scale, in onDraw()
335 } gData[] = { in onDraw() local
348 for (size_t data = 0; data < SK_ARRAY_COUNT(gData); ++data) { in onDraw()
360 drawline(canvas, gData[data].fOnInterval * scale, in onDraw()
361 gData[data].fOffInterval * scale, in onDraw()
Dtwopointradial.cpp87 static const int gData[] = { in onDraw() local
96 int count = SK_ARRAY_COUNT(gData) / 6; in onDraw()
99 intToScalars(data, &gData[i * 6], 6); in onDraw()
Dxfermodes.cpp48 static uint16_t gData[] = { 0xFFFF, 0xCCCF, 0xCCCF, 0xFFFF }; variable
153 gData, 4); in onOnceBeforeDraw()
/external/chromium_org/third_party/skia/gm/
Ddashing.cpp66 } gData[] = { in onDraw() local
77 for (size_t data = 0; data < SK_ARRAY_COUNT(gData); ++data) { in onDraw()
85 drawline(canvas, gData[data].fOnInterval * scale, in onDraw()
86 gData[data].fOffInterval * scale, in onDraw()
348 } gData[] = { in onDraw() local
361 for (size_t data = 0; data < SK_ARRAY_COUNT(gData); ++data) { in onDraw()
373 drawline(canvas, gData[data].fOnInterval * scale, in onDraw()
374 gData[data].fOffInterval * scale, in onDraw()
Dtwopointradial.cpp84 static const int gData[] = { in onDraw() local
93 int count = SK_ARRAY_COUNT(gData) / 6; in onDraw()
96 intToScalars(data, &gData[i * 6], 6); in onDraw()
Dxfermodes.cpp48 static uint16_t gData[] = { 0xFFFF, 0xCCCF, 0xCCCF, 0xFFFF }; variable
153 gData, 4); in onOnceBeforeDraw()