/external/skia/src/animator/ |
D | SkPaintParts.cpp | 25 SkPaintPart::SkPaintPart() : fPaint(NULL) { in SkPaintPart() 29 return fPaint; in getParent() 36 fPaint = (SkDrawPaint*) parent; in setParent() 43 if (fPaint->maskFilter != (SkDrawMaskFilter*) -1) in add() 45 fPaint->maskFilter = this; in add() 46 fPaint->fOwnsMaskFilter = true; in add() 57 if (fPaint->isPaint()) { in add() 58 if (fPaint->pathEffect != (SkDrawPathEffect*) -1) in add() 60 fPaint->pathEffect = this; in add() 61 fPaint->fOwnsPathEffect = true; in add() [all …]
|
D | SkDrawShader.cpp | 40 if (fPaint->shader != (SkDrawShader*) -1) in add() 42 fPaint->shader = this; in add() 43 fPaint->fOwnsShader = true; in add() 67 if (fPaint->shader != (SkDrawShader*) -1) in add() 69 fPaint->shader = this; in add() 70 fPaint->fOwnsShader = true; in add()
|
D | SkDrawSaveLayer.cpp | 46 SkPaint* save = maker.fPaint; in draw() 56 SkPaint local = SkPaint(*maker.fPaint); in draw() 57 maker.fPaint = &local; in draw() 59 maker.fPaint = save; in draw()
|
D | SkDrawColor.cpp | 137 if (fPaint->color != NULL) in add() 139 fPaint->color = this; in add() 140 fPaint->fOwnsColor = true; in add() 181 return fPaint; in getParent() 227 fPaint = (SkDrawPaint*) parent; in setParent()
|
D | SkDrawGroup.cpp | 322 SkPaint* save = maker.fPaint; in draw() 323 SkPaint local = SkPaint(*maker.fPaint); in draw() 324 maker.fPaint = &local; in draw() 326 maker.fPaint = save; in draw()
|
D | SkDrawRectangle.cpp | 58 maker.fCanvas->drawRect(fRect, *maker.fPaint); in draw() 139 maker.fCanvas->drawRoundRect(fRect, rx, ry, *maker.fPaint); in draw()
|
D | SkDrawFull.cpp | 24 maker.fCanvas->drawPaint(*maker.fPaint); in draw()
|
/external/skia/src/effects/ |
D | SkBlurDrawLooper.cpp | 47 fPaint = paint; in init() 57 fSavedColor = fPaint->getColor(); in next() 58 fPaint->setColor(fBlurColor); in next() 59 fPaint->setMaskFilter(fBlur); in next() 65 fPaint->setColor(fSavedColor); in next() 66 fPaint->setMaskFilter(NULL); in next() 80 fPaint->setColor(fSavedColor); in restore() 81 fPaint->setMaskFilter(NULL); in restore()
|
D | SkLayerRasterizer.cpp | 30 SkPaint fPaint; member 44 rec->fPaint.~SkPaint(); in ~SkLayerRasterizer() 51 new (&rec->fPaint) SkPaint(paint); in addLayer() 65 const SkPaint& paint = rec->fPaint; in compute_bounds() 148 draw.drawPath(path, rec->fPaint); in onRasterize() 206 new (&rec->fPaint) SkPaint(buffer); in SkLayerRasterizer() 208 new (&rec->fPaint) SkPaint; in SkLayerRasterizer() 209 paint_read(&rec->fPaint, buffer); in SkLayerRasterizer() 228 rec->fPaint.flatten(buffer); in flatten() 230 paint_write(rec->fPaint, buffer); in flatten()
|
D | SkLayerDrawLooper.cpp | 27 return &rec->fPaint; in addLayer() 32 fIter.fPaint = paint; in init() 41 *fIter.fPaint = rec->fPaint; in next() 54 *fIter.fPaint = fIter.fSavedPaint; in restore() 92 rec->fPaint.flatten(buffer); in flatten()
|
/external/skia/bench/ |
D | TextBench.cpp | 20 SkPaint fPaint; member in TextBench 31 fPaint.setAntiAlias(true); in TextBench() 32 fPaint.setTextSize(SkIntToScalar(ps)); in TextBench() 33 fPaint.setLinearText(linearText); in TextBench() 38 fCount = fPaint.getTextWidths(fText.c_str(), fText.size(), widths); in TextBench() 57 fName.printf("text_%g", SkScalarToFloat(fPaint.getTextSize())); in onGetName() 58 if (fPaint.isLinearText()) { in onGetName() 71 SkPaint paint(fPaint); in onDraw()
|
D | RepeatTileBench.cpp | 80 SkPaint fPaint; member in RepeatTileBench 108 fPaint.setShader(s)->unref(); in RepeatTileBench() 118 SkPaint paint(fPaint); in onDraw()
|
/external/skia/src/views/ |
D | SkListView.cpp | 212 fPaint[kBG_Attr].setColor(0); 213 fPaint[kNormalText_Attr].setTextSize(SkIntToScalar(14)); 214 fPaint[kHiliteText_Attr].setTextSize(SkIntToScalar(14)); 215 fPaint[kHiliteText_Attr].setColor(SK_ColorWHITE); 216 fPaint[kHiliteCell_Attr].setColor(SK_ColorBLUE); 332 return fPaint[attr]; 351 canvas->drawPaint(fPaint[kBG_Attr]); 367 canvas->drawRect(r, fPaint[kHiliteCell_Attr]); 376 fPaint[kNormalText_Attr].measureText(0, NULL, &ascent, &descent); 383 p = &fPaint[kHiliteText_Attr]; [all …]
|
D | SkBGViewArtist.cpp | 7 fPaint.setColor(c); in SkBGViewArtist() 17 canvas->drawPaint(fPaint); in onDraw() 22 SkPaint_Inflate(&fPaint, dom, node); in onInflate()
|
D | SkWidgetViews.cpp | 361 init_skin_paint(kStaticText_SkinEnum, &fPaint); in SkStaticTextView() 372 SkScalar width = fPaint.measureText(fText.c_str(), fText.size()); in computeSize() 378 …int lines = width > 0 ? SkTextLineBreaker::CountLines(fText.c_str(), fText.size(), fPaint, width) … in computeSize() 380 this->setHeight(lines * fPaint.getFontSpacing() + fMargin.fY * 2); in computeSize() 456 *paint = fPaint; in getPaint() 461 if (fPaint != paint) in setPaint() 463 fPaint = paint; in setPaint() 481 box.draw(canvas, fText.c_str(), fText.size(), fPaint); in onDraw() 512 inflate_paint(dom, node, &fPaint); in onInflate()
|
D | SkWidgets.cpp | 345 SkScalar width = fPaint.measureText(fText.c_str(), fText.size(), NULL, NULL); 351 …int lines = width > 0 ? SkTextLineBreaker::CountLines(fText.c_str(), fText.size(), fPaint, width) … 354 (void)fPaint.measureText(0, NULL, &before, &after); 430 *paint = fPaint; 435 if (fPaint != paint) 437 fPaint = paint; 455 box.draw(canvas, fText.c_str(), fText.size(), fPaint); 484 SkPaint_Inflate(&fPaint, dom, node);
|
D | SkWidget.cpp | 149 SkPaint::Align align = fPaint.getTextAlign(); 165 fPaint.measureText(NULL, 0, &y, NULL); 170 if (fInterp->draw(canvas, fText, x, y, fPaint)) 179 canvas->drawText(fText.c_str(), fText.size(), x, y, fPaint); 197 SkPaint_Inflate(&fPaint, dom, node);
|
/external/skia/include/views/ |
D | SkBGViewArtist.h | 28 const SkPaint& paint() const { return fPaint; } in paint() 29 SkPaint& paint() { return fPaint; } in paint() 37 SkPaint fPaint;
|
D | SkWidget.h | 164 SkPaint fPaint; variable 316 SkPaint& paint() { return fPaint; } in paint() 324 SkPaint fPaint; variable 403 SkPaint fPaint[kAttrCount]; 460 SkPaint fPaint[kAttrCount]; variable
|
/external/skia/src/core/ |
D | SkPaint.cpp | 616 SkAutoRestorePaintTextSizeAndFrame(const SkPaint* paint) : fPaint((SkPaint*)paint) in SkAutoRestorePaintTextSizeAndFrame() 620 fPaint->setStyle(SkPaint::kFill_Style); in SkAutoRestorePaintTextSizeAndFrame() 624 fPaint->setStyle(fStyle); in ~SkAutoRestorePaintTextSizeAndFrame() 625 fPaint->setTextSize(fTextSize); in ~SkAutoRestorePaintTextSizeAndFrame() 629 SkPaint* fPaint; member in SkAutoRestorePaintTextSizeAndFrame 1578 : fPaint(paint) /* make a copy of the paint */ in SkTextToPathIter() 1584 fPaint.setLinearText(true); in SkTextToPathIter() 1585 fPaint.setMaskFilter(NULL); // don't want this affecting our path-cache lookup in SkTextToPathIter() 1587 if (fPaint.getPathEffect() == NULL && !has_thick_frame(fPaint)) in SkTextToPathIter() 1591 if (fPaint.isLinearText() && !applyStrokeAndPathEffects) in SkTextToPathIter() [all …]
|
D | SkComposeShader.cpp | 67 fPaint = paint; in SkAutoAlphaRestore() 72 fPaint->setAlpha(fAlpha); in ~SkAutoAlphaRestore() 75 SkPaint* fPaint; member in SkAutoAlphaRestore
|
D | SkCanvas.cpp | 75 SkPaint* fPaint; // may be null (in the future) member 87 fPaint = paint ? SkNEW_ARGS(SkPaint, (*paint)) : NULL; in DeviceCM() 95 SkDELETE(fPaint); in ~DeviceCM() 242 fPaint = rec->fPaint; in next() 263 const SkPaint* getPaint() const { return fPaint; } in getPaint() 267 const SkPaint* fPaint; // May be null. member in SkDrawIter 280 : fCanvas(canvas), fPaint((SkPaint*)&paint), fType(t) { in AutoDrawLooper() 293 fFilter->restore(fCanvas, fPaint, fType); in ~AutoDrawLooper() 306 filter->restore(fCanvas, fPaint, fType); in next() 321 fNeedFilterRestore = result = filter->filter(fCanvas, fPaint, in next() [all …]
|
D | SkDraw.cpp | 99 : fPaint((SkPaint*)paint) { in SkAutoBitmapShaderInstall() 102 fPaint->setShader(SkShader::CreateBitmapShader( src, in SkAutoBitmapShaderInstall() 107 SkShader* shader = fPaint->getShader(); in ~SkAutoBitmapShaderInstall() 109 fPaint->setShader(fPrevShader); in ~SkAutoBitmapShaderInstall() 119 SkPaint* fPaint; member in SkAutoBitmapShaderInstall 127 : fPaint((SkPaint&)paint) { in SkAutoPaintStyleRestore() 129 fPaint.setStyle(style); // change it to the specified style in SkAutoPaintStyleRestore() 132 fPaint.setStyle(fStyle); // restore the old in ~SkAutoPaintStyleRestore() 135 SkPaint& fPaint; member in SkAutoPaintStyleRestore 319 const SkPaint* fPaint; member [all …]
|
/external/skia/include/effects/ |
D | SkLayerDrawLooper.h | 45 SkPaint fPaint; member 55 SkPaint* fPaint; member
|
/external/skia/include/core/ |
D | SkDraw.h | 103 const SkPaint& getPaint() const { return fPaint; } in getPaint() 110 SkPaint fPaint; variable
|