Searched refs:initial_bounds (Results 1 - 25 of 50) 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.cc155 gfx::Rect initial_bounds(50, 50, 700, 500);
156 Panel* panel = CreateDetachedPanel("1", initial_bounds);
157 EXPECT_EQ(initial_bounds, panel->GetBounds());
191 gfx::Rect initial_bounds(450, 50, 350, 400);
192 Panel* panel = CreateDetachedPanel("1", initial_bounds);
193 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());
296 gfx::Rect initial_bounds = window->GetBoundsInScreen(); local
302 EXPECT_EQ(initial_bounds.x(), window->GetBoundsInScreen().x());
303 EXPECT_EQ(initial_bounds
325 gfx::Rect initial_bounds = window->GetBoundsInScreen(); local
345 gfx::Rect initial_bounds = window->GetBoundsInScreen(); local
378 gfx::Rect initial_bounds = window->GetBoundsInScreen(); local
411 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.cc268 gfx::Rect initial_bounds(-470, 50, 500, 400);
272 initial_bounds, gfx::Rect(), PERSISTED,
274 EXPECT_EQ(initial_bounds.ToString(), window_bounds.ToString());
288 gfx::Rect initial_bounds(50, -370, 500, 400);
299 gfx::Rect initial_bounds(994, 50, 500, 400);
303 initial_bounds, gfx::Rect(), PERSISTED,
305 EXPECT_EQ(initial_bounds.ToString(), window_bounds.ToString());
320 gfx::Rect initial_bounds(50, 738, 500, 400);
324 initial_bounds, gfx::Rect(), PERSISTED,
326 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/ash/display/
H A Dvirtual_keyboard_window_controller.cc47 init_params.initial_bounds = display_info.bounds_in_native();
H A Dmirror_window_controller.cc87 init_params.initial_bounds = display_info.bounds_in_native();
/external/chromium_org/chrome/browser/ui/extensions/
H A Dapplication_launch.cc189 gfx::Rect initial_bounds; local
191 initial_bounds = params.override_bounds;
193 initial_bounds.set_width(
195 initial_bounds.set_height(
202 initial_bounds,
/external/chromium_org/chrome/browser/ui/
H A Dbrowser_tab_strip_model_delegate.cc60 params.initial_bounds = window_bounds;
/external/chromium_org/ui/views/controls/menu/
H A Dmenu_controller.cc1122 pending_state_.initial_bounds = bounds;
1126 pending_state_.initial_bounds.Inset(0, 1);
1605 x = state_.initial_bounds.x();
1612 y = state_.initial_bounds.bottom();
1614 x = x + state_.initial_bounds.width() - pref.width();
1618 x = x - (pref.width() - state_.initial_bounds.width()) / 2;
1620 state_.initial_bounds.y() + kCenteredContextMenuYOffset) {
1622 y = state_.initial_bounds.y() - kCenteredContextMenuYOffset;
1624 y = std::max(0, state_.initial_bounds.y() - pref.height()) +
1638 // 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
/external/chromium_org/ash/wm/
H A Dsystem_gesture_event_filter_unittest.cc420 gfx::Rect initial_bounds(0, 0, 400, 400);
423 new ResizableWidgetDelegate, CurrentContext(), initial_bounds);
442 EXPECT_EQ(initial_bounds.ToString(),
/external/chromium_org/ui/views/widget/desktop_aura/
H A Ddesktop_window_tree_host_x11_unittest.cc323 gfx::Rect initial_bounds = widget->GetWindowBoundsInScreen(); local
366 EXPECT_EQ(initial_bounds.ToString(),

Completed in 480 milliseconds

12