Home | History | Annotate | Download | only in tabs

Lines Matching refs:Point

8 #include "ui/gfx/point.h"
21 gfx::Point screen_loc[] = {
22 gfx::Point(0, 0),
23 gfx::Point(kPopupWidth/2 - 1, kPopupHeight/2 - 1),
24 gfx::Point(kPopupWidth/2, kPopupHeight/2),
25 gfx::Point(kHotSpotDeltaX - 1, kHotSpotDeltaY - 1),
26 gfx::Point(kHotSpotDeltaX, kHotSpotDeltaY),
27 gfx::Point(-kHotSpotDeltaX, -kHotSpotDeltaY)
29 gfx::Point hotspot[] = {
30 gfx::Point(0, 0),
31 gfx::Point(0, 0),
32 gfx::Point(kPopupWidth, kPopupHeight),
33 gfx::Point(0, 0),
34 gfx::Point(2*kHotSpotDeltaX, 2*kHotSpotDeltaY),
35 gfx::Point(0, 0)
54 gfx::Point screen_loc[] = {
55 gfx::Point(0, 0),
56 gfx::Point(kPopupWidth - 1, kPopupHeight/2 -1),
57 gfx::Point(kPopupWidth, kPopupHeight/2 - 1),
58 gfx::Point(kPopupWidth - 1, kPopupHeight),
59 gfx::Point(2*kHotSpotDeltaX, kHotSpotDeltaY - 1),
60 gfx::Point(2*kHotSpotDeltaX - 1, kHotSpotDeltaY),
61 gfx::Point(2*kHotSpotDeltaX - 1, kHotSpotDeltaY),
62 gfx::Point(0, 0),
63 gfx::Point(kPopupWidth/2 - 1, kPopupHeight - 1),
64 gfx::Point(kPopupWidth/2 - 1, kPopupHeight),
65 gfx::Point(kPopupWidth/2, kPopupHeight - 1),
66 gfx::Point(kHotSpotDeltaX - 1, 2*kHotSpotDeltaY),
67 gfx::Point(kHotSpotDeltaX, 2*kHotSpotDeltaY - 1),
69 gfx::Point hotspot = gfx::Point(0, 0);
104 EXPECT_FALSE(d.IsValidForPoint(gfx::Point(0, 0)));
106 d.set_hot_spot(gfx::Point(0, 0));
109 gfx::Point screen_point[] = {
110 gfx::Point(0, 0),
111 gfx::Point(kPopupWidth + 1, kPopupHeight + 1),
112 gfx::Point(2 * kHotSpotDeltaX, kHotSpotDeltaY),
134 gfx::Point screen_loc[] = {
135 gfx::Point(0, 0),
136 gfx::Point(2 * kHotSpotDeltaX, kHotSpotDeltaY),
137 gfx::Point(2 * kHotSpotDeltaX, kHotSpotDeltaY),
163 d.set_hot_spot(gfx::Point(kPopupWidth, kPopupHeight));