Searched refs:initial_bounds (Results 1 - 25 of 49) sorted by last modified time

12

/external/chromium_org/ui/compositor/
H A Dlayer_animator_unittest.cc269 gfx::Rect initial_bounds(0, 0, 10, 10);
271 delegate.SetBoundsFromAnimation(initial_bounds);
281 CheckApproximatelyEqual(initial_bounds, delegate.GetBoundsForAnimation());
/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/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...]
H A Dmenu_controller.h228 gfx::Rect initial_bounds; member in struct:views::MenuController::State
/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/ui/views/widget/
H A Dwidget_interactive_uitest.cc666 gfx::Rect initial_bounds(0, 0, 500, 500);
667 init_params.bounds = initial_bounds;
717 gfx::Rect initial_bounds(0, 0, 500, 500);
718 init_params.bounds = initial_bounds;
H A Dwidget_unittest.cc1097 gfx::Rect initial_bounds(0, 0, 300, 400);
1098 init_params.bounds = initial_bounds;
1203 gfx::Rect initial_bounds(0, 0, 300, 400);
1204 init_params.bounds = initial_bounds;
2733 gfx::Rect initial_bounds(0, 0, 500, 500);
2734 init_params.bounds = initial_bounds;
2888 gfx::Rect initial_bounds(0, 0, 500, 500);
2889 init_params.bounds = initial_bounds;
/external/chromium_org/extensions/browser/app_window/
H A Dapp_window.cc344 gfx::Rect initial_bounds = new_params.GetInitialWindowBounds(frame_insets); local
345 initial_bounds.Inset(frame_insets);
346 app_delegate_->ResizeWebContents(web_contents, initial_bounds.size());
/external/chromium_org/extensions/browser/guest_view/web_view/
H A Dweb_view_guest.cc1080 const gfx::Rect& initial_bounds,
1096 request_info.SetInteger(webview::kInitialHeight, initial_bounds.height());
1097 request_info.SetInteger(webview::kInitialWidth, initial_bounds.width());
1078 RequestNewWindowPermission( WindowOpenDisposition disposition, const gfx::Rect& initial_bounds, bool user_gesture, content::WebContents* new_contents) argument
H A Dweb_view_guest.h294 const gfx::Rect& initial_bounds,
/external/chromium_org/chrome/browser/sessions/
H A Dsession_restore.cc1083 params.initial_bounds = bounds;
/external/chromium_org/chrome/browser/ui/
H A Dbrowser.cc288 params.initial_bounds = window_bounds;
340 override_bounds_(params.initial_bounds),
H A Dbrowser.h176 gfx::Rect initial_bounds; member in struct:Browser::CreateParams
H A Dbrowser_navigator.cc174 browser_params.initial_bounds = params->window_bounds;
H A Dbrowser_tab_strip_model_delegate.cc59 params.initial_bounds = window_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/find_bar/
H A Dfind_bar_host_browsertest.cc1389 params.initial_bounds = gfx::Rect(0, 0, 250, 500);
/external/chromium_org/chrome/browser/ui/panels/
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;
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 Dpanel_browsertest.cc428 gfx::Rect initial_bounds = panel->GetBounds(); local
436 EXPECT_GT(bounds_on_grow.width(), initial_bounds.width());
437 EXPECT_EQ(bounds_on_grow.height(), initial_bounds.height());
446 EXPECT_GT(bounds_on_shrink.width(), initial_bounds.width());
447 EXPECT_EQ(bounds_on_shrink.height(), initial_bounds.height());
H A Dpanel_drag_browsertest.cc62 const gfx::Rect& initial_bounds,
67 initial_bounds.height());
73 const gfx::Rect& initial_bounds,
76 below_bounds.y() - initial_bounds.height(),
77 initial_bounds.width(),
78 initial_bounds.height());
2991 gfx::Rect initial_bounds = gfx::Rect(100, 100, 200, 150); local
2992 Panel* panel = CreateDetachedPanel("1", initial_bounds);
2993 gfx::Rect expected_bounds(initial_bounds);
61 GetStackedAtBottomPanelBounds( const gfx::Rect& initial_bounds, const gfx::Rect& above_bounds) argument
72 GetStackedAtTopPanelBounds( const gfx::Rect& initial_bounds, const gfx::Rect& below_bounds) argument

Completed in 349 milliseconds

12