Home
last modified time | relevance | path

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

/external/chromium_org/third_party/skia/gm/
Dovals.cpp45 fPaints.push_back(p); in makePaints()
52 fPaints.push_back(p); in makePaints()
61 fPaints.push_back(p); in makePaints()
69 fPaints.push_back(p); in makePaints()
78 fPaints.push_back(p); in makePaints()
159 for (int i = 0; i < fPaints.count(); ++i) { in onDraw()
171 fPaints[i].setColor(color); in onDraw()
174 canvas->drawOval(oval, fPaints[i]); in onDraw()
185 for (int i = 0; i < fPaints.count(); ++i) { in onDraw()
193 fPaints[i].setColor(color); in onDraw()
[all …]
Droundrects.cpp46 fPaints.push_back(p); in makePaints()
53 fPaints.push_back(p); in makePaints()
62 fPaints.push_back(p); in makePaints()
70 fPaints.push_back(p); in makePaints()
79 fPaints.push_back(p); in makePaints()
162 for (int i = 0; i < fPaints.count(); ++i) { in onDraw()
174 fPaints[i].setColor(color); in onDraw()
177 canvas->drawRRect(circleRect, fPaints[i]); in onDraw()
188 for (int i = 0; i < fPaints.count(); ++i) { in onDraw()
199 fPaints[i].setColor(color); in onDraw()
[all …]
Dcircles.cpp44 fPaints.push_back(p); in makePaints()
51 fPaints.push_back(p); in makePaints()
63 fPaints.push_back(p); in makePaints()
80 fPaints.push_back(p); in makePaints()
96 fPaints.push_back(p); in makePaints()
105 fPaints.push_back(p); in makePaints()
113 fPaints.push_back(p); in makePaints()
122 fPaints.push_back(p); in makePaints()
162 for (i = 0; i < fPaints.count(); ++i) { in onDraw()
169 fPaints[i].setColor(color); in onDraw()
[all …]
Drects.cpp45 fPaints.push_back(p); in makePaints()
53 fPaints.push_back(p); in makePaints()
62 fPaints.push_back(p); in makePaints()
75 fPaints.push_back(p); in makePaints()
93 fPaints.push_back(p); in makePaints()
110 fPaints.push_back(p); in makePaints()
120 fPaints.push_back(p); in makePaints()
131 fPaints.push_back(p); in makePaints()
142 fPaints.push_back(p); in makePaints()
151 fPaints.push_back(p); in makePaints()
[all …]
/external/skia/gm/
Dovals.cpp45 fPaints.push_back(p); in makePaints()
52 fPaints.push_back(p); in makePaints()
61 fPaints.push_back(p); in makePaints()
69 fPaints.push_back(p); in makePaints()
78 fPaints.push_back(p); in makePaints()
159 for (int i = 0; i < fPaints.count(); ++i) { in onDraw()
171 fPaints[i].setColor(color); in onDraw()
174 canvas->drawOval(oval, fPaints[i]); in onDraw()
185 for (int i = 0; i < fPaints.count(); ++i) { in onDraw()
193 fPaints[i].setColor(color); in onDraw()
[all …]
Droundrects.cpp46 fPaints.push_back(p); in makePaints()
53 fPaints.push_back(p); in makePaints()
62 fPaints.push_back(p); in makePaints()
70 fPaints.push_back(p); in makePaints()
79 fPaints.push_back(p); in makePaints()
162 for (int i = 0; i < fPaints.count(); ++i) { in onDraw()
174 fPaints[i].setColor(color); in onDraw()
177 canvas->drawRRect(circleRect, fPaints[i]); in onDraw()
188 for (int i = 0; i < fPaints.count(); ++i) { in onDraw()
199 fPaints[i].setColor(color); in onDraw()
[all …]
Dcircles.cpp44 fPaints.push_back(p); in makePaints()
51 fPaints.push_back(p); in makePaints()
63 fPaints.push_back(p); in makePaints()
80 fPaints.push_back(p); in makePaints()
96 fPaints.push_back(p); in makePaints()
105 fPaints.push_back(p); in makePaints()
113 fPaints.push_back(p); in makePaints()
122 fPaints.push_back(p); in makePaints()
162 for (i = 0; i < fPaints.count(); ++i) { in onDraw()
169 fPaints[i].setColor(color); in onDraw()
[all …]
Drects.cpp45 fPaints.push_back(p); in makePaints()
53 fPaints.push_back(p); in makePaints()
62 fPaints.push_back(p); in makePaints()
75 fPaints.push_back(p); in makePaints()
93 fPaints.push_back(p); in makePaints()
110 fPaints.push_back(p); in makePaints()
120 fPaints.push_back(p); in makePaints()
131 fPaints.push_back(p); in makePaints()
142 fPaints.push_back(p); in makePaints()
151 fPaints.push_back(p); in makePaints()
[all …]
/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/chromium_org/third_party/skia/experimental/ChromeUtils/
DSkBorder.cpp12 fPaints[0] = p; in SkBorder()
25 fPaints[i] = paints[i]; in SkBorder()
DSkBorder.h95 SkPaint fPaints[4]; variable
/external/chromium_org/third_party/skia/src/core/
DSkPicturePlayback.cpp131 fPaints = record.fPaints.unflattenToArray(); in SkPicturePlayback()
189 int paintCount = SafeCount(src.fPaints); in SkPicturePlayback()
195 fPaints = SkTRefArray<SkPaint>::Create(paintCount); in SkPicturePlayback()
202 &fPaints->writableAt(i), bmHeap, tfPlayback); in SkPicturePlayback()
205 fPaints->writableAt(i) = src.fPaints->at(i); in SkPicturePlayback()
211 fPaints = SkSafeRef(src.fPaints); in SkPicturePlayback()
228 fPaints = NULL; in init()
247 SkSafeUnref(fPaints); in ~SkPicturePlayback()
265 SafeCount(fPaints), SafeCount(fPaints) * sizeof(SkPaint)); in dumpSize()
357 if ((n = SafeCount(fPaints)) > 0) { in flattenToBuffer()
[all …]
DSkPicture.cpp197 int paintCount = SafeCount(fPlayback->fPaints); in clone()
221 if (NeedsDeepCopy(fPlayback->fPaints->at(i))) { in clone()
224 fPlayback->fPaints->at(i), 0); in clone()
DSkPicturePlayback.h219 return &(*fPaints)[index - 1]; in getPaint()
312 SkTRefArray<SkPaint>* fPaints; variable
DSkPictureRecord.cpp44 , fPaints(&fFlattenableHeap) in SkPictureRecord()
641 if ((*gPictureRecordOpts[opt].fProc)(&fWriter, fRestoreOffsetStack.top(), &fPaints)) { in willRestore()
1594 return fPaints.findAndReturnFlat(paint); in getFlatPaintData()
1748 int count = fPaints.count(); in paints()
1750 result += sizeof(fPaints[index]) + fPaints[index]->size(); in paints()
1810 int count = fPaints.count(); in validatePaints()
1813 const SkFlatData* paint = fPaints[index]; in validatePaints()
DSkPictureRecord.h317 SkPaintDictionary fPaints; variable
/external/skia/src/core/
DSkPicturePlayback.cpp131 fPaints = record.fPaints.unflattenToArray(); in SkPicturePlayback()
189 int paintCount = SafeCount(src.fPaints); in SkPicturePlayback()
195 fPaints = SkTRefArray<SkPaint>::Create(paintCount); in SkPicturePlayback()
202 &fPaints->writableAt(i), bmHeap, tfPlayback); in SkPicturePlayback()
205 fPaints->writableAt(i) = src.fPaints->at(i); in SkPicturePlayback()
211 fPaints = SkSafeRef(src.fPaints); in SkPicturePlayback()
228 fPaints = NULL; in init()
247 SkSafeUnref(fPaints); in ~SkPicturePlayback()
265 SafeCount(fPaints), SafeCount(fPaints) * sizeof(SkPaint)); in dumpSize()
357 if ((n = SafeCount(fPaints)) > 0) { in flattenToBuffer()
[all …]
DSkPicture.cpp197 int paintCount = SafeCount(fPlayback->fPaints); in clone()
221 if (NeedsDeepCopy(fPlayback->fPaints->at(i))) { in clone()
224 fPlayback->fPaints->at(i), 0); in clone()
DSkPicturePlayback.h219 return &(*fPaints)[index - 1]; in getPaint()
312 SkTRefArray<SkPaint>* fPaints; variable
DSkPictureRecord.cpp44 , fPaints(&fFlattenableHeap) in SkPictureRecord()
641 if ((*gPictureRecordOpts[opt].fProc)(&fWriter, fRestoreOffsetStack.top(), &fPaints)) { in willRestore()
1594 return fPaints.findAndReturnFlat(paint); in getFlatPaintData()
1748 int count = fPaints.count(); in paints()
1750 result += sizeof(fPaints[index]) + fPaints[index]->size(); in paints()
1810 int count = fPaints.count(); in validatePaints()
1813 const SkFlatData* paint = fPaints[index]; in validatePaints()
DSkPictureRecord.h317 SkPaintDictionary fPaints; variable
/external/chromium_org/third_party/skia/tests/
DCanvasTest.cpp687 referenceRecord->fPaints.count() == in AssertFlattenedObjectsEqual()
688 testRecord->fPaints.count(), testStep->assertMessage()); in AssertFlattenedObjectsEqual()
689 for (int i = 0; i < referenceRecord->fPaints.count(); ++i) { in AssertFlattenedObjectsEqual()
691 EQ(referenceRecord->fPaints[i], testRecord->fPaints[i]), in AssertFlattenedObjectsEqual()
/external/skia/tests/
DCanvasTest.cpp687 referenceRecord->fPaints.count() == in AssertFlattenedObjectsEqual()
688 testRecord->fPaints.count(), testStep->assertMessage()); in AssertFlattenedObjectsEqual()
689 for (int i = 0; i < referenceRecord->fPaints.count(); ++i) { in AssertFlattenedObjectsEqual()
691 EQ(referenceRecord->fPaints[i], testRecord->fPaints[i]), in AssertFlattenedObjectsEqual()