Searched refs:point_in_screen (Results 1 - 22 of 22) sorted by relevance

/external/chromium_org/ash/display/
H A Devent_transformation_handler.cc42 gfx::Point point_in_screen(event->location());
44 ::wm::ConvertPointToScreen(target, &point_in_screen);
46 Shell::GetScreen()->GetDisplayNearestPoint(point_in_screen);
H A Dmouse_cursor_event_filter.h73 // the point_in_screen, which is outside of the root window.
75 const gfx::Point& point_in_screen);
84 const gfx::Point& point_in_screen);
102 const gfx::Point& point_in_screen);
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 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 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;
H A Ddisplay_manager.h151 const gfx::Point& point_in_screen) const;
H A Ddisplay_manager.cc394 const gfx::Point& point_in_screen) const {
398 if (display.bounds().Contains(point_in_screen))
/external/chromium_org/chrome/browser/ui/views/tabs/
H A Dtab_drag_controller.h123 void Drag(const gfx::Point& point_in_screen);
230 void UpdateDockInfo(const gfx::Point& point_in_screen);
240 // Tests whether |point_in_screen| is past a minimum elasticity threshold
242 bool CanStartDrag(const gfx::Point& point_in_screen) const;
246 void ContinueDragging(const gfx::Point& point_in_screen);
253 const gfx::Point& point_in_screen);
257 void DragActiveTabStacked(const gfx::Point& point_in_screen);
261 void MoveAttachedToNextStackedIndex(const gfx::Point& point_in_screen);
262 void MoveAttachedToPreviousStackedIndex(const gfx::Point& point_in_screen);
265 void MoveAttached(const gfx::Point& point_in_screen);
[all...]
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...]
/external/chromium_org/ash/shelf/
H A Dshelf_bezel_event_filter.cc27 gfx::Point point_in_screen(event->location());
29 ::wm::ConvertPointToScreen(target, &point_in_screen);
31 Shell::GetScreen()->GetDisplayNearestPoint(point_in_screen).bounds();
32 if ((!screen.Contains(point_in_screen) &&
33 IsShelfOnBezel(screen, 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/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
H A Dcoordinate_conversion.h28 gfx::Point* point_in_screen);
/external/chromium_org/ash/wm/gestures/
H A Doverview_gesture_handler.cc85 gfx::Point point_in_screen(event.location());
87 ::wm::ConvertPointToScreen(target, &point_in_screen);
89 point_in_screen).bounds().y() + kTopBezelExtraPixels >
90 point_in_screen.y();
/external/chromium_org/athena/wm/
H A Dbezel_controller.cc42 gfx::Point point_in_screen(gfx::ToRoundedPoint(location));
43 wm::ConvertPointToScreen(window, &point_in_screen);
45 ? point_in_screen.x()
46 : point_in_screen.x() - GetDisplay(window).bounds().width();
55 gfx::Point point_in_screen(gfx::ToRoundedPoint(location));
56 wm::ConvertPointToScreen(window, &point_in_screen);
57 if (point_in_screen.x() < kBezelWidth)
59 if (point_in_screen.x() > screen_width - kBezelWidth)
/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));
H A Dash_test_base.cc66 const gfx::Point& point_in_screen) const OVERRIDE {
68 gfx::Display display = screen->GetDisplayNearestPoint(point_in_screen);
/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/ash/wm/workspace/
H A Dmulti_window_resize_controller.cc121 virtual bool Contains(const gfx::Point& point_in_screen,
123 return host_->IsOverWindows(point_in_screen);
/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/views/
H A Dview_unittest.cc2157 gfx::Point point_in_screen(100, 90);
2160 gfx::Point point = point_in_screen;
2165 EXPECT_EQ(point_in_screen.ToString(), point.ToString());

Completed in 7846 milliseconds