/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/ozone/platform/wayland/host/ |
H A D | shell_popup_wrapper.cc | 17 const gfx::Rect& menu_bounds, in GetAnchorRect() argument 23 anchor_rect = gfx::Rect(menu_bounds.x(), menu_bounds.y(), in GetAnchorRect() 30 anchor_rect = gfx::Rect(menu_bounds.x() - kAnchorDefaultWidth, in GetAnchorRect() 31 menu_bounds.y() - kAnchorHeightParentMenu, in GetAnchorRect() 48 if (menu_bounds.x() >= 0) { in GetAnchorRect() 51 (parent_window_bounds.width() - menu_bounds.x()) * 2; in GetAnchorRect() 53 anchor_rect = gfx::Rect(menu_bounds.x(), menu_bounds.y(), in GetAnchorRect() 57 gfx::Rect(parent_window_bounds.width() - menu_bounds.x(), in GetAnchorRect() 61 DCHECK_LE(menu_bounds.x(), 0); in GetAnchorRect() 62 auto position = menu_bounds.width() + menu_bounds.x(); in GetAnchorRect() [all …]
|
H A D | shell_popup_wrapper.h | 79 const gfx::Rect& menu_bounds,
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/ozone/platform/wayland/host/ |
H A D | shell_popup_wrapper.cc | 14 const gfx::Rect& menu_bounds, in GetAnchorRect() argument 20 anchor_rect = gfx::Rect(menu_bounds.x(), menu_bounds.y(), in GetAnchorRect() 27 anchor_rect = gfx::Rect(menu_bounds.x() - kAnchorDefaultWidth, in GetAnchorRect() 28 menu_bounds.y() - kAnchorHeightParentMenu, in GetAnchorRect() 45 if (menu_bounds.x() >= 0) { in GetAnchorRect() 48 (parent_window_bounds.width() - menu_bounds.x()) * 2; in GetAnchorRect() 50 gfx::Rect(parent_window_bounds.width() - menu_bounds.x(), in GetAnchorRect() 51 menu_bounds.y(), anchor_width, kAnchorDefaultHeight); in GetAnchorRect() 53 DCHECK_LE(menu_bounds.x(), 0); in GetAnchorRect() 54 auto position = menu_bounds.width() + menu_bounds.x(); in GetAnchorRect() [all …]
|
H A D | shell_popup_wrapper.h | 79 const gfx::Rect& menu_bounds,
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ash/system/accessibility/ |
H A D | floating_menu_utils.cc | 21 const gfx::Size& menu_bounds, in GetOnScreenBoundsForFloatingMenuPosition() argument 30 return gfx::Rect(work_area.right() - menu_bounds.width(), in GetOnScreenBoundsForFloatingMenuPosition() 31 work_area.bottom() - menu_bounds.height(), in GetOnScreenBoundsForFloatingMenuPosition() 32 menu_bounds.width(), menu_bounds.height()); in GetOnScreenBoundsForFloatingMenuPosition() 34 return gfx::Rect(work_area.x(), work_area.bottom() - menu_bounds.height(), in GetOnScreenBoundsForFloatingMenuPosition() 35 menu_bounds.width(), menu_bounds.height()); in GetOnScreenBoundsForFloatingMenuPosition() 42 menu_bounds.width(), menu_bounds.height()); in GetOnScreenBoundsForFloatingMenuPosition() 47 return gfx::Rect(work_area.right() - menu_bounds.width(), in GetOnScreenBoundsForFloatingMenuPosition() 49 menu_bounds.width(), menu_bounds.height()); in GetOnScreenBoundsForFloatingMenuPosition()
|
H A D | switch_access_menu_bubble_controller_unittest.cc | 144 gfx::Rect menu_bounds = menu->GetBoundsInScreen(); in TEST_F() local 148 EXPECT_FALSE(menu_bounds.Intersects(tray_bubble_bounds)) << test.name; in TEST_F()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ash/system/power/ |
H A D | power_button_menu_screen_view.cc | 172 gfx::Rect menu_bounds = GetMenuBounds(); in Layout() local 176 menu_bounds.set_x(menu_bounds.x() - transform_displacement.distance); in Layout() 178 menu_bounds.set_y(menu_bounds.y() - transform_displacement.distance); in Layout() 180 power_button_menu_view_->SetBoundsRect(menu_bounds); in Layout() 337 gfx::Rect menu_bounds; in GetMenuBounds() local 341 menu_bounds = GetContentsBounds(); in GetMenuBounds() 342 menu_bounds.ClampToCenteredSize( in GetMenuBounds() 345 menu_bounds.set_origin( in GetMenuBounds() 349 menu_bounds.set_size(power_button_menu_view_->GetPreferredSize()); in GetMenuBounds() 351 return menu_bounds; in GetMenuBounds()
|
H A D | power_button_controller_unittest.cc | 133 gfx::Rect menu_bounds = power_button_test_api_->GetMenuBoundsInScreen(); in TapToDismissPowerButtonMenu() local 134 gfx::Point point = menu_bounds.bottom_right(); in TapToDismissPowerButtonMenu() 792 gfx::Rect menu_bounds = power_button_test_api_->GetMenuBoundsInScreen(); in TEST_F() local 794 generator->MoveMouseTo(gfx::Point(menu_bounds.x() - 5, menu_bounds.y() - 5)); in TEST_F() 1305 gfx::Rect menu_bounds = power_button_test_api_->GetMenuBoundsInScreen(); in TEST_P() local 1313 0.5 / (1.0f - kPowerButtonPercentage) * menu_bounds.width() - 5; in TEST_P() 1315 0.5 / (1.0f - kPowerButtonPercentage) * menu_bounds.height() - 5; in TEST_P()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/views/controls/menu/ |
H A D | menu_controller.cc | 2178 gfx::Rect menu_bounds = in CalculateMenuBounds() local 2186 menu_bounds.set_width(std::max(menu_bounds.width(), anchor_bounds.width())); in CalculateMenuBounds() 2192 menu_bounds.set_width( in CalculateMenuBounds() 2194 menu_bounds.set_height( in CalculateMenuBounds() 2230 return menu_bounds; in CalculateMenuBounds() 2253 menu_bounds.set_x(anchor_bounds.right() - menu_bounds.width()); in CalculateMenuBounds() 2272 return menu_bounds; in CalculateMenuBounds() 2302 menu_bounds.set_y(monitor_bounds.bottom() - menu_bounds.height()); in CalculateMenuBounds() 2325 menu_bounds.set_x( in CalculateMenuBounds() 2328 menu_bounds.set_y( in CalculateMenuBounds() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/views/controls/menu/ |
H A D | menu_controller.cc | 2218 gfx::Rect menu_bounds = in CalculateMenuBounds() local 2226 menu_bounds.set_width(std::max(menu_bounds.width(), anchor_bounds.width())); in CalculateMenuBounds() 2232 menu_bounds.set_width( in CalculateMenuBounds() 2234 menu_bounds.set_height( in CalculateMenuBounds() 2270 return menu_bounds; in CalculateMenuBounds() 2293 menu_bounds.set_x(anchor_bounds.right() - menu_bounds.width()); in CalculateMenuBounds() 2313 return menu_bounds; in CalculateMenuBounds() 2343 menu_bounds.set_y(monitor_bounds.bottom() - menu_bounds.height()); in CalculateMenuBounds() 2366 menu_bounds.set_x( in CalculateMenuBounds() 2369 menu_bounds.set_y( in CalculateMenuBounds() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ash/autoclick/ |
H A D | autoclick_unittest.cc | 1046 gfx::Rect menu_bounds = menu->GetBoundsInScreen(); in TEST_F() local 1051 EXPECT_TRUE(abs(menu_bounds.y() - new_menu_bounds.y()) < 5); in TEST_F() 1053 EXPECT_TRUE(menu_bounds.x() - in TEST_F() 1059 EXPECT_EQ(menu_bounds, new_menu_bounds); in TEST_F() 1309 EXPECT_LT(menu_bounds.ManhattanInternalDistance(scroll_bounds), in TEST_F() 1316 menu_bounds = GetAutoclickMenuView()->GetBoundsInScreen(); in TEST_F() 1317 EXPECT_LT(menu_bounds.ManhattanInternalDistance(scroll_bounds), in TEST_F() 1323 menu_bounds = GetAutoclickMenuView()->GetBoundsInScreen(); in TEST_F() 1324 EXPECT_LT(menu_bounds.ManhattanInternalDistance(scroll_bounds), in TEST_F() 1330 menu_bounds = GetAutoclickMenuView()->GetBoundsInScreen(); in TEST_F() [all …]
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/lldb/source/Core/ |
H A D | IOHandlerCursesGUI.cpp | 1074 Rect menu_bounds; in WindowDelegateHandleChar() local 1075 menu_bounds.origin.x = run_menu_sp->GetStartingColumn(); in WindowDelegateHandleChar() 1076 menu_bounds.origin.y = 1; in WindowDelegateHandleChar() 1077 menu_bounds.size.width = run_menu_sp->GetDrawWidth(); in WindowDelegateHandleChar() 1078 menu_bounds.size.height = run_menu_sp->GetSubmenus().size() + 2; in WindowDelegateHandleChar() 1083 run_menu_sp->GetName().c_str(), menu_bounds, true); in WindowDelegateHandleChar()
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/lldb/source/Core/ |
H A D | IOHandlerCursesGUI.cpp | 1073 Rect menu_bounds; in WindowDelegateHandleChar() local 1074 menu_bounds.origin.x = run_menu_sp->GetStartingColumn(); in WindowDelegateHandleChar() 1075 menu_bounds.origin.y = 1; in WindowDelegateHandleChar() 1076 menu_bounds.size.width = run_menu_sp->GetDrawWidth(); in WindowDelegateHandleChar() 1077 menu_bounds.size.height = run_menu_sp->GetSubmenus().size() + 2; in WindowDelegateHandleChar() 1082 run_menu_sp->GetName().c_str(), menu_bounds, true); in WindowDelegateHandleChar()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/lldb/source/Core/ |
H A D | IOHandlerCursesGUI.cpp | 1194 Rect menu_bounds; in WindowDelegateHandleChar() local 1195 menu_bounds.origin.x = run_menu_sp->GetStartingColumn(); in WindowDelegateHandleChar() 1196 menu_bounds.origin.y = 1; in WindowDelegateHandleChar() 1197 menu_bounds.size.width = run_menu_sp->GetDrawWidth(); in WindowDelegateHandleChar() 1198 menu_bounds.size.height = run_menu_sp->GetSubmenus().size() + 2; in WindowDelegateHandleChar() 1203 run_menu_sp->GetName().c_str(), menu_bounds, true); in WindowDelegateHandleChar()
|
/dports/devel/llvm12/llvm-project-12.0.1.src/lldb/source/Core/ |
H A D | IOHandlerCursesGUI.cpp | 1194 Rect menu_bounds; in WindowDelegateHandleChar() local 1195 menu_bounds.origin.x = run_menu_sp->GetStartingColumn(); in WindowDelegateHandleChar() 1196 menu_bounds.origin.y = 1; in WindowDelegateHandleChar() 1197 menu_bounds.size.width = run_menu_sp->GetDrawWidth(); in WindowDelegateHandleChar() 1198 menu_bounds.size.height = run_menu_sp->GetSubmenus().size() + 2; in WindowDelegateHandleChar() 1203 run_menu_sp->GetName().c_str(), menu_bounds, true); in WindowDelegateHandleChar()
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/lldb/source/Core/ |
H A D | IOHandlerCursesGUI.cpp | 1194 Rect menu_bounds; in WindowDelegateHandleChar() local 1195 menu_bounds.origin.x = run_menu_sp->GetStartingColumn(); in WindowDelegateHandleChar() 1196 menu_bounds.origin.y = 1; in WindowDelegateHandleChar() 1197 menu_bounds.size.width = run_menu_sp->GetDrawWidth(); in WindowDelegateHandleChar() 1198 menu_bounds.size.height = run_menu_sp->GetSubmenus().size() + 2; in WindowDelegateHandleChar() 1203 run_menu_sp->GetName().c_str(), menu_bounds, true); in WindowDelegateHandleChar()
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/lldb/source/Core/ |
H A D | IOHandlerCursesGUI.cpp | 2977 Rect menu_bounds; in GetInputFD() 2978 menu_bounds.origin.x = run_menu_sp->GetStartingColumn(); in GetInputFD() 2979 menu_bounds.origin.y = 1; in GetInputFD() 2980 menu_bounds.size.width = run_menu_sp->GetDrawWidth(); in GetInputFD() 2981 menu_bounds.size.height = run_menu_sp->GetSubmenus().size() + 2; in GetInputFD() 2986 run_menu_sp->GetName().c_str(), menu_bounds, true); in GetInputFD()
|
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/lldb/source/Core/ |
H A D | IOHandlerCursesGUI.cpp | 2977 Rect menu_bounds; in WindowDelegateHandleChar() local 2978 menu_bounds.origin.x = run_menu_sp->GetStartingColumn(); in WindowDelegateHandleChar() 2979 menu_bounds.origin.y = 1; in WindowDelegateHandleChar() 2980 menu_bounds.size.width = run_menu_sp->GetDrawWidth(); in WindowDelegateHandleChar() 2981 menu_bounds.size.height = run_menu_sp->GetSubmenus().size() + 2; in WindowDelegateHandleChar() 2986 run_menu_sp->GetName().c_str(), menu_bounds, true); in WindowDelegateHandleChar()
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/lldb/source/Core/ |
H A D | IOHandlerCursesGUI.cpp | 2977 Rect menu_bounds; in WindowDelegateHandleChar() local 2978 menu_bounds.origin.x = run_menu_sp->GetStartingColumn(); in WindowDelegateHandleChar() 2979 menu_bounds.origin.y = 1; in WindowDelegateHandleChar() 2980 menu_bounds.size.width = run_menu_sp->GetDrawWidth(); in WindowDelegateHandleChar() 2981 menu_bounds.size.height = run_menu_sp->GetSubmenus().size() + 2; in WindowDelegateHandleChar() 2986 run_menu_sp->GetName().c_str(), menu_bounds, true); in WindowDelegateHandleChar()
|
/dports/devel/llvm13/llvm-project-13.0.1.src/lldb/source/Core/ |
H A D | IOHandlerCursesGUI.cpp | 2977 Rect menu_bounds; in WindowDelegateHandleChar() local 2978 menu_bounds.origin.x = run_menu_sp->GetStartingColumn(); in WindowDelegateHandleChar() 2979 menu_bounds.origin.y = 1; in WindowDelegateHandleChar() 2980 menu_bounds.size.width = run_menu_sp->GetDrawWidth(); in WindowDelegateHandleChar() 2981 menu_bounds.size.height = run_menu_sp->GetSubmenus().size() + 2; in WindowDelegateHandleChar() 2986 run_menu_sp->GetName().c_str(), menu_bounds, true); in WindowDelegateHandleChar()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ash/app_list/views/ |
H A D | apps_grid_view_unittest.cc | 845 gfx::Rect menu_bounds = menu_window->GetBoundsInScreen(); in TEST_P() local 846 EXPECT_TRUE(root_bounds.Contains(menu_bounds)) in TEST_P() 847 << "menu bounds for " << idx << "-th item " << menu_bounds.ToString() in TEST_P()
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/lldb/source/Core/ |
H A D | IOHandlerCursesGUI.cpp | 4193 Rect menu_bounds; in WindowDelegateHandleChar() local 4194 menu_bounds.origin.x = run_menu_sp->GetStartingColumn(); in WindowDelegateHandleChar() 4195 menu_bounds.origin.y = 1; in WindowDelegateHandleChar() 4196 menu_bounds.size.width = run_menu_sp->GetDrawWidth(); in WindowDelegateHandleChar() 4197 menu_bounds.size.height = run_menu_sp->GetSubmenus().size() + 2; in WindowDelegateHandleChar() 4202 run_menu_sp->GetName().c_str(), menu_bounds, true); in WindowDelegateHandleChar()
|