HomeSort by relevance Sort by last modified time
    Searched refs:mouse_location (Results 1 - 23 of 23) sorted by null

  /external/chromium_org/ui/compositor/
debug_utils.h 18 // Log the layer hierarchy. Mark layers which contain |mouse_location| with '*'.
20 gfx::Point mouse_location);
debug_utils.cc 28 gfx::Point mouse_location,
33 layer->transform().TransformPointReverse(mouse_location);
34 bool mouse_inside_layer_bounds = layer->bounds().Contains(mouse_location);
35 mouse_location.Offset(-layer->bounds().x(), -layer->bounds().y());
92 layer->children()[i], indent + 3, mouse_location, out);
98 void PrintLayerHierarchy(const Layer* layer, gfx::Point mouse_location) {
101 PrintLayerHierarchyImp(layer, 0, mouse_location, &out);
  /external/chromium_org/chrome/browser/ui/panels/
panel_resize_browsertest.cc 36 gfx::Point mouse_location; local
39 mouse_location = bounds.origin();
42 mouse_location.SetPoint(bounds.x() + bounds.width() / 2, bounds.y());
45 mouse_location.SetPoint(bounds.right(), bounds.y());
48 mouse_location.SetPoint(bounds.x(), bounds.y() + bounds.height() / 2);
51 mouse_location.SetPoint(bounds.right(),
55 mouse_location.SetPoint(bounds.x(), bounds.bottom());
58 mouse_location.SetPoint(bounds.x() + bounds.width() / 2,
62 mouse_location.SetPoint(bounds.right(), bounds.bottom());
68 panel_manager->StartResizingByMouse(panel, mouse_location, sides)
90 gfx::Point mouse_location = bounds.origin(); local
214 gfx::Point mouse_location = bounds.origin() + local
317 gfx::Point mouse_location = bounds.origin() + local
378 gfx::Point mouse_location = panel1_bounds.origin() + local
441 gfx::Point mouse_location = bounds.origin() + local
492 gfx::Point mouse_location = bounds.origin(); local
    [all...]
panel_resize_controller.h 26 // |mouse_location| is in screen coordinate system.
28 const gfx::Point& mouse_location,
30 void Resize(const gfx::Point& mouse_location);
panel_drag_browsertest.cc 42 gfx::Point mouse_location(panel->GetBounds().origin());
43 panel_testing->PressLeftMouseButtonTitlebar(mouse_location);
44 panel_testing->DragTitlebar(mouse_location + delta);
53 gfx::Point mouse_location(panel->GetBounds().origin());
200 gfx::Point mouse_location = panel_old_bounds.origin(); local
201 panel_testing->PressLeftMouseButtonTitlebar(mouse_location);
204 mouse_location.Offset(-big_delta_x, 0);
205 panel_testing->DragTitlebar(mouse_location);
214 mouse_location = panel_old_bounds.origin();
215 panel_testing->PressLeftMouseButtonTitlebar(mouse_location);
296 gfx::Point mouse_location = position1; local
394 gfx::Point mouse_location = position3; local
526 gfx::Point mouse_location = panel_old_bounds.origin(); local
566 gfx::Point mouse_location = panel_old_bounds.origin(); local
626 gfx::Point mouse_location = panel1->GetBounds().origin(); local
683 gfx::Point mouse_location = panel1->GetBounds().origin(); local
734 gfx::Point mouse_location = panel1->GetBounds().origin(); local
    [all...]
panel_resize_controller.cc 44 const gfx::Point& mouse_location,
86 mouse_location_at_start_ = mouse_location;
93 void PanelResizeController::Resize(const gfx::Point& mouse_location) {
104 mouse_location.x() - mouse_location_at_start_.x(), 0));
108 mouse_location.y() - mouse_location_at_start_.y(), 0));
112 mouse_location_at_start_.x() - mouse_location.x(), 0));
116 mouse_location_at_start_.y() - mouse_location.y(), 0);
125 if (display_area.y() <= mouse_location.y() &&
126 mouse_location.y() < work_area.y()) {
native_panel.h 110 void PressLeftMouseButtonTitlebar(const gfx::Point& mouse_location) {
111 PressLeftMouseButtonTitlebar(mouse_location, panel::NO_MODIFIER);
117 // |mouse_location| is in screen coordinates.
119 const gfx::Point& mouse_location, panel::ClickModifier modifier) = 0;
121 virtual void DragTitlebar(const gfx::Point& mouse_location) = 0;
panel_drag_controller.h 28 // |mouse_location| is in screen coordinate system.
29 void StartDragging(Panel* panel, const gfx::Point& mouse_location);
30 void Drag(const gfx::Point& mouse_location);
60 const gfx::Point& mouse_location) const;
panel_manager.h 93 // |mouse_location| is in screen coordinate system.
94 void StartDragging(Panel* panel, const gfx::Point& mouse_location);
95 void Drag(const gfx::Point& mouse_location);
99 // |mouse_location| is in screen coordinate system.
100 void StartResizingByMouse(Panel* panel, const gfx::Point& mouse_location,
102 void ResizeByMouse(const gfx::Point& mouse_location);
panel_manager.cc 455 const gfx::Point& mouse_location) {
456 drag_controller_->StartDragging(panel, mouse_location);
459 void PanelManager::Drag(const gfx::Point& mouse_location) {
460 drag_controller_->Drag(mouse_location);
468 const gfx::Point& mouse_location,
472 resize_controller_->StartResizing(panel, mouse_location, sides);
475 void PanelManager::ResizeByMouse(const gfx::Point& mouse_location) {
477 resize_controller_->Resize(mouse_location);
panel_drag_controller.cc 141 const gfx::Point& mouse_location) {
145 mouse_location - panel->GetBounds().origin();
156 void PanelDragController::Drag(const gfx::Point& mouse_location) {
160 gfx::Point target_position = GetPanelPositionForMouseLocation(mouse_location);
277 const gfx::Point& mouse_location) const {
281 mouse_location - offset_from_mouse_location_on_drag_start_;
290 if (display_area.Contains(mouse_location) &&
stacked_panel_browsertest.cc 528 gfx::Point mouse_location(panel2->GetBounds().origin());
529 panel2_testing->PressLeftMouseButtonTitlebar(mouse_location);
531 panel2_testing->DragTitlebar(mouse_location + drag_delta_to_unstack);
551 mouse_location = bounds1.origin();
552 panel1_testing->PressLeftMouseButtonTitlebar(mouse_location);
555 panel1_testing->DragTitlebar(mouse_location + drag_delta_to_stack);
645 gfx::Point mouse_location(panel2->GetBounds().origin());
646 panel2_testing->PressLeftMouseButtonTitlebar(mouse_location);
648 panel2_testing->DragTitlebar(mouse_location + drag_delta);
668 mouse_location = panel3->GetBounds().origin()
    [all...]
panel_browsertest.cc 515 gfx::Point mouse_location(panel->GetBounds().origin());
516 panel_testing->PressLeftMouseButtonTitlebar(mouse_location);
517 panel_testing->DragTitlebar(mouse_location + gfx::Vector2d(-100, 5));
1579 gfx::Point mouse_location = panel->GetBounds().origin(); local
    [all...]
  /external/chromium_org/ash/wm/
ash_native_cursor_manager_unittest.cc 170 gfx::Point mouse_location; local
171 EXPECT_TRUE(root_window->QueryMouseLocationForTest(&mouse_location));
172 EXPECT_EQ("10,10", mouse_location.ToString());
174 EXPECT_FALSE(root_window->QueryMouseLocationForTest(&mouse_location));
175 EXPECT_EQ("0,0", mouse_location.ToString());
  /external/chromium_org/chrome/browser/ui/views/panels/
panel_view.cc 95 const gfx::Point& mouse_location, panel::ClickModifier modifier) OVERRIDE;
98 virtual void DragTitlebar(const gfx::Point& mouse_location) OVERRIDE;
120 const gfx::Point& mouse_location, panel::ClickModifier modifier) {
121 panel_view_->OnTitlebarMousePressed(mouse_location);
129 void NativePanelTestingWin::DragTitlebar(const gfx::Point& mouse_location) {
130 panel_view_->OnTitlebarMouseDragged(mouse_location);
    [all...]
panel_view.h 92 // |mouse_location| is in screen coordinate system.
93 bool OnTitlebarMousePressed(const gfx::Point& mouse_location);
94 bool OnTitlebarMouseDragged(const gfx::Point& mouse_location);
102 // can be used to trigger the mouse resizing. Return true if |mouse_location|
104 // |mouse_location| is in screen coordinate system.
105 bool IsWithinResizingArea(const gfx::Point& mouse_location) const;
panel_frame_view.cc 574 gfx::Point mouse_location = event.location(); local
575 views::View::ConvertPointToScreen(this, &mouse_location);
579 if (!panel_view_->IsWithinResizingArea(mouse_location) &&
580 panel_view_->OnTitlebarMousePressed(mouse_location))
589 gfx::Point mouse_location = event.location(); local
590 views::View::ConvertPointToScreen(this, &mouse_location);
592 if (panel_view_->OnTitlebarMouseDragged(mouse_location))
  /external/chromium_org/ui/views/corewm/
tooltip_controller.h 54 const gfx::Point& mouse_location() const { return curr_mouse_loc_; } function in class:views::corewm::TooltipController
  /external/chromium_org/chrome/browser/ui/gtk/panels/
panel_gtk.cc     [all...]
  /external/chromium_org/ash/wm/workspace/
multi_window_resize_controller.cc 231 gfx::Point mouse_location(
233 wm::ConvertPointFromScreen(window, &mouse_location);
235 window->delegate()->GetNonClientComponent(mouse_location);
236 return DetermineWindows(window, component, mouse_location);
  /external/chromium_org/ui/views/controls/menu/
menu_controller.h 287 bool ShowSiblingMenu(SubmenuView* source, const gfx::Point& mouse_location);
473 const gfx::Point& mouse_location);
menu_controller.cc     [all...]
  /external/chromium_org/ui/aura/
window_unittest.cc 403 gfx::Point mouse_location; local
404 EXPECT_TRUE(root->QueryMouseLocationForTest(&mouse_location));
406 EXPECT_EQ("50,120", mouse_location.ToString());
491 gfx::Point mouse_location; local
492 EXPECT_TRUE(root->QueryMouseLocationForTest(&mouse_location));
493 EXPECT_EQ("169,80", mouse_location.ToString());
    [all...]

Completed in 418 milliseconds