Lines Matching refs:DesktopRect
29 const DesktopRect rects[], in CompareRegion()
56 DesktopRect rect = DesktopRect::MakeXYWH(1, 2, 0, 0); in TEST()
64 DesktopRect rect = DesktopRect::MakeXYWH(1, 2, 3, 4); in TEST()
73 DesktopRect rects[4]; in TEST()
75 {1, {DesktopRect::MakeXYWH(10, 10, 10, 10)}}, in TEST()
77 {DesktopRect::MakeXYWH(10, 10, 10, 10), in TEST()
78 DesktopRect::MakeXYWH(30, 10, 10, 15)}}, in TEST()
80 {DesktopRect::MakeXYWH(10, 10, 10, 10), in TEST()
81 DesktopRect::MakeXYWH(10, 30, 10, 5)}}, in TEST()
83 {DesktopRect::MakeXYWH(10, 10, 10, 9), in TEST()
84 DesktopRect::MakeXYWH(30, 10, 15, 10), in TEST()
85 DesktopRect::MakeXYWH(10, 30, 8, 10)}}, in TEST()
87 {DesktopRect::MakeXYWH(0, 0, 30, 10), in TEST()
88 DesktopRect::MakeXYWH(40, 0, 10, 30), in TEST()
89 DesktopRect::MakeXYWH(0, 20, 10, 30), in TEST()
90 DesktopRect::MakeXYWH(20, 40, 30, 10)}}, in TEST()
92 {DesktopRect::MakeXYWH(0, 0, 10, 100), in TEST()
93 DesktopRect::MakeXYWH(20, 10, 30, 10), in TEST()
94 DesktopRect::MakeXYWH(20, 30, 30, 10), in TEST()
95 DesktopRect::MakeXYWH(20, 50, 30, 10)}}, in TEST()
121 DesktopRect input_rect1; in TEST()
122 DesktopRect input_rect2; in TEST()
124 DesktopRect expected_rects[3]; in TEST()
127 {DesktopRect::MakeLTRB(100, 100, 200, 200), in TEST()
128 DesktopRect::MakeLTRB(0, 100, 100, 200), in TEST()
130 {DesktopRect::MakeLTRB(0, 100, 200, 200)}}, in TEST()
131 {DesktopRect::MakeLTRB(100, 100, 200, 200), in TEST()
132 DesktopRect::MakeLTRB(100, 0, 200, 100), in TEST()
134 {DesktopRect::MakeLTRB(100, 0, 200, 200)}}, in TEST()
137 {DesktopRect::MakeLTRB(100, 100, 200, 200), in TEST()
138 DesktopRect::MakeLTRB(0, 150, 100, 250), in TEST()
140 {DesktopRect::MakeLTRB(100, 100, 200, 150), in TEST()
141 DesktopRect::MakeLTRB(0, 150, 200, 200), in TEST()
142 DesktopRect::MakeLTRB(0, 200, 100, 250)}}, in TEST()
143 {DesktopRect::MakeLTRB(100, 100, 200, 200), in TEST()
144 DesktopRect::MakeLTRB(0, 50, 100, 150), in TEST()
146 {DesktopRect::MakeLTRB(0, 50, 100, 100), in TEST()
147 DesktopRect::MakeLTRB(0, 100, 200, 150), in TEST()
148 DesktopRect::MakeLTRB(100, 150, 200, 200)}}, in TEST()
149 {DesktopRect::MakeLTRB(100, 100, 200, 200), in TEST()
150 DesktopRect::MakeLTRB(0, 120, 100, 180), in TEST()
152 {DesktopRect::MakeLTRB(100, 100, 200, 120), in TEST()
153 DesktopRect::MakeLTRB(0, 120, 200, 180), in TEST()
154 DesktopRect::MakeLTRB(100, 180, 200, 200)}}, in TEST()
157 {DesktopRect::MakeLTRB(100, 100, 200, 200), in TEST()
158 DesktopRect::MakeLTRB(150, 0, 250, 100), in TEST()
160 {DesktopRect::MakeLTRB(150, 0, 250, 100), in TEST()
161 DesktopRect::MakeLTRB(100, 100, 200, 200)}}, in TEST()
162 {DesktopRect::MakeLTRB(100, 100, 200, 200), in TEST()
163 DesktopRect::MakeLTRB(50, 0, 150, 100), in TEST()
165 {DesktopRect::MakeLTRB(50, 0, 150, 100), in TEST()
166 DesktopRect::MakeLTRB(100, 100, 200, 200)}}, in TEST()
167 {DesktopRect::MakeLTRB(100, 100, 200, 200), in TEST()
168 DesktopRect::MakeLTRB(120, 0, 180, 100), in TEST()
170 {DesktopRect::MakeLTRB(120, 0, 180, 100), in TEST()
171 DesktopRect::MakeLTRB(100, 100, 200, 200)}}, in TEST()
174 {DesktopRect::MakeLTRB(100, 100, 200, 200), in TEST()
175 DesktopRect::MakeLTRB(50, 50, 150, 150), in TEST()
177 {DesktopRect::MakeLTRB(50, 50, 150, 100), in TEST()
178 DesktopRect::MakeLTRB(50, 100, 200, 150), in TEST()
179 DesktopRect::MakeLTRB(100, 150, 200, 200)}}, in TEST()
180 {DesktopRect::MakeLTRB(100, 100, 200, 200), in TEST()
181 DesktopRect::MakeLTRB(150, 50, 250, 150), in TEST()
183 {DesktopRect::MakeLTRB(150, 50, 250, 100), in TEST()
184 DesktopRect::MakeLTRB(100, 100, 250, 150), in TEST()
185 DesktopRect::MakeLTRB(100, 150, 200, 200)}}, in TEST()
186 {DesktopRect::MakeLTRB(100, 100, 200, 200), in TEST()
187 DesktopRect::MakeLTRB(0, 120, 150, 180), in TEST()
189 {DesktopRect::MakeLTRB(100, 100, 200, 120), in TEST()
190 DesktopRect::MakeLTRB(0, 120, 200, 180), in TEST()
191 DesktopRect::MakeLTRB(100, 180, 200, 200)}}, in TEST()
192 {DesktopRect::MakeLTRB(100, 100, 200, 200), in TEST()
193 DesktopRect::MakeLTRB(120, 0, 180, 150), in TEST()
195 {DesktopRect::MakeLTRB(120, 0, 180, 100), in TEST()
196 DesktopRect::MakeLTRB(100, 100, 200, 200)}}, in TEST()
197 {DesktopRect::MakeLTRB(100, 0, 200, 300), in TEST()
198 DesktopRect::MakeLTRB(0, 100, 300, 200), in TEST()
200 {DesktopRect::MakeLTRB(100, 0, 200, 100), in TEST()
201 DesktopRect::MakeLTRB(0, 100, 300, 200), in TEST()
202 DesktopRect::MakeLTRB(100, 200, 200, 300)}}, in TEST()
205 {DesktopRect::MakeLTRB(100, 100, 200, 200), in TEST()
206 DesktopRect::MakeLTRB(150, 150, 180, 180), in TEST()
208 {DesktopRect::MakeLTRB(100, 100, 200, 200)}}, in TEST()
209 {DesktopRect::MakeLTRB(100, 100, 200, 200), in TEST()
210 DesktopRect::MakeLTRB(100, 100, 180, 180), in TEST()
212 {DesktopRect::MakeLTRB(100, 100, 200, 200)}}, in TEST()
213 {DesktopRect::MakeLTRB(100, 100, 200, 200), in TEST()
214 DesktopRect::MakeLTRB(150, 150, 200, 200), in TEST()
216 {DesktopRect::MakeLTRB(100, 100, 200, 200)}}, in TEST()
251 base_region.AddRect(DesktopRect::MakeXYWH(5, 0, 5, 1)); in TEST()
253 base_region.AddRect(DesktopRect::MakeXYWH(15, 0, 5, 1)); in TEST()
255 base_region.AddRect(DesktopRect::MakeXYWH(25, 0, 5, 1)); in TEST()
257 base_region.AddRect(DesktopRect::MakeXYWH(35, 0, 5, 1)); in TEST()
259 base_region.AddRect(DesktopRect::MakeXYWH(45, 0, 5, 1)); in TEST()
269 r.AddRect(DesktopRect::MakeXYWH(x, 0, last_rect_size, 1)); in TEST()
294 DesktopRect input_rects[4]; in TEST()
296 DesktopRect expected_rects[6]; in TEST()
300 DesktopRect::MakeLTRB(100, 100, 200, 200), in TEST()
301 DesktopRect::MakeLTRB(0, 100, 100, 200), in TEST()
302 DesktopRect::MakeLTRB(310, 110, 320, 120), in TEST()
305 {DesktopRect::MakeLTRB(0, 100, 200, 200), in TEST()
306 DesktopRect::MakeLTRB(310, 110, 320, 120)}}, in TEST()
308 {DesktopRect::MakeLTRB(100, 100, 200, 200), in TEST()
309 DesktopRect::MakeLTRB(50, 50, 150, 150), in TEST()
310 DesktopRect::MakeLTRB(300, 125, 350, 175)}, in TEST()
312 {DesktopRect::MakeLTRB(50, 50, 150, 100), in TEST()
313 DesktopRect::MakeLTRB(50, 100, 200, 150), in TEST()
314 DesktopRect::MakeLTRB(300, 125, 350, 175), in TEST()
315 DesktopRect::MakeLTRB(100, 150, 200, 200)}}, in TEST()
317 {DesktopRect::MakeLTRB(0, 0, 30, 30), in TEST()
318 DesktopRect::MakeLTRB(10, 10, 40, 40), in TEST()
319 DesktopRect::MakeLTRB(20, 20, 50, 50), in TEST()
320 DesktopRect::MakeLTRB(50, 0, 65, 15)}, in TEST()
322 {DesktopRect::MakeLTRB(0, 0, 30, 10), in TEST()
323 DesktopRect::MakeLTRB(50, 0, 65, 15), in TEST()
324 DesktopRect::MakeLTRB(0, 10, 40, 20), in TEST()
325 DesktopRect::MakeLTRB(0, 20, 50, 30), in TEST()
326 DesktopRect::MakeLTRB(10, 30, 50, 40), in TEST()
327 DesktopRect::MakeLTRB(20, 40, 50, 50)}}, in TEST()
329 {DesktopRect::MakeLTRB(10, 10, 40, 20), in TEST()
330 DesktopRect::MakeLTRB(10, 30, 40, 40), in TEST()
331 DesktopRect::MakeLTRB(10, 20, 40, 30)}, in TEST()
333 {DesktopRect::MakeLTRB(10, 10, 40, 40)}}, in TEST()
355 DesktopRect rects[4]; in TEST()
360 {DesktopRect::MakeLTRB(0, 100, 200, 200), in TEST()
361 DesktopRect::MakeLTRB(310, 110, 320, 120)}, in TEST()
364 {DesktopRect::MakeLTRB(0, 100, 201, 200), in TEST()
365 DesktopRect::MakeLTRB(310, 110, 320, 120)}, in TEST()
368 {DesktopRect::MakeLTRB(0, 100, 200, 201), in TEST()
369 DesktopRect::MakeLTRB(310, 110, 320, 120)}, in TEST()
375 {DesktopRect::MakeLTRB(0, 0, 30, 30), in TEST()
376 DesktopRect::MakeLTRB(10, 10, 40, 40), in TEST()
377 DesktopRect::MakeLTRB(20, 20, 50, 50), in TEST()
378 DesktopRect::MakeLTRB(50, 0, 65, 15)}, in TEST()
381 {DesktopRect::MakeLTRB(0, 0, 30, 30), in TEST()
382 DesktopRect::MakeLTRB(10, 10, 40, 40), in TEST()
383 DesktopRect::MakeLTRB(20, 20, 50, 50), in TEST()
384 DesktopRect::MakeLTRB(50, 1, 65, 16)}, in TEST()
387 {DesktopRect::MakeLTRB(0, 0, 30, 30), in TEST()
388 DesktopRect::MakeLTRB(10, 10, 40, 40), in TEST()
389 DesktopRect::MakeLTRB(20, 20, 50, 50), in TEST()
390 DesktopRect::MakeLTRB(51, 0, 66, 15)}, in TEST()
396 {DesktopRect::MakeLTRB(100, 100, 200, 200), in TEST()
397 DesktopRect::MakeLTRB(50, 50, 150, 150), in TEST()
398 DesktopRect::MakeLTRB(300, 125, 350, 175)}, in TEST()
401 {DesktopRect::MakeLTRB(100, 100, 200, 200), in TEST()
402 DesktopRect::MakeLTRB(50, 50, 100, 150), in TEST()
403 DesktopRect::MakeLTRB(100, 50, 150, 150), in TEST()
404 DesktopRect::MakeLTRB(300, 125, 350, 175)}, in TEST()
409 {DesktopRect::MakeLTRB(10, 10, 40, 20), in TEST()
410 DesktopRect::MakeLTRB(10, 30, 40, 40), in TEST()
411 DesktopRect::MakeLTRB(10, 20, 40, 30)}, in TEST()
413 {1, {DesktopRect::MakeLTRB(10, 10, 40, 40)}, 7}, in TEST()
433 DesktopRect input_rects[4]; in TEST()
437 DesktopRect expected_rects[5]; in TEST()
440 {DesktopRect::MakeLTRB(0, 0, 30, 30), in TEST()
441 DesktopRect::MakeLTRB(10, 10, 40, 40), in TEST()
442 DesktopRect::MakeLTRB(20, 20, 50, 50)}, in TEST()
446 {DesktopRect::MakeLTRB(3, 5, 33, 15), in TEST()
447 DesktopRect::MakeLTRB(3, 15, 43, 25), in TEST()
448 DesktopRect::MakeLTRB(3, 25, 53, 35), in TEST()
449 DesktopRect::MakeLTRB(13, 35, 53, 45), in TEST()
450 DesktopRect::MakeLTRB(23, 45, 53, 55)}}, in TEST()
465 DesktopRect input1_rects[4]; in TEST()
467 DesktopRect input2_rects[4]; in TEST()
469 DesktopRect expected_rects[5]; in TEST()
472 {DesktopRect::MakeLTRB(0, 0, 100, 100)}, in TEST()
474 {DesktopRect::MakeLTRB(50, 50, 150, 150)}, in TEST()
476 {DesktopRect::MakeLTRB(50, 50, 100, 100)}}, in TEST()
479 {DesktopRect::MakeLTRB(100, 0, 200, 300)}, in TEST()
481 {DesktopRect::MakeLTRB(0, 100, 300, 200)}, in TEST()
483 {DesktopRect::MakeLTRB(100, 100, 200, 200)}}, in TEST()
486 {DesktopRect::MakeLTRB(0, 0, 100, 100)}, in TEST()
488 {DesktopRect::MakeLTRB(50, 10, 150, 30), in TEST()
489 DesktopRect::MakeLTRB(50, 30, 160, 50)}, in TEST()
491 {DesktopRect::MakeLTRB(50, 10, 100, 50)}}, in TEST()
494 {DesktopRect::MakeLTRB(0, 0, 100, 100)}, in TEST()
496 {DesktopRect::MakeLTRB(50, 10, 150, 30), in TEST()
497 DesktopRect::MakeLTRB(50, 30, 90, 50)}, in TEST()
499 {DesktopRect::MakeLTRB(50, 10, 100, 30), in TEST()
500 DesktopRect::MakeLTRB(50, 30, 90, 50)}}, in TEST()
502 {DesktopRect::MakeLTRB(0, 0, 100, 100)}, in TEST()
504 {DesktopRect::MakeLTRB(100, 50, 200, 200)}, in TEST()
525 DesktopRect input1_rects[4]; in TEST()
527 DesktopRect input2_rects[4]; in TEST()
529 DesktopRect expected_rects[5]; in TEST()
533 {DesktopRect::MakeLTRB(0, 0, 100, 100)}, in TEST()
535 {DesktopRect::MakeLTRB(50, 50, 150, 150)}, in TEST()
537 {DesktopRect::MakeLTRB(0, 0, 100, 50), in TEST()
538 DesktopRect::MakeLTRB(0, 50, 50, 100)}}, in TEST()
541 {DesktopRect::MakeLTRB(0, 0, 100, 100)}, in TEST()
543 {DesktopRect::MakeLTRB(-50, -50, 50, 50)}, in TEST()
545 {DesktopRect::MakeLTRB(50, 0, 100, 50), in TEST()
546 DesktopRect::MakeLTRB(0, 50, 100, 100)}}, in TEST()
549 {DesktopRect::MakeLTRB(0, 0, 100, 100)}, in TEST()
551 {DesktopRect::MakeLTRB(-50, 50, 50, 150)}, in TEST()
553 {DesktopRect::MakeLTRB(0, 0, 100, 50), in TEST()
554 DesktopRect::MakeLTRB(50, 50, 100, 100)}}, in TEST()
557 {DesktopRect::MakeLTRB(0, 0, 100, 100)}, in TEST()
559 {DesktopRect::MakeLTRB(50, 50, 150, 70)}, in TEST()
561 {DesktopRect::MakeLTRB(0, 0, 100, 50), in TEST()
562 DesktopRect::MakeLTRB(0, 50, 50, 70), in TEST()
563 DesktopRect::MakeLTRB(0, 70, 100, 100)}}, in TEST()
566 {DesktopRect::MakeLTRB(0, 0, 100, 100)}, in TEST()
568 {DesktopRect::MakeLTRB(50, 50, 70, 70)}, in TEST()
570 {DesktopRect::MakeLTRB(0, 0, 100, 50), in TEST()
571 DesktopRect::MakeLTRB(0, 50, 50, 70), in TEST()
572 DesktopRect::MakeLTRB(70, 50, 100, 70), in TEST()
573 DesktopRect::MakeLTRB(0, 70, 100, 100)}}, in TEST()
577 {DesktopRect::MakeLTRB(0, 0, 100, 100)}, in TEST()
579 {DesktopRect::MakeLTRB(0, 0, 100, 100)}, in TEST()
584 {DesktopRect::MakeLTRB(0, 0, 100, 100)}, in TEST()
586 {DesktopRect::MakeLTRB(-10, -10, 110, 110)}, in TEST()
591 {DesktopRect::MakeLTRB(0, 0, 100, 100), in TEST()
592 DesktopRect::MakeLTRB(50, 50, 150, 150)}, in TEST()
594 {DesktopRect::MakeLTRB(0, 0, 100, 100), in TEST()
595 DesktopRect::MakeLTRB(50, 50, 150, 150)}, in TEST()
601 {DesktopRect::MakeLTRB(0, 0, 10, 10), in TEST()
602 DesktopRect::MakeLTRB(20, 20, 30, 30), in TEST()
603 DesktopRect::MakeLTRB(40, 0, 50, 10)}, in TEST()
605 {DesktopRect::MakeLTRB(20, 20, 30, 30)}, in TEST()
607 {DesktopRect::MakeLTRB(0, 0, 10, 10), in TEST()
608 DesktopRect::MakeLTRB(40, 0, 50, 10)}}, in TEST()
612 {DesktopRect::MakeLTRB(0, 0, 100, 50), in TEST()
613 DesktopRect::MakeLTRB(0, 50, 150, 70), in TEST()
614 DesktopRect::MakeLTRB(0, 70, 100, 100)}, in TEST()
616 {DesktopRect::MakeLTRB(100, 50, 150, 70)}, in TEST()
618 {DesktopRect::MakeLTRB(0, 0, 100, 100)}}, in TEST()
622 {DesktopRect::MakeLTRB(0, 0, 100, 100)}, in TEST()
624 {DesktopRect::MakeLTRB(100, 0, 200, 100)}, in TEST()
626 {DesktopRect::MakeLTRB(0, 0, 100, 100)}}, in TEST()
629 {DesktopRect::MakeLTRB(0, 0, 100, 100)}, in TEST()
631 {DesktopRect::MakeLTRB(-100, 0, 0, 100)}, in TEST()
633 {DesktopRect::MakeLTRB(0, 0, 100, 100)}}, in TEST()
636 {DesktopRect::MakeLTRB(0, 0, 100, 100)}, in TEST()
638 {DesktopRect::MakeLTRB(0, 100, 0, 200)}, in TEST()
640 {DesktopRect::MakeLTRB(0, 0, 100, 100)}}, in TEST()
643 {DesktopRect::MakeLTRB(0, 0, 100, 100)}, in TEST()
645 {DesktopRect::MakeLTRB(0, -100, 100, 0)}, in TEST()
647 {DesktopRect::MakeLTRB(0, 0, 100, 100)}}, in TEST()
688 base_region.AddRect(DesktopRect::MakeXYWH(5, 0, 5, 1)); in TEST()
690 base_region.AddRect(DesktopRect::MakeXYWH(15, 0, 5, 1)); in TEST()
692 base_region.AddRect(DesktopRect::MakeXYWH(25, 0, 5, 1)); in TEST()
694 base_region.AddRect(DesktopRect::MakeXYWH(35, 0, 5, 1)); in TEST()
696 base_region.AddRect(DesktopRect::MakeXYWH(45, 0, 5, 1)); in TEST()
716 region2.AddRect(DesktopRect::MakeLTRB(x + span_set.spans[span].start, 0, in TEST()
763 base_region.AddRect(DesktopRect::MakeXYWH(0, 5, 1, 5)); in TEST()
765 base_region.AddRect(DesktopRect::MakeXYWH(0, 15, 1, 5)); in TEST()
767 base_region.AddRect(DesktopRect::MakeXYWH(0, 25, 1, 5)); in TEST()
769 base_region.AddRect(DesktopRect::MakeXYWH(0, 35, 1, 5)); in TEST()
771 base_region.AddRect(DesktopRect::MakeXYWH(0, 45, 1, 5)); in TEST()
791 region2.AddRect(DesktopRect::MakeLTRB(0, y + span_set.spans[span].start, in TEST()
819 DesktopRect::MakeXYWH(RadmonInt(1000), RadmonInt(1000), 200, 200)); in TEST()
823 r.AddRect(DesktopRect::MakeXYWH(RadmonInt(1000), RadmonInt(1000), in TEST()