Searched refs:mouse_location (Results 1 - 24 of 24) sorted by last modified time

/external/chromium_org/ui/aura/
H A Dwindow_event_dispatcher_unittest.cc463 gfx::Point mouse_location(int i) const { return mouse_locations_[i]; } function in class:aura::__anon16589::EventFilterRecorder
734 EXPECT_EQ(gfx::Point(13, 13), recorder.mouse_location(0));
1045 gfx::Point mouse_location(gfx::Point(15, 25));
1046 ui::MouseEvent mouse1(ui::ET_MOUSE_MOVED, mouse_location,
1047 mouse_location, 0, 0);
1060 int translated_x = mouse_location.x() - window_origin.x();
1061 int translated_y = mouse_location.y() - window_origin.y();
1063 EXPECT_EQ(recorder.mouse_location(0).ToString(), translated_point.ToString());
1082 gfx::Point mouse_location(gfx::Point(15, 25));
1083 ui::MouseEvent mouse1(ui::ET_MOUSE_MOVED, mouse_location,
[all...]
/external/chromium_org/ui/compositor/
H A Ddebug_utils.cc30 gfx::Point mouse_location,
34 layer->transform().TransformPointReverse(&mouse_location);
35 bool mouse_inside_layer_bounds = layer->bounds().Contains(mouse_location);
36 mouse_location.Offset(-layer->bounds().x(), -layer->bounds().y());
107 layer->children()[i], indent + 3, mouse_location, out);
113 void PrintLayerHierarchy(const Layer* layer, gfx::Point mouse_location) { argument
116 PrintLayerHierarchyImp(layer, 0, mouse_location, &out);
28 PrintLayerHierarchyImp(const Layer* layer, int indent, gfx::Point mouse_location, std::wostringstream* out) argument
H A Ddebug_utils.h18 // Log the layer hierarchy. Mark layers which contain |mouse_location| with '*'.
20 gfx::Point mouse_location);
/external/chromium_org/ui/views/controls/menu/
H A Dmenu_controller.cc1185 const gfx::Point& mouse_location) {
1190 if (mouse_location.x() >= 0 &&
1191 mouse_location.x() < source_view->width() &&
1192 mouse_location.y() >= 0 &&
1193 mouse_location.y() < source_view->height()) {
1205 gfx::Point screen_point(mouse_location);
2278 const gfx::Point& mouse_location) {
2286 MenuPart part = GetMenuPart(source, mouse_location);
2293 if (part.type == MenuPart::NONE && ShowSiblingMenu(source, mouse_location))
1184 ShowSiblingMenu(SubmenuView* source, const gfx::Point& mouse_location) argument
2277 HandleMouseLocation(SubmenuView* source, const gfx::Point& mouse_location) argument
H A Dmenu_controller.h319 bool ShowSiblingMenu(SubmenuView* source, const gfx::Point& mouse_location);
512 const gfx::Point& mouse_location);
/external/chromium_org/ui/views/corewm/
H A Dtooltip_controller.h55 const gfx::Point& mouse_location() const { return curr_mouse_loc_; } function in class:views::corewm::TooltipController
/external/chromium_org/ui/views/win/
H A Dhwnd_message_handler.cc2456 POINT mouse_location = CR_POINT_INITIALIZER_FROM_LPARAM(l_param); local
2457 ::ClientToScreen(hwnd(), &mouse_location); local
2460 if (memcmp(&cursor_pos, &mouse_location, sizeof(POINT)))
/external/chromium_org/chrome/browser/ui/panels/
H A Dnative_panel.h107 void PressLeftMouseButtonTitlebar(const gfx::Point& mouse_location) { argument
108 PressLeftMouseButtonTitlebar(mouse_location, panel::NO_MODIFIER);
114 // |mouse_location| is in screen coordinates.
116 const gfx::Point& mouse_location, panel::ClickModifier modifier) = 0;
118 virtual void DragTitlebar(const gfx::Point& mouse_location) = 0;
H A Dpanel_browsertest.cc516 gfx::Point mouse_location(panel->GetBounds().origin());
517 panel_testing->PressLeftMouseButtonTitlebar(mouse_location);
518 panel_testing->DragTitlebar(mouse_location + gfx::Vector2d(-100, 5));
1577 gfx::Point mouse_location = panel->GetBounds().origin(); local
1579 mouse_location,
1581 mouse_location.Offset(panel->GetBounds().width() - bigger_size.width(),
1583 panel_manager->ResizeByMouse(mouse_location);
H A Dpanel_drag_browsertest.cc42 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...]
H A Dpanel_drag_controller.cc141 const gfx::Point& mouse_location) {
145 mouse_location - panel->GetBounds().origin();
156 void PanelDragController::Drag(const gfx::Point& mouse_location) { argument
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) &&
140 StartDragging(Panel* panel, const gfx::Point& mouse_location) argument
H A Dpanel_drag_controller.h28 // |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;
H A Dpanel_manager.cc446 const gfx::Point& mouse_location) {
447 drag_controller_->StartDragging(panel, mouse_location);
450 void PanelManager::Drag(const gfx::Point& mouse_location) { argument
451 drag_controller_->Drag(mouse_location);
459 const gfx::Point& mouse_location,
463 resize_controller_->StartResizing(panel, mouse_location, component);
467 void PanelManager::ResizeByMouse(const gfx::Point& mouse_location) { argument
469 resize_controller_->Resize(mouse_location);
445 StartDragging(Panel* panel, const gfx::Point& mouse_location) argument
458 StartResizingByMouse(Panel* panel, const gfx::Point& mouse_location, int component) argument
H A Dpanel_manager.h93 // |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);
H A Dpanel_resize_browsertest.cc37 gfx::Point mouse_location; local
40 mouse_location = bounds.origin();
43 mouse_location.SetPoint(bounds.x() + bounds.width() / 2, bounds.y());
46 mouse_location.SetPoint(bounds.right(), bounds.y());
49 mouse_location.SetPoint(bounds.x(), bounds.y() + bounds.height() / 2);
52 mouse_location.SetPoint(bounds.right(),
56 mouse_location.SetPoint(bounds.x(), bounds.bottom());
59 mouse_location.SetPoint(bounds.x() + bounds.width() / 2,
63 mouse_location.SetPoint(bounds.right(), bounds.bottom());
69 panel_manager->StartResizingByMouse(panel, mouse_location, componen
91 gfx::Point mouse_location = bounds.origin(); local
207 gfx::Point mouse_location = bounds.origin() + local
306 gfx::Point mouse_location = bounds.origin() + local
365 gfx::Point mouse_location = panel1_bounds.origin() + local
426 gfx::Point mouse_location = bounds.origin() + local
475 gfx::Point mouse_location = bounds.origin(); local
[all...]
H A Dpanel_resize_controller.cc45 const gfx::Point& mouse_location,
87 mouse_location_at_start_ = mouse_location;
94 void PanelResizeController::Resize(const gfx::Point& mouse_location) { argument
105 mouse_location.x() - mouse_location_at_start_.x(), 0));
109 mouse_location.y() - mouse_location_at_start_.y(), 0));
113 mouse_location_at_start_.x() - mouse_location.x(), 0));
117 mouse_location_at_start_.y() - mouse_location.y(), 0);
126 if (display_area.y() <= mouse_location.y() &&
127 mouse_location.y() < work_area.y()) {
44 StartResizing(Panel* panel, const gfx::Point& mouse_location, int component) argument
H A Dpanel_resize_controller.h26 // |mouse_location| is in screen coordinate system.
28 const gfx::Point& mouse_location,
30 void Resize(const gfx::Point& mouse_location);
H A Dstacked_panel_browsertest.cc528 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
[all...]
/external/chromium_org/chrome/browser/ui/views/panels/
H A Dpanel_frame_view.cc570 gfx::Point mouse_location = event.location(); local
571 views::View::ConvertPointToScreen(this, &mouse_location);
573 if (panel_view_->OnTitlebarMousePressed(mouse_location))
585 gfx::Point mouse_location = screen->GetCursorScreenPoint(); local
589 gfx::Point mouse_location = event.location();
590 views::View::ConvertPointToScreen(this, &mouse_location);
593 if (panel_view_->OnTitlebarMouseDragged(mouse_location))
774 const gfx::Point& mouse_location) const {
777 mouse_location, size(), PanelView::kResizeInsideBoundsSize, resizability);
H A Dpanel_frame_view.h104 // Returns true if |mouse_location| is within the panel's resizing area.
105 bool IsWithinResizingArea(const gfx::Point& mouse_location) const;
H A Dpanel_view.cc108 const gfx::Point& mouse_location, panel::ClickModifier modifier) OVERRIDE;
111 virtual void DragTitlebar(const gfx::Point& mouse_location) OVERRIDE;
137 const gfx::Point& mouse_location, panel::ClickModifier modifier) {
138 panel_view_->OnTitlebarMousePressed(mouse_location);
146 void NativePanelTestingViews::DragTitlebar(const gfx::Point& mouse_location) { argument
147 panel_view_->OnTitlebarMouseDragged(mouse_location);
1038 bool PanelView::OnTitlebarMousePressed(const gfx::Point& mouse_location) { argument
1041 last_mouse_location_ = mouse_location;
1045 bool PanelView::OnTitlebarMouseDragged(const gfx::Point& mouse_location) { argument
1050 ExceededDragThreshold(mouse_location
136 PressLeftMouseButtonTitlebar( const gfx::Point& mouse_location, panel::ClickModifier modifier) argument
[all...]
H A Dpanel_view.h90 // |mouse_location| is in screen coordinate system.
91 bool OnTitlebarMousePressed(const gfx::Point& mouse_location);
92 bool OnTitlebarMouseDragged(const gfx::Point& mouse_location);
/external/chromium_org/ash/autoclick/
H A Dautoclick_controller.cc131 gfx::Point mouse_location = event->root_location(); local
132 ::wm::ConvertPointToScreen(wm::GetRootWindowAt(mouse_location),
133 &mouse_location); local
141 gfx::Vector2d delta = mouse_location - anchor_location_;
/external/chromium_org/ash/wm/workspace/
H A Dmulti_window_resize_controller.cc229 gfx::Point mouse_location(
231 ::wm::ConvertPointFromScreen(window, &mouse_location);
233 window->delegate()->GetNonClientComponent(mouse_location);
234 return DetermineWindows(window, component, mouse_location);

Completed in 1906 milliseconds