/external/skia/gm/ |
D | bigrect.cpp | 31 canvas->drawRect(horiz, rectPaint); in draw_big_rect() 34 canvas->drawRect(vert, rectPaint); in draw_big_rect() 37 canvas->drawRect(fromLeft, rectPaint); in draw_big_rect() 40 canvas->drawRect(fromTop, rectPaint); in draw_big_rect() 43 canvas->drawRect(fromRight, rectPaint); in draw_big_rect() 46 canvas->drawRect(fromBottom, rectPaint); in draw_big_rect() 49 canvas->drawRect(leftBorder, rectPaint); in draw_big_rect() 52 canvas->drawRect(topBorder, rectPaint); in draw_big_rect() 55 canvas->drawRect(rightBorder, rectPaint); in draw_big_rect() 58 canvas->drawRect(bottomBorder, rectPaint); in draw_big_rect() [all …]
|
D | perlinnoise.cpp | 37 void drawRect(SkCanvas* canvas, int x, int y, const SkPaint& paint, const SkISize& size) { in drawRect() function in PerlinNoiseGM 42 canvas->drawRect(r, paint); in drawRect() 58 drawRect(canvas, x, y, paint, tileSize); in test() 60 drawRect(canvas, x, y, paint, tileSize); in test() 62 drawRect(canvas, x, y, paint, tileSize); in test() 64 drawRect(canvas, x, y, paint, tileSize); in test() 66 drawRect(canvas, x, y, paint, fSize); in test() 141 canvas->drawRect(r, paint); in onDraw() 145 canvas->drawRect(r, paint); in onDraw() 151 canvas->drawRect(r, paint); in onDraw() [all …]
|
D | blend.cpp | 19 canvas->drawRect(SkRect::MakeXYWH(0,0,1,1), p); 21 canvas->drawRect(SkRect::MakeXYWH(0,0,1,1), p); 24 canvas->drawRect(SkRect::MakeXYWH(1,0,1,1), p); 27 canvas->drawRect(SkRect::MakeXYWH(1,0,1,1), p); 31 canvas->drawRect(SkRect::MakeXYWH(2,0,1,1), p); 34 canvas->drawRect(SkRect::MakeXYWH(2,0,1,1), p);
|
D | lattice.cpp | 49 canvas->drawRect(r, paint); in make_image() 52 canvas->drawRect(r, paint); in make_image() 55 canvas->drawRect(r, paint); in make_image() 59 canvas->drawRect(r, paint); in make_image() 62 canvas->drawRect(r, paint); in make_image() 65 canvas->drawRect(r, paint); in make_image() 230 canvas->drawRect(r, paint); in makeImage() 234 canvas->drawRect(r, paint); in makeImage() 238 canvas->drawRect(r, paint); in makeImage() 244 canvas->drawRect(r, paint); in makeImage() [all …]
|
D | croppedrects.cpp | 40 srcCanvas->drawRect(kSrcImageClip, paint); in onOnceBeforeDraw() 47 srcCanvas->drawRect(kSrcImageClip.makeInset(kStrokeWidth / 2, kStrokeWidth / 2), stroke); in onOnceBeforeDraw() 71 SkRect drawRect = SkRect::MakeXYWH(350, 100, 100, 300); in onDraw() local 72 canvas->clipRect(drawRect); in onDraw() 76 drawRect.makeOutset(0.5f * drawRect.width(), drawRect.height()), in onDraw()
|
D | stroke_rect_shader.cpp | 37 canvas->drawRect(kRect, paint); 41 canvas->drawRect(kRect, paint); 46 canvas->drawRect(kRect, paint); 50 canvas->drawRect(kRect, paint); 54 canvas->drawRect(kRect, paint);
|
/external/skqp/gm/ |
D | bigrect.cpp | 31 canvas->drawRect(horiz, rectPaint); in draw_big_rect() 34 canvas->drawRect(vert, rectPaint); in draw_big_rect() 37 canvas->drawRect(fromLeft, rectPaint); in draw_big_rect() 40 canvas->drawRect(fromTop, rectPaint); in draw_big_rect() 43 canvas->drawRect(fromRight, rectPaint); in draw_big_rect() 46 canvas->drawRect(fromBottom, rectPaint); in draw_big_rect() 49 canvas->drawRect(leftBorder, rectPaint); in draw_big_rect() 52 canvas->drawRect(topBorder, rectPaint); in draw_big_rect() 55 canvas->drawRect(rightBorder, rectPaint); in draw_big_rect() 58 canvas->drawRect(bottomBorder, rectPaint); in draw_big_rect() [all …]
|
D | perlinnoise.cpp | 37 void drawRect(SkCanvas* canvas, int x, int y, const SkPaint& paint, const SkISize& size) { in drawRect() function in PerlinNoiseGM 42 canvas->drawRect(r, paint); in drawRect() 58 drawRect(canvas, x, y, paint, tileSize); in test() 60 drawRect(canvas, x, y, paint, tileSize); in test() 62 drawRect(canvas, x, y, paint, tileSize); in test() 64 drawRect(canvas, x, y, paint, tileSize); in test() 66 drawRect(canvas, x, y, paint, fSize); in test() 141 canvas->drawRect(r, paint); in onDraw() 145 canvas->drawRect(r, paint); in onDraw() 151 canvas->drawRect(r, paint); in onDraw() [all …]
|
D | blend.cpp | 19 canvas->drawRect(SkRect::MakeXYWH(0,0,1,1), p); 21 canvas->drawRect(SkRect::MakeXYWH(0,0,1,1), p); 24 canvas->drawRect(SkRect::MakeXYWH(1,0,1,1), p); 27 canvas->drawRect(SkRect::MakeXYWH(1,0,1,1), p); 31 canvas->drawRect(SkRect::MakeXYWH(2,0,1,1), p); 34 canvas->drawRect(SkRect::MakeXYWH(2,0,1,1), p);
|
D | lattice.cpp | 49 canvas->drawRect(r, paint); in make_image() 52 canvas->drawRect(r, paint); in make_image() 55 canvas->drawRect(r, paint); in make_image() 59 canvas->drawRect(r, paint); in make_image() 62 canvas->drawRect(r, paint); in make_image() 65 canvas->drawRect(r, paint); in make_image() 230 canvas->drawRect(r, paint); in makeImage() 234 canvas->drawRect(r, paint); in makeImage() 238 canvas->drawRect(r, paint); in makeImage() 244 canvas->drawRect(r, paint); in makeImage() [all …]
|
D | croppedrects.cpp | 40 srcCanvas->drawRect(kSrcImageClip, paint); in onOnceBeforeDraw() 47 srcCanvas->drawRect(kSrcImageClip.makeInset(kStrokeWidth / 2, kStrokeWidth / 2), stroke); in onOnceBeforeDraw() 71 SkRect drawRect = SkRect::MakeXYWH(350, 100, 100, 300); in onDraw() local 72 canvas->clipRect(drawRect); in onDraw() 76 drawRect.makeOutset(0.5f * drawRect.width(), drawRect.height()), in onDraw()
|
D | stroke_rect_shader.cpp | 37 canvas->drawRect(kRect, paint); 41 canvas->drawRect(kRect, paint); 46 canvas->drawRect(kRect, paint); 50 canvas->drawRect(kRect, paint); 54 canvas->drawRect(kRect, paint);
|
/external/skqp/samplecode/ |
D | SampleAARects.cpp | 88 canvas->drawRect(rect, paints[p]); in onDrawContent() 95 canvas->drawRect(rect, paints[p]); in onDrawContent() 102 canvas->drawRect(rect, paints[p]); in onDrawContent() 109 canvas->drawRect(rect, paints[p]); in onDrawContent() 118 canvas->drawRect(rect, paints[p]); in onDrawContent() 131 canvas->drawRect(rect, paints[p]); in onDrawContent() 141 canvas->drawRect(rect, paints[p]); in onDrawContent() 151 canvas->drawRect(rect, paints[p]); in onDrawContent() 162 canvas->drawRect(rect, paints[p]); in onDrawContent() 173 canvas->drawRect(rect, paints[p]); in onDrawContent()
|
D | SampleBigGradient.cpp | 38 canvas->drawRect(r, p); in onDrawContent() 78 virtual void drawRect(const SkRect& r, SkColor c) { in drawRect() function in GraphicsPort 81 fCanvas->drawRect(r, p); in drawRect() 94 void drawRect(const SkRect& r, SkColor c) override { in drawRect() function in CGGraphicsPort 163 void drawRect(const SkRect& r, SkColor c) override { in drawRect() function in GDIGraphicsPort 173 fCanvas->drawRect(r, paint); in drawRect() 280 port->drawRect({0, 0, 256, 256}, SK_ColorRED); in doDraw() 283 port->drawRect({0, 0, 30, 30}, SK_ColorBLUE); in doDraw() 288 port->drawRect({55, 55, 95, 95}, SK_ColorGREEN); in doDraw() 292 port->drawRect({0, 0, 256, 256}, 0xFFCCCCCC); in doDraw()
|
/external/skia/samplecode/ |
D | SampleAARects.cpp | 88 canvas->drawRect(rect, paints[p]); in onDrawContent() 95 canvas->drawRect(rect, paints[p]); in onDrawContent() 102 canvas->drawRect(rect, paints[p]); in onDrawContent() 109 canvas->drawRect(rect, paints[p]); in onDrawContent() 118 canvas->drawRect(rect, paints[p]); in onDrawContent() 131 canvas->drawRect(rect, paints[p]); in onDrawContent() 141 canvas->drawRect(rect, paints[p]); in onDrawContent() 151 canvas->drawRect(rect, paints[p]); in onDrawContent() 162 canvas->drawRect(rect, paints[p]); in onDrawContent() 173 canvas->drawRect(rect, paints[p]); in onDrawContent()
|
D | SampleBigGradient.cpp | 38 canvas->drawRect(r, p); in onDrawContent() 78 virtual void drawRect(const SkRect& r, SkColor c) { in drawRect() function in GraphicsPort 81 fCanvas->drawRect(r, p); in drawRect() 94 void drawRect(const SkRect& r, SkColor c) override { in drawRect() function in CGGraphicsPort 163 void drawRect(const SkRect& r, SkColor c) override { in drawRect() function in GDIGraphicsPort 173 fCanvas->drawRect(r, paint); in drawRect() 280 port->drawRect({0, 0, 256, 256}, SK_ColorRED); in doDraw() 283 port->drawRect({0, 0, 30, 30}, SK_ColorBLUE); in doDraw() 288 port->drawRect({55, 55, 95, 95}, SK_ColorGREEN); in doDraw() 292 port->drawRect({0, 0, 256, 256}, 0xFFCCCCCC); in doDraw()
|
/external/zxing/qr_scanner/src/com/google/zxing/client/android/ |
D | ViewfinderView.java | 92 canvas.drawRect(0, 0, width, frame.top, paint); in onDraw() 93 canvas.drawRect(0, frame.top, frame.left, frame.bottom + 1, paint); in onDraw() 94 canvas.drawRect(frame.right + 1, frame.top, width, frame.bottom + 1, paint); in onDraw() 95 canvas.drawRect(0, frame.bottom + 1, width, height, paint); in onDraw() 105 canvas.drawRect(frame.left, frame.top, frame.right + 1, frame.top + 2, paint); in onDraw() 106 canvas.drawRect(frame.left, frame.top + 2, frame.left + 2, frame.bottom - 1, paint); in onDraw() 107 canvas.drawRect(frame.right - 1, frame.top, frame.right + 1, frame.bottom - 1, paint); in onDraw() 108 canvas.drawRect(frame.left, frame.bottom - 1, frame.right + 1, frame.bottom + 1, paint); in onDraw() 115 canvas.drawRect(frame.left + 2, middle - 1, frame.right - 1, middle + 2, paint); in onDraw()
|
/external/skia/tests/ |
D | RecordOptsTest.cpp | 27 recorder.drawRect(SkRect::MakeWH(200, 200), SkPaint()); in DEF_TEST() 28 recorder.drawRect(SkRect::MakeWH(300, 300), SkPaint()); in DEF_TEST() 29 recorder.drawRect(SkRect::MakeWH(100, 100), SkPaint()); in DEF_TEST() 151 recorder.drawRect(draw, opaqueDrawPaint); in DEF_TEST() 157 recorder.drawRect(draw, opaqueDrawPaint); in DEF_TEST() 165 recorder.drawRect(draw, opaqueDrawPaint); in DEF_TEST() 171 recorder.drawRect(draw, opaqueDrawPaint); in DEF_TEST() 177 recorder.drawRect(draw, translucentDrawPaint); in DEF_TEST() 183 recorder.drawRect(draw, opaqueDrawPaint); in DEF_TEST() 187 const SkRecords::DrawRect* drawRect = assert_type<SkRecords::DrawRect>(r, record, 16); in DEF_TEST() local [all …]
|
D | LayerDrawLooperTest.cpp | 33 void drawRect(const SkRect& r, const SkPaint& paint) override { in drawRect() function in FakeDevice 35 this->INHERITED::drawRect(r, paint); in drawRect() 67 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_frontToBack() 75 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_frontToBack() 106 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_backToFront() 114 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_backToFront() 145 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_mixed() 153 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_mixed()
|
D | RectTest.cpp | 42 canvas.drawRect(SkRect::MakeWH(44, 100), paint); in test_stroke_width_clipping() 47 canvas.drawRect(SkRect::MakeWH(22, 50), paint); in test_stroke_width_clipping() 64 canvas.drawRect(r, paint); in test_skbug4406() 71 canvas.drawRect(r, paint); in test_skbug4406() 79 canvas.drawRect(r, paint); in test_skbug4406() 85 canvas.drawRect(r, paint); in test_skbug4406()
|
/external/skqp/tests/ |
D | RecordOptsTest.cpp | 27 recorder.drawRect(SkRect::MakeWH(200, 200), SkPaint()); in DEF_TEST() 28 recorder.drawRect(SkRect::MakeWH(300, 300), SkPaint()); in DEF_TEST() 29 recorder.drawRect(SkRect::MakeWH(100, 100), SkPaint()); in DEF_TEST() 151 recorder.drawRect(draw, opaqueDrawPaint); in DEF_TEST() 157 recorder.drawRect(draw, opaqueDrawPaint); in DEF_TEST() 165 recorder.drawRect(draw, opaqueDrawPaint); in DEF_TEST() 171 recorder.drawRect(draw, opaqueDrawPaint); in DEF_TEST() 177 recorder.drawRect(draw, translucentDrawPaint); in DEF_TEST() 183 recorder.drawRect(draw, opaqueDrawPaint); in DEF_TEST() 187 const SkRecords::DrawRect* drawRect = assert_type<SkRecords::DrawRect>(r, record, 16); in DEF_TEST() local [all …]
|
D | LayerDrawLooperTest.cpp | 33 void drawRect(const SkRect& r, const SkPaint& paint) override { in drawRect() function in FakeDevice 35 this->INHERITED::drawRect(r, paint); in drawRect() 67 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_frontToBack() 75 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_frontToBack() 106 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_backToFront() 114 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_backToFront() 145 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_mixed() 153 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_mixed()
|
D | RectTest.cpp | 42 canvas.drawRect(SkRect::MakeWH(44, 100), paint); in test_stroke_width_clipping() 47 canvas.drawRect(SkRect::MakeWH(22, 50), paint); in test_stroke_width_clipping() 64 canvas.drawRect(r, paint); in test_skbug4406() 71 canvas.drawRect(r, paint); in test_skbug4406() 79 canvas.drawRect(r, paint); in test_skbug4406() 85 canvas.drawRect(r, paint); in test_skbug4406()
|
/external/skqp/bench/ |
D | MergeBench.cpp | 43 canvas->drawRect(SkRect::MakeXYWH(0, 0, 8, 8), darkPaint); in make_checkerboard() 44 canvas->drawRect(SkRect::MakeXYWH(8, 0, 8, 8), lightPaint); in make_checkerboard() 45 canvas->drawRect(SkRect::MakeXYWH(0, 8, 8, 8), lightPaint); in make_checkerboard() 46 canvas->drawRect(SkRect::MakeXYWH(8, 8, 8, 8), darkPaint); in make_checkerboard() 77 canvas->drawRect(r, paint); in onDraw()
|
/external/skia/bench/ |
D | MergeBench.cpp | 43 canvas->drawRect(SkRect::MakeXYWH(0, 0, 8, 8), darkPaint); in make_checkerboard() 44 canvas->drawRect(SkRect::MakeXYWH(8, 0, 8, 8), lightPaint); in make_checkerboard() 45 canvas->drawRect(SkRect::MakeXYWH(0, 8, 8, 8), lightPaint); in make_checkerboard() 46 canvas->drawRect(SkRect::MakeXYWH(8, 8, 8, 8), darkPaint); in make_checkerboard() 77 canvas->drawRect(r, paint); in onDraw()
|