Searched refs:local_point (Results 1 – 6 of 6) sorted by relevance
/external/chromium_org/ui/aura/ |
D | window.cc | 667 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 …]
|
D | window.h | 248 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/ |
D | tree_view.cc | 392 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/ |
D | tab_strip.cc | 1124 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/ |
D | download_item_view.cc | 528 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/ |
D | view.cc | 1489 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()
|