/external/skqp/gm/ |
D | ovals.cpp | 43 fPaints.push_back(p); in makePaints() 50 fPaints.push_back(p); in makePaints() 59 fPaints.push_back(p); in makePaints() 67 fPaints.push_back(p); in makePaints() 76 fPaints.push_back(p); in makePaints() 157 for (int i = 0; i < fPaints.count(); ++i) { in onDraw() 169 fPaints[i].setColor(color); in onDraw() 172 canvas->drawOval(oval, fPaints[i]); in onDraw() 183 for (int i = 0; i < fPaints.count(); ++i) { in onDraw() 191 fPaints[i].setColor(color); in onDraw() [all …]
|
D | roundrects.cpp | 53 fPaints.push_back(p); in makePaints() 60 fPaints.push_back(p); in makePaints() 69 fPaints.push_back(p); in makePaints() 77 fPaints.push_back(p); in makePaints() 86 fPaints.push_back(p); in makePaints() 160 for (int i = 0; i < fPaints.count(); ++i) { in onDraw() 172 fPaints[i].setColor(color); in onDraw() 175 canvas->drawRRect(circleRect, fPaints[i]); in onDraw() 186 for (int i = 0; i < fPaints.count(); ++i) { in onDraw() 197 fPaints[i].setColor(color); in onDraw() [all …]
|
D | rects.cpp | 43 fPaints.push_back(p); in makePaints() 51 fPaints.push_back(p); in makePaints() 60 fPaints.push_back(p); in makePaints() 71 fPaints.push_back(p); in makePaints() 85 fPaints.push_back(p); in makePaints() 96 fPaints.push_back(p); in makePaints() 106 fPaints.push_back(p); in makePaints() 117 fPaints.push_back(p); in makePaints() 128 fPaints.push_back(p); in makePaints() 137 fPaints.push_back(p); in makePaints() [all …]
|
D | circles.cpp | 41 fPaints.push_back(p); in makePaints() 48 fPaints.push_back(p); in makePaints() 58 fPaints.push_back(p); in makePaints() 70 fPaints.push_back(p); in makePaints() 80 fPaints.push_back(p); in makePaints() 89 fPaints.push_back(p); in makePaints() 97 fPaints.push_back(p); in makePaints() 106 fPaints.push_back(p); in makePaints() 157 for (i = 0; i < fPaints.count(); ++i) { in onDraw() 164 fPaints[i].setColor(color); in onDraw() [all …]
|
D | badpaint.cpp | 34 fPaints.push_back().setColor(SK_ColorGREEN); in onOnceBeforeDraw() 35 fPaints.back().setShader(SkShader::MakeBitmapShader(emptyBmp, SkShader::kClamp_TileMode, in onOnceBeforeDraw() 39 fPaints.push_back().setColor(SK_ColorGREEN); in onOnceBeforeDraw() 40 fPaints.back().setShader(SkShader::MakeBitmapShader(blueBmp, SkShader::kClamp_TileMode, in onOnceBeforeDraw() 46 for (int i = 0; i < fPaints.count(); ++i) { in onDraw() 47 canvas->drawRect(rect, fPaints[i]); in onDraw() 52 SkTArray<SkPaint> fPaints; member in BadPaintGM
|
D | strokedlines.cpp | 121 fPaints.push_back(p); in onOnceBeforeDraw() 132 fPaints.push_back(p); in onOnceBeforeDraw() 142 fPaints.push_back(p); in onOnceBeforeDraw() 160 fPaints.push_back(p); in onOnceBeforeDraw() 167 fPaints.push_back(p); in onOnceBeforeDraw() 195 SkASSERT(kNumRows == fPaints.count() + fMatrices.count()); in onOnceBeforeDraw() 201 for (int i = 0; i < fPaints.count(); ++i) { in onDraw() 203 draw_row(canvas, fPaints[i], SkMatrix::I()); in onDraw() 211 draw_row(canvas, fPaints[0], fMatrices[i]); in onDraw() 219 SkTArray<SkPaint> fPaints; member in skiagm::StrokedLinesGM
|
/external/skia/gm/ |
D | ovals.cpp | 50 fPaints.push_back(p); in makePaints() 57 fPaints.push_back(p); in makePaints() 66 fPaints.push_back(p); in makePaints() 74 fPaints.push_back(p); in makePaints() 83 fPaints.push_back(p); in makePaints() 164 for (int i = 0; i < fPaints.count(); ++i) { in onDraw() 176 fPaints[i].setColor(color); in onDraw() 179 canvas->drawOval(oval, fPaints[i]); in onDraw() 190 for (int i = 0; i < fPaints.count(); ++i) { in onDraw() 198 fPaints[i].setColor(color); in onDraw() [all …]
|
D | roundrects.cpp | 60 fPaints.push_back(p); in makePaints() 67 fPaints.push_back(p); in makePaints() 76 fPaints.push_back(p); in makePaints() 84 fPaints.push_back(p); in makePaints() 93 fPaints.push_back(p); in makePaints() 167 for (int i = 0; i < fPaints.count(); ++i) { in onDraw() 179 fPaints[i].setColor(color); in onDraw() 182 canvas->drawRRect(circleRect, fPaints[i]); in onDraw() 193 for (int i = 0; i < fPaints.count(); ++i) { in onDraw() 204 fPaints[i].setColor(color); in onDraw() [all …]
|
D | badpaint.cpp | 41 fPaints.push_back().setColor(SK_ColorGREEN); in onOnceBeforeDraw() 42 fPaints.back().setShader(emptyBmp.makeShader(SkSamplingOptions())); in onOnceBeforeDraw() 45 fPaints.push_back().setColor(SK_ColorGREEN); in onOnceBeforeDraw() 46 fPaints.back().setShader(blueBmp.makeShader(SkSamplingOptions(), badMatrix)); in onOnceBeforeDraw() 51 for (int i = 0; i < fPaints.count(); ++i) { in onDraw() 52 canvas->drawRect(rect, fPaints[i]); in onDraw() 57 SkTArray<SkPaint> fPaints; member in BadPaintGM
|
D | strokedlines.cpp | 138 fPaints.push_back(p); in onOnceBeforeDraw() 148 fPaints.push_back(p); in onOnceBeforeDraw() 158 fPaints.push_back(p); in onOnceBeforeDraw() 174 fPaints.push_back(p); in onOnceBeforeDraw() 181 fPaints.push_back(p); in onOnceBeforeDraw() 209 SkASSERT(kNumRows == fPaints.count() + fMatrices.count()); in onOnceBeforeDraw() 215 for (int i = 0; i < fPaints.count(); ++i) { in onDraw() 217 draw_row(canvas, fPaints[i], SkMatrix::I()); in onDraw() 225 draw_row(canvas, fPaints[0], fMatrices[i]); in onDraw() 233 SkTArray<SkPaint> fPaints; member in skiagm::StrokedLinesGM
|
/external/skqp/bench/ |
D | PathTextBench.cpp | 74 fPaints[i].setAntiAlias(true); in onDelayedSetup() 75 fPaints[i].setColor(rand.nextU() | 0x80808080); in onDelayedSetup() 92 canvas->drawPath(glyph, fPaints[i]); in onDraw() 100 SkPaint fPaints[kNumDraws]; member in PathTextBench
|
/external/skia/bench/ |
D | PathTextBench.cpp | 76 fPaints[i].setAntiAlias(true); in onDelayedSetup() 77 fPaints[i].setColor(rand.nextU() | 0x80808080); in onDelayedSetup() 94 canvas->drawPath(glyph, fPaints[i]); in onDraw() 102 SkPaint fPaints[kNumDraws]; member in PathTextBench
|
/external/skia/src/core/ |
D | SkPictureData.cpp | 48 fPaints = record.fPaints; in SkPictureData() 147 if ((n = fPaints.count()) > 0) { in flattenToBuffer() 150 buffer.writePaint(fPaints[i]); in flattenToBuffer() 419 if (!buffer.readPaint(&fPaints.push_back(), nullptr)) { in parseBufferTag() 540 return reader->validate(index > 0 && index <= fPaints.count()) ? in optionalPaint() 541 &fPaints[index - 1] : nullptr; in optionalPaint()
|
D | SkPictureData.h | 142 SkTArray<SkPaint> fPaints; variable
|
D | SkPictureRecord.h | 235 SkTArray<SkPaint> fPaints;
|
D | SkPictureRecord.cpp | 852 fPaints.push_back(*paint); in addPaintPtr() 853 this->addInt(fPaints.count()); in addPaintPtr()
|
/external/skqp/src/core/ |
D | SkPictureData.h | 125 return reader->validate(index > 0 && index <= fPaints.count()) ? in getPaint() 126 &fPaints[index - 1] : nullptr; in getPaint() 145 SkTArray<SkPaint> fPaints; variable
|
D | SkPictureData.cpp | 52 fPaints = record.fPaints; in SkPictureData() 150 if ((n = fPaints.count()) > 0) { in flattenToBuffer() 153 buffer.writePaint(fPaints[i]); in flattenToBuffer() 414 if (!buffer.readPaint(&fPaints.push_back(), nullptr)) { in parseBufferTag()
|
D | SkPictureRecord.h | 242 SkTArray<SkPaint> fPaints;
|
D | SkPictureRecord.cpp | 806 fPaints.push_back(*paint); in addPaintPtr() 807 this->addInt(fPaints.count()); in addPaintPtr()
|