Home
last modified time | relevance | path

Searched refs:fPaints (Results 1 – 13 of 13) 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/skia/bench/
DPathTextBench.cpp65 fPaints[i].setAntiAlias(true); in onDelayedSetup()
66 fPaints[i].setColor(rand.nextU() | 0x80808080); in onDelayedSetup()
75 canvas->drawPath(glyph, fPaints[i]); in onDraw()
80 SkPaint fPaints[kNumDraws]; member in PathTextBench
/external/skia/experimental/ChromeUtils/
DSkBorder.cpp12 fPaints[0] = p; in SkBorder()
25 fPaints[i] = paints[i]; in SkBorder()
DSkBorder.h95 SkPaint fPaints[4]; variable
/external/skia/src/core/
DSkPictureData.h139 return reader->validateIndex(index, fPaints.count()) ? &fPaints[index] : nullptr; in getPaint()
180 SkTArray<SkPaint> fPaints; variable
DSkPictureData.cpp49 fPaints = record.fPaints; in SkPictureData()
244 if ((n = fPaints.count()) > 0) { in flattenToBuffer()
247 buffer.writePaint(fPaints[i]); in flattenToBuffer()
560 fPaints.reset(count); in parseBufferTag()
562 buffer.readPaint(&fPaints[i]); in parseBufferTag()
DSkPictureRecord.h249 SkTArray<SkPaint> fPaints; variable
DSkPictureRecord.cpp850 fPaints.push_back(*paint); in addPaintPtr()
851 this->addInt(fPaints.count()); in addPaintPtr()