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()
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 …]
Dcircles.cpp41 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 …]
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()
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/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()
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 …]
Dcircles.cpp41 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 …]
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()
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/bench/
DPathTextBench.cpp74 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/skqp/bench/
DPathTextBench.cpp74 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/skqp/src/core/
DSkPictureData.h125 return reader->validate(index > 0 && index <= fPaints.count()) ? in getPaint()
126 &fPaints[index - 1] : nullptr; in getPaint()
145 SkTArray<SkPaint> fPaints; variable
DSkPictureData.cpp52 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()
DSkPictureRecord.h242 SkTArray<SkPaint> fPaints;
DSkPictureRecord.cpp806 fPaints.push_back(*paint); in addPaintPtr()
807 this->addInt(fPaints.count()); in addPaintPtr()
/external/skia/src/core/
DSkPictureData.h125 return reader->validate(index > 0 && index <= fPaints.count()) ? in getPaint()
126 &fPaints[index - 1] : nullptr; in getPaint()
145 SkTArray<SkPaint> fPaints; variable
DSkPictureData.cpp52 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()
DSkPictureRecord.h243 SkTArray<SkPaint> fPaints;
DSkPictureRecord.cpp815 fPaints.push_back(*paint); in addPaintPtr()
816 this->addInt(fPaints.count()); in addPaintPtr()