HomeSort by relevance Sort by last modified time
    Searched refs:mouse_location (Results 1 - 25 of 25) 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,
32 layer->transform().TransformPointReverse(&mouse_location);
33 bool mouse_inside_layer_bounds = layer->bounds().Contains(mouse_location);
34 mouse_location.Offset(-layer->bounds().x(), -layer->bounds().y());
91 layer->children()[i], indent + 3, mouse_location, out);
97 void PrintLayerHierarchy(const Layer* layer, gfx::Point mouse_location) {
100 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 107 void PressLeftMouseButtonTitlebar(const gfx::Point& mouse_location) {
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;
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 450 const gfx::Point& mouse_location) {
451 drag_controller_->StartDragging(panel, mouse_location);
454 void PanelManager::Drag(const gfx::Point& mouse_location) {
455 drag_controller_->Drag(mouse_location);
463 const gfx::Point& mouse_location,
467 resize_controller_->StartResizing(panel, mouse_location, sides);
470 void PanelManager::ResizeByMouse(const gfx::Point& mouse_location) {
472 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 514 gfx::Point mouse_location(panel->GetBounds().origin());
515 panel_testing->PressLeftMouseButtonTitlebar(mouse_location);
516 panel_testing->DragTitlebar(mouse_location + gfx::Vector2d(-100, 5));
1578 gfx::Point mouse_location = panel->GetBounds().origin(); local
    [all...]
  /external/chromium_org/ash/autoclick/
autoclick_controller.cc 128 gfx::Point mouse_location = event->root_location(); local
130 wm::GetRootWindowAt(mouse_location),
131 &mouse_location); local
139 gfx::Vector2d delta = mouse_location - anchor_location_;
  /external/chromium_org/ash/wm/
ash_native_cursor_manager_unittest.cc 197 gfx::Point mouse_location; local
198 EXPECT_TRUE(dispatcher->host()->QueryMouseLocation(&mouse_location));
199 EXPECT_EQ("10,10", mouse_location.ToString());
201 EXPECT_FALSE(dispatcher->host()->QueryMouseLocation(&mouse_location));
202 EXPECT_EQ("0,0", mouse_location.ToString());
  /external/chromium_org/chrome/browser/ui/views/panels/
panel_view.cc 98 const gfx::Point& mouse_location, panel::ClickModifier modifier) OVERRIDE;
101 virtual void DragTitlebar(const gfx::Point& mouse_location) OVERRIDE;
124 const gfx::Point& mouse_location, panel::ClickModifier modifier) {
125 panel_view_->OnTitlebarMousePressed(mouse_location);
133 void NativePanelTestingWin::DragTitlebar(const gfx::Point& mouse_location) {
134 panel_view_->OnTitlebarMouseDragged(mouse_location);
    [all...]
panel_view.h 89 // |mouse_location| is in screen coordinate system.
90 bool OnTitlebarMousePressed(const gfx::Point& mouse_location);
91 bool OnTitlebarMouseDragged(const gfx::Point& mouse_location);
99 // can be used to trigger the mouse resizing. Return true if |mouse_location|
101 // |mouse_location| is in screen coordinate system.
102 bool IsWithinResizingArea(const gfx::Point& mouse_location) const;
panel_frame_view.cc 576 gfx::Point mouse_location = event.location(); local
577 views::View::ConvertPointToScreen(this, &mouse_location);
581 if (!panel_view_->IsWithinResizingArea(mouse_location) &&
582 panel_view_->OnTitlebarMousePressed(mouse_location))
591 gfx::Point mouse_location = event.location(); local
592 views::View::ConvertPointToScreen(this, &mouse_location);
594 if (panel_view_->OnTitlebarMouseDragged(mouse_location))
  /external/chromium_org/ui/views/corewm/
tooltip_controller.h 55 const gfx::Point& mouse_location() const { return curr_mouse_loc_; } function in class:views::corewm::TooltipController
  /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/chrome/browser/ui/gtk/panels/
panel_gtk.cc     [all...]
  /external/chromium_org/ui/views/controls/menu/
menu_controller.h 289 bool ShowSiblingMenu(SubmenuView* source, const gfx::Point& mouse_location);
479 const gfx::Point& mouse_location);
menu_controller.cc     [all...]
  /external/chromium_org/ui/aura/
root_window_unittest.cc 430 gfx::Point mouse_location(int i) const { return mouse_locations_[i]; } function in class:aura::__anon14712::EventFilterRecorder
767 gfx::Point mouse_location(gfx::Point(15, 25));
768 ui::MouseEvent mouse1(ui::ET_MOUSE_MOVED, mouse_location,
769 mouse_location, 0);
782 int translated_x = mouse_location.x() - window_origin.x();
783 int translated_y = mouse_location.y() - window_origin.y();
785 EXPECT_EQ(filter->mouse_location(0).ToString(), translated_point.ToString());
    [all...]
window_unittest.cc 378 gfx::Point mouse_location; local
379 EXPECT_TRUE(dispatcher()->host()->QueryMouseLocation(&mouse_location));
381 EXPECT_EQ("50,120", mouse_location.ToString());
466 gfx::Point mouse_location; local
467 EXPECT_TRUE(dispatcher()->host()->QueryMouseLocation(&mouse_location));
468 EXPECT_EQ("169,80", mouse_location.ToString());
    [all...]

Completed in 875 milliseconds