Searched refs:initial_bounds (Results 1 - 25 of 49) sorted by relevance

12

/external/chromium_org/ash/wm/workspace/
H A Dmagnetism_matcher_unittest.cc14 const gfx::Rect initial_bounds(20, 10, 50, 60);
15 MagnetismMatcher matcher(initial_bounds, kAllMagnetismEdges);
19 gfx::Rect(initial_bounds.x() - distance - 10,
20 initial_bounds.y() - distance - 10, 2, 3), &edge));
23 gfx::Rect(initial_bounds.x() - 2, initial_bounds.y(), 1, 1),
29 gfx::Rect(initial_bounds.x() - 2,
30 initial_bounds.y() + distance + 1 , 1, 1),
39 const gfx::Rect initial_bounds(20, 10, 50, 60);
40 MagnetismMatcher matcher(initial_bounds, kAllMagnetismEdge
[all...]
/external/chromium_org/ash/host/
H A Dash_window_tree_host_init_params.h23 gfx::Rect initial_bounds; member in struct:ash::AshWindowTreeHostInitParams
H A Dash_window_tree_host_ozone.cc21 explicit AshWindowTreeHostOzone(const gfx::Rect& initial_bounds);
43 AshWindowTreeHostOzone::AshWindowTreeHostOzone(const gfx::Rect& initial_bounds) argument
44 : aura::WindowTreeHostOzone(initial_bounds),
94 return new AshWindowTreeHostOzone(init_params.initial_bounds);
H A Dash_window_tree_host_win.cc25 explicit AshWindowTreeHostWin(const gfx::Rect& initial_bounds) argument
26 : aura::WindowTreeHostWin(initial_bounds),
121 return new AshWindowTreeHostWin(init_params.initial_bounds);
H A Dash_window_tree_host_x11.h23 explicit AshWindowTreeHostX11(const gfx::Rect& initial_bounds);
H A Dash_window_tree_host_x11.cc35 AshWindowTreeHostX11::AshWindowTreeHostX11(const gfx::Rect& initial_bounds) argument
36 : WindowTreeHostX11(initial_bounds),
300 return new AshWindowTreeHostX11(init_params.initial_bounds);
/external/chromium_org/chrome/browser/ui/panels/
H A Dpanel_bounds_animation.cc21 const gfx::Rect& initial_bounds,
32 if (initial_bounds.height() > final_bounds.height() &&
36 double distance_y = initial_bounds.height() - final_bounds.height();
19 PanelBoundsAnimation(gfx::AnimationDelegate* target, Panel* panel, const gfx::Rect& initial_bounds, const gfx::Rect& final_bounds) argument
H A Dpanel_bounds_animation.h19 const gfx::Rect& initial_bounds,
H A Ddetached_panel_browsertest.cc157 gfx::Rect initial_bounds(50, 50, 700, 500);
158 Panel* panel = CreateDetachedPanel("1", initial_bounds);
159 EXPECT_EQ(initial_bounds, panel->GetBounds());
193 gfx::Rect initial_bounds(450, 50, 350, 400);
194 Panel* panel = CreateDetachedPanel("1", initial_bounds);
195 EXPECT_EQ(initial_bounds, panel->GetBounds());
H A Ddetached_panel_collection.cc267 gfx::Rect initial_bounds = requested_bounds; local
268 initial_bounds.set_y(
270 return initial_bounds;
H A Ddocked_panel_collection.cc771 gfx::Rect initial_bounds = requested_bounds; local
772 initial_bounds.set_origin(
774 return initial_bounds;
/external/chromium_org/ash/wm/panels/
H A Dpanel_window_resizer_unittest.cc101 gfx::Rect initial_bounds = window->GetBoundsInScreen(); local
106 EXPECT_EQ(initial_bounds.x(), window->GetBoundsInScreen().x());
107 EXPECT_EQ(initial_bounds.y(), window->GetBoundsInScreen().y());
111 EXPECT_EQ(initial_bounds.x() + dx * 100, window->GetBoundsInScreen().x());
112 EXPECT_EQ(initial_bounds.y() + dy * 100, window->GetBoundsInScreen().y());
129 EXPECT_EQ(initial_bounds.x(), window->GetBoundsInScreen().x());
130 EXPECT_EQ(initial_bounds.y(), window->GetBoundsInScreen().y());
328 gfx::Rect initial_bounds = window->GetBoundsInScreen(); local
334 EXPECT_EQ(initial_bounds.x(), window->GetBoundsInScreen().x());
335 EXPECT_EQ(initial_bounds
357 gfx::Rect initial_bounds = window->GetBoundsInScreen(); local
377 gfx::Rect initial_bounds = window->GetBoundsInScreen(); local
410 gfx::Rect initial_bounds = window->GetBoundsInScreen(); local
443 gfx::Rect initial_bounds = window->GetBoundsInScreen(); local
[all...]
/external/chromium_org/chrome/browser/ui/window_sizer/
H A Dwindow_sizer_unittest.cc165 gfx::Rect initial_bounds(kWindowTilePixels, kWindowTilePixels, 500, 400);
168 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), initial_bounds,
170 EXPECT_EQ(initial_bounds.ToString(), window_bounds.ToString());
174 gfx::Rect initial_bounds(0, 0, 1024, 768);
177 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), initial_bounds,
179 EXPECT_EQ(initial_bounds.ToString(), window_bounds.ToString());
183 gfx::Rect initial_bounds(-600, 10, 500, 400);
187 initial_bounds, gfx::Rect(), PERSISTED, NULL, gfx::Rect(),
189 EXPECT_EQ(initial_bounds.ToString(), window_bounds.ToString());
193 gfx::Rect initial_bounds(
[all...]
H A Dwindow_sizer_ash_unittest.cc291 gfx::Rect initial_bounds(
296 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), initial_bounds,
298 EXPECT_EQ(initial_bounds.ToString(), window_bounds.ToString());
302 gfx::Rect initial_bounds(0, 0, 1024, 768);
305 GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), initial_bounds,
307 EXPECT_EQ(initial_bounds.ToString(), window_bounds.ToString());
311 gfx::Rect initial_bounds(-600, 10, 500, 400);
315 initial_bounds, gfx::Rect(), PERSISTED, NULL, gfx::Rect(),
317 EXPECT_EQ(initial_bounds.ToString(), window_bounds.ToString());
321 gfx::Rect initial_bounds(
[all...]
H A Dwindow_sizer_common_unittest.cc267 gfx::Rect initial_bounds(-470, 50, 500, 400);
271 initial_bounds, gfx::Rect(), PERSISTED,
273 EXPECT_EQ(initial_bounds.ToString(), window_bounds.ToString());
287 gfx::Rect initial_bounds(50, -370, 500, 400);
298 gfx::Rect initial_bounds(994, 50, 500, 400);
302 initial_bounds, gfx::Rect(), PERSISTED,
304 EXPECT_EQ(initial_bounds.ToString(), window_bounds.ToString());
319 gfx::Rect initial_bounds(50, 738, 500, 400);
323 initial_bounds, gfx::Rect(), PERSISTED,
325 EXPECT_EQ(initial_bounds
[all...]
/external/chromium_org/ui/gfx/
H A Dinterpolated_transform_unittest.cc179 gfx::Rect initial_bounds(30, 1000, 192, 108);
182 target_bounds.height()) / initial_bounds.width();
184 target_bounds.width()) / initial_bounds.height();
193 gfx::Point(target_bounds.x() - initial_bounds.x(),
194 target_bounds.y() - initial_bounds.y())));
201 gfx::Point(initial_bounds.width() * 0.5,
202 initial_bounds.height() * 0.5),
/external/chromium_org/ui/views/animation/
H A Dbounds_animator_unittest.cc113 gfx::Rect initial_bounds(0, 0, 10, 10);
114 child()->SetBoundsRect(initial_bounds);
132 EXPECT_EQ(gfx::UnionRects(target_bounds, initial_bounds),
/external/chromium_org/chrome/browser/ui/extensions/
H A Dapplication_launch.cc161 gfx::Rect initial_bounds; local
163 initial_bounds = params.override_bounds;
165 initial_bounds.set_width(
167 initial_bounds.set_height(
174 initial_bounds,
/external/chromium_org/chrome/browser/ui/
H A Dbrowser_tab_strip_model_delegate.cc59 params.initial_bounds = window_bounds;
/external/chromium_org/ui/views/controls/menu/
H A Dmenu_controller.cc1140 pending_state_.initial_bounds = bounds;
1144 pending_state_.initial_bounds.Inset(0, 1);
1620 x = state_.initial_bounds.x();
1627 y = state_.initial_bounds.bottom();
1629 x = x + state_.initial_bounds.width() - pref.width();
1633 x = x - (pref.width() - state_.initial_bounds.width()) / 2;
1635 state_.initial_bounds.y() + kCenteredContextMenuYOffset) {
1637 y = state_.initial_bounds.y() - kCenteredContextMenuYOffset;
1639 y = std::max(0, state_.initial_bounds.y() - pref.height()) +
1653 // moving it off the initial_bounds regio
[all...]
/external/chromium_org/ash/wm/dock/
H A Ddocked_window_resizer_unittest.cc198 gfx::Rect initial_bounds = window->GetBoundsInScreen(); local
201 dx, y - initial_bounds.y(),
211 gfx::Rect initial_bounds = window->GetBoundsInScreen(); local
234 EXPECT_EQ(initial_bounds.y() + dy, window->GetBoundsInScreen().y());
351 gfx::Rect initial_bounds(window->bounds());
355 int expected_x = initial_bounds.x() - initial_location_in_parent().x() + 1;
630 gfx::Rect initial_bounds(w2->bounds());
641 (initial_bounds.x() - initial_location_in_parent().x()) : 0;
726 gfx::Rect initial_bounds = window->GetBoundsInScreen(); local
H A Ddocked_window_layout_manager_unittest.cc176 gfx::Rect initial_bounds = window->GetBoundsInScreen(); local
177 DragVerticallyAndRelativeToEdge(edge, window, dx, y - initial_bounds.y());
185 gfx::Rect initial_bounds = window->GetBoundsInScreen(); local
207 EXPECT_EQ(initial_bounds.y() + dy, window->GetBoundsInScreen().y());
/external/chromium_org/ash/wm/
H A Dsystem_gesture_event_filter_unittest.cc422 gfx::Rect initial_bounds(0, 0, 400, 400);
425 new ResizableWidgetDelegate, CurrentContext(), initial_bounds);
444 EXPECT_EQ(initial_bounds.ToString(),
/external/chromium_org/ui/views/widget/desktop_aura/
H A Ddesktop_window_tree_host_x11_unittest.cc336 gfx::Rect initial_bounds = widget->GetWindowBoundsInScreen(); local
379 EXPECT_EQ(initial_bounds.ToString(),
/external/chromium_org/ash/display/
H A Dmirror_window_controller.cc94 init_params.initial_bounds = display_info.bounds_in_native();

Completed in 440 milliseconds

12