/external/chromium_org/third_party/skia/src/animator/ |
D | SkPaintPart.cpp | 15 SkPaintPart::SkPaintPart() : fPaint(NULL) { in SkPaintPart() 19 return fPaint; in getParent() 26 fPaint = (SkDrawPaint*) parent; in setParent() 33 if (fPaint->maskFilter != (SkDrawMaskFilter*) -1) in add() 35 fPaint->maskFilter = this; in add() 36 fPaint->fOwnsMaskFilter = true; in add() 47 if (fPaint->isPaint()) { in add() 48 if (fPaint->pathEffect != (SkDrawPathEffect*) -1) in add() 50 fPaint->pathEffect = this; in add() 51 fPaint->fOwnsPathEffect = true; in add() [all …]
|
D | SkDrawShader.cpp | 32 if (fPaint->shader != (SkDrawShader*) -1) in add() 34 fPaint->shader = this; in add() 35 fPaint->fOwnsShader = true; in add() 58 if (fPaint->shader != (SkDrawShader*) -1) in add() 60 fPaint->shader = this; in add() 61 fPaint->fOwnsShader = true; in add()
|
/external/skia/src/animator/ |
D | SkPaintPart.cpp | 15 SkPaintPart::SkPaintPart() : fPaint(NULL) { in SkPaintPart() 19 return fPaint; in getParent() 26 fPaint = (SkDrawPaint*) parent; in setParent() 33 if (fPaint->maskFilter != (SkDrawMaskFilter*) -1) in add() 35 fPaint->maskFilter = this; in add() 36 fPaint->fOwnsMaskFilter = true; in add() 47 if (fPaint->isPaint()) { in add() 48 if (fPaint->pathEffect != (SkDrawPathEffect*) -1) in add() 50 fPaint->pathEffect = this; in add() 51 fPaint->fOwnsPathEffect = true; in add() [all …]
|
D | SkDrawShader.cpp | 32 if (fPaint->shader != (SkDrawShader*) -1) in add() 34 fPaint->shader = this; in add() 35 fPaint->fOwnsShader = true; in add() 58 if (fPaint->shader != (SkDrawShader*) -1) in add() 60 fPaint->shader = this; in add() 61 fPaint->fOwnsShader = true; in add()
|
/external/skia/bench/ |
D | TextBench.cpp | 42 SkPaint fPaint; member in TextBench 56 fPaint.setAntiAlias(kBW != fq); in TextBench() 57 fPaint.setLCDRenderText(kLCD == fq); in TextBench() 58 fPaint.setTextSize(SkIntToScalar(ps)); in TextBench() 59 fPaint.setColor(color); in TextBench() 64 fPaint.getTextWidths(text, len, adv); in TextBench() 81 fName.printf("text_%g", SkScalarToFloat(fPaint.getTextSize())); in onGetName() 85 fName.appendf("_%s", fontQualityName(fPaint)); in onGetName() 86 if (SK_ColorBLACK != fPaint.getColor()) { in onGetName() 87 fName.appendf("_%02X", fPaint.getAlpha()); in onGetName() [all …]
|
D | ShaderMaskBench.cpp | 36 SkPaint fPaint; member in ShaderMaskBench 45 fPaint.setAntiAlias(kBW != fq); in ShaderMaskBench() 46 fPaint.setLCDRenderText(kLCD == fq); in ShaderMaskBench() 47 fPaint.setShader(new SkColorShader(isOpaque ? 0xFFFFFFFF : 0x80808080))->unref(); in ShaderMaskBench() 53 fName.appendf("_%s", fontQualityName(fPaint)); in onGetName() 54 fName.appendf("_%02X", fPaint.getAlpha()); in onGetName() 62 SkPaint paint(fPaint); in onDraw() 65 paint.setAlpha(fPaint.getAlpha()); in onDraw()
|
D | StrokeBench.cpp | 17 SkPaint fPaint; member 26 rec->fCanvas->drawRect(r, rec->fPaint); in draw_rect() 35 rec->fCanvas->drawRRect(rec->fRRect, rec->fPaint); in draw_rrect() 45 rec->fCanvas->drawOval(r, rec->fPaint); in draw_oval() 83 this->setupPaint(&fRec.fPaint); in onDraw() 84 fRec.fPaint.setStyle(SkPaint::kStroke_Style); in onDraw() 85 fRec.fPaint.setStrokeJoin(fJoin); in onDraw() 86 fRec.fPaint.setStrokeWidth(5); in onDraw()
|
/external/chromium_org/third_party/skia/bench/ |
D | TextBench.cpp | 42 SkPaint fPaint; member in TextBench 56 fPaint.setAntiAlias(kBW != fq); in TextBench() 57 fPaint.setLCDRenderText(kLCD == fq); in TextBench() 58 fPaint.setTextSize(SkIntToScalar(ps)); in TextBench() 59 fPaint.setColor(color); in TextBench() 64 fPaint.getTextWidths(text, len, adv); in TextBench() 81 fName.printf("text_%g", SkScalarToFloat(fPaint.getTextSize())); in onGetName() 85 fName.appendf("_%s", fontQualityName(fPaint)); in onGetName() 86 if (SK_ColorBLACK != fPaint.getColor()) { in onGetName() 87 fName.appendf("_%02X", fPaint.getAlpha()); in onGetName() [all …]
|
D | StrokeBench.cpp | 17 SkPaint fPaint; member 26 rec->fCanvas->drawRect(r, rec->fPaint); in draw_rect() 35 rec->fCanvas->drawRRect(rec->fRRect, rec->fPaint); in draw_rrect() 45 rec->fCanvas->drawOval(r, rec->fPaint); in draw_oval() 83 this->setupPaint(&fRec.fPaint); in onDraw() 84 fRec.fPaint.setStyle(SkPaint::kStroke_Style); in onDraw() 85 fRec.fPaint.setStrokeJoin(fJoin); in onDraw() 86 fRec.fPaint.setStrokeWidth(5); in onDraw()
|
D | ShaderMaskBench.cpp | 36 SkPaint fPaint; member in ShaderMaskBench 45 fPaint.setAntiAlias(kBW != fq); in ShaderMaskBench() 46 fPaint.setLCDRenderText(kLCD == fq); in ShaderMaskBench() 47 fPaint.setShader(new SkColorShader(isOpaque ? 0xFFFFFFFF : 0x80808080))->unref(); in ShaderMaskBench() 53 fName.appendf("_%s", fontQualityName(fPaint)); in onGetName() 54 fName.appendf("_%02X", fPaint.getAlpha()); in onGetName() 62 SkPaint paint(fPaint); in onDraw() 65 paint.setAlpha(fPaint.getAlpha()); in onDraw()
|
/external/skia/gm/ |
D | variedtext.cpp | 54 fPaint.setAntiAlias(true); in onOnceBeforeDraw() 55 fPaint.setLCDRenderText(fLCD); in onOnceBeforeDraw() 88 fPaint.setColor(fColors[i]); in onOnceBeforeDraw() 89 fPaint.setTypeface(fTypefaces[i]); in onOnceBeforeDraw() 90 fPaint.setTextSize(fPtSizes[i]); in onOnceBeforeDraw() 92 fPaint.measureText(fStrings[i].c_str(), fStrings[i].size(), &r); in onOnceBeforeDraw() 116 fPaint.setColor(fColors[i]); in onDraw() 117 fPaint.setTextSize(fPtSizes[i]); in onDraw() 118 fPaint.setTypeface(fTypefaces[i]); in onDraw() 123 canvas->drawText(fStrings[i].c_str(), fStrings[i].size(), 0, 0, fPaint); in onDraw() [all …]
|
/external/chromium_org/third_party/skia/gm/ |
D | variedtext.cpp | 54 fPaint.setAntiAlias(true); in onOnceBeforeDraw() 55 fPaint.setLCDRenderText(fLCD); in onOnceBeforeDraw() 88 fPaint.setColor(fColors[i]); in onOnceBeforeDraw() 89 fPaint.setTypeface(fTypefaces[i]); in onOnceBeforeDraw() 90 fPaint.setTextSize(fPtSizes[i]); in onOnceBeforeDraw() 92 fPaint.measureText(fStrings[i].c_str(), fStrings[i].size(), &r); in onOnceBeforeDraw() 116 fPaint.setColor(fColors[i]); in onDraw() 117 fPaint.setTextSize(fPtSizes[i]); in onDraw() 118 fPaint.setTypeface(fTypefaces[i]); in onDraw() 123 canvas->drawText(fStrings[i].c_str(), fStrings[i].size(), 0, 0, fPaint); in onDraw() [all …]
|
/external/skia/src/pdf/ |
D | SkPDFGraphicState.cpp | 58 int index = Find(fPaint); in ~SkPDFGraphicState() 196 : fPaint(paint), in SkPDFGraphicState() 208 new SkPDFScalar(SkScalarDiv(fPaint.getAlpha(), 0xFF))); in populateDict() 216 SkASSERT(fPaint.getStrokeCap() >= 0 && fPaint.getStrokeCap() <= 2); in populateDict() 217 insertInt("LC", fPaint.getStrokeCap()); in populateDict() 223 SkASSERT(fPaint.getStrokeJoin() >= 0 && fPaint.getStrokeJoin() <= 2); in populateDict() 224 insertInt("LJ", fPaint.getStrokeJoin()); in populateDict() 226 insertScalar("LW", fPaint.getStrokeWidth()); in populateDict() 227 insertScalar("ML", fPaint.getStrokeMiter()); in populateDict() 232 if (fPaint.getXfermode()) in populateDict() [all …]
|
D | SkPDFGraphicState.h | 77 const SkPaint fPaint; 85 const SkPaint* fPaint; variable 90 fPaint(&gs->fPaint) {} in GSCanonicalEntry() 93 fPaint(paint) {} in GSCanonicalEntry()
|
/external/chromium_org/third_party/skia/src/pdf/ |
D | SkPDFGraphicState.cpp | 58 int index = Find(fPaint); in ~SkPDFGraphicState() 197 : fPaint(paint), in SkPDFGraphicState() 209 new SkPDFScalar(SkScalarDiv(fPaint.getAlpha(), 0xFF))); in populateDict() 217 SkASSERT(fPaint.getStrokeCap() >= 0 && fPaint.getStrokeCap() <= 2); in populateDict() 218 insertInt("LC", fPaint.getStrokeCap()); in populateDict() 224 SkASSERT(fPaint.getStrokeJoin() >= 0 && fPaint.getStrokeJoin() <= 2); in populateDict() 225 insertInt("LJ", fPaint.getStrokeJoin()); in populateDict() 227 insertScalar("LW", fPaint.getStrokeWidth()); in populateDict() 228 insertScalar("ML", fPaint.getStrokeMiter()); in populateDict() 233 if (fPaint.getXfermode()) in populateDict() [all …]
|
D | SkPDFGraphicState.h | 77 const SkPaint fPaint; 85 const SkPaint* fPaint; variable 90 fPaint(&gs->fPaint) {} in GSCanonicalEntry() 93 fPaint(paint) {} in GSCanonicalEntry()
|
/external/chromium_org/third_party/skia/src/utils/debugger/ |
D | SkDrawCommand.cpp | 285 fPaint = *paint; in SkDrawBitmapCommand() 286 fPaintPtr = &fPaint; in SkDrawBitmapCommand() 315 fPaint = *paint; in SkDrawBitmapMatrixCommand() 316 fPaintPtr = &fPaint; in SkDrawBitmapMatrixCommand() 344 fPaint = *paint; in SkDrawBitmapNineCommand() 345 fPaintPtr = &fPaint; in SkDrawBitmapNineCommand() 380 fPaint = *paint; in SkDrawBitmapRectCommand() 381 fPaintPtr = &fPaint; in SkDrawBitmapRectCommand() 447 fPaint = paint; in SkDrawOvalCommand() 454 canvas->drawOval(fOval, fPaint); in execute() [all …]
|
/external/skia/src/utils/debugger/ |
D | SkDrawCommand.cpp | 282 fPaint = *paint; in SkDrawBitmapCommand() 283 fPaintPtr = &fPaint; in SkDrawBitmapCommand() 312 fPaint = *paint; in SkDrawBitmapMatrixCommand() 313 fPaintPtr = &fPaint; in SkDrawBitmapMatrixCommand() 341 fPaint = *paint; in SkDrawBitmapNineCommand() 342 fPaintPtr = &fPaint; in SkDrawBitmapNineCommand() 377 fPaint = *paint; in SkDrawBitmapRectCommand() 378 fPaintPtr = &fPaint; in SkDrawBitmapRectCommand() 444 fPaint = paint; in SkDrawOvalCommand() 451 canvas->drawOval(fOval, fPaint); in execute() [all …]
|
/external/skia/samplecode/ |
D | SampleEffects.cpp | 66 SkPaint fPaint[SK_ARRAY_COUNT(gPaintProcs)]; member in EffectsView 85 fPaint[i].setAntiAlias(true); in EffectsView() 86 fPaint[i].setColor(COLOR); in EffectsView() 87 gPaintProcs[i](&fPaint[i]); in EffectsView() 110 for (size_t i = 0; i < SK_ARRAY_COUNT(fPaint); i++) { in onDrawContent() 111 canvas->drawPath(fPath, fPaint[i]); in onDrawContent()
|
/external/chromium_org/third_party/skia/samplecode/ |
D | SampleEffects.cpp | 66 SkPaint fPaint[SK_ARRAY_COUNT(gPaintProcs)]; member in EffectsView 85 fPaint[i].setAntiAlias(true); in EffectsView() 86 fPaint[i].setColor(COLOR); in EffectsView() 87 gPaintProcs[i](&fPaint[i]); in EffectsView() 110 for (size_t i = 0; i < SK_ARRAY_COUNT(fPaint); i++) { in onDrawContent() 111 canvas->drawPath(fPath, fPaint[i]); in onDrawContent()
|
D | SampleMeasure.cpp | 83 SkPaint fPaint; member in MeasureView 86 fPaint.setAntiAlias(true); in MeasureView() 87 fPaint.setTextSize(SkIntToScalar(64)); in MeasureView() 102 canvas->translate(fPaint.getTextSize(), fPaint.getTextSize()); in onDrawContent() 103 doMeasure(canvas, fPaint, "Hamburgefons"); in onDrawContent()
|
/external/skia/src/views/animated/ |
D | SkStaticTextView.cpp | 39 SkScalar width = fPaint.measureText(fText.c_str(), fText.size()); in computeSize() 45 …int lines = width > 0 ? SkTextLineBreaker::CountLines(fText.c_str(), fText.size(), fPaint, width) … in computeSize() 47 this->setHeight(lines * fPaint.getFontSpacing() + fMargin.fY * 2); in computeSize() 123 *paint = fPaint; in getPaint() 128 if (fPaint != paint) in setPaint() 130 fPaint = paint; in setPaint() 148 box.draw(canvas, fText.c_str(), fText.size(), fPaint); in onDraw() 187 inflate_paint(dom, node, &fPaint); in onInflate()
|
/external/chromium_org/third_party/skia/src/views/animated/ |
D | SkStaticTextView.cpp | 39 SkScalar width = fPaint.measureText(fText.c_str(), fText.size()); in computeSize() 45 …int lines = width > 0 ? SkTextLineBreaker::CountLines(fText.c_str(), fText.size(), fPaint, width) … in computeSize() 47 this->setHeight(lines * fPaint.getFontSpacing() + fMargin.fY * 2); in computeSize() 123 *paint = fPaint; in getPaint() 128 if (fPaint != paint) in setPaint() 130 fPaint = paint; in setPaint() 148 box.draw(canvas, fText.c_str(), fText.size(), fPaint); in onDraw() 187 inflate_paint(dom, node, &fPaint); in onInflate()
|
/external/skia/src/effects/ |
D | SkLayerRasterizer.cpp | 24 SkPaint fPaint; member 43 rec->fPaint.~SkPaint(); in clean_up_layers() 59 SkNEW_PLACEMENT_ARGS(&rec->fPaint, SkPaint, (paint)); in addLayer() 73 const SkPaint& paint = rec->fPaint; in compute_bounds() 156 draw.drawPath(path, rec->fPaint); in onRasterize() 172 SkNEW_PLACEMENT(&rec->fPaint, SkPaint); in ReadLayers() 173 buffer.readPaint(&rec->fPaint); in ReadLayers() 189 buffer.writePaint(rec->fPaint); in flatten() 211 SkNEW_PLACEMENT_ARGS(&rec->fPaint, SkPaint, (paint)); in addLayer() 238 SkNEW_PLACEMENT_ARGS(&recCopy->fPaint, SkPaint, (recOrig->fPaint)); in snapshotRasterizer()
|
/external/chromium_org/third_party/skia/src/effects/ |
D | SkLayerRasterizer.cpp | 24 SkPaint fPaint; member 43 rec->fPaint.~SkPaint(); in clean_up_layers() 62 const SkPaint& paint = rec->fPaint; in compute_bounds() 145 draw.drawPath(path, rec->fPaint); in onRasterize() 167 SkNEW_PLACEMENT(&rec->fPaint, SkPaint); in ReadLayers() 168 buffer.readPaint(&rec->fPaint); in ReadLayers() 184 buffer.writePaint(rec->fPaint); in flatten() 206 SkNEW_PLACEMENT_ARGS(&rec->fPaint, SkPaint, (paint)); in addLayer() 233 SkNEW_PLACEMENT_ARGS(&recCopy->fPaint, SkPaint, (recOrig->fPaint)); in snapshotRasterizer()
|