/frameworks/base/libs/hwui/ |
D | RecordingCanvas.h | 86 void saveLayer(const SkRect*, const SkPaint*, const SkImageFilter*, SkCanvas::SaveLayerFlags); 101 void drawPaint(const SkPaint&); 102 void drawBehind(const SkPaint&); 103 void drawPath(const SkPath&, const SkPaint&); 104 void drawRect(const SkRect&, const SkPaint&); 105 void drawRegion(const SkRegion&, const SkPaint&); 106 void drawOval(const SkRect&, const SkPaint&); 107 void drawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&); 108 void drawRRect(const SkRRect&, const SkPaint&); 109 void drawDRRect(const SkRRect&, const SkRRect&, const SkPaint&); [all …]
|
D | RecordingCanvas.cpp | 101 SaveLayer(const SkRect* bounds, const SkPaint* paint, const SkImageFilter* backdrop, in SaveLayer() 113 SkPaint paint; 192 DrawPaint(const SkPaint& paint) : paint(paint) {} in DrawPaint() 193 SkPaint paint; 198 DrawBehind(const SkPaint& paint) : paint(paint) {} in DrawBehind() 199 SkPaint paint; 204 DrawPath(const SkPath& path, const SkPaint& paint) : path(path), paint(paint) {} in DrawPath() 206 SkPaint paint; 211 DrawRect(const SkRect& rect, const SkPaint& paint) : rect(rect), paint(paint) {} in DrawRect() 213 SkPaint paint; [all …]
|
D | SkiaCanvas.h | 76 virtual void restoreUnclippedLayer(int saveCount, const SkPaint& paint) override; 78 …virtual int saveLayer(float left, float top, float right, float bottom, const SkPaint* paint) over… 102 virtual void drawPaint(const SkPaint& paint) override; 170 void onFilterPaint(SkPaint& paint); 172 SkPaint filterPaint(const SkPaint& src) { in filterPaint() 173 SkPaint dst(src); in filterPaint() 180 void applyLooper(const Paint* paint, Proc proc, void (*preFilter)(SkPaint&) = nullptr) { 182 const SkPaint* skpPtr = paint; 183 SkPaint skp = skpPtr ? *skpPtr : SkPaint(); 189 looper->apply(skp, [&](SkPoint offset, const SkPaint& modifiedPaint) {
|
D | SkiaCanvas.cpp | 164 int SkiaCanvas::saveLayer(float left, float top, float right, float bottom, const SkPaint* paint) { in saveLayer() 173 SkPaint alphaPaint; in saveLayerAlpha() 185 void SkiaCanvas::restoreUnclippedLayer(int restoreCount, const SkPaint& paint) { in restoreUnclippedLayer() 249 SkPaint paint = SkPaint(); in punchHole() 442 void SkiaCanvas::onFilterPaint(SkPaint& paint) { in onFilterPaint() 448 void SkiaCanvas::drawPaint(const SkPaint& paint) { in drawPaint() 467 applyLooper(&paint, [&](const SkPaint& p) { mCanvas->drawPoints(mode, count, pts.get(), p); }); in drawPoints() 471 applyLooper(&paint, [&](const SkPaint& p) { mCanvas->drawPoint(x, y, p); }); in drawPoint() 481 [&](const SkPaint& p) { mCanvas->drawLine(startX, startY, stopX, stopY, p); }); in drawLine() 491 applyLooper(&paint, [&](const SkPaint& p) { in drawRect() [all …]
|
D | IProfileRenderer.h | 25 const SkPaint& paint) = 0; 26 virtual void drawRects(const float* rects, int count, const SkPaint& paint) = 0;
|
D | CanvasProperty.h | 41 explicit CanvasPropertyPaint(const SkPaint& initialValue) : value(initialValue) {} in CanvasPropertyPaint() 43 SkPaint value;
|
D | CanvasTransform.h | 41 bool transformPaint(ColorTransform transform, SkPaint* paint); 43 bool transformPaint(ColorTransform transform, SkPaint* paint, BitmapPalette palette);
|
D | CanvasTransform.cpp | 78 static void applyColorTransform(ColorTransform transform, SkPaint& paint) { in applyColorTransform() 126 static BitmapPalette filterPalette(const SkPaint* paint, BitmapPalette palette) { in filterPalette() 136 bool transformPaint(ColorTransform transform, SkPaint* paint) { in transformPaint() 142 bool transformPaint(ColorTransform transform, SkPaint* paint, BitmapPalette palette) { in transformPaint()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | FatalTestCanvas.h | 30 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) { in onDrawDRRect() argument 33 void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, const SkPaint& paint) { in onDrawTextBlob() 37 SkBlendMode, const SkPaint& paint) { in onDrawPatch() 40 void onDrawPaint(const SkPaint&) { ADD_FAILURE() << "onDrawPaint not expected in this test"; } in onDrawPaint() argument 41 void onDrawRect(const SkRect&, const SkPaint&) { in onDrawRect() argument 44 void onDrawRegion(const SkRegion& region, const SkPaint& paint) { in onDrawRegion() 47 void onDrawOval(const SkRect&, const SkPaint&) { in onDrawOval() argument 51 const SkPaint&) { in onDrawArc() argument 54 void onDrawRRect(const SkRRect&, const SkPaint&) { in onDrawRRect() argument 57 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPaint&) { in onDrawPoints() argument [all …]
|
D | CanvasOpTests.cpp | 139 .paint = SkPaint{} in TEST() 163 .paint = SkPaint{}, in TEST() 182 .paint = SkPaint{} in TEST() 205 .paint = SkPaint{}, in TEST() 220 .paint = SkPaint{}, in TEST() 237 .paint = SkPaint{}, in TEST() 259 .paint = SkPaint{}, in TEST() 274 .paint = SkPaint{}, in TEST() 315 .paint = SkPaint{} in TEST() 332 .paint = SkPaint{} in TEST() [all …]
|
/frameworks/base/libs/hwui/tests/common/ |
D | CallCountingCanvas.h | 45 void onDrawPaint(const SkPaint& paint) override { in onDrawPaint() 50 void onDrawBehind(const SkPaint&) override { in onDrawBehind() argument 55 void onDrawRect(const SkRect& rect, const SkPaint& paint) override { in onDrawRect() 60 void onDrawRRect(const SkRRect& rrect, const SkPaint& paint) override { in onDrawRRect() 66 const SkPaint& paint) override { in onDrawDRRect() 71 void onDrawOval(const SkRect& rect, const SkPaint& paint) override { in onDrawOval() 77 const SkPaint& paint) override { in onDrawArc() 82 void onDrawPath(const SkPath& path, const SkPaint& paint) override { in onDrawPath() 87 void onDrawRegion(const SkRegion& region, const SkPaint& paint) override { in onDrawRegion() 93 const SkPaint& paint) override { in onDrawTextBlob() [all …]
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | DumpOpsCanvas.h | 55 void onDrawPaint(const SkPaint&) override { mOutput << mIdent << "drawPaint" << std::endl; } in onDrawPaint() argument 57 void onDrawPath(const SkPath&, const SkPaint&) override { in onDrawPath() argument 61 void onDrawRect(const SkRect&, const SkPaint&) override { in onDrawRect() argument 65 void onDrawRegion(const SkRegion&, const SkPaint&) override { in onDrawRegion() argument 69 void onDrawOval(const SkRect&, const SkPaint&) override { in onDrawOval() argument 73 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) override { in onDrawArc() argument 77 void onDrawRRect(const SkRRect&, const SkPaint&) override { in onDrawRRect() argument 81 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override { in onDrawDRRect() argument 85 void onDrawTextBlob(const SkTextBlob*, SkScalar, SkScalar, const SkPaint&) override { in onDrawTextBlob() argument 90 const SkPaint*) override { in onDrawImage2() argument [all …]
|
D | SkiaRecordingCanvas.cpp | 70 SkPaint paint = SkPaint(); in punchHole() 187 void SkiaRecordingCanvas::FilterForImage(SkPaint& paint) { in FilterForImage() 195 static SkFilterMode Paint_to_filter(const SkPaint& paint) { in Paint_to_filter() 200 static SkSamplingOptions Paint_to_sampling(const SkPaint& paint) { in Paint_to_sampling() 210 [&](const SkPaint& p) { in drawBitmap() 231 [&](const SkPaint& p) { in drawBitmap() 251 [&](const SkPaint& p) { in drawBitmap() 293 [&](const SkPaint& p) { in drawNinePatch()
|
D | SkiaProfileRenderer.h | 28 void drawRect(float left, float top, float right, float bottom, const SkPaint& paint) override; 29 void drawRects(const float* rects, int count, const SkPaint& paint) override;
|
D | TransformCanvas.cpp | 30 SkPaint paint; in onDrawAnnotation() 41 bool TransformCanvas::onFilter(SkPaint& paint) const { in onFilter()
|
D | SkiaProfileRenderer.cpp | 23 const SkPaint& paint) { in drawRect() 28 void SkiaProfileRenderer::drawRects(const float* rects, int count, const SkPaint& paint) { in drawRects()
|
/frameworks/base/libs/hwui/canvas/ |
D | CanvasOps.h | 168 SkPaint paint; 177 SkPaint paint; 185 SkPaint paint; 201 SkPaint paint; 209 SkPaint paint; 219 SkPaint paint; 230 SkPaint paint; 242 SkPaint paint; 252 SkPaint paint; 265 SkPaint paint; [all …]
|
/frameworks/base/libs/hwui/hwui/ |
D | PaintImpl.cpp | 22 : SkPaint() in Paint() 35 : SkPaint(paint) in Paint() 54 SkPaint::operator=(other); in operator =() 72 return static_cast<const SkPaint&>(a) == static_cast<const SkPaint&>(b) && in operator ==() 85 SkPaint::reset(); in reset() 100 SkPaint::setAntiAlias(aa); in setAntiAlias() 130 static uint32_t paintToLegacyFlags(const SkPaint& paint) { in paintToLegacyFlags() 150 static void applyLegacyFlagsToPaint(uint32_t flags, SkPaint* paint) { in applyLegacyFlagsToPaint() 175 uint32_t Paint::GetSkPaintJavaFlags(const SkPaint& paint) { in GetSkPaintJavaFlags() 179 void Paint::SetSkPaintJavaFlags(SkPaint* paint, uint32_t flags) { in SetSkPaintJavaFlags()
|
D | BlurDrawLooper.h | 35 void apply(const SkPaint& paint, DrawProc proc) const { in apply() 36 SkPaint p(paint); in apply() 46 SkPoint apply(SkPaint* paint) const;
|
D | PaintFilter.h | 4 class SkPaint; variable 14 virtual void filter(SkPaint*) = 0;
|
D | Paint.h | 35 class Paint : public SkPaint { 71 bool nothingToDraw() const { return !mLooper && SkPaint::nothingToDraw(); } in nothingToDraw() 153 static uint32_t GetSkPaintJavaFlags(const SkPaint&); 154 static void SetSkPaintJavaFlags(SkPaint*, uint32_t flags);
|
D | BlurDrawLooper.cpp | 27 SkPoint BlurDrawLooper::apply(SkPaint* paint) const { in apply() 38 SkPaint tmp; in Make()
|
/frameworks/base/libs/hwui/utils/ |
D | PaintUtils.h | 35 static inline GLenum getFilter(const SkPaint* paint) { in getFilter() 42 static bool isOpaquePaint(const SkPaint* paint) { in isOpaquePaint() 61 static inline SkBlendMode getBlendModeDirect(const SkPaint* paint) { in getBlendModeDirect() 65 static inline int getAlphaDirect(const SkPaint* paint) { in getAlphaDirect()
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
D | ListViewAnimation.cpp | 40 SkPaint paint; in createRandomCharIcon() 68 SkPaint paint; in createBoxBitmap() 71 paint.setStyle(filled ? SkPaint::kStrokeAndFill_Style : SkPaint::kStroke_Style); in createBoxBitmap()
|
D | ShapeAnimation.cpp | 71 SkPaint::Style styles[] = {SkPaint::kStroke_Style, SkPaint::kFill_Style, in createContent() 72 SkPaint::kStrokeAndFill_Style}; in createContent()
|