Searched defs:point_in_screen (Results 1 - 10 of 10) sorted by relevance

/external/chromium_org/ui/wm/core/
H A Dcoordinate_conversion.cc21 gfx::Point* point_in_screen) {
26 ConvertPointFromScreen(window, point_in_screen);
20 ConvertPointFromScreen(const aura::Window* window, gfx::Point* point_in_screen) argument
/external/chromium_org/ash/display/
H A Dmouse_cursor_event_filter_unittest.cc30 gfx::Point point_in_screen) {
32 target_root, point_in_screen);
40 gfx::Point point_in_screen) {
47 target_root, point_in_screen);
29 WarpMouseCursorIfNecessary(aura::Window* target_root, gfx::Point point_in_screen) argument
37 WarpMouseCursorIfNecessaryWithDragRoot( aura::Window* drag_source_root, aura::Window* target_root, gfx::Point point_in_screen) argument
H A Dmouse_cursor_event_filter.cc203 const gfx::Point& point_in_screen) {
204 gfx::Point point_in_native = point_in_screen;
241 gfx::Point point_in_screen = event->location(); local
242 ::wm::ConvertPointToScreen(target, &point_in_screen);
244 return WarpMouseCursorInNativeCoords(point_in_native, point_in_screen);
249 const gfx::Point& point_in_screen) {
265 MoveCursorTo(dst_root, point_in_screen);
267 MoveCursorTo(src_root, point_in_screen);
383 const gfx::Point& point_in_screen) {
384 gfx::Point native = point_in_screen;
202 MoveCursorTo(aura::Window* root, const gfx::Point& point_in_screen) argument
247 WarpMouseCursorInNativeCoords( const gfx::Point& point_in_native, const gfx::Point& point_in_screen) argument
381 WarpMouseCursorIfNecessaryForTest( aura::Window* target_root, const gfx::Point& point_in_screen) argument
[all...]
H A Ddisplay_controller.cc512 gfx::Point point_in_screen = Shell::GetScreen()->GetCursorScreenPoint(); local
536 int64 distance_squared = (center - point_in_screen).LengthSquared();
682 gfx::Point point_in_screen = screen->GetCursorScreenPoint(); local
683 gfx::Display display = screen->GetDisplayNearestPoint(point_in_screen);
688 client->ConvertPointFromScreen(root_window, &point_in_screen);
689 root_window->GetHost()->ConvertPointToNativeScreen(&point_in_screen);
690 cursor_location_in_native_coords_for_restore_ = point_in_screen;
/external/chromium_org/ash/test/
H A Dui_controls_factory_ash.cc45 // Returns the UIControls object for the RootWindow at |point_in_screen|.
46 UIControlsAura* GetUIControlsAt(const gfx::Point& point_in_screen) { argument
48 return GetUIControlsForRootWindow(ash::wm::GetRootWindowAt(point_in_screen));
/external/chromium_org/ui/views/widget/desktop_aura/
H A Ddesktop_window_tree_host_x11_interactive_uitest.cc95 // |point_in_screen|.
97 const gfx::Point& point_in_screen) {
109 xev.xmotion.x = point_in_screen.x() - bounds_in_screen.x();
110 xev.xmotion.y = point_in_screen.y() - bounds_in_screen.y();
111 xev.xmotion.x_root = point_in_screen.x();
112 xev.xmotion.y_root = point_in_screen.y();
202 gfx::Point point_in_screen = widget2->GetWindowBoundsInScreen().CenterPoint(); local
203 DispatchMouseMotionEvent(host2, point_in_screen);
206 EXPECT_EQ(point_in_screen.ToString(),
214 point_in_screen
96 DispatchMouseMotionEvent(DesktopWindowTreeHostX11* desktop_host, const gfx::Point& point_in_screen) argument
[all...]
/external/chromium_org/ash/wm/
H A Ddrag_window_resizer_unittest.cc125 const gfx::Point& point_in_screen) {
129 target_root, point_in_screen);
124 WarpMouseCursorIfNecessary(aura::Window* target_root, const gfx::Point& point_in_screen) argument
/external/chromium_org/ui/events/test/
H A Devent_generator.h169 void MoveMouseTo(const gfx::Point& point_in_screen, int count);
170 void MoveMouseTo(const gfx::Point& point_in_screen) { argument
171 MoveMouseTo(point_in_screen, 1);
H A Devent_generator.cc165 void EventGenerator::MoveMouseTo(const gfx::Point& point_in_screen, argument
171 gfx::Vector2dF diff(point_in_screen - current_location_);
182 current_location_ = point_in_screen;
/external/chromium_org/chrome/browser/ui/views/tabs/
H A Dtab_drag_controller.cc327 void TabDragController::Drag(const gfx::Point& point_in_screen) { argument
329 "point_in_screen", point_in_screen.ToString());
338 if (!CanStartDrag(point_in_screen))
359 OffsetX(GetAttachedDragPoint(point_in_screen).x(), &drag_bounds);
361 point_in_screen,
364 point_in_screen.x() -
370 point_in_screen,
374 RunMoveLoop(GetWindowOffset(point_in_screen));
379 ContinueDragging(point_in_screen);
519 ContinueDragging(const gfx::Point& point_in_screen) argument
568 DragBrowserToNewTabStrip( TabStrip* target_tabstrip, const gfx::Point& point_in_screen) argument
647 DragActiveTabStacked( const gfx::Point& point_in_screen) argument
657 MoveAttachedToNextStackedIndex( const gfx::Point& point_in_screen) argument
668 MoveAttachedToPreviousStackedIndex( const gfx::Point& point_in_screen) argument
679 MoveAttached(const gfx::Point& point_in_screen) argument
772 StartMoveStackedTimerIfNecessary( const gfx::Point& point_in_screen, int delay_ms) argument
799 GetDetachPosition( const gfx::Point& point_in_screen) argument
811 GetTargetTabStripForPoint( const gfx::Point& point_in_screen) argument
871 Attach(TabStrip* attached_tabstrip, const gfx::Point& point_in_screen) argument
1002 DetachIntoNewBrowserAndRunMoveLoop( const gfx::Point& point_in_screen) argument
1288 GetAttachedDragPoint( const gfx::Point& point_in_screen) argument
1554 BringWindowUnderPointToFront( const gfx::Point& point_in_screen) argument
1628 CalculateDraggedBrowserBounds( TabStrip* source, const gfx::Point& point_in_screen, std::vector<gfx::Rect>* drag_bounds) argument
1672 AdjustBrowserAndTabBoundsForDrag( int last_tabstrip_width, const gfx::Point& point_in_screen, std::vector<gfx::Rect>* drag_bounds) argument
1709 CreateBrowserForDrag( TabStrip* source, const gfx::Point& point_in_screen, gfx::Vector2d* drag_offset, std::vector<gfx::Rect>* drag_bounds) argument
1756 GetWindowOffset( const gfx::Point& point_in_screen) argument
[all...]

Completed in 539 milliseconds