/frameworks/base/libs/hwui/ |
D | RecordingCanvas.h | 76 void saveLayer(const SkRect*, const SkPaint*, const SkImageFilter*, const SkImage*, 91 void drawPaint(const SkPaint&); 92 void drawBehind(const SkPaint&); 93 void drawPath(const SkPath&, const SkPaint&); 94 void drawRect(const SkRect&, const SkPaint&); 95 void drawRegion(const SkRegion&, const SkPaint&); 96 void drawOval(const SkRect&, const SkPaint&); 97 void drawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&); 98 void drawRRect(const SkRRect&, const SkPaint&); 99 void drawDRRect(const SkRRect&, const SkRRect&, const SkPaint&); [all …]
|
D | SkiaCanvas.h | 72 virtual void restoreUnclippedLayer(int saveCount, const SkPaint& paint) override; 74 virtual int saveLayer(float left, float top, float right, float bottom, const SkPaint* paint, 100 virtual void drawPaint(const SkPaint& paint) override; 102 virtual void drawPoint(float x, float y, const SkPaint& paint) override; 103 virtual void drawPoints(const float* points, int count, const SkPaint& paint) override; 105 const SkPaint& paint) override; 106 virtual void drawLines(const float* points, int count, const SkPaint& paint) override; 108 const SkPaint& paint) override; 109 virtual void drawRegion(const SkRegion& region, const SkPaint& paint) override; 111 const SkPaint& paint) override; [all …]
|
D | RecordingCanvas.cpp | 97 SaveLayer(const SkRect* bounds, const SkPaint* paint, const SkImageFilter* backdrop, in SaveLayer() 111 SkPaint paint; 187 DrawPaint(const SkPaint& paint) : paint(paint) {} in DrawPaint() 188 SkPaint paint; 193 DrawBehind(const SkPaint& paint) : paint(paint) {} in DrawBehind() 194 SkPaint paint; 199 DrawPath(const SkPath& path, const SkPaint& paint) : path(path), paint(paint) {} in DrawPath() 201 SkPaint paint; 206 DrawRect(const SkRect& rect, const SkPaint& paint) : rect(rect), paint(paint) {} in DrawRect() 208 SkPaint paint; [all …]
|
D | SkiaCanvas.cpp | 172 int SkiaCanvas::saveLayer(float left, float top, float right, float bottom, const SkPaint* paint, in saveLayer() 183 SkPaint alphaPaint; in saveLayerAlpha() 195 void SkiaCanvas::restoreUnclippedLayer(int restoreCount, const SkPaint& paint) { in restoreUnclippedLayer() 449 void SkiaCanvas::drawPaint(const SkPaint& paint) { in drawPaint() 457 void SkiaCanvas::drawPoints(const float* points, int count, const SkPaint& paint, in drawPoints() 470 void SkiaCanvas::drawPoint(float x, float y, const SkPaint& paint) { in drawPoint() 474 void SkiaCanvas::drawPoints(const float* points, int count, const SkPaint& paint) { in drawPoints() 479 const SkPaint& paint) { in drawLine() 483 void SkiaCanvas::drawLines(const float* points, int count, const SkPaint& paint) { in drawLines() 488 void SkiaCanvas::drawRect(float left, float top, float right, float bottom, const SkPaint& paint) { in drawRect() [all …]
|
D | CanvasTransform.h | 41 bool transformPaint(ColorTransform transform, SkPaint* paint); 43 bool transformPaint(ColorTransform transform, SkPaint* paint, BitmapPalette palette);
|
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.cpp | 68 static void applyColorTransform(ColorTransform transform, SkPaint& paint) { in applyColorTransform() 116 static BitmapPalette filterPalette(const SkPaint* paint, BitmapPalette palette) { in filterPalette() 126 bool transformPaint(ColorTransform transform, SkPaint* paint) { in transformPaint() 132 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 | RenderNodeDrawableTests.cpp | 62 SkPaint paint; in drawOrderedRect() 95 void onDrawRect(const SkRect& rect, const SkPaint& paint) override { in onDrawRect() 195 SkPaint layerPaint; in TEST() 214 SkPaint paint; in TEST() 240 void onDrawRect(const SkRect& rect, const SkPaint& paint) override { in RENDERTHREAD_TEST() 294 SkPaint paint; in RENDERTHREAD_TEST() 305 SkPaint paint; in RENDERTHREAD_TEST() 313 SkPaint paint; in RENDERTHREAD_TEST() 358 void onDrawRect(const SkRect& rect, const SkPaint& paint) override { mDrawCounter++; } in RENDERTHREAD_SKIA_PIPELINE_TEST() 378 SkPaint paint; in RENDERTHREAD_SKIA_PIPELINE_TEST() [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 89 void onDrawImage(const SkImage*, SkScalar dx, SkScalar dy, const SkPaint*) override { in onDrawImage() argument [all …]
|
D | SkiaRecordingCanvas.h | 48 virtual void drawBitmap(Bitmap& bitmap, float left, float top, const SkPaint* paint) override; 49 virtual void drawBitmap(Bitmap& bitmap, const SkMatrix& matrix, const SkPaint* paint) override; 52 float dstBottom, const SkPaint* paint) override; 55 const SkPaint* paint) override;
|
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 | RenderNodeDrawable.cpp | 173 SkPaint* paint) { in layerNeedsPaint() 190 bool onFilter(SkTCopyOnFirstWrite<SkPaint>* paint, Type t) const override { in onFilter() 191 std::optional<SkPaint> defaultPaint; in onFilter() 231 SkPaint paint; in drawContent() 244 SkPaint layerPaint; in drawContent() 251 SkPaint transparentPaint; in drawContent()
|
D | SkiaProfileRenderer.cpp | 23 const SkPaint& paint) { in drawRect() 28 void SkiaProfileRenderer::drawRects(const float* rects, int count, const SkPaint& paint) { in drawRects()
|
D | SkiaRecordingCanvas.cpp | 175 SkPaint& tmpPaint = paint.writeable(); in filterBitmap() 188 void SkiaRecordingCanvas::drawBitmap(Bitmap& bitmap, float left, float top, const SkPaint* paint) { in drawBitmap() 199 void SkiaRecordingCanvas::drawBitmap(Bitmap& bitmap, const SkMatrix& matrix, const SkPaint* paint) { in drawBitmap() 212 float dstBottom, const SkPaint* paint) { in drawBitmap() 227 const SkPaint* paint) { in drawNinePatch()
|
/frameworks/base/libs/hwui/hwui/ |
D | Canvas.h | 194 virtual void restoreUnclippedLayer(int saveCount, const SkPaint& paint) = 0; 196 virtual int saveLayer(float left, float top, float right, float bottom, const SkPaint* paint, 231 virtual void drawPaint(const SkPaint& paint) = 0; 234 virtual void drawPoint(float x, float y, const SkPaint& paint) = 0; 235 virtual void drawPoints(const float* points, int floatCount, const SkPaint& paint) = 0; 237 const SkPaint& paint) = 0; 238 virtual void drawLines(const float* points, int floatCount, const SkPaint& paint) = 0; 240 const SkPaint& paint) = 0; 241 virtual void drawRegion(const SkRegion& region, const SkPaint& paint) = 0; 243 const SkPaint& paint) = 0; [all …]
|
D | PaintImpl.cpp | 22 : SkPaint() in Paint() 35 : SkPaint(paint) in Paint() 53 SkPaint::operator=(other); in operator =() 70 return static_cast<const SkPaint&>(a) == static_cast<const SkPaint&>(b) && in operator ==() 82 SkPaint::reset(); in reset() 96 SkPaint::setAntiAlias(aa); in setAntiAlias() 126 static uint32_t paintToLegacyFlags(const SkPaint& paint) { in paintToLegacyFlags() 146 static void applyLegacyFlagsToPaint(uint32_t flags, SkPaint* paint) { in applyLegacyFlagsToPaint() 171 uint32_t Paint::GetSkPaintJavaFlags(const SkPaint& paint) { in GetSkPaintJavaFlags() 175 void Paint::SetSkPaintJavaFlags(SkPaint* paint, uint32_t flags) { in SetSkPaintJavaFlags()
|
D | PaintFilter.h | 4 class SkPaint; variable 14 virtual void filter(SkPaint*) = 0;
|
D | Paint.h | 34 class ANDROID_API Paint : public SkPaint { 144 static uint32_t GetSkPaintJavaFlags(const SkPaint&); 145 static void SetSkPaintJavaFlags(SkPaint*, uint32_t flags);
|
D | Canvas.cpp | 37 const SkPaint& paint, Canvas* canvas) { in drawStroke() 80 paint->setStrokeJoin(SkPaint::kRound_Join); in simplifyPaint() 124 outlinePaint.setStyle(SkPaint::kStrokeAndFill_Style); in operator ()() 131 innerPaint.setStyle(SkPaint::kFill_Style); in operator ()() 180 float innerRy, const SkPaint& paint) { in drawDoubleRoundRectXY() 196 const float* innerRadii, const SkPaint& paint) { in drawDoubleRoundRectRadii()
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
D | ShapeAnimation.cpp | 33 std::function<void(Canvas&, float, const SkPaint&)> ops[] = { in createContent() 34 [](Canvas& canvas, float size, const SkPaint& paint) { in createContent() 37 [](Canvas& canvas, float size, const SkPaint& paint) { in createContent() 40 [](Canvas& canvas, float size, const SkPaint& paint) { in createContent() 49 [](Canvas& canvas, float size, const SkPaint& paint) { in createContent() 53 [](Canvas& canvas, float size, const SkPaint& paint) { in createContent() 57 [](Canvas& canvas, float size, const SkPaint& paint) { in createContent() 60 [](Canvas& canvas, float size, const SkPaint& paint) { in createContent() 69 SkPaint paint; in createContent() 71 SkPaint::Style styles[] = {SkPaint::kStroke_Style, SkPaint::kFill_Style, in createContent() [all …]
|
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() 82 SkPaint roundRectPaint; in createListItem()
|
D | BitmapShaders.cpp | 39 SkPaint skPaint; in createContent() 46 SkPaint paint; in createContent()
|
/frameworks/base/libs/hwui/utils/ |
D | PaintUtils.h | 36 static inline GLenum getFilter(const SkPaint* paint) { in getFilter() 43 static bool isOpaquePaint(const SkPaint* paint) { in isOpaquePaint() 77 static inline bool getTextShadow(const SkPaint* paint, TextShadow* textShadow) { in getTextShadow() 91 static inline bool hasTextShadow(const SkPaint* paint) { return getTextShadow(paint, nullptr); } in hasTextShadow() 93 static inline SkBlendMode getBlendModeDirect(const SkPaint* paint) { in getBlendModeDirect() 97 static inline int getAlphaDirect(const SkPaint* paint) { in getAlphaDirect()
|