Home
last modified time | relevance | path

Searched refs:MakeWH (Results 1 – 25 of 657) sorted by relevance

12345678910>>...27

/external/skqp/modules/sksg/tests/
DSGTest.cpp60 auto r1 = sksg::Rect::Make(SkRect::MakeWH(100, 100)), in inval_test1()
61 r2 = sksg::Rect::Make(SkRect::MakeWH(100, 100)); in inval_test1()
72 SkRect::MakeWH(100, 100), in inval_test1()
82 SkRect::MakeWH(300, 200), in inval_test1()
83 SkRect::MakeWH(300, 200), in inval_test1()
92 SkRect::MakeWH(300, 200), in inval_test1()
93 SkRect::MakeWH(300, 200), in inval_test1()
102 SkRect::MakeWH(300, 200), in inval_test1()
103 SkRect::MakeWH(100, 100), in inval_test1()
112 SkRect::MakeWH(600, 400), in inval_test1()
[all …]
/external/skia/modules/sksg/tests/
DSGTest.cpp78 auto r1 = sksg::Rect::Make(SkRect::MakeWH(100, 100)), in inval_test1()
79 r2 = sksg::Rect::Make(SkRect::MakeWH(100, 100)); in inval_test1()
92 SkRect::MakeWH(100, 100), in inval_test1()
111 SkRect::MakeWH(300, 200), in inval_test1()
112 SkRect::MakeWH(300, 200), in inval_test1()
137 SkRect::MakeWH(300, 200), in inval_test1()
138 SkRect::MakeWH(300, 200), in inval_test1()
147 SkRect::MakeWH(300, 200), in inval_test1()
148 SkRect::MakeWH(100, 100), in inval_test1()
173 SkRect::MakeWH(600, 400), in inval_test1()
[all …]
/external/skqp/tests/
DRecordPatternTest.cpp33 recorder.clipRect(SkRect::MakeWH(300, 200)); in DEF_TEST()
52 recorder.clipRect(SkRect::MakeWH(300, 200)); in DEF_TEST()
73 recorder.clipRect(SkRect::MakeWH(300, 200)); in DEF_TEST()
74 recorder.drawRect(SkRect::MakeWH(600, 300), SkPaint()); in DEF_TEST()
88 recorder.clipRect(SkRect::MakeWH(300, 200)); in DEF_TEST()
94 recorder.clipRect(SkRect::MakeWH(300, 200)); in DEF_TEST()
95 recorder.clipRect(SkRect::MakeWH(100, 100)); in DEF_TEST()
113 recorder.clipRect(SkRect::MakeWH(300, 200)); in DEF_TEST()
123 recorder.clipRect(SkRect::MakeWH(300, 200)); in DEF_TEST()
124 recorder.drawRect(SkRect::MakeWH(100, 3000), SkPaint()); in DEF_TEST()
[all …]
DRecordDrawTest.cpp63 recorder.drawRect(SkRect::MakeWH(200, 300), SkPaint()); in DEF_TEST()
64 recorder.clipRect(SkRect::MakeWH(100, 200)); in DEF_TEST()
139 recorder.clipRect(SkRect::MakeWH(400, 500));
141 recorder.drawRect(SkRect::MakeWH(320, 240), SkPaint());
145 SkRecordFillBounds(SkRect::MakeWH(SkIntToScalar(W), SkIntToScalar(H)), record, bounds);
148 REPORTER_ASSERT(r, sloppy_rect_eq(SkRect::MakeWH(400, 480), bounds[i]));
196 recorder.clipRect(SkRect::MakeWH(20, 40)); in DEF_TEST()
197 recorder.drawRect(SkRect::MakeWH(20, 40), SkPaint()); in DEF_TEST()
206 SkRecordFillBounds(SkRect::MakeWH(50, 50), record, bounds); in DEF_TEST()
231 SkRecordFillBounds(SkRect::MakeWH(50, 50), record, bounds);
[all …]
DDeviceTest.cpp58 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset());
67 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset());
74 SkASSERT(SkIRect::MakeWH(2*kWidth, 2*kHeight) == special->subset());
101 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
111 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
121 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
128 SkASSERT(SkIRect::MakeWH(2*kWidth, 2*kHeight) == special->subset()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
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()
43 recorder.clipRect(SkRect::MakeWH(200, 200)); in DEF_TEST()
64 recorder.clipRect(SkRect::MakeWH(200, 200)); in DEF_TEST()
65 recorder.clipRect(SkRect::MakeWH(100, 100)); in DEF_TEST()
137 SkRect bounds = SkRect::MakeWH(100, 200); in DEF_TEST()
138 SkRect draw = SkRect::MakeWH(50, 60); in DEF_TEST()
228 SkRect bounds = SkRect::MakeWH(SkIntToScalar(100), SkIntToScalar(200)); in DEF_TEST()
229 SkRect clip = SkRect::MakeWH(SkIntToScalar(50), SkIntToScalar(60)); in DEF_TEST()
[all …]
DLayerDrawLooperTest.cpp68 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()
DPictureTest.cpp77 SkRect rect = SkRect::MakeWH(50, 50); in rand_op()
180 SkRect clipRect = SkRect::MakeWH(2, 2); in create_imbalance()
181 SkRect drawRect = SkRect::MakeWH(10, 10); in create_imbalance()
340 SkRect rect = SkRect::MakeWH(50, 50); in test_peephole()
455 SkRect bounds = SkRect::MakeWH(10, 10); in test_cull_rect_reset()
458 bounds = SkRect::MakeWH(100, 100); in test_cull_rect_reset()
697 SkRect bound = SkRect::MakeWH(320, 240); in DEF_TEST()
768 REPORTER_ASSERT(r, rec.drawRect(SkRect::MakeWH(20,30), paint)); in DEF_TEST()
802 canvas->drawRect(SkRect::MakeWH(20,20), SkPaint{}); in DEF_TEST()
804 REPORTER_ASSERT(r, pic->cullRect() == SkRect::MakeWH(20,20)); in DEF_TEST()
[all …]
/external/skia/tests/
DRecordPatternTest.cpp33 recorder.clipRect(SkRect::MakeWH(300, 200)); in DEF_TEST()
52 recorder.clipRect(SkRect::MakeWH(300, 200)); in DEF_TEST()
73 recorder.clipRect(SkRect::MakeWH(300, 200)); in DEF_TEST()
74 recorder.drawRect(SkRect::MakeWH(600, 300), SkPaint()); in DEF_TEST()
88 recorder.clipRect(SkRect::MakeWH(300, 200)); in DEF_TEST()
94 recorder.clipRect(SkRect::MakeWH(300, 200)); in DEF_TEST()
95 recorder.clipRect(SkRect::MakeWH(100, 100)); in DEF_TEST()
113 recorder.clipRect(SkRect::MakeWH(300, 200)); in DEF_TEST()
123 recorder.clipRect(SkRect::MakeWH(300, 200)); in DEF_TEST()
124 recorder.drawRect(SkRect::MakeWH(100, 3000), SkPaint()); in DEF_TEST()
[all …]
DRecordDrawTest.cpp63 recorder.drawRect(SkRect::MakeWH(200, 300), SkPaint()); in DEF_TEST()
64 recorder.clipRect(SkRect::MakeWH(100, 200)); in DEF_TEST()
139 recorder.clipRect(SkRect::MakeWH(400, 500));
141 recorder.drawRect(SkRect::MakeWH(320, 240), SkPaint());
145 SkRecordFillBounds(SkRect::MakeWH(SkIntToScalar(W), SkIntToScalar(H)), record, bounds);
148 REPORTER_ASSERT(r, sloppy_rect_eq(SkRect::MakeWH(400, 480), bounds[i]));
196 recorder.clipRect(SkRect::MakeWH(20, 40)); in DEF_TEST()
197 recorder.drawRect(SkRect::MakeWH(20, 40), SkPaint()); in DEF_TEST()
206 SkRecordFillBounds(SkRect::MakeWH(50, 50), record, bounds); in DEF_TEST()
231 SkRecordFillBounds(SkRect::MakeWH(50, 50), record, bounds);
[all …]
DDeviceTest.cpp58 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset());
67 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset());
74 SkASSERT(SkIRect::MakeWH(2*kWidth, 2*kHeight) == special->subset());
101 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
111 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
121 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
128 SkASSERT(SkIRect::MakeWH(2*kWidth, 2*kHeight) == special->subset()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
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()
43 recorder.clipRect(SkRect::MakeWH(200, 200)); in DEF_TEST()
64 recorder.clipRect(SkRect::MakeWH(200, 200)); in DEF_TEST()
65 recorder.clipRect(SkRect::MakeWH(100, 100)); in DEF_TEST()
137 SkRect bounds = SkRect::MakeWH(100, 200); in DEF_TEST()
138 SkRect draw = SkRect::MakeWH(50, 60); in DEF_TEST()
228 SkRect bounds = SkRect::MakeWH(SkIntToScalar(100), SkIntToScalar(200)); in DEF_TEST()
229 SkRect clip = SkRect::MakeWH(SkIntToScalar(50), SkIntToScalar(60)); in DEF_TEST()
[all …]
DLayerDrawLooperTest.cpp68 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()
DPictureTest.cpp77 SkRect rect = SkRect::MakeWH(50, 50); in rand_op()
180 SkRect clipRect = SkRect::MakeWH(2, 2); in create_imbalance()
181 SkRect drawRect = SkRect::MakeWH(10, 10); in create_imbalance()
340 SkRect rect = SkRect::MakeWH(50, 50); in test_peephole()
455 SkRect bounds = SkRect::MakeWH(10, 10); in test_cull_rect_reset()
458 bounds = SkRect::MakeWH(100, 100); in test_cull_rect_reset()
696 SkRect bound = SkRect::MakeWH(320, 240); in DEF_TEST()
767 REPORTER_ASSERT(r, rec.drawRect(SkRect::MakeWH(20,30), paint)); in DEF_TEST()
801 canvas->drawRect(SkRect::MakeWH(20,20), SkPaint{}); in DEF_TEST()
803 REPORTER_ASSERT(r, pic->cullRect() == SkRect::MakeWH(20,20)); in DEF_TEST()
[all …]
DImageFilterCacheTest.cpp43 SkIRect clip = SkIRect::MakeWH(100, 100); in test_find_existing()
68 SkIRect clip1 = SkIRect::MakeWH(100, 100); in test_dont_find_if_diff_key()
69 SkIRect clip2 = SkIRect::MakeWH(200, 200); in test_dont_find_if_diff_key()
94 SkIRect clip = SkIRect::MakeWH(100, 100); in test_internal_purge()
121 SkIRect clip = SkIRect::MakeWH(100, 100); in test_explicit_purging()
153 const SkIRect& full = SkIRect::MakeWH(kFullSize, kFullSize); in DEF_TEST()
172 const SkIRect& full = SkIRect::MakeWH(kFullSize, kFullSize); in test_image_backed()
258 const SkIRect& full = SkIRect::MakeWH(kFullSize, kFullSize); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/gm/
Drrects.cpp77 const SkRect kMaxTileBound = SkRect::MakeWH(SkIntToScalar(kTileX), in onDraw()
80 const SkRect kMaxImageBound = SkRect::MakeWH(SkIntToScalar(kImageWidth), in onDraw()
148 fRRects[0].setRect(SkRect::MakeWH(kTileX-2, kTileY-2)); in setUpRRects()
149 fRRects[1].setOval(SkRect::MakeWH(kTileX-2, kTileY-2)); in setUpRRects()
150 fRRects[2].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 10, 10); in setUpRRects()
151 fRRects[3].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 10, 5); in setUpRRects()
153 fRRects[4].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 1, 1); in setUpRRects()
154 fRRects[5].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 0.5f, 0.5f); in setUpRRects()
155 fRRects[6].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 0.2f, 0.2f); in setUpRRects()
158 fRRects[kNumSimpleCases].setRectRadii(SkRect::MakeWH(kTileY-2, kTileY-2), gRadii[0]); in setUpRRects()
[all …]
Dcirculararcs.cpp139 {SkRect::MakeWH(kS, kS), 0, 0},
141 {SkRect::MakeWH(-kS, kS), 0, 90},
143 {SkRect::MakeWH(kS, -kS), 0, 90},
145 {SkRect::MakeWH( 0, 0), 0, 90},
149 {SkRect::MakeWH(kS, kS), 810.f, 90.f},
151 {SkRect::MakeWH(kS, kS), -810.f, 90.f},
153 {SkRect::MakeWH(kS, kS), 0.f, 360.f},
155 {SkRect::MakeWH(kS, kS), 0.f, -360.f},
157 {SkRect::MakeWH(kS, kS), 0.f, 540.f},
159 {SkRect::MakeWH(kS, kS), 0.f, -540.f},
[all …]
Dlocalmatriximageshader.cpp36 canvas->drawIRect(SkIRect::MakeWH(250, 250), paint);
44 canvas->drawIRect(SkIRect::MakeWH(250, 250), paint);
53 canvas->drawIRect(SkIRect::MakeWH(250, 250), paint);
56 canvas->drawIRect(SkIRect::MakeWH(250, 250), paint);
/external/skqp/gm/
Drrects.cpp82 const SkRect kMaxTileBound = SkRect::MakeWH(SkIntToScalar(kTileX), in onDraw()
85 const SkRect kMaxImageBound = SkRect::MakeWH(SkIntToScalar(kImageWidth), in onDraw()
152 fRRects[0].setRect(SkRect::MakeWH(kTileX-2, kTileY-2)); in setUpRRects()
153 fRRects[1].setOval(SkRect::MakeWH(kTileX-2, kTileY-2)); in setUpRRects()
154 fRRects[2].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 10, 10); in setUpRRects()
155 fRRects[3].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 10, 5); in setUpRRects()
157 fRRects[4].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 1, 1); in setUpRRects()
158 fRRects[5].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 0.5f, 0.5f); in setUpRRects()
159 fRRects[6].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 0.2f, 0.2f); in setUpRRects()
162 fRRects[kNumSimpleCases].setRectRadii(SkRect::MakeWH(kTileY-2, kTileY-2), gRadii[0]); in setUpRRects()
[all …]
Dcirculararcs.cpp139 {SkRect::MakeWH(kS, kS), 0, 0},
141 {SkRect::MakeWH(-kS, kS), 0, 90},
143 {SkRect::MakeWH(kS, -kS), 0, 90},
145 {SkRect::MakeWH( 0, 0), 0, 90},
149 {SkRect::MakeWH(kS, kS), 810.f, 90.f},
151 {SkRect::MakeWH(kS, kS), -810.f, 90.f},
153 {SkRect::MakeWH(kS, kS), 0.f, 360.f},
155 {SkRect::MakeWH(kS, kS), 0.f, -360.f},
157 {SkRect::MakeWH(kS, kS), 0.f, 540.f},
159 {SkRect::MakeWH(kS, kS), 0.f, -540.f},
[all …]
Dlocalmatriximageshader.cpp36 canvas->drawIRect(SkIRect::MakeWH(250, 250), paint);
44 canvas->drawIRect(SkIRect::MakeWH(250, 250), paint);
53 canvas->drawIRect(SkIRect::MakeWH(250, 250), paint);
56 canvas->drawIRect(SkIRect::MakeWH(250, 250), paint);
/external/skqp/bench/
DDrawLatticeBench.cpp67 SkRect::MakeWH(250.0f, 250.0f), "Src100_Dst250_Rects9");)
69 SkRect::MakeWH(500.0f, 500.0f), "Src100_Dst500_Rects9");)
71 SkRect::MakeWH(1000.0f, 1000.0f), "Src100_Dst1000_Rects9");)
74 SkRect::MakeWH(250.0f, 250.0f), "Src100_Dst250_Rects15");)
76 SkRect::MakeWH(500.0f, 500.0f), "Src100_Dst500_Rects15");)
78 SkRect::MakeWH(1000.0f, 1000.0f), "Src100_Dst1000_Rects15");)
DTileImageFilterBench.cpp40 paint.setImageFilter(SkTileImageFilter::Make(SkRect::MakeWH(50, 50), in onDraw()
41 SkRect::MakeWH(WIDTH, HEIGHT), in onDraw()
51 canvas->drawRect(SkRect::MakeWH(WIDTH, HEIGHT), paint); in onDraw()
56 canvas->drawRect(SkRect::MakeWH(WIDTH, HEIGHT), paint); in onDraw()
/external/skia/bench/
DDrawLatticeBench.cpp67 SkRect::MakeWH(250.0f, 250.0f), "Src100_Dst250_Rects9");)
69 SkRect::MakeWH(500.0f, 500.0f), "Src100_Dst500_Rects9");)
71 SkRect::MakeWH(1000.0f, 1000.0f), "Src100_Dst1000_Rects9");)
74 SkRect::MakeWH(250.0f, 250.0f), "Src100_Dst250_Rects15");)
76 SkRect::MakeWH(500.0f, 500.0f), "Src100_Dst500_Rects15");)
78 SkRect::MakeWH(1000.0f, 1000.0f), "Src100_Dst1000_Rects15");)
DTileImageFilterBench.cpp40 paint.setImageFilter(SkTileImageFilter::Make(SkRect::MakeWH(50, 50), in onDraw()
41 SkRect::MakeWH(WIDTH, HEIGHT), in onDraw()
51 canvas->drawRect(SkRect::MakeWH(WIDTH, HEIGHT), paint); in onDraw()
56 canvas->drawRect(SkRect::MakeWH(WIDTH, HEIGHT), paint); in onDraw()

12345678910>>...27