Home
last modified time | relevance | path

Searched refs:local_point (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/ui/aura/
Dwindow.cc667 gfx::Point local_point(point_in_root); in ContainsPointInRoot() local
668 ConvertPointToTarget(root_window, this, &local_point); in ContainsPointInRoot()
669 return gfx::Rect(GetTargetBounds().size()).Contains(local_point); in ContainsPointInRoot()
672 bool Window::ContainsPoint(const gfx::Point& local_point) const { in ContainsPoint()
673 return gfx::Rect(bounds().size()).Contains(local_point); in ContainsPoint()
676 Window* Window::GetEventHandlerForPoint(const gfx::Point& local_point) { in GetEventHandlerForPoint() argument
677 return GetWindowForPoint(local_point, true, true); in GetEventHandlerForPoint()
680 Window* Window::GetTopWindowContainingPoint(const gfx::Point& local_point) { in GetTopWindowContainingPoint() argument
681 return GetWindowForPoint(local_point, false, false); in GetTopWindowContainingPoint()
863 bool Window::HitTest(const gfx::Point& local_point) { in HitTest() argument
[all …]
Dwindow.h248 bool ContainsPoint(const gfx::Point& local_point) const;
252 Window* GetEventHandlerForPoint(const gfx::Point& local_point);
255 Window* GetTopWindowContainingPoint(const gfx::Point& local_point);
349 bool HitTest(const gfx::Point& local_point);
373 Window* GetWindowForPoint(const gfx::Point& local_point,
/external/chromium_org/ui/views/controls/tree/
Dtree_view.cc392 gfx::Point local_point(p); in ShowContextMenu() local
393 ConvertPointFromScreen(this, &local_point); in ShowContextMenu()
394 int row = (local_point.y() - kVerticalInset) / row_height_; in ShowContextMenu()
400 if (!bounds.Contains(local_point)) in ShowContextMenu()
/external/chromium_org/chrome/browser/ui/views/tabs/
Dtab_strip.cc1124 gfx::Point local_point = tab_in_tab_coordinates; in GetTabAt() local
1125 ConvertPointToTarget(tab, this, &local_point); in GetTabAt()
1127 views::View* view = GetEventHandlerForPoint(local_point); in GetTabAt()
2693 gfx::Point local_point = event->location(); in OnGestureEvent() local
2694 Tab* tab = FindTabForEvent(local_point); in OnGestureEvent()
2696 ConvertPointToScreen(this, &local_point); in OnGestureEvent()
2697 ShowContextMenuForTab(tab, local_point, ui::MENU_SOURCE_TOUCH); in OnGestureEvent()
/external/chromium_org/chrome/browser/ui/views/download/
Ddownload_item_view.cc528 gfx::Point local_point = point; in ShowContextMenuForView() local
529 ConvertPointFromScreen(this, &local_point); in ShowContextMenuForView()
530 ShowContextMenuImpl(local_point, source_type); in ShowContextMenuForView()
/external/chromium_org/ui/views/
Dview.cc1489 gfx::Point local_point(point); in MoveLayerToParent() local
1491 local_point.Offset(GetMirroredX(), y()); in MoveLayerToParent()
1494 SetLayerBounds(gfx::Rect(local_point.x(), local_point.y(), in MoveLayerToParent()
1498 child_at(i)->MoveLayerToParent(parent_layer, local_point); in MoveLayerToParent()