/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/ |
H A D | send_mouse_move_uitest_win.cc | 40 const gfx::Rect screen_bounds = screen->GetPrimaryDisplay().bounds(); in IN_PROC_BROWSER_TEST_F() local 41 for (int scan_y = screen_bounds.y(); scan_y < screen_bounds.bottom(); in IN_PROC_BROWSER_TEST_F() 43 for (int scan_x = screen_bounds.x(); scan_x < screen_bounds.right(); in IN_PROC_BROWSER_TEST_F() 68 const gfx::Rect screen_bounds = screen->GetPrimaryDisplay().bounds(); in IN_PROC_BROWSER_TEST_F() local 72 screen_bounds.origin(), in IN_PROC_BROWSER_TEST_F() 73 gfx::Point(screen_bounds.right() - 1, screen_bounds.y()), in IN_PROC_BROWSER_TEST_F() 74 gfx::Point(screen_bounds.x(), screen_bounds.bottom() - 1), in IN_PROC_BROWSER_TEST_F() 75 gfx::Point(screen_bounds.right() - 1, screen_bounds.bottom() - 1), in IN_PROC_BROWSER_TEST_F() 76 screen_bounds.CenterPoint()}; in IN_PROC_BROWSER_TEST_F()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/extensions/browser/app_window/ |
H A D | app_window_geometry_cache.cc | 56 extension_data[window_id].screen_bounds == screen_bounds && in SaveGeometry() 63 extension_data[window_id].screen_bounds = screen_bounds; in SaveGeometry() 108 const gfx::Rect& screen_bounds = it->second.screen_bounds; in SyncToStorage() local 110 DCHECK(!screen_bounds.IsEmpty()); in SyncToStorage() 159 (screen_bounds && window_data.screen_bounds.IsEmpty()) || in GetGeometry() 165 if (screen_bounds) in GetGeometry() 166 *screen_bounds = window_data.screen_bounds; in GetGeometry() 228 window_data.screen_bounds.set_x(i); in LoadGeometryFromStorage() 230 window_data.screen_bounds.set_y(i); in LoadGeometryFromStorage() 232 window_data.screen_bounds.set_width(i); in LoadGeometryFromStorage() [all …]
|
H A D | app_window_geometry_cache_unittest.cc | 81 const gfx::Rect& screen_bounds, in AddGeometryAndLoadExtension() argument 170 gfx::Rect screen_bounds(0, 0, 1600, 900); in TEST_F() local 188 gfx::Rect screen_bounds(0, 0, 1600, 900); in TEST_F() local 206 gfx::Rect screen_bounds; in TEST_F() local 224 gfx::Rect screen_bounds(0, 0, 1600, 900); in TEST_F() local 249 gfx::Rect screen_bounds(0, 0, 1600, 900); in TEST_F() local 282 ASSERT_EQ(screen_bounds.x(), v); in TEST_F() 284 ASSERT_EQ(screen_bounds.y(), v); in TEST_F() 286 ASSERT_EQ(screen_bounds.width(), v); in TEST_F() 288 ASSERT_EQ(screen_bounds.height(), v); in TEST_F() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/extensions/browser/app_window/ |
H A D | app_window_geometry_cache.cc | 56 extension_data[window_id].screen_bounds == screen_bounds && in SaveGeometry() 63 extension_data[window_id].screen_bounds = screen_bounds; in SaveGeometry() 108 const gfx::Rect& screen_bounds = it->second.screen_bounds; in SyncToStorage() local 110 DCHECK(!screen_bounds.IsEmpty()); in SyncToStorage() 159 (screen_bounds && window_data.screen_bounds.IsEmpty()) || in GetGeometry() 165 if (screen_bounds) in GetGeometry() 166 *screen_bounds = window_data.screen_bounds; in GetGeometry() 228 window_data.screen_bounds.set_x(i); in LoadGeometryFromStorage() 230 window_data.screen_bounds.set_y(i); in LoadGeometryFromStorage() 232 window_data.screen_bounds.set_width(i); in LoadGeometryFromStorage() [all …]
|
H A D | app_window_geometry_cache_unittest.cc | 81 const gfx::Rect& screen_bounds, in AddGeometryAndLoadExtension() argument 170 gfx::Rect screen_bounds(0, 0, 1600, 900); in TEST_F() local 188 gfx::Rect screen_bounds(0, 0, 1600, 900); in TEST_F() local 206 gfx::Rect screen_bounds; in TEST_F() local 224 gfx::Rect screen_bounds(0, 0, 1600, 900); in TEST_F() local 249 gfx::Rect screen_bounds(0, 0, 1600, 900); in TEST_F() local 282 ASSERT_EQ(screen_bounds.x(), v); in TEST_F() 284 ASSERT_EQ(screen_bounds.y(), v); in TEST_F() 286 ASSERT_EQ(screen_bounds.width(), v); in TEST_F() 288 ASSERT_EQ(screen_bounds.height(), v); in TEST_F() [all …]
|
/dports/math/vtk8/VTK-8.2.0/Rendering/Core/ |
H A D | vtkFrustumCoverageCuller.cxx | 140 screen_bounds[i] = d - radius; in Cull() 155 full_w = screen_bounds[0] + screen_bounds[1] + 2.0 * radius; in Cull() 156 full_h = screen_bounds[2] + screen_bounds[3] + 2.0 * radius; in Cull() 165 if ( screen_bounds[0] > 0.0 ) in Cull() 167 part_w -= screen_bounds[0]; in Cull() 169 if ( screen_bounds[1] > 0.0 ) in Cull() 171 part_w -= screen_bounds[1]; in Cull() 176 if ( screen_bounds[2] > 0.0 ) in Cull() 178 part_h -= screen_bounds[2]; in Cull() 180 if ( screen_bounds[3] > 0.0 ) in Cull() [all …]
|
/dports/math/vtk9/VTK-9.1.0/Rendering/Core/ |
H A D | vtkFrustumCoverageCuller.cxx | 46 double coverage, screen_bounds[4]; in Cull() local 147 full_w = screen_bounds[0] + screen_bounds[1] + 2.0 * radius; in Cull() 148 full_h = screen_bounds[2] + screen_bounds[3] + 2.0 * radius; in Cull() 157 if (screen_bounds[0] > 0.0) in Cull() 159 part_w -= screen_bounds[0]; in Cull() 161 if (screen_bounds[1] > 0.0) in Cull() 163 part_w -= screen_bounds[1]; in Cull() 168 if (screen_bounds[2] > 0.0) in Cull() 170 part_h -= screen_bounds[2]; in Cull() 172 if (screen_bounds[3] > 0.0) in Cull() [all …]
|
/dports/math/vtk6/VTK-6.2.0/Rendering/Core/ |
H A D | vtkFrustumCoverageCuller.cxx | 140 screen_bounds[i] = d - radius; in Cull() 155 full_w = screen_bounds[0] + screen_bounds[1] + 2.0 * radius; in Cull() 156 full_h = screen_bounds[2] + screen_bounds[3] + 2.0 * radius; in Cull() 165 if ( screen_bounds[0] > 0.0 ) in Cull() 167 part_w -= screen_bounds[0]; in Cull() 169 if ( screen_bounds[1] > 0.0 ) in Cull() 171 part_w -= screen_bounds[1]; in Cull() 176 if ( screen_bounds[2] > 0.0 ) in Cull() 178 part_h -= screen_bounds[2]; in Cull() 180 if ( screen_bounds[3] > 0.0 ) in Cull() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ash/wm/ |
H A D | lock_layout_manager_unittest.cc | 107 gfx::Rect screen_bounds = in TEST_F() local 131 gfx::Rect screen_bounds = in TEST_F() local 149 EXPECT_EQ(screen_bounds.ToString(), in TEST_F() 151 EXPECT_EQ(screen_bounds.ToString(), in TEST_F() 160 EXPECT_EQ(screen_bounds.ToString(), in TEST_F() 168 EXPECT_EQ(screen_bounds.ToString(), in TEST_F() 174 EXPECT_EQ(screen_bounds.ToString(), in TEST_F() 176 EXPECT_EQ(screen_bounds.ToString(), in TEST_F() 255 screen_bounds = primary_display.bounds(); in TEST_F() 269 gfx::Rect target_bounds(screen_bounds); in TEST_F() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/vr/elements/ |
H A D | content_element.cc | 175 gfx::SizeF screen_bounds; in OnBeginFrame() local 177 screen_bounds.set_width(screen_size.height() * aspect_ratio); in OnBeginFrame() 178 screen_bounds.set_height(screen_size.height()); in OnBeginFrame() 180 screen_bounds.set_width(screen_size.width()); in OnBeginFrame() 181 screen_bounds.set_height(screen_size.width() / aspect_ratio); in OnBeginFrame() 184 if (std::abs(screen_bounds.width() - last_content_screen_bounds_.width()) > in OnBeginFrame() 186 std::abs(screen_bounds.height() - last_content_screen_bounds_.height()) > in OnBeginFrame() 190 bounds_changed_callback_.Run(screen_bounds); in OnBeginFrame() 191 last_content_screen_bounds_.set_width(screen_bounds.width()); in OnBeginFrame() 192 last_content_screen_bounds_.set_height(screen_bounds.height()); in OnBeginFrame()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chromecast/graphics/gestures/ |
H A D | side_swipe_detector.cc | 73 const gfx::Rect& screen_bounds) const { in GetDragPosition() 74 if (point.y() < (screen_bounds.y() + gesture_start_height_)) { in GetDragPosition() 77 if (point.x() < (screen_bounds.x() + gesture_start_width_)) { in GetDragPosition() 81 (screen_bounds.x() + screen_bounds.width() - gesture_start_width_)) { in GetDragPosition() 84 if (point.y() > (screen_bounds.y() + screen_bounds.height() - in GetDragPosition() 117 gfx::Rect screen_bounds = display::Screen::GetScreen() in RewriteEvent() local 121 GetDragPosition(touch_location, screen_bounds); in RewriteEvent()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ash/accessibility/ |
H A D | accessibility_focus_ring.cc | 23 if (top.y() > screen_bounds.bottom()) in IsFocusRingOffscreen() 25 if (middle.right() < screen_bounds.x()) in IsFocusRingOffscreen() 27 if (middle.x() > screen_bounds.right()) in IsFocusRingOffscreen() 29 if (bottom.bottom() < screen_bounds.y()) in IsFocusRingOffscreen() 218 if (top.Intersects(screen_bounds)) in CreateWithParagraphShape() 219 top.Intersect(screen_bounds); in CreateWithParagraphShape() 221 ClipToBounds(&top, screen_bounds); in CreateWithParagraphShape() 223 if (middle.Intersects(screen_bounds)) in CreateWithParagraphShape() 224 middle.Intersect(screen_bounds); in CreateWithParagraphShape() 228 if (bottom.Intersects(screen_bounds)) in CreateWithParagraphShape() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/ash/keyboard/ |
H A D | keyboard_end_to_end_browsertest.cc | 366 gfx::Size screen_bounds = GetScreenBounds(); in IN_PROC_BROWSER_TEST_F() local 368 gfx::Rect(0, 0, screen_bounds.width(), screen_bounds.height() / 2)); in IN_PROC_BROWSER_TEST_F() 389 gfx::Size screen_bounds = GetScreenBounds(); in IN_PROC_BROWSER_TEST_F() local 390 browser()->window()->SetBounds(gfx::Rect(0, screen_bounds.height() / 2, in IN_PROC_BROWSER_TEST_F() 391 screen_bounds.width(), in IN_PROC_BROWSER_TEST_F() 392 screen_bounds.height() / 2)); in IN_PROC_BROWSER_TEST_F() 417 gfx::Size screen_bounds = GetScreenBounds(); in IN_PROC_BROWSER_TEST_F() local 418 browser()->window()->SetBounds(gfx::Rect(0, screen_bounds.height() / 3, in IN_PROC_BROWSER_TEST_F() 419 screen_bounds.width(), in IN_PROC_BROWSER_TEST_F() 420 screen_bounds.height() / 3 * 2)); in IN_PROC_BROWSER_TEST_F()
|
H A D | chrome_keyboard_bounds_observer.cc | 65 const gfx::Rect& screen_bounds) { in OnKeyboardOccludedBoundsChanged() argument 66 DVLOG(1) << "OnKeyboardOccludedBoundsChanged: " << screen_bounds.ToString(); in OnKeyboardOccludedBoundsChanged() 69 ? screen_bounds in OnKeyboardOccludedBoundsChanged() 74 const gfx::Rect& screen_bounds) { in UpdateOccludedBounds() argument 75 DVLOG(1) << "UpdateOccludedBounds: " << screen_bounds.ToString(); in UpdateOccludedBounds() 76 occluded_bounds_in_screen_ = screen_bounds; in UpdateOccludedBounds()
|
H A D | chrome_keyboard_controller_client.cc | 315 const gfx::Rect& screen_bounds) { in OnKeyboardVisibleBoundsChanged() argument 316 DVLOG(1) << "OnKeyboardVisibleBoundsChanged: " << screen_bounds.ToString(); in OnKeyboardVisibleBoundsChanged() 318 keyboard_contents_->SetInitialContentsSize(screen_bounds.size()); in OnKeyboardVisibleBoundsChanged() 332 gfx::Rect bounds = BoundsFromScreen(screen_bounds); in OnKeyboardVisibleBoundsChanged() 349 const gfx::Rect& screen_bounds) { in OnKeyboardOccludedBoundsChanged() argument 352 DVLOG(1) << "OnKeyboardOccludedBoundsChanged: " << screen_bounds.ToString(); in OnKeyboardOccludedBoundsChanged() 354 observer.OnKeyboardOccludedBoundsChanged(screen_bounds); in OnKeyboardOccludedBoundsChanged() 430 const gfx::Rect& screen_bounds) { in BoundsFromScreen() argument 433 gfx::Rect bounds(screen_bounds); in BoundsFromScreen()
|
H A D | chrome_keyboard_controller_client.h | 53 const gfx::Rect& screen_bounds) {} in OnKeyboardOccludedBoundsChanged() argument 161 void OnKeyboardVisibleBoundsChanged(const gfx::Rect& screen_bounds) override; 162 void OnKeyboardOccludedBoundsChanged(const gfx::Rect& screen_bounds) override; 178 gfx::Rect BoundsFromScreen(const gfx::Rect& screen_bounds);
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/ui_devtools/views/ |
H A D | overlay_agent_views.cc | 43 void DrawRulers(const gfx::Rect& screen_bounds, in DrawRulers() argument 48 gfx::PointF(screen_bounds.right(), 0.0f), in DrawRulers() 53 gfx::PointF(0.0f, screen_bounds.bottom()), in DrawRulers() 62 for (int x = gap_between_strokes; x < screen_bounds.right(); in DrawRulers() 79 for (int y = 0; y < screen_bounds.bottom(); y += gap_between_strokes) { in DrawRulers() 151 void DrawRectGuideLinesOnCanvas(const gfx::Rect& screen_bounds, in DrawRectGuideLinesOnCanvas() argument 157 gfx::PointF(screen_bounds.right(), rect_f.y()), flags); in DrawRectGuideLinesOnCanvas() 165 gfx::PointF(rect_f.x(), screen_bounds.bottom()), flags); in DrawRectGuideLinesOnCanvas() 565 const gfx::Rect& screen_bounds(layer_for_highlighting_->bounds()); in OnPaintLayer() local 566 ui::PaintRecorder recorder(context, screen_bounds.size()); in OnPaintLayer() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/ui_devtools/views/ |
H A D | overlay_agent_views.cc | 43 void DrawRulers(const gfx::Rect& screen_bounds, in DrawRulers() argument 48 gfx::PointF(screen_bounds.right(), 0.0f), in DrawRulers() 53 gfx::PointF(0.0f, screen_bounds.bottom()), in DrawRulers() 62 for (int x = gap_between_strokes; x < screen_bounds.right(); in DrawRulers() 79 for (int y = 0; y < screen_bounds.bottom(); y += gap_between_strokes) { in DrawRulers() 151 void DrawRectGuideLinesOnCanvas(const gfx::Rect& screen_bounds, in DrawRectGuideLinesOnCanvas() argument 157 gfx::PointF(screen_bounds.right(), rect_f.y()), flags); in DrawRectGuideLinesOnCanvas() 165 gfx::PointF(rect_f.x(), screen_bounds.bottom()), flags); in DrawRectGuideLinesOnCanvas() 565 const gfx::Rect& screen_bounds(layer_for_highlighting_->bounds()); in OnPaintLayer() local 566 ui::PaintRecorder recorder(context, screen_bounds.size()); in OnPaintLayer() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/chromeos/first_run/steps/ |
H A D | app_list_step.cc | 28 gfx::Rect screen_bounds = in DoShow() local 30 if (screen_bounds.IsEmpty()) in DoShow() 33 gfx::Point center = screen_bounds.CenterPoint(); in DoShow()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/views/location_bar/ |
H A D | location_bar_bubble_delegate_view.cc | 146 const gfx::Rect& screen_bounds) { in AdjustForFullscreen() argument 153 ? (screen_bounds.x() + horizontal_offset) in AdjustForFullscreen() 154 : (screen_bounds.right() - horizontal_offset); in AdjustForFullscreen() 155 SetAnchorRect(gfx::Rect(x_pos, screen_bounds.y(), 0, 0)); in AdjustForFullscreen()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ash/keyboard/ |
H A D | keyboard_controller_impl.cc | 134 const gfx::Rect& screen_bounds) { in SendOnKeyboardVisibleBoundsChanged() argument 135 DVLOG(1) << "OnKeyboardVisibleBoundsChanged: " << screen_bounds.ToString(); in SendOnKeyboardVisibleBoundsChanged() 137 observer.OnKeyboardVisibleBoundsChanged(screen_bounds); in SendOnKeyboardVisibleBoundsChanged() 437 const gfx::Rect& screen_bounds) { in OnKeyboardVisibleBoundsChanged() argument 438 SendOnKeyboardVisibleBoundsChanged(screen_bounds); in OnKeyboardVisibleBoundsChanged() 442 const gfx::Rect& screen_bounds) { in OnKeyboardOccludedBoundsChanged() argument 443 DVLOG(1) << "OnKeyboardOccludedBoundsChanged: " << screen_bounds.ToString(); in OnKeyboardOccludedBoundsChanged() 445 observer.OnKeyboardOccludedBoundsChanged(screen_bounds); in OnKeyboardOccludedBoundsChanged()
|
/dports/shells/ion/ion-a8872014dbce730ccd00aaa722397dc394a52bf4/cargo-crates/core-graphics-0.17.3/src/ |
H A D | window.rs | 88 pub fn create_image(screen_bounds: CGRect, in create_image() 94 let image = CGWindowListCreateImage(screen_bounds, list_option, window_id, image_option); in create_image() 103 pub fn create_image_from_array(screen_bounds: CGRect, in create_image_from_array() 108 let image = CGWindowListCreateImageFromArray(screen_bounds, in create_image_from_array()
|
/dports/www/firefox/firefox-99.0/third_party/rust/core-graphics/src/ |
H A D | window.rs | 88 pub fn create_image(screen_bounds: CGRect, in create_image() 94 let image = CGWindowListCreateImage(screen_bounds, list_option, window_id, image_option); in create_image() 103 pub fn create_image_from_array(screen_bounds: CGRect, in create_image_from_array() 108 let image = CGWindowListCreateImageFromArray(screen_bounds, in create_image_from_array()
|
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/core-graphics/src/ |
H A D | window.rs | 88 pub fn create_image(screen_bounds: CGRect, in create_image() 94 let image = CGWindowListCreateImage(screen_bounds, list_option, window_id, image_option); in create_image() 103 pub fn create_image_from_array(screen_bounds: CGRect, in create_image_from_array() 108 let image = CGWindowListCreateImageFromArray(screen_bounds, in create_image_from_array()
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/core-graphics-0.19.0/src/ |
H A D | window.rs | 88 pub fn create_image(screen_bounds: CGRect, in create_image() 94 let image = CGWindowListCreateImage(screen_bounds, list_option, window_id, image_option); in create_image() 103 pub fn create_image_from_array(screen_bounds: CGRect, in create_image_from_array() 108 let image = CGWindowListCreateImageFromArray(screen_bounds, in create_image_from_array()
|