/external/skia/gm/ |
D | perlinnoise.cpp | 27 void drawRect(SkCanvas* canvas, int x, int y, const SkPaint& paint, const SkISize& size) { in drawRect() function in PerlinNoiseGM 32 canvas->drawRect(r, paint); in drawRect() 48 drawRect(canvas, x, y, paint, tileSize); in test() 50 drawRect(canvas, x, y, paint, tileSize); in test() 52 drawRect(canvas, x, y, paint, tileSize); in test() 54 drawRect(canvas, x, y, paint, tileSize); in test() 56 drawRect(canvas, x, y, paint, fSize); in test() 131 canvas->drawRect(r, paint); in onDraw() 135 canvas->drawRect(r, paint); in onDraw() 141 canvas->drawRect(r, paint); in onDraw() [all …]
|
D | imagealphathreshold.cpp | 62 canvas->drawRect(SkRect::MakeXYWH(0, 0, WIDTH / 2, HEIGHT / 2), in onDraw() 65 canvas->drawRect(SkRect::MakeXYWH(WIDTH / 2, 0, WIDTH / 2, HEIGHT / 2), in onDraw() 68 canvas->drawRect(SkRect::MakeXYWH(0, HEIGHT / 2, WIDTH / 2, HEIGHT / 2), in onDraw() 71 canvas->drawRect(SkRect::MakeXYWH(WIDTH / 2, HEIGHT / 2, WIDTH / 2, HEIGHT / 2), in onDraw()
|
/external/chromium_org/third_party/skia/gm/ |
D | perlinnoise.cpp | 27 void drawRect(SkCanvas* canvas, int x, int y, const SkPaint& paint, const SkISize& size) { in drawRect() function in PerlinNoiseGM 32 canvas->drawRect(r, paint); in drawRect() 48 drawRect(canvas, x, y, paint, tileSize); in test() 50 drawRect(canvas, x, y, paint, tileSize); in test() 52 drawRect(canvas, x, y, paint, tileSize); in test() 54 drawRect(canvas, x, y, paint, tileSize); in test() 56 drawRect(canvas, x, y, paint, fSize); in test() 131 canvas->drawRect(r, paint); in onDraw() 135 canvas->drawRect(r, paint); in onDraw() 141 canvas->drawRect(r, paint); in onDraw() [all …]
|
D | clip_strokerect.cpp | 40 canvas->drawRect(r, p); in onDraw() 45 canvas->drawRect(rect, p); in onDraw() 58 canvas->drawRect(r2, p); in onDraw() 63 canvas->drawRect(rect2, p); in onDraw()
|
D | imagealphathreshold.cpp | 62 canvas->drawRect(SkRect::MakeXYWH(0, 0, WIDTH / 2, HEIGHT / 2), in onDraw() 65 canvas->drawRect(SkRect::MakeXYWH(WIDTH / 2, 0, WIDTH / 2, HEIGHT / 2), in onDraw() 68 canvas->drawRect(SkRect::MakeXYWH(0, HEIGHT / 2, WIDTH / 2, HEIGHT / 2), in onDraw() 71 canvas->drawRect(SkRect::MakeXYWH(WIDTH / 2, HEIGHT / 2, WIDTH / 2, HEIGHT / 2), in onDraw()
|
/external/chromium_org/third_party/skia/tests/ |
D | RecordOptsTest.cpp | 25 recorder.drawRect(SkRect::MakeWH(200, 200), SkPaint()); in DEF_TEST() 26 recorder.drawRect(SkRect::MakeWH(300, 300), SkPaint()); in DEF_TEST() 27 recorder.drawRect(SkRect::MakeWH(100, 100), SkPaint()); in DEF_TEST() 127 recorder.drawRect(draw, goodDrawPaint); in DEF_TEST() 133 recorder.drawRect(draw, goodDrawPaint); in DEF_TEST() 141 recorder.drawRect(draw, goodDrawPaint); in DEF_TEST() 147 recorder.drawRect(draw, goodDrawPaint); in DEF_TEST() 153 recorder.drawRect(draw, badDrawPaint); in DEF_TEST() 159 recorder.drawRect(draw, goodDrawPaint); in DEF_TEST() 163 const SkRecords::DrawRect* drawRect = assert_type<SkRecords::DrawRect>(r, record, 16); in DEF_TEST() local [all …]
|
D | RecordDrawTest.cpp | 35 recorder.drawRect(SkRect::MakeWH(200, 300), SkPaint()); in DEF_TEST() 137 recorder.drawRect(SkRect::MakeWH(320, 240), SkPaint()); in DEF_TEST() 188 recorder.drawRect(r1, p); in DEF_TEST() 189 recorder.drawRect(r2, p); in DEF_TEST() 190 recorder.drawRect(r3, p); in DEF_TEST() 201 const SkRecords::DrawRect* drawRect = assert_type<SkRecords::DrawRect>(r, rerecord, 1); in DEF_TEST() local 202 REPORTER_ASSERT(r, drawRect->rect == r2); in DEF_TEST() 224 const SkRecords::DrawRect* drawRect = assert_type<SkRecords::DrawRect>(r, rerecord, 1); in DEF_TEST() local 225 REPORTER_ASSERT(r, drawRect->rect == rect); in DEF_TEST() 226 REPORTER_ASSERT(r, drawRect->paint.getColor() == SK_ColorRED); in DEF_TEST() [all …]
|
D | LayerDrawLooperTest.cpp | 32 virtual void drawRect(const SkDraw& draw, const SkRect& r, in drawRect() function in FakeDevice 35 this->INHERITED::drawRect(draw, r, paint); in drawRect() 68 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_frontToBack() 76 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_frontToBack() 108 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_backToFront() 116 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_backToFront() 148 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_mixed() 156 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_mixed()
|
D | GpuDrawPathTest.cpp | 24 canvas->drawRect(SkRect(), paint); in test_drawPathEmpty() 27 canvas->drawRect(SkRect(), paint); in test_drawPathEmpty() 36 canvas->drawRect(SkRect(), paint); in test_drawPathEmpty() 39 canvas->drawRect(SkRect(), paint); in test_drawPathEmpty()
|
D | PictureStateTreeTest.cpp | 36 canvas->drawRect(SkRect::MakeWH(100, 50), p1); in draw_scene() 37 canvas->drawRect(SkRect::MakeWH(50, 100), p2); in draw_scene() 47 canvas->drawRect(SkRect::MakeWH(100, 50), p1); in draw_scene() 54 canvas->drawRect(SkRect::MakeWH(50, 100), p2); in draw_scene() 56 canvas->drawRect(SkRect::MakeWH(100, 50), p1); in draw_scene() 58 canvas->drawRect(SkRect::MakeXYWH(99, 99, 1, 1), p1); in draw_scene()
|
/external/skia/tests/ |
D | RecordOptsTest.cpp | 23 recorder.drawRect(SkRect::MakeWH(1000, 10000), SkPaint()); in DEF_TEST() 26 recorder.drawRect(SkRect::MakeWH(10, 10), SkPaint()); in DEF_TEST() 27 recorder.drawRect(SkRect::MakeWH(30, 30), SkPaint()); in DEF_TEST() 29 recorder.drawRect(SkRect::MakeWH(1, 1), SkPaint()); in DEF_TEST() 52 recorder.drawRect(SkRect::MakeWH(1, 1), SkPaint()); in DEF_TEST() 121 recorder.drawRect(SkRect::MakeWH(200, 200), SkPaint()); in DEF_TEST() 122 recorder.drawRect(SkRect::MakeWH(300, 300), SkPaint()); in DEF_TEST() 123 recorder.drawRect(SkRect::MakeWH(100, 100), SkPaint()); in DEF_TEST() 206 recorder.drawRect(draw, goodDrawPaint); in DEF_TEST() 212 recorder.drawRect(draw, goodDrawPaint); in DEF_TEST() [all …]
|
D | LayerDrawLooperTest.cpp | 32 virtual void drawRect(const SkDraw& draw, const SkRect& r, in drawRect() function in FakeDevice 35 this->INHERITED::drawRect(draw, r, paint); in drawRect() 68 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_frontToBack() 76 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_frontToBack() 108 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_backToFront() 116 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_backToFront() 148 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_mixed() 156 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_mixed()
|
D | PictureStateTreeTest.cpp | 36 canvas->drawRect(SkRect::MakeWH(100, 50), p1); in draw_scene() 37 canvas->drawRect(SkRect::MakeWH(50, 100), p2); in draw_scene() 47 canvas->drawRect(SkRect::MakeWH(100, 50), p1); in draw_scene() 54 canvas->drawRect(SkRect::MakeWH(50, 100), p2); in draw_scene() 56 canvas->drawRect(SkRect::MakeWH(100, 50), p1); in draw_scene() 58 canvas->drawRect(SkRect::MakeXYWH(99, 99, 1, 1), p1); in draw_scene()
|
D | GpuDrawPathTest.cpp | 24 canvas->drawRect(SkRect(), paint); in test_drawPathEmpty() 27 canvas->drawRect(SkRect(), paint); in test_drawPathEmpty() 36 canvas->drawRect(SkRect(), paint); in test_drawPathEmpty() 39 canvas->drawRect(SkRect(), paint); in test_drawPathEmpty()
|
/external/chromium_org/third_party/skia/samplecode/ |
D | SampleAARects.cpp | 91 canvas->drawRect(rect, paints[p]); in onDrawContent() 98 canvas->drawRect(rect, paints[p]); in onDrawContent() 105 canvas->drawRect(rect, paints[p]); in onDrawContent() 112 canvas->drawRect(rect, paints[p]); in onDrawContent() 121 canvas->drawRect(rect, paints[p]); in onDrawContent() 134 canvas->drawRect(rect, paints[p]); in onDrawContent() 144 canvas->drawRect(rect, paints[p]); in onDrawContent() 154 canvas->drawRect(rect, paints[p]); in onDrawContent() 165 canvas->drawRect(rect, paints[p]); in onDrawContent() 176 canvas->drawRect(rect, paints[p]); in onDrawContent()
|
D | SampleGradients.cpp | 27 canvas->drawRect(r, p); in test_alphagradients() 28 canvas->drawRect(r, p2); in test_alphagradients() 32 canvas->drawRect(r, p); in test_alphagradients() 33 canvas->drawRect(r, p2); in test_alphagradients() 37 canvas->drawRect(r, p); in test_alphagradients() 38 canvas->drawRect(r, p2); in test_alphagradients() 152 canvas->drawRect(r, paint); in onDrawContent()
|
/external/skia/samplecode/ |
D | SampleAARects.cpp | 91 canvas->drawRect(rect, paints[p]); in onDrawContent() 98 canvas->drawRect(rect, paints[p]); in onDrawContent() 105 canvas->drawRect(rect, paints[p]); in onDrawContent() 112 canvas->drawRect(rect, paints[p]); in onDrawContent() 121 canvas->drawRect(rect, paints[p]); in onDrawContent() 134 canvas->drawRect(rect, paints[p]); in onDrawContent() 144 canvas->drawRect(rect, paints[p]); in onDrawContent() 154 canvas->drawRect(rect, paints[p]); in onDrawContent() 165 canvas->drawRect(rect, paints[p]); in onDrawContent() 176 canvas->drawRect(rect, paints[p]); in onDrawContent()
|
/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/chromium_org/third_party/skia/bench/ |
D | MergeBench.cpp | 41 canvas->drawRect(r, paint); in onDraw() 78 canvas.drawRect(SkRect::MakeXYWH(0, 0, 8, 8), darkPaint); in make_checkerboard() 79 canvas.drawRect(SkRect::MakeXYWH(8, 0, 8, 8), lightPaint); in make_checkerboard() 80 canvas.drawRect(SkRect::MakeXYWH(0, 8, 8, 8), lightPaint); in make_checkerboard() 81 canvas.drawRect(SkRect::MakeXYWH(8, 8, 8, 8), darkPaint); in make_checkerboard()
|
D | ColorFilterBench.cpp | 85 canvas->drawRect(r, paint); in onDraw() 113 canvas->drawRect(r, paint); in onDraw() 140 canvas->drawRect(r, paint); in onDraw() 167 canvas->drawRect(r, paint); in onDraw() 194 canvas->drawRect(r, paint); in onDraw() 220 canvas->drawRect(r, paint); in onDraw() 246 canvas->drawRect(r, paint); in onDraw() 272 canvas->drawRect(r, paint); in onDraw() 298 canvas->drawRect(r, paint); in onDraw() 337 canvas->drawRect(r, paint); in onDraw()
|
D | MagnifierBench.cpp | 67 canvas.drawRect(SkRect::MakeXYWH(0, 0, 8, 8), darkPaint); in make_checkerboard() 68 canvas.drawRect(SkRect::MakeXYWH(8, 0, 8, 8), lightPaint); in make_checkerboard() 69 canvas.drawRect(SkRect::MakeXYWH(0, 8, 8, 8), lightPaint); in make_checkerboard() 70 canvas.drawRect(SkRect::MakeXYWH(8, 8, 8, 8), darkPaint); in make_checkerboard()
|
/external/skia/bench/ |
D | MergeBench.cpp | 41 canvas->drawRect(r, paint); in onDraw() 78 canvas.drawRect(SkRect::MakeXYWH(0, 0, 8, 8), darkPaint); in make_checkerboard() 79 canvas.drawRect(SkRect::MakeXYWH(8, 0, 8, 8), lightPaint); in make_checkerboard() 80 canvas.drawRect(SkRect::MakeXYWH(0, 8, 8, 8), lightPaint); in make_checkerboard() 81 canvas.drawRect(SkRect::MakeXYWH(8, 8, 8, 8), darkPaint); in make_checkerboard()
|
D | ColorFilterBench.cpp | 85 canvas->drawRect(r, paint); in onDraw() 113 canvas->drawRect(r, paint); in onDraw() 140 canvas->drawRect(r, paint); in onDraw() 167 canvas->drawRect(r, paint); in onDraw() 194 canvas->drawRect(r, paint); in onDraw() 220 canvas->drawRect(r, paint); in onDraw() 246 canvas->drawRect(r, paint); in onDraw() 272 canvas->drawRect(r, paint); in onDraw() 298 canvas->drawRect(r, paint); in onDraw() 337 canvas->drawRect(r, paint); in onDraw()
|
D | MagnifierBench.cpp | 67 canvas.drawRect(SkRect::MakeXYWH(0, 0, 8, 8), darkPaint); in make_checkerboard() 68 canvas.drawRect(SkRect::MakeXYWH(8, 0, 8, 8), lightPaint); in make_checkerboard() 69 canvas.drawRect(SkRect::MakeXYWH(0, 8, 8, 8), lightPaint); in make_checkerboard() 70 canvas.drawRect(SkRect::MakeXYWH(8, 8, 8, 8), darkPaint); in make_checkerboard()
|
/external/chromium_org/skia/ext/ |
D | analysis_canvas_unittest.cc | 119 canvas.drawRect(SkRect::MakeWH(255, 255), paint); in TEST() 129 canvas.drawRect(SkRect::MakeWH(382, 382), paint); in TEST() 135 canvas.drawRect(SkRect::MakeWH(383, 383), paint); in TEST() 143 canvas.drawRect(SkRect::MakeWH(383, 383), paint); in TEST() 153 canvas.drawRect(SkRect::MakeWH(383, 383), paint); in TEST() 158 canvas.drawRect(SkRect::MakeWH(382, 382), paint); in TEST() 162 canvas.drawRect(SkRect::MakeWH(383, 383), paint); in TEST() 171 canvas.drawRect(SkRect::MakeWH(255, 255), paint); in TEST() 178 canvas.drawRect(SkRect::MakeWH(255, 255), paint); in TEST() 189 canvas.drawRect(SkRect::MakeWH(255, 255), paint); in TEST() [all …]
|