Home
last modified time | relevance | path

Searched refs:drawRect (Results 1 – 25 of 827) sorted by relevance

12345678910>>...34

/external/skia/gm/
Dbigrect.cpp31 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 …]
Dperlinnoise.cpp37 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 …]
Dblend.cpp19 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);
Dcroppedrects.cpp40 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()
Dlattice.cpp49 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 …]
Dstroke_rect_shader.cpp37 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/
Dbigrect.cpp31 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 …]
Dperlinnoise.cpp37 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 …]
Dblend.cpp19 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);
Dcroppedrects.cpp40 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()
Dlattice.cpp49 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 …]
Dstroke_rect_shader.cpp37 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/skia/docs/
DSkPicture_Reference.bmh102 pictureCanvas->drawRect(SkRect::MakeWH(200, 200), paint);
104 pictureCanvas->drawRect(SkRect::MakeLTRB(20, 20, 180, 180), paint);
126 pictureCanvas->drawRect(SkRect::MakeWH(200, 200), paint);
128 pictureCanvas->drawRect(SkRect::MakeLTRB(20, 20, 180, 180), paint);
153 pictureCanvas->drawRect(SkRect::MakeWH(200, 200), paint);
155 pictureCanvas->drawRect(SkRect::MakeLTRB(20, 20, 180, 180), paint);
178 pictureCanvas->drawRect(SkRect::MakeWH(200, 200), paint);
180 pictureCanvas->drawRect(SkRect::MakeLTRB(20, 20, 180, 180), paint);
204 pictureCanvas->drawRect(SkRect::MakeWH(200, 200), paint);
206 pictureCanvas->drawRect(SkRect::MakeLTRB(20, 20, 180, 180), paint);
[all …]
/external/skqp/docs/
DSkPicture_Reference.bmh102 pictureCanvas->drawRect(SkRect::MakeWH(200, 200), paint);
104 pictureCanvas->drawRect(SkRect::MakeLTRB(20, 20, 180, 180), paint);
126 pictureCanvas->drawRect(SkRect::MakeWH(200, 200), paint);
128 pictureCanvas->drawRect(SkRect::MakeLTRB(20, 20, 180, 180), paint);
153 pictureCanvas->drawRect(SkRect::MakeWH(200, 200), paint);
155 pictureCanvas->drawRect(SkRect::MakeLTRB(20, 20, 180, 180), paint);
178 pictureCanvas->drawRect(SkRect::MakeWH(200, 200), paint);
180 pictureCanvas->drawRect(SkRect::MakeLTRB(20, 20, 180, 180), paint);
204 pictureCanvas->drawRect(SkRect::MakeWH(200, 200), paint);
206 pictureCanvas->drawRect(SkRect::MakeLTRB(20, 20, 180, 180), paint);
[all …]
/external/skia/samplecode/
DSampleAARects.cpp86 canvas->drawRect(rect, paints[p]); in onDrawContent()
93 canvas->drawRect(rect, paints[p]); in onDrawContent()
100 canvas->drawRect(rect, paints[p]); in onDrawContent()
107 canvas->drawRect(rect, paints[p]); in onDrawContent()
116 canvas->drawRect(rect, paints[p]); in onDrawContent()
129 canvas->drawRect(rect, paints[p]); in onDrawContent()
139 canvas->drawRect(rect, paints[p]); in onDrawContent()
149 canvas->drawRect(rect, paints[p]); in onDrawContent()
160 canvas->drawRect(rect, paints[p]); in onDrawContent()
171 canvas->drawRect(rect, paints[p]); in onDrawContent()
/external/skqp/samplecode/
DSampleAARects.cpp86 canvas->drawRect(rect, paints[p]); in onDrawContent()
93 canvas->drawRect(rect, paints[p]); in onDrawContent()
100 canvas->drawRect(rect, paints[p]); in onDrawContent()
107 canvas->drawRect(rect, paints[p]); in onDrawContent()
116 canvas->drawRect(rect, paints[p]); in onDrawContent()
129 canvas->drawRect(rect, paints[p]); in onDrawContent()
139 canvas->drawRect(rect, paints[p]); in onDrawContent()
149 canvas->drawRect(rect, paints[p]); in onDrawContent()
160 canvas->drawRect(rect, paints[p]); in onDrawContent()
171 canvas->drawRect(rect, paints[p]); in onDrawContent()
/external/zxing/qr_scanner/src/com/google/zxing/client/android/
DViewfinderView.java92 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/skqp/tests/
DRecordOptsTest.cpp27 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 …]
DLayerDrawLooperTest.cpp34 void drawRect(const SkRect& r, const SkPaint& paint) override { in drawRect() function in FakeDevice
36 this->INHERITED::drawRect(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()
107 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_backToFront()
115 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_backToFront()
146 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_mixed()
154 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_mixed()
DRectTest.cpp42 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()
184 canvas->drawRect(r, paint); in DEF_TEST()
/external/skia/tests/
DRecordOptsTest.cpp27 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 …]
DLayerDrawLooperTest.cpp34 void drawRect(const SkRect& r, const SkPaint& paint) override { in drawRect() function in FakeDevice
36 this->INHERITED::drawRect(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()
107 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_backToFront()
115 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_backToFront()
146 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_mixed()
154 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_mixed()
DRectTest.cpp42 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()
184 canvas->drawRect(r, paint); in DEF_TEST()
/external/skia/bench/
DMergeBench.cpp43 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/skqp/bench/
DMergeBench.cpp43 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()

12345678910>>...34