Home
last modified time | relevance | path

Searched refs:kWindowWidth (Results 1 – 13 of 13) sorted by relevance

/external/chromium_org/chrome/browser/ui/views/app_list/win/
Dapp_list_win_unittest.cc19 const int kWindowWidth = 100; variable
39 const int kWindowNearEdge = kWindowWidth / 4;
108 return AppListWin::FindAnchorPoint(gfx::Size(kWindowWidth, kWindowHeight), in DoFindAnchorPoint()
127 gfx::Point(kWindowWidth / 2 + kMinDistanceFromEdge, in TEST_F()
138 EXPECT_EQ(gfx::Point(kWindowWidth / 2 + kMinDistanceFromEdge, in TEST_F()
146 EXPECT_EQ(gfx::Point(kWindowWidth / 2 + kMinDistanceFromEdge, in TEST_F()
153 EXPECT_EQ(gfx::Point(kTaskbarSize + kWindowWidth / 2 + kMinDistanceFromEdge, in TEST_F()
160 EXPECT_EQ(gfx::Point(kScreenWidth - kTaskbarSize - kWindowWidth / 2 - in TEST_F()
199 EXPECT_EQ(gfx::Point(kTaskbarSize + kWindowWidth / 2 + kMinDistanceFromEdge, in TEST_F()
207 EXPECT_EQ(gfx::Point(kScreenWidth - kTaskbarSize - kWindowWidth / 2 - in TEST_F()
[all …]
/external/chromium_org/chrome/browser/ui/app_list/
Dapp_list_positioner_unittest.cc15 const int kWindowWidth = 100; variable
33 const int kWindowNearEdge = kWindowWidth / 4;
44 gfx::Size view_size(kWindowWidth, kWindowHeight); in ResetPositioner()
125 EXPECT_EQ(gfx::Point(kWindowWidth / 2 + kMinDistanceFromEdge, in TEST_F()
131 EXPECT_EQ(gfx::Point(kScreenWidth - kWindowWidth / 2 - kMinDistanceFromEdge, in TEST_F()
138 gfx::Point(kWindowWidth / 2 + kMinDistanceFromEdge, in TEST_F()
145 gfx::Point(kScreenWidth - kWindowWidth / 2 - kMinDistanceFromEdge, in TEST_F()
156 gfx::Point(kShelfSize + kWindowWidth / 2 + kMinDistanceFromEdge, in TEST_F()
164 kScreenWidth - kShelfSize - kWindowWidth / 2 - kMinDistanceFromEdge, in TEST_F()
170 EXPECT_EQ(gfx::Point(kWindowWidth / 2 + kMinDistanceFromEdge, in TEST_F()
[all …]
Dapp_list_service_mac_unittest.mm18 const int kWindowWidth = 100;
36 // A cursor position that is within kWindowWidth pixels of the dock.
37 const int kCursorNearDockX = kDockSize + kWindowWidth;
38 // A cursor position that is more than kWindowWidth pixels away from the dock.
46 // edge of the screen. This must be < kWindowWidth / 2 and < kWindowHeight / 2.
47 const int kWindowNearEdge = kWindowWidth / 4;
49 // edges of the screen. This must be > kWindowWidth / 2, > kWindowHeight / 2, <
50 // kScreenWidth - kWindowWidth / 2 and < kScreenHeight - kWindowHeight / 2.
72 window_size_ = gfx::Size(kWindowWidth, kWindowHeight);
142 NSEqualPoints(NSMakePoint(kScreenWidth / 2 - kWindowWidth / 2, kDockSize),
[all …]
/external/chromium_org/chrome/browser/ui/views/app_list/linux/
Dapp_list_linux_unittest.cc20 const int kWindowWidth = 100; variable
31 const int kCursorNearShelfX = kShelfSize + kWindowWidth;
41 const int kWindowNearEdge = kWindowWidth / 4;
114 return AppListLinux::FindAnchorPoint(gfx::Size(kWindowWidth, kWindowHeight), in DoFindAnchorPoint()
158 EXPECT_EQ(gfx::Point(kWindowWidth / 2, kMenuBarSize + kWindowHeight / 2), in TEST_F()
168 EXPECT_EQ(gfx::Point(kWindowWidth / 2, in TEST_F()
175 EXPECT_EQ(gfx::Point(kWindowWidth / 2, in TEST_F()
182 EXPECT_EQ(gfx::Point(kShelfSize + kWindowWidth / 2, in TEST_F()
189 EXPECT_EQ(gfx::Point(kScreenWidth - kShelfSize - kWindowWidth / 2, in TEST_F()
225 EXPECT_EQ(gfx::Point(kShelfSize + kWindowWidth / 2, kWindowAwayFromEdge), in TEST_F()
[all …]
/external/chromium_org/ui/aura/gestures/
Dgesture_recognizer_unittest.cc650 const int kWindowWidth = 123; in TEST_F() local
653 gfx::Rect bounds(100, 200, kWindowWidth, kWindowHeight); in TEST_F()
701 const int kWindowWidth = 800; in TEST_F() local
704 gfx::Rect bounds(0, 0, kWindowWidth, kWindowHeight); in TEST_F()
946 const int kWindowWidth = 123; in TEST_F() local
949 gfx::Rect bounds(100, 200, kWindowWidth, kWindowHeight); in TEST_F()
1018 const int kWindowWidth = 123; in TEST_F() local
1021 gfx::Rect bounds(95, 195, kWindowWidth, kWindowHeight); in TEST_F()
1087 const int kWindowWidth = 123; in TEST_F() local
1090 gfx::Rect bounds(100, 200, kWindowWidth, kWindowHeight); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/ui/views/frame/
Dbrowser_non_client_frame_view_ash_browsertest.cc39 const int kWindowWidth = 300; in IN_PROC_BROWSER_TEST_F() local
41 widget->SetBounds(gfx::Rect(10, 10, kWindowWidth, kWindowHeight)); in IN_PROC_BROWSER_TEST_F()
42 gfx::Point top_edge(kWindowWidth / 2, 0); in IN_PROC_BROWSER_TEST_F()
46 gfx::Point below_resize(kWindowWidth / 2, ash::kResizeInsideBoundsSize); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/ash/shell/
Dwidgets.cc23 const int kWindowWidth = 400; variable
117 return gfx::Size(kWindowWidth, kWindowHeight); in GetPreferredSize()
138 gfx::Rect bounds(kWindowLeft, kWindowTop, kWindowWidth, kWindowHeight); in CreateWidgetsWindow()
/external/chromium_org/chrome/browser/ui/views/profiles/
Duser_manager_view.cc138 bounds.ClampToCenteredSize(gfx::Size(UserManager::kWindowWidth, in Init()
173 return gfx::Size(UserManager::kWindowWidth, UserManager::kWindowHeight); in GetPreferredSize()
/external/chromium_org/chrome/browser/ui/
Duser_manager.h34 static const int kWindowWidth = 800; variable
/external/chromium_org/ash/test/
Dchild_modal_window.cc28 const int kWindowWidth = 400; variable
54 gfx::Rect(kWindowLeft, kWindowTop, kWindowWidth, kWindowHeight))->Show(); in CreateChildModalParent()
/external/chromium_org/chrome/browser/ui/cocoa/profiles/
Duser_manager_mac.mm87 NSMakeRect((screenWidth - UserManager::kWindowWidth) / 2,
89 UserManager::kWindowWidth, UserManager::kWindowHeight);
99 [window setMinSize:NSMakeSize(UserManager::kWindowWidth,
/external/chromium_org/chrome/browser/ui/cocoa/translate/
Dtranslate_bubble_controller.mm67 const CGFloat kWindowWidth = 320;
77 const CGFloat kContentWidth = kWindowWidth - 2 * kFramePadding;
200 NSMinX(windowFrame), NSMaxY(windowFrame) - height, kWindowWidth, height)];
464 frame.size.width = (kWindowWidth - 2 * kFramePadding) - textLabelWidth;
499 frame.origin.x = (kWindowWidth - 2 * kFramePadding) - NSWidth(frame);
/external/chromium_org/ui/aura/
Dwindow_event_dispatcher_unittest.cc108 const int kWindowWidth = 123; in TEST_F() local
110 gfx::Rect bounds1(100, 200, kWindowWidth, kWindowHeight); in TEST_F()
111 gfx::Rect bounds2(300, 400, kWindowWidth, kWindowHeight); in TEST_F()