Home
last modified time | relevance | path

Searched refs:fPaints (Results 1 – 22 of 22) sorted by relevance

/external/skia/gm/
Dovals.cpp43 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 …]
Droundrects.cpp53 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 …]
Drects.cpp43 fPaints.push_back(p); in makePaints()
51 fPaints.push_back(p); in makePaints()
60 fPaints.push_back(p); in makePaints()
72 fPaints.push_back(p); in makePaints()
86 fPaints.push_back(p); in makePaints()
97 fPaints.push_back(p); in makePaints()
107 fPaints.push_back(p); in makePaints()
118 fPaints.push_back(p); in makePaints()
129 fPaints.push_back(p); in makePaints()
138 fPaints.push_back(p); in makePaints()
[all …]
Dcircles.cpp41 fPaints.push_back(p); in makePaints()
48 fPaints.push_back(p); in makePaints()
59 fPaints.push_back(p); in makePaints()
71 fPaints.push_back(p); in makePaints()
81 fPaints.push_back(p); in makePaints()
90 fPaints.push_back(p); in makePaints()
98 fPaints.push_back(p); in makePaints()
107 fPaints.push_back(p); in makePaints()
158 for (i = 0; i < fPaints.count(); ++i) { in onDraw()
165 fPaints[i].setColor(color); in onDraw()
[all …]
Dbadpaint.cpp34 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
Dstrokedlines.cpp121 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()
168 fPaints.push_back(p); in onOnceBeforeDraw()
196 SkASSERT(kNumRows == fPaints.count() + fMatrices.count()); in onOnceBeforeDraw()
202 for (int i = 0; i < fPaints.count(); ++i) { in onDraw()
204 draw_row(canvas, fPaints[i], SkMatrix::I()); in onDraw()
212 draw_row(canvas, fPaints[0], fMatrices[i]); in onDraw()
220 SkTArray<SkPaint> fPaints; member in skiagm::StrokedLinesGM
/external/skqp/gm/
Dovals.cpp43 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 …]
Droundrects.cpp53 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 …]
Drects.cpp43 fPaints.push_back(p); in makePaints()
51 fPaints.push_back(p); in makePaints()
60 fPaints.push_back(p); in makePaints()
72 fPaints.push_back(p); in makePaints()
86 fPaints.push_back(p); in makePaints()
97 fPaints.push_back(p); in makePaints()
107 fPaints.push_back(p); in makePaints()
118 fPaints.push_back(p); in makePaints()
129 fPaints.push_back(p); in makePaints()
138 fPaints.push_back(p); in makePaints()
[all …]
Dcircles.cpp41 fPaints.push_back(p); in makePaints()
48 fPaints.push_back(p); in makePaints()
59 fPaints.push_back(p); in makePaints()
71 fPaints.push_back(p); in makePaints()
81 fPaints.push_back(p); in makePaints()
90 fPaints.push_back(p); in makePaints()
98 fPaints.push_back(p); in makePaints()
107 fPaints.push_back(p); in makePaints()
158 for (i = 0; i < fPaints.count(); ++i) { in onDraw()
165 fPaints[i].setColor(color); in onDraw()
[all …]
Dbadpaint.cpp34 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
Dstrokedlines.cpp121 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()
168 fPaints.push_back(p); in onOnceBeforeDraw()
196 SkASSERT(kNumRows == fPaints.count() + fMatrices.count()); in onOnceBeforeDraw()
202 for (int i = 0; i < fPaints.count(); ++i) { in onDraw()
204 draw_row(canvas, fPaints[i], SkMatrix::I()); in onDraw()
212 draw_row(canvas, fPaints[0], fMatrices[i]); in onDraw()
220 SkTArray<SkPaint> fPaints; member in skiagm::StrokedLinesGM
/external/skqp/bench/
DPathTextBench.cpp75 fPaints[i].setAntiAlias(true); in onDelayedSetup()
76 fPaints[i].setColor(rand.nextU() | 0x80808080); in onDelayedSetup()
93 canvas->drawPath(glyph, fPaints[i]); in onDraw()
101 SkPaint fPaints[kNumDraws]; member in PathTextBench
/external/skia/bench/
DPathTextBench.cpp75 fPaints[i].setAntiAlias(true); in onDelayedSetup()
76 fPaints[i].setColor(rand.nextU() | 0x80808080); in onDelayedSetup()
93 canvas->drawPath(glyph, fPaints[i]); in onDraw()
101 SkPaint fPaints[kNumDraws]; member in PathTextBench
/external/skia/src/core/
DSkPictureData.h123 return reader->validateIndex(index, fPaints.count()) ? &fPaints[index] : nullptr; in getPaint()
146 SkTArray<SkPaint> fPaints; variable
DSkPictureData.cpp47 fPaints = record.fPaints; in SkPictureData()
232 if ((n = fPaints.count()) > 0) { in flattenToBuffer()
235 buffer.writePaint(fPaints[i]); in flattenToBuffer()
504 fPaints.reset(count); in parseBufferTag()
506 if (!buffer.readPaint(&fPaints[i])) { in parseBufferTag()
DSkPictureRecord.h244 SkTArray<SkPaint> fPaints;
DSkPictureRecord.cpp833 fPaints.push_back(*paint); in addPaintPtr()
834 this->addInt(fPaints.count()); in addPaintPtr()
/external/skqp/src/core/
DSkPictureData.h123 return reader->validateIndex(index, fPaints.count()) ? &fPaints[index] : nullptr; in getPaint()
146 SkTArray<SkPaint> fPaints; variable
DSkPictureData.cpp47 fPaints = record.fPaints; in SkPictureData()
232 if ((n = fPaints.count()) > 0) { in flattenToBuffer()
235 buffer.writePaint(fPaints[i]); in flattenToBuffer()
504 fPaints.reset(count); in parseBufferTag()
506 if (!buffer.readPaint(&fPaints[i])) { in parseBufferTag()
DSkPictureRecord.h244 SkTArray<SkPaint> fPaints;
DSkPictureRecord.cpp833 fPaints.push_back(*paint); in addPaintPtr()
834 this->addInt(fPaints.count()); in addPaintPtr()