Lines Matching refs:DesktopRect
18 DesktopRect rect = DesktopRect::MakeLTRB(1, 1, 2, 2); in TEST()
19 rect.UnionWith(DesktopRect::MakeLTRB(-2, -2, -1, -1)); in TEST()
20 ASSERT_TRUE(rect.equals(DesktopRect::MakeLTRB(-2, -2, 2, 2))); in TEST()
24 DesktopRect rect = DesktopRect::MakeWH(1, 1); in TEST()
25 rect.UnionWith(DesktopRect()); in TEST()
26 ASSERT_TRUE(rect.equals(DesktopRect::MakeWH(1, 1))); in TEST()
28 rect = DesktopRect::MakeXYWH(1, 1, 2, 2); in TEST()
29 rect.UnionWith(DesktopRect()); in TEST()
30 ASSERT_TRUE(rect.equals(DesktopRect::MakeXYWH(1, 1, 2, 2))); in TEST()
32 rect = DesktopRect::MakeXYWH(1, 1, 2, 2); in TEST()
33 rect.UnionWith(DesktopRect::MakeXYWH(3, 3, 0, 0)); in TEST()
34 ASSERT_TRUE(rect.equals(DesktopRect::MakeXYWH(1, 1, 2, 2))); in TEST()
38 DesktopRect rect; in TEST()
39 rect.UnionWith(DesktopRect::MakeWH(1, 1)); in TEST()
40 ASSERT_TRUE(rect.equals(DesktopRect::MakeWH(1, 1))); in TEST()
42 rect = DesktopRect(); in TEST()
43 rect.UnionWith(DesktopRect::MakeXYWH(1, 1, 2, 2)); in TEST()
44 ASSERT_TRUE(rect.equals(DesktopRect::MakeXYWH(1, 1, 2, 2))); in TEST()
46 rect = DesktopRect::MakeXYWH(3, 3, 0, 0); in TEST()
47 rect.UnionWith(DesktopRect::MakeXYWH(1, 1, 2, 2)); in TEST()
48 ASSERT_TRUE(rect.equals(DesktopRect::MakeXYWH(1, 1, 2, 2))); in TEST()
52 DesktopRect rect; in TEST()
53 rect.UnionWith(DesktopRect()); in TEST()
56 rect = DesktopRect::MakeXYWH(1, 1, 0, 0); in TEST()
57 rect.UnionWith(DesktopRect()); in TEST()
60 rect = DesktopRect(); in TEST()
61 rect.UnionWith(DesktopRect::MakeXYWH(1, 1, 0, 0)); in TEST()
64 rect = DesktopRect::MakeXYWH(1, 1, 0, 0); in TEST()
65 rect.UnionWith(DesktopRect::MakeXYWH(-1, -1, 0, 0)); in TEST()
70 DesktopRect rect = DesktopRect::MakeXYWH(100, 100, 100, 100); in TEST()
77 rect = DesktopRect::MakeXYWH(100, 100, 100, 100); in TEST()
84 rect = DesktopRect::MakeXYWH(100, 100, 100, 100); in TEST()
91 rect = DesktopRect::MakeXYWH(0, 0, 100, 100); in TEST()
98 rect = DesktopRect::MakeXYWH(0, 100, 100, 100); in TEST()