Home
last modified time | relevance | path

Searched refs:panel_bounds (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/chrome/browser/ui/panels/
Dpanel_drag_controller.cc687 gfx::Rect panel_bounds = panel->GetBounds(); in FindPanelToGlue() local
692 overlap = GetVerticalOverlap(potential_dragging_bounds, panel_bounds); in FindPanelToGlue()
696 panel_bounds); in FindPanelToGlue()
703 target_bounds->set_x(panel_bounds.x() - target_bounds->width()); in FindPanelToGlue()
707 distance = GetHorizontalDistance(panel_bounds, in FindPanelToGlue()
715 target_bounds->set_x(panel_bounds.right()); in FindPanelToGlue()
725 distance = GetVerticalDistance(potential_bottom_bounds, panel_bounds); in FindPanelToGlue()
726 overlap = GetHorizontalOverlap(panel_bounds, potential_bottom_bounds); in FindPanelToGlue()
736 current_dragging_bounds.y() + panel_bounds.y() - in FindPanelToGlue()
745 distance = GetVerticalDistance(panel_bounds, potential_dragging_bounds); in FindPanelToGlue()
[all …]
Ddocked_panel_collection.cc254 gfx::Rect panel_bounds = panel->GetBounds(); in OnPanelExpansionStateChanged() local
255 AdjustPanelBoundsPerExpansionState(panel, &panel_bounds); in OnPanelExpansionStateChanged()
256 panel->SetPanelBounds(panel_bounds); in OnPanelExpansionStateChanged()
Ddocked_panel_collection.h155 gfx::Rect* panel_bounds);
/external/chromium_org/ash/wm/panels/
Dpanel_layout_manager_unittest.cc99 gfx::Rect panel_bounds = panel->GetBoundsInRootWindow(); in PanelInScreen() local
100 gfx::Point root_point = gfx::Point(panel_bounds.x(), panel_bounds.y()); in PanelInScreen()
177 gfx::Rect panel_bounds = panel->GetBoundsInScreen(); in IsCalloutAboveLauncherIcon() local
186 EXPECT_EQ(panel_bounds.bottom(), callout_bounds.y()); in IsCalloutAboveLauncherIcon()
189 EXPECT_EQ(panel_bounds.x(), callout_bounds.right()); in IsCalloutAboveLauncherIcon()
192 EXPECT_EQ(panel_bounds.right(), callout_bounds.x()); in IsCalloutAboveLauncherIcon()
195 EXPECT_EQ(panel_bounds.y(), callout_bounds.bottom()); in IsCalloutAboveLauncherIcon()
/external/chromium/chrome/browser/chromeos/notifications/
Dnotification_panel.cc694 gfx::Rect panel_bounds = panel_widget_->GetWindowScreenBounds(); in UpdatePanel() local
695 if (min_bounds.height() < panel_bounds.height()) in UpdatePanel()
697 else if (min_bounds.height() > panel_bounds.height()) { in UpdatePanel()
701 panel_bounds.set_width(width); in UpdatePanel()
702 panel_widget_->SetBounds(panel_bounds); in UpdatePanel()