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 29 } gRec[] = {
42 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) {
44 make_pm(&pmap, gRec[i].fDevSize.width(), gRec[i].fDevSize.height());
46 SkRasterClip rc(gRec[i].fRCBounds);
49 SkDeviceLooper looper(pmap, rc, gRec[i].fRect, SkToBool(aa));
103 } const gRec[] = {
108 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) {
109 const int w = gRec[i].fSize.width();
110 const int h = gRec[i].fSize.height()
    [all...]
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...]
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;
PointTest.cpp 126 } gRec[] = {
131 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) {
132 test_length(reporter, gRec[i].fX, gRec[i].fY, gRec[i].fLength);
BitmapCopyTest.cpp 625 } gRec[] = {
633 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) {
636 dstInfo = dstInfo.makeWH(gRec[i].fRequestedDstSize.width(),
637 gRec[i].fRequestedDstSize.height());
639 gRec[i].fRequestedSrcLoc.x(), gRec[i].fRequestedSrcLoc.y());
641 REPORTER_ASSERT(reporter, gRec[i].fExpectedSuccess == success);
643 const SkIRect srcR = gRec[i].fExpectedSrcR;
644 const int dstX = gRec[i].fExpectedDstLoc.x();
645 const int dstY = gRec[i].fExpectedDstLoc.y()
    [all...]
StringTest.cpp 161 } gRec[] = {
174 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); i++) {
176 a.appendScalar(gRec[i].fValue);
178 if (!a.equals(gRec[i].fString)) {
179 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 30 } gRec[] = {
37 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) {
38 testop(gRec[i].r0, gRec[i].r1, gRec[i].op, gRec[i].expectedR);
SampleStrokePath.cpp 90 } gRec[] = {
138 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); i++) {
139 paint->setStyle(gRec[i].fStyle);
140 paint->setStrokeJoin(gRec[i].fJoin);
141 paint->setStrokeWidth(SkIntToScalar(gRec[i].fStrokeWidth));
  /external/skia/gm/
alphagradients.cpp 44 } gRec[] = {
65 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) {
66 draw_grad(canvas, r, gRec[i].fColor0, gRec[i].fColor1, SkToBool(doPreMul));
shadows.cpp 81 } gRec[] = {
95 setup(&paint, gRec[0].fColor, gRec[0].fStrokeWidth);
99 setup(&paint, gRec[1].fColor, gRec[1].fStrokeWidth);
103 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 233 } gRec[] = {
272 fProc = gRec[index].fProc;
273 fName = gRec[index].fName;
  /external/skia/tools/
skhello.cpp 87 } gRec[] = {
92 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) {
94 file.printf("%s%s", path.c_str(), gRec[i].fSuffix);
95 if (!gRec[i].fProc(w, h, file.c_str(), text.c_str(), paint)) {

Completed in 521 milliseconds