Home
last modified time | relevance | path

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

12345678910>>...29

/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 …]
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()
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 …]
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()
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/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]));
193 recorder.clipRect(SkRect::MakeWH(20, 40)); in DEF_TEST()
194 recorder.drawRect(SkRect::MakeWH(20, 40), SkPaint()); in DEF_TEST()
204 SkRecordFillBounds(SkRect::MakeWH(50, 50), record, bounds, meta); in DEF_TEST()
220 recorder.clipRect(SkRect::MakeWH(20, 40)); in DEF_TEST()
[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()
120 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
127 SkASSERT(SkIRect::MakeWH(2*kWidth, 2*kHeight) == special->subset()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DRecordOptsTest.cpp26 recorder.drawRect(SkRect::MakeWH(200, 200), SkPaint()); in DEF_TEST()
27 recorder.drawRect(SkRect::MakeWH(300, 300), SkPaint()); in DEF_TEST()
28 recorder.drawRect(SkRect::MakeWH(100, 100), SkPaint()); in DEF_TEST()
42 recorder.clipRect(SkRect::MakeWH(200, 200)); in DEF_TEST()
63 recorder.clipRect(SkRect::MakeWH(200, 200)); in DEF_TEST()
64 recorder.clipRect(SkRect::MakeWH(100, 100)); in DEF_TEST()
136 SkRect bounds = SkRect::MakeWH(100, 200); in DEF_TEST()
137 SkRect draw = SkRect::MakeWH(50, 60); in DEF_TEST()
217 SkRect bounds = SkRect::MakeWH(SkIntToScalar(100), SkIntToScalar(200)); in DEF_TEST()
218 SkRect clip = SkRect::MakeWH(SkIntToScalar(50), SkIntToScalar(60)); in DEF_TEST()
[all …]
DRecorderTest.cpp46 recorder.drawRect(SkRect::MakeWH(10, 10), SkPaint()); in DEF_TEST()
59 SkRect bounds = SkRect::MakeWH(320, 240); in DEF_TEST()
102 recorder.drawImageRect(image.get(), SkRect::MakeWH(100, 100), SkRect::MakeWH(100, 100), in DEF_TEST()
/external/skia/gm/
Drrects.cpp96 const SkRect kMaxTileBound = SkRect::MakeWH(SkIntToScalar(kTileX), in onDraw()
99 const SkRect kMaxImageBound = SkRect::MakeWH(SkIntToScalar(kImageWidth), in onDraw()
167 fRRects[0].setRect(SkRect::MakeWH(kTileX-2, kTileY-2)); in setUpRRects()
168 fRRects[1].setOval(SkRect::MakeWH(kTileX-2, kTileY-2)); in setUpRRects()
169 fRRects[2].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 10, 10); in setUpRRects()
170 fRRects[3].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 10, 5); in setUpRRects()
172 fRRects[4].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 1, 1); in setUpRRects()
173 fRRects[5].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 0.5f, 0.5f); in setUpRRects()
174 fRRects[6].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 0.2f, 0.2f); in setUpRRects()
177 fRRects[kNumSimpleCases].setRectRadii(SkRect::MakeWH(kTileY-2, kTileY-2), gRadii[0]); in setUpRRects()
[all …]
Dcirculararcs.cpp156 {SkRect::MakeWH(kS, kS), 0, 0},
158 {SkRect::MakeWH(-kS, kS), 0, 90},
160 {SkRect::MakeWH(kS, -kS), 0, 90},
162 {SkRect::MakeWH( 0, 0), 0, 90},
166 {SkRect::MakeWH(kS, kS), 810.f, 90.f},
168 {SkRect::MakeWH(kS, kS), -810.f, 90.f},
170 {SkRect::MakeWH(kS, kS), 0.f, 360.f},
172 {SkRect::MakeWH(kS, kS), 0.f, -360.f},
174 {SkRect::MakeWH(kS, kS), 0.f, 540.f},
176 {SkRect::MakeWH(kS, kS), 0.f, -540.f},
[all …]
Dlocalmatriximageshader.cpp45 canvas->drawIRect(SkIRect::MakeWH(250, 250), paint);
53 canvas->drawIRect(SkIRect::MakeWH(250, 250), paint);
62 canvas->drawIRect(SkIRect::MakeWH(250, 250), paint);
65 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/docs/examples/
DImageInfo_computeOffset.cpp20 canvas->drawImageRect(bitmap.asImage(), SkRect::MakeWH(8, 8), SkRect::MakeWH(32, 32), in draw()
27 canvas->drawImageRect(bitmap.asImage(), SkRect::MakeWH(8, 8), SkRect::MakeWH(128, 128), in draw()
DCanvas_clear.cpp8 canvas->clipRect(SkRect::MakeWH(256, 128)); in draw()
12 canvas->clipRect(SkRect::MakeWH(150, 192)); in draw()
15 canvas->clipRect(SkRect::MakeWH(75, 256)); in draw()
/external/skia/bench/
DTileImageFilterBench.cpp41 SkRect::MakeWH(50, 50), SkRect::MakeWH(WIDTH, HEIGHT), nullptr)); in onDraw()
50 canvas->drawRect(SkRect::MakeWH(WIDTH, HEIGHT), paint); in onDraw()
55 canvas->drawRect(SkRect::MakeWH(WIDTH, HEIGHT), paint); in onDraw()
/external/webrtc/modules/desktop_capture/
Ddesktop_geometry_unittest.cc24 DesktopRect rect = DesktopRect::MakeWH(1, 1); in TEST()
26 ASSERT_TRUE(rect.equals(DesktopRect::MakeWH(1, 1))); in TEST()
39 rect.UnionWith(DesktopRect::MakeWH(1, 1)); in TEST()
40 ASSERT_TRUE(rect.equals(DesktopRect::MakeWH(1, 1))); in TEST()

12345678910>>...29