HomeSort by relevance Sort by last modified time
    Searched refs:gRec (Results 1 - 17 of 17) sorted by null

  /external/skia/tests/
BitmapGetColorTest.cpp 18 } gRec[] = {
35 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); i++) {
36 SkImageInfo info = SkImageInfo::Make(2, 2, gRec[i].fColorType,
43 bm.eraseArea(area, gRec[i].fInColor);
46 REPORTER_ASSERT(reporter, c == gRec[i].fOutColor);
DeviceLooperTest.cpp 28 } gRec[] = {
41 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) {
43 make_pm(&pmap, gRec[i].fDevSize.width(), gRec[i].fDevSize.height());
45 SkRasterClip rc(gRec[i].fRCBounds);
48 SkDeviceLooper looper(pmap, rc, gRec[i].fRect, SkToBool(aa));
102 } const gRec[] = {
107 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) {
108 const int w = gRec[i].fSize.width();
109 const int h = gRec[i].fSize.height()
    [all...]
ParsePathTest.cpp 33 } gRec[] = {
45 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); i++) {
47 bool success = SkParsePath::FromSVGString(gRec[i].fStr, &path);
49 const SkRect& expectedBounds = gRec[i].fBounds;
Point3Test.cpp 119 } gRec[] = {
126 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) {
127 test_length(reporter, gRec[i].fX, gRec[i].fY, gRec[i].fZ, gRec[i].fLength);
128 test_normalize(reporter, gRec[i].fX, gRec[i].fY, gRec[i].fZ, gRec[i].fLength)
    [all...]
PointTest.cpp 127 } gRec[] = {
132 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) {
133 test_length(reporter, gRec[i].fX, gRec[i].fY, gRec[i].fLength);
BitmapCopyTest.cpp 596 } gRec[] = {
604 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) {
607 dstInfo = dstInfo.makeWH(gRec[i].fRequestedDstSize.width(),
608 gRec[i].fRequestedDstSize.height());
610 gRec[i].fRequestedSrcLoc.x(), gRec[i].fRequestedSrcLoc.y());
612 REPORTER_ASSERT(reporter, gRec[i].fExpectedSuccess == success);
614 const SkIRect srcR = gRec[i].fExpectedSrcR;
615 const int dstX = gRec[i].fExpectedDstLoc.x();
616 const int dstY = gRec[i].fExpectedDstLoc.y()
    [all...]
StringTest.cpp 154 } gRec[] = {
167 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); i++) {
169 a.appendScalar(gRec[i].fValue);
171 if (!a.equals(gRec[i].fString)) {
172 ERRORF(reporter, "received <%s> expected <%s>\n", a.c_str(), gRec[i].fString);
PaintTest.cpp 75 } gRec[] = {
94 for (size_t k = 0; k < SK_ARRAY_COUNT(gRec); ++k) {
95 paint.setTextEncoding(gRec[k].fEncoding);
97 size_t len = gRec[k].fSeedTextProc(src, dst, NGLYPHS);
PathTest.cpp     [all...]
  /external/skia/samplecode/
SampleAAClip.cpp 31 } gRec[] = {
38 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) {
39 testop(gRec[i].r0, gRec[i].r1, gRec[i].op, gRec[i].expectedR);
SampleStrokePath.cpp 91 } gRec[] = {
139 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); i++) {
140 paint->setStyle(gRec[i].fStyle);
141 paint->setStrokeJoin(gRec[i].fJoin);
142 paint->setStrokeWidth(SkIntToScalar(gRec[i].fStrokeWidth));
  /external/skia/gm/
alphagradients.cpp 45 } gRec[] = {
66 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) {
67 draw_grad(canvas, r, gRec[i].fColor0, gRec[i].fColor1, SkToBool(doPreMul));
shadows.cpp 100 } gRec[] = {
114 setup(&paint, gRec[0].fColor, gRec[0].fStrokeWidth);
118 setup(&paint, gRec[1].fColor, gRec[1].fStrokeWidth);
122 setup(&paint, gRec[2].fColor, gRec[2].fStrokeWidth);
  /external/skia/bench/
FontCacheBench.cpp 70 } gRec[] = {
121 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) {
127 collisions += count_collisions(array, count, gRec[i].fHasher, hashMask);
132 collisions * 100.0 / glyphs, gRec[i].fName);
SortBench.cpp 59 } gRec[] = {
109 fName.printf("sort_%s_%s", gSorts[s].fName, gRec[t].fName);
124 gRec[fType].fProc(fUnsorted.get());
MathBench.cpp 241 } gRec[] = {
280 fProc = gRec[index].fProc;
281 fName = gRec[index].fName;
  /external/skia/tools/
skhello.cpp 92 } gRec[] = {
97 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) {
99 file.printf("%s%s", path.c_str(), gRec[i].fSuffix);
100 if (!gRec[i].fProc(w, h, file.c_str(), text.c_str(), paint)) {

Completed in 496 milliseconds