/external/skia/gm/ |
D | concavepaths.cpp | 16 void test_concave(SkCanvas* canvas, const SkPaint& paint) { in test_concave() 27 void test_reverse_concave(SkCanvas* canvas, const SkPaint& paint) { in test_reverse_concave() 40 void test_bowtie(SkCanvas* canvas, const SkPaint& paint) { in test_bowtie() 53 void test_fake_bowtie(SkCanvas* canvas, const SkPaint& paint) { in test_fake_bowtie() 68 void test_fish(SkCanvas* canvas, const SkPaint& paint) { in test_fish() 83 void test_collinear_edges(SkCanvas* canvas, const SkPaint& paint) { in test_collinear_edges() 96 void test_hole(SkCanvas* canvas, const SkPaint& paint) { in test_hole() 113 void test_star(SkCanvas* canvas, const SkPaint& paint) { in test_star() 128 void test_stairstep(SkCanvas* canvas, const SkPaint& paint) { in test_stairstep() 142 void test_stairstep2(SkCanvas* canvas, const SkPaint& paint) { in test_stairstep2() [all …]
|
D | gm.cpp | 22 void GM::draw(SkCanvas* canvas) { in draw() 27 void GM::drawContent(SkCanvas* canvas) { in drawContent() 35 void GM::drawBackground(SkCanvas* canvas) { in drawBackground() 60 void GM::onDrawBackground(SkCanvas* canvas) { in onDrawBackground() 64 void GM::drawSizeBounds(SkCanvas* canvas, SkColor color) { in drawSizeBounds() 73 void GM::drawGpuOnlyMessage(SkCanvas* canvas) { in drawGpuOnlyMessage() 99 void skiagm::SimpleGM::onDraw(SkCanvas* canvas) { in onDraw()
|
D | aaclip.cpp | 16 static void draw(SkCanvas* canvas, SkRect& target, int x, int y) { in draw() 39 static void draw_square(SkCanvas* canvas, int x, int y) { in draw_square() 44 static void draw_column(SkCanvas* canvas, int x, int y) { in draw_column() 49 static void draw_bar(SkCanvas* canvas, int x, int y) { in draw_bar() 54 static void draw_rect_tests(SkCanvas* canvas) { in draw_rect_tests() 82 void onDraw(SkCanvas* canvas) override { in onDraw() 126 static void test_image(SkCanvas* canvas, const SkImageInfo& info) { in test_image() 165 void onDraw(SkCanvas* canvas) override { in onDraw() 224 void doDraw(SkCanvas* canvas, const SkPath& path) { in doDraw() 236 void drawAndClip(SkCanvas* canvas, const SkPath& path, SkScalar dx, SkScalar dy) { in drawAndClip() [all …]
|
D | srcmode.cpp | 37 static void draw_hair(SkCanvas* canvas, const SkPaint& paint) { in draw_hair() 43 static void draw_thick(SkCanvas* canvas, const SkPaint& paint) { in draw_thick() 49 static void draw_rect(SkCanvas* canvas, const SkPaint& paint) { in draw_rect() 53 static void draw_oval(SkCanvas* canvas, const SkPaint& paint) { in draw_oval() 57 static void draw_text(SkCanvas* canvas, const SkPaint& paint) { in draw_text() 79 void drawContent(SkCanvas* canvas) { in drawContent() 119 static SkSurface* compat_surface(SkCanvas* canvas, const SkISize& size, bool skipGPU) { in compat_surface() 136 virtual void onDraw(SkCanvas* canvas) { in onDraw()
|
D | dropshadowimagefilter.cpp | 16 static void draw_paint(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { in draw_paint() 26 static void draw_path(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { in draw_path() 37 static void draw_text(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { in draw_text() 51 static void draw_bitmap(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { in draw_bitmap() 70 static void draw_sprite(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { in draw_sprite() 107 void draw_frame(SkCanvas* canvas, const SkRect& r) { in draw_frame() 114 virtual void onDraw(SkCanvas* canvas) { in onDraw()
|
D | imagefilterscropped.cpp | 24 static void draw_paint(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { in draw_paint() 34 static void draw_path(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { in draw_path() 42 static void draw_text(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { in draw_text() 53 static void draw_bitmap(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { in draw_bitmap() 69 static void draw_sprite(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { in draw_sprite() 107 SkCanvas canvas(fCheckerboard); in make_checkerboard() local 126 void draw_frame(SkCanvas* canvas, const SkRect& r) { in draw_frame() 137 virtual void onDraw(SkCanvas* canvas) override { in onDraw()
|
D | filterfastbounds.cpp | 22 static void draw_rect(SkCanvas* canvas, const SkRect& r, const SkPaint& p) { in draw_rect() 26 static void draw_oval(SkCanvas* canvas, const SkRect& r, const SkPaint& p) { in draw_oval() 30 static void draw_rrect(SkCanvas* canvas, const SkRect& r, const SkPaint& p) { in draw_rrect() 39 static void draw_drrect(SkCanvas* canvas, const SkRect& r, const SkPaint& p) { in draw_drrect() 50 static void draw_path(SkCanvas* canvas, const SkRect& r, const SkPaint& p) { in draw_path() 61 static void draw_points(SkCanvas* canvas, const SkRect& r, const SkPaint& p) { in draw_points() 69 static void draw_bitmap(SkCanvas* canvas, const SkRect& r, const SkPaint& p) { in draw_bitmap() 170 SkCanvas* canvas, const SkPaint& p) { in draw_geom_with_paint() 199 SkCanvas* canvas, in draw_savelayer_with_paint() 227 void onDraw(SkCanvas* canvas) override{ in onDraw()
|
D | pathreverse.cpp | 13 static void test_path(SkCanvas* canvas, const SkPath& path) { in test_path() 23 static void test_rev(SkCanvas* canvas, const SkPath& path) { in test_rev() 34 static void test_rev(SkCanvas* canvas) { in test_rev() 80 void onDraw(SkCanvas* canvas) override { in onDraw()
|
D | image.cpp | 19 static void drawJpeg(SkCanvas* canvas, const SkISize& size) { in drawJpeg() 40 SkCanvas* canvas = surface->getCanvas(); in drawContents() local 57 static void test_surface(SkCanvas* canvas, SkSurface* surf, bool usePaint) { in test_surface() 133 void onDraw(SkCanvas* canvas) override { in onDraw() 209 void drawIntoImage(SkCanvas* canvas) { in drawIntoImage() 224 SkImage* makeImage(SkCanvas* canvas) { in makeImage() 234 void drawResized(SkCanvas* canvas, SkImage* image, int newW, int newH, const SkIRect* subset, in drawResized() 253 void drawImage(SkCanvas* canvas, SkImage* image, SkFilterQuality fq) { in drawImage() 263 void onDraw(SkCanvas* canvas) override { in onDraw()
|
D | thinrects.cpp | 28 void onDraw(SkCanvas* canvas) override { in onDraw() 67 static void DrawVertRects(SkCanvas* canvas, const SkPaint& p) { in DrawVertRects() 83 static void DrawHorizRects(SkCanvas* canvas, const SkPaint& p) { in DrawHorizRects() 99 static void DrawSquares(SkCanvas* canvas, const SkPaint& p) { in DrawSquares()
|
D | multipicturedraw.cpp | 60 SkCanvas* canvas = recorder.beginRecording(SkIntToScalar(kPicWidth), in make_hex_plane_picture() local 111 SkCanvas* canvas = recorder.beginRecording(kBig, kBig, &bbhFactory, in make_single_layer_hex_plane_picture() local 166 SkCanvas* canvas = recorder.beginRecording(SkIntToScalar(kPicWidth), in make_tri_picture() local 186 SkCanvas* canvas = recorder.beginRecording(SkIntToScalar(kPicWidth), in make_sub_picture() local 221 SkCanvas* canvas = recorder.beginRecording(SkIntToScalar(kPicWidth), in make_sierpinski_picture() local 244 static SkSurface* create_compat_surface(SkCanvas* canvas, int width, int height) { in create_compat_surface() 272 static void no_clip(SkCanvas* canvas, const SkPicture* pictures[kNumPictures]) { in no_clip() 277 static void rect_clip(SkCanvas* canvas, const SkPicture* pictures[kNumPictures]) { in rect_clip() 289 static void rrect_clip(SkCanvas* canvas, const SkPicture* pictures[kNumPictures]) { in rrect_clip() 304 static void path_clip(SkCanvas* canvas, const SkPicture* pictures[kNumPictures]) { in path_clip() [all …]
|
D | imagefiltersbase.cpp | 108 static void draw_paint(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { in draw_paint() 118 static void draw_line(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { in draw_line() 126 static void draw_rect(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { in draw_rect() 135 static void draw_path(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { in draw_path() 143 static void draw_text(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { in draw_text() 154 static void draw_bitmap(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { in draw_bitmap() 170 static void draw_sprite(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { in draw_sprite() 203 void draw_frame(SkCanvas* canvas, const SkRect& r) { in draw_frame() 210 void onDraw(SkCanvas* canvas) override { in onDraw() 279 void drawWaterfall(SkCanvas* canvas, const SkPaint& origPaint) { in drawWaterfall() [all …]
|
D | stroketext.cpp | 12 static void test_nulldev(SkCanvas* canvas) { in test_nulldev() 27 static void draw_text_stroked(SkCanvas* canvas, const SkPaint& paint, SkScalar strokeWidth) { in draw_text_stroked() 45 static void draw_text_set(SkCanvas* canvas, const SkPaint& paint) { in draw_text_set() 83 void onDraw(SkCanvas* canvas) override { in onDraw()
|
D | techtalk1.cpp | 57 static void show_mesh(SkCanvas* canvas, const SkRect& r) { in show_mesh() 65 static void drawLine(SkCanvas* canvas, const SkPoint& p0, const SkPoint& p1, in drawLine() 70 static void show_mesh(SkCanvas* canvas, const SkPoint pts[], in show_mesh() 82 static void show_glframe(SkCanvas* canvas, const SkPath& path) { in show_glframe() 88 static void show_mesh_between(SkCanvas* canvas, const SkPath& p0, const SkPath& p1) { in show_mesh_between() 110 static void show_fan(SkCanvas* canvas, const SkPath& path, SkScalar cx, SkScalar cy) { in show_fan() 127 static void draw_line(SkCanvas* canvas, bool showGL, int flags) { in draw_line() 146 static void draw_rect(SkCanvas* canvas, bool showGL, int flags) { in draw_rect() 178 static void draw_oval(SkCanvas* canvas, bool showGL, int flags) { in draw_oval() 257 static void draw_image(SkCanvas* canvas, bool showGL, int flags) { in draw_image() [all …]
|
/external/skia/experimental/PdfViewer/src/ |
D | SkPdfRenderer.cpp | 306 SkCanvas* canvas) in DrawText() 574 static SkPdfResult doXObject_Image(SkPdfContext* pdfContext, SkCanvas* canvas, in doXObject_Image() 656 static void doGroup_before(SkPdfContext* pdfContext, SkCanvas* canvas, SkRect bbox, in doGroup_before() 674 static SkPdfResult doXObject_Form(SkPdfContext* pdfContext, SkCanvas* canvas, in doXObject_Form() 733 static SkPdfResult doXObject_Pattern(SkPdfContext* pdfContext, SkCanvas* canvas, in doXObject_Pattern() 784 SkPdfResult doType3Char(SkPdfContext* pdfContext, SkCanvas* canvas, const SkPdfNativeObject* skobj, in doType3Char() 843 static SkPdfResult doXObject(SkPdfContext* pdfContext, SkCanvas* canvas, SkPdfNativeObject* obj) { in doXObject() 873 static SkPdfResult doPage(SkPdfContext* pdfContext, SkCanvas* canvas, in doPage() 926 SkPdfResult PdfOp_q(SkPdfContext* pdfContext, SkCanvas* canvas, SkPdfTokenLooper*) { in PdfOp_q() 933 SkPdfResult PdfOp_Q(SkPdfContext* pdfContext, SkCanvas* canvas, SkPdfTokenLooper*) { in PdfOp_Q() [all …]
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | CanvasTest.java | 28 Canvas canvas = new Canvas(targetBitmap); in shouldDescribeBitmapDrawing() local 41 Canvas canvas = new Canvas(targetBitmap); in shouldDescribeBitmapDrawing_WithMatrix() local 54 Canvas canvas = new Canvas(targetBitmap); in visualize_shouldReturnDescription() local 65 Canvas canvas = new Canvas(targetBitmap); in drawColor_shouldReturnDescription() local 75 Canvas canvas = new Canvas(targetBitmap); in drawPath_shouldRecordThePathAndThePaint() local 91 Canvas canvas = new Canvas(targetBitmap); in drawPath_shouldAppendDescriptionToBitmap() local
|
/external/skia/experimental/SkV8Example/ |
D | DrawingMethods.cpp | 27 SkCanvas* canvas = drawingMethods->getCanvas(); in Save() local 37 SkCanvas* canvas = drawingMethods->getCanvas(); in Restore() local 47 SkCanvas* canvas = drawingMethods->getCanvas(); in Rotate() local 64 SkCanvas* canvas = drawingMethods->getCanvas(); in Translate() local 82 SkCanvas* canvas = drawingMethods->getCanvas(); in ResetTransform() local 92 SkCanvas* canvas = drawingMethods->getCanvas(); in DrawPath() local 124 SkCanvas* canvas = drawingMethods->getCanvas(); in GetWidth() local 137 SkCanvas* canvas = drawingMethods->getCanvas(); in GetHeight() local
|
/external/skia/tests/ |
D | PictureTest.cpp | 54 SkCanvas* canvas = recorder.beginRecording(100, 100); in test_analysis() local 106 static void rand_op(SkCanvas* canvas, SkRandom& rand) { in rand_op() 131 SkCanvas* canvas = recorder.beginRecording(100, 100); in test_gpu_veto() local 471 SkCanvas* canvas = recorder.beginRecording(100,100); in test_has_text() local 531 static void set_canvas_to_save_count_4(SkCanvas* canvas) { in set_canvas_to_save_count_4() 581 SaveCountingCanvas canvas(SkScalarCeilToInt(picture->cullRect().width()), in check_save_state() local 600 SkCanvas* canvas = recorder2.beginRecording(10, 10); in Copy() local 608 static void create_imbalance(SkCanvas* canvas) { in create_imbalance() 625 SkCanvas canvas(bm); in check_balance() local 653 SkCanvas* canvas = recorder.beginRecording(10, 10); in DEF_TEST() local [all …]
|
D | RecordReplaceDrawTest.cpp | 41 SkCanvas* canvas = recorder.beginRecording(SkIntToScalar(kWidth), SkIntToScalar(kHeight)); in DEF_TEST() local 50 SkRecorder canvas(&rerecord, kWidth, kHeight); in DEF_TEST() local 75 SkCanvas* canvas = recorder.beginRecording(SkIntToScalar(kWidth), SkIntToScalar(kHeight)); in DEF_TEST() local 84 SkRecorder canvas(&rerecord, kWidth, kHeight); in DEF_TEST() local 99 SkCanvas* canvas = recorder.beginRecording(SkIntToScalar(kWidth), SkIntToScalar(kHeight), in test_replacements() local 134 SkRecorder canvas(&rerecord, kWidth, kHeight); in test_replacements() local
|
D | MatrixClipCollapseTest.cpp | 154 static void emit_clip(SkCanvas* canvas, ClipType clip) { in emit_clip() 224 static void emit_mat(SkCanvas* canvas, MatType mat) { in emit_mat() 283 static void emit_draw(SkCanvas* canvas, DrawOpType draw, SkTDArray<DrawType>* expected) { in emit_draw() 325 static void emit_clip_and_mat(SkCanvas* canvas, MatType mat, ClipType clip, in emit_clip_and_mat() 346 static void emit_mat_and_clip(SkCanvas* canvas, MatType mat, ClipType clip, in emit_mat_and_clip() 369 static void emit_double_mat_and_clip(SkCanvas* canvas, MatType mat, ClipType clip, in emit_double_mat_and_clip() 394 static void emit_mat_clip_clip(SkCanvas* canvas, MatType mat, ClipType clip, in emit_mat_clip_clip() 417 static void emit_body0(SkCanvas* canvas, PFEmitMC emitMC, MatType mat, in emit_body0() 438 static void emit_body1(SkCanvas* canvas, PFEmitMC emitMC, MatType mat, in emit_body1() 466 static void emit_body2(SkCanvas* canvas, PFEmitMC emitMC, MatType mat, in emit_body2() [all …]
|
/external/skia/tools/ |
D | filtermain.cpp | 51 static bool check_0(SkDebugCanvas* canvas, int curCommand) { in check_0() 81 static void apply_0(SkDebugCanvas* canvas, int curCommand) { in apply_0() 123 static bool check_1(SkDebugCanvas* canvas, int curCommand) { in check_1() 159 static void apply_1(SkDebugCanvas* canvas, int curCommand) { in apply_1() 189 static bool check_2(SkDebugCanvas* canvas, int curCommand) { in check_2() 211 static void apply_2(SkDebugCanvas* canvas, int curCommand) { in apply_2() 224 static bool check_3(SkDebugCanvas* canvas, int curCommand) { in check_3() 247 static void apply_3(SkDebugCanvas* canvas, int curCommand) { in apply_3() 272 static bool check_4(SkDebugCanvas* canvas, int curCommand) { in check_4() 294 static void apply_4(SkDebugCanvas* canvas, int curCommand) { in apply_4() [all …]
|
/external/skia/bench/ |
D | GeometryBench.cpp | 68 void onDraw(const int loops, SkCanvas* canvas) override { in onDraw() 85 void onDraw(const int loops, SkCanvas* canvas) override { in onDraw() 102 void onDraw(const int loops, SkCanvas* canvas) override { in onDraw() 118 void onDraw(const int loops, SkCanvas* canvas) override { in onDraw() 151 void onDraw(const int loops, SkCanvas* canvas) override { in onDraw() 167 void onDraw(const int loops, SkCanvas* canvas) override { in onDraw() 185 void onDraw(const int loops, SkCanvas* canvas) override { in onDraw() 201 void onDraw(const int loops, SkCanvas* canvas) override { in onDraw() 219 void onDraw(const int loops, SkCanvas* canvas) override { in onDraw() 235 void onDraw(const int loops, SkCanvas* canvas) override { in onDraw()
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/ |
D | SeriesRenderer.java | 50 public void render(Canvas canvas, RectF plotArea) throws PlotRenderException { in render() 53 public abstract void onRender(Canvas canvas, RectF plotArea) throws PlotRenderException; in onRender() 60 …protected abstract void doDrawLegendIcon(Canvas canvas, RectF rect, SeriesFormatterType formatter); in doDrawLegendIcon() 62 public void drawSeriesLegendIcon(Canvas canvas, RectF rect, SeriesFormatterType formatter) { in drawSeriesLegendIcon()
|
/external/skia/src/pipe/ |
D | SkGPipeRead.cpp | 258 static void clipPath_rp(SkCanvas* canvas, SkReader32* reader, uint32_t op32, in clipPath_rp() 266 static void clipRegion_rp(SkCanvas* canvas, SkReader32* reader, uint32_t op32, in clipRegion_rp() 273 static void clipRect_rp(SkCanvas* canvas, SkReader32* reader, uint32_t op32, in clipRect_rp() 280 static void clipRRect_rp(SkCanvas* canvas, SkReader32* reader, uint32_t op32, in clipRRect_rp() 290 static void setMatrix_rp(SkCanvas* canvas, SkReader32* reader, uint32_t op32, in setMatrix_rp() 297 static void concat_rp(SkCanvas* canvas, SkReader32* reader, uint32_t op32, in concat_rp() 304 static void scale_rp(SkCanvas* canvas, SkReader32* reader, uint32_t op32, in scale_rp() 310 static void skew_rp(SkCanvas* canvas, SkReader32* reader, uint32_t op32, in skew_rp() 316 static void rotate_rp(SkCanvas* canvas, SkReader32* reader, uint32_t op32, in rotate_rp() 321 static void translate_rp(SkCanvas* canvas, SkReader32* reader, uint32_t op32, in translate_rp() [all …]
|
/external/skia/samplecode/ |
D | SampleClip.cpp | 19 static void show_text(SkCanvas* canvas, bool doAA) { in show_text() 34 static void show_fill(SkCanvas* canvas, bool doAA) { in show_fill() 61 static void show_stroke(SkCanvas* canvas, bool doAA, SkScalar strokeWidth, int n) { in show_stroke() 94 static void show_hair(SkCanvas* canvas, bool doAA) { in show_hair() 98 static void show_thick(SkCanvas* canvas, bool doAA) { in show_thick() 127 virtual void onDrawContent(SkCanvas* canvas) { in onDrawContent()
|