Home
last modified time | relevance | path

Searched refs:vis_bounds (Results 1 – 12 of 12) sorted by relevance

/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/views/controls/menu/
H A Dsubmenu_view.cc274 gfx::Rect vis_bounds = GetVisibleBounds(); in OnMouseWheel() local
276 if (vis_bounds.height() == height() || menu_items.empty()) { in OnMouseWheel()
282 return item->y() < vis_bounds.y(); in OnMouseWheel()
298 return item->y() == vis_bounds.y(); in OnMouseWheel()
321 vis_bounds = GetVisibleBounds(); in OnMouseWheel()
528 const gfx::Rect& vis_bounds = GetVisibleBounds(); in OnScroll() local
530 int x = vis_bounds.x(); in OnScroll()
531 float y_f = vis_bounds.y() - dy - roundoff_error_; in OnScroll()
535 y = std::min(y, full_bounds.height() - vis_bounds.height() - 1); in OnScroll()
537 gfx::Rect new_vis_bounds(x, y, vis_bounds.width(), vis_bounds.height()); in OnScroll()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/views/controls/menu/
H A Dsubmenu_view.cc276 gfx::Rect vis_bounds = GetVisibleBounds(); in OnMouseWheel() local
278 if (vis_bounds.height() == height() || menu_items.empty()) { in OnMouseWheel()
284 return item->y() < vis_bounds.y(); in OnMouseWheel()
300 return item->y() == vis_bounds.y(); in OnMouseWheel()
323 vis_bounds = GetVisibleBounds(); in OnMouseWheel()
541 const gfx::Rect& vis_bounds = GetVisibleBounds(); in OnScroll() local
543 int x = vis_bounds.x(); in OnScroll()
544 float y_f = vis_bounds.y() - dy - roundoff_error_; in OnScroll()
548 y = std::min(y, full_bounds.height() - vis_bounds.height() - 1); in OnScroll()
550 gfx::Rect new_vis_bounds(x, y, vis_bounds.width(), vis_bounds.height()); in OnScroll()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/views/controls/native/
H A Dnative_view_host.cc103 gfx::Rect vis_bounds = GetVisibleBounds(); in Layout() local
104 bool visible = !vis_bounds.IsEmpty(); in Layout()
107 if (vis_bounds.size() != size()) { in Layout()
109 int x = vis_bounds.x(); in Layout()
110 int y = vis_bounds.y(); in Layout()
111 native_wrapper_->InstallClip(x, y, vis_bounds.width(), in Layout()
112 vis_bounds.height()); in Layout()
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/views/controls/native/
H A Dnative_view_host.cc106 gfx::Rect vis_bounds = GetVisibleBounds(); in Layout() local
107 bool visible = !vis_bounds.IsEmpty(); in Layout()
110 if (vis_bounds.size() != size()) { in Layout()
112 int x = vis_bounds.x(); in Layout()
113 int y = vis_bounds.y(); in Layout()
114 native_wrapper_->InstallClip(x, y, vis_bounds.width(), in Layout()
115 vis_bounds.height()); in Layout()
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/views/controls/tree/
H A Dtree_view.cc667 gfx::Rect vis_bounds(GetVisibleBounds()); in GetKeyboardContextMenuLocation() local
672 if (node_bounds.Intersects(vis_bounds)) in GetKeyboardContextMenuLocation()
673 node_bounds.Intersect(vis_bounds); in GetKeyboardContextMenuLocation()
675 x = base::ClampToRange(menu_point.x(), vis_bounds.x(), vis_bounds.right()); in GetKeyboardContextMenuLocation()
676 y = base::ClampToRange(menu_point.y(), vis_bounds.y(), vis_bounds.bottom()); in GetKeyboardContextMenuLocation()
680 screen_loc.set_x(vis_bounds.width() - screen_loc.x()); in GetKeyboardContextMenuLocation()
741 gfx::Rect vis_bounds = GetVisibleBounds(); in OnPaint() local
742 min_y = vis_bounds.y(); in OnPaint()
743 max_y = vis_bounds.bottom(); in OnPaint()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/views/
H A Dview.cc407 gfx::Rect vis_bounds(GetLocalBounds()); in GetVisibleBounds() local
412 while (view != nullptr && !vis_bounds.IsEmpty()) { in GetVisibleBounds()
419 vis_bounds = view->ConvertRectToParent(vis_bounds); in GetVisibleBounds()
423 vis_bounds.Intersect(ancestor_bounds); in GetVisibleBounds()
430 if (vis_bounds.IsEmpty()) in GetVisibleBounds()
431 return vis_bounds; in GetVisibleBounds()
433 gfx::RectF views_vis_bounds(vis_bounds); in GetVisibleBounds()
1526 gfx::Rect vis_bounds = GetVisibleBounds(); in GetKeyboardContextMenuLocation() local
1527 gfx::Point screen_point(vis_bounds.x() + vis_bounds.width() / 2, in GetKeyboardContextMenuLocation()
1528 vis_bounds.y() + vis_bounds.height() / 2); in GetKeyboardContextMenuLocation()
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/views/
H A Dview.cc423 gfx::Rect vis_bounds(GetLocalBounds()); in GetVisibleBounds() local
428 while (view != nullptr && !vis_bounds.IsEmpty()) { in GetVisibleBounds()
435 vis_bounds = view->ConvertRectToParent(vis_bounds); in GetVisibleBounds()
439 vis_bounds.Intersect(ancestor_bounds); in GetVisibleBounds()
446 if (vis_bounds.IsEmpty()) in GetVisibleBounds()
447 return vis_bounds; in GetVisibleBounds()
449 gfx::RectF views_vis_bounds(vis_bounds); in GetVisibleBounds()
1631 gfx::Rect vis_bounds = GetVisibleBounds(); in GetKeyboardContextMenuLocation() local
1632 gfx::Point screen_point(vis_bounds.x() + vis_bounds.width() / 2, in GetKeyboardContextMenuLocation()
1633 vis_bounds.y() + vis_bounds.height() / 2); in GetKeyboardContextMenuLocation()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/views/controls/tree/
H A Dtree_view.cc679 gfx::Rect vis_bounds(GetVisibleBounds()); in GetKeyboardContextMenuLocation() local
680 if (node_bounds.y() >= vis_bounds.y() && in GetKeyboardContextMenuLocation()
681 node_bounds.y() < vis_bounds.bottom()) { in GetKeyboardContextMenuLocation()
748 gfx::Rect vis_bounds = GetVisibleBounds(); in OnPaint() local
749 min_y = vis_bounds.y(); in OnPaint()
750 max_y = vis_bounds.bottom(); in OnPaint()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/views/controls/table/
H A Dtable_view.cc723 gfx::Rect vis_bounds(GetVisibleBounds()); in GetKeyboardContextMenuLocation() local
724 int y = vis_bounds.height() / 2; in GetKeyboardContextMenuLocation()
727 if (cell_bounds.bottom() >= vis_bounds.y() && in GetKeyboardContextMenuLocation()
728 cell_bounds.bottom() < vis_bounds.bottom()) { in GetKeyboardContextMenuLocation()
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/views/controls/table/
H A Dtable_view.cc777 gfx::Rect vis_bounds(GetVisibleBounds()); in GetKeyboardContextMenuLocation() local
778 int y = vis_bounds.height() / 2; in GetKeyboardContextMenuLocation()
781 if (cell_bounds.bottom() >= vis_bounds.y() && in GetKeyboardContextMenuLocation()
782 cell_bounds.bottom() < vis_bounds.bottom()) { in GetKeyboardContextMenuLocation()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/views/widget/
H A Dwidget.cc1431 gfx::Rect vis_bounds = view->GetVisibleBounds(); in ShouldDescendIntoChildForEventHandling() local
1434 if (vis_bounds.Contains(point_in_view)) in ShouldDescendIntoChildForEventHandling()
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/views/widget/
H A Dwidget.cc1456 gfx::Rect vis_bounds = view->GetVisibleBounds(); in ShouldDescendIntoChildForEventHandling() local
1459 if (vis_bounds.Contains(point_in_view)) in ShouldDescendIntoChildForEventHandling()