Home
last modified time | relevance | path

Searched refs:view_bounds (Results 1 – 25 of 25) sorted by relevance

/dports/www/chromium-legacy/chromium-88.0.4324.182/ash/login/ui/
H A Dnote_action_launch_button_unittest.cc145 PerformClick(view_bounds.top_right() + in TEST_F()
152 PerformClick(view_bounds.top_right() + in TEST_F()
174 PerformClick(view_bounds.top_right() + in TEST_F()
180 PerformClick(view_bounds.top_right() + in TEST_F()
192 PerformClick(view_bounds.top_right() + in TEST_F()
211 PerformClick(view_bounds.origin() + in TEST_F()
217 PerformClick(view_bounds.origin() + in TEST_F()
230 view_bounds.top_right() + in TEST_F()
293 view_bounds.Offset(200, 200); in TEST_F()
304 view_bounds.top_right() + in TEST_F()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/ash/accessibility/
H A Dfocus_ring_controller.cc55 gfx::Rect view_bounds = view->GetContentsBounds(); in UpdateFocusRing() local
59 view_bounds = view->GetLocalBounds(); in UpdateFocusRing()
60 view_bounds.Inset(2, 2, 2, 2); in UpdateFocusRing()
66 view_bounds = view->GetLocalBounds(); in UpdateFocusRing()
67 view_bounds.Inset(1, 1, 3, 3); in UpdateFocusRing()
69 view_bounds.Inset(1, 1, 3, 3); in UpdateFocusRing()
73 view_bounds = view->ConvertRectToWidget(view_bounds); in UpdateFocusRing()
79 gfx::Point origin = view_bounds.origin(); in UpdateFocusRing()
81 view_bounds.set_origin(origin); in UpdateFocusRing()
86 focus_ring_layer_->Set(root_window, view_bounds); in UpdateFocusRing()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Drawing/System.Drawing/
H A DmacFunctions.cs99 Rect view_bounds = new Rect (); in GetCGContextForView()
107 HIViewGetBounds (handle, ref view_bounds); in GetCGContextForView()
109 HIViewConvertRect (ref view_bounds, handle, IntPtr.Zero); in GetCGContextForView()
111 if (view_bounds.size.height < 0) view_bounds.size.height = 0; in GetCGContextForView()
112 if (view_bounds.size.width < 0) view_bounds.size.width = 0; in GetCGContextForView()
114 …xtTranslateCTM (context, view_bounds.origin.x, (window_bounds.bottom - window_bounds.top) - (view_… in GetCGContextForView()
117 Rect rc_clip = new Rect (0, 0, view_bounds.size.width, view_bounds.size.height); in GetCGContextForView()
129 …CGContextAddRect (context, new Rect (clip_rectangles [i].X, view_bounds.size.height - clip_rectang… in GetCGContextForView()
151 …return new CarbonContext (port, context, (int)view_bounds.size.width, (int)view_bounds.size.height… in GetCGContextForView()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Drawing.Common/src/System/Drawing/
H A DmacFunctions.cs111 Rect view_bounds = new Rect(); in GetCGContextForView()
119 HIViewGetBounds(handle, ref view_bounds); in GetCGContextForView()
121 HIViewConvertRect(ref view_bounds, handle, IntPtr.Zero); in GetCGContextForView()
123 if (view_bounds.size.height < 0) in GetCGContextForView()
124 view_bounds.size.height = 0; in GetCGContextForView()
125 if (view_bounds.size.width < 0) in GetCGContextForView()
126 view_bounds.size.width = 0; in GetCGContextForView()
128 …extTranslateCTM(context, view_bounds.origin.x, (window_bounds.bottom - window_bounds.top) - (view_… in GetCGContextForView()
131 Rect rc_clip = new Rect(0, 0, view_bounds.size.width, view_bounds.size.height); in GetCGContextForView()
145 …CGContextAddRect(context, new Rect(clip_rectangles[i].X, view_bounds.size.height - clip_rectangles… in GetCGContextForView()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/media_message_center/
H A Dmedia_notification_background_ash_impl.cc41 const gfx::Rect& view_bounds) const { in GetArtworkBounds()
48 ? view_bounds.x() + kArtworkRightMargin - horizontal_offset in GetArtworkBounds()
49 : view_bounds.right() - kArtworkRightMargin - in GetArtworkBounds()
53 view_bounds.bottom() - kArtworkBottomMargin - in GetArtworkBounds()
59 const gfx::Rect& view_bounds) const { in GetArtworkClipPath()
60 int x = base::i18n::IsRTL() ? view_bounds.x() + kArtworkRightMargin in GetArtworkClipPath()
61 : view_bounds.right() - kArtworkRightMargin - in GetArtworkClipPath()
63 int y = view_bounds.bottom() - kArtworkBottomMargin - kArtworkSize.height(); in GetArtworkClipPath()
H A Dmedia_notification_background_impl.cc416 const gfx::Rect& view_bounds = owner.GetContentsBounds(); in GetArtworkBounds() local
417 int width = GetArtworkWidth(view_bounds.size()); in GetArtworkBounds()
428 view_bounds.height())); in GetArtworkBounds()
435 const gfx::Rect& view_bounds = owner.GetContentsBounds(); in GetFilledBackgroundBounds() local
436 gfx::Rect bounds = gfx::Rect(view_bounds); in GetFilledBackgroundBounds()
447 const gfx::Rect& view_bounds = owner.GetContentsBounds(); in GetGradientBounds() local
449 view_bounds.width() - GetArtworkVisibleWidth(view_bounds.size()), in GetGradientBounds()
450 view_bounds.y(), kMediaImageGradientWidth, view_bounds.height())); in GetGradientBounds()
458 const gfx::Rect& view_bounds = owner.GetContentsBounds(); in GetBottomGradientBounds() local
461 view_bounds.width() - GetArtworkVisibleWidth(view_bounds.size()), in GetBottomGradientBounds()
[all …]
H A Dmedia_notification_background_ash_impl.h39 gfx::Rect GetArtworkBounds(const gfx::Rect& view_bounds) const; in COMPONENT_EXPORT()
41 SkPath GetArtworkClipPath(const gfx::Rect& view_bounds) const; in COMPONENT_EXPORT()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chromecast/graphics/accessibility/
H A Dfocus_ring_controller.cc65 gfx::Rect view_bounds = view->GetContentsBounds(); in UpdateFocusRing() local
69 view_bounds = view->GetLocalBounds(); in UpdateFocusRing()
70 view_bounds.Inset(2, 2, 2, 2); in UpdateFocusRing()
74 view_bounds = view->ConvertRectToWidget(view_bounds); in UpdateFocusRing()
80 gfx::Point origin = view_bounds.origin(); in UpdateFocusRing()
82 view_bounds.set_origin(origin); in UpdateFocusRing()
87 focus_ring_layer_->Set(root_window, view_bounds); in UpdateFocusRing()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/snapshot/
H A Dsnapshot_mac.mm30 gfx::Rect view_bounds = gfx::Rect(NSRectToCGRect(frame));
33 view_bounds.set_y(
34 screen_bounds.height() - view_bounds.y() - view_bounds.height());
39 screen_snapshot_bounds.Offset(view_bounds.OffsetFromOrigin());
41 DCHECK_LE(screen_snapshot_bounds.right(), view_bounds.right());
42 DCHECK_LE(screen_snapshot_bounds.bottom(), view_bounds.bottom());
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/snapshot/
H A Dsnapshot_mac.mm30 gfx::Rect view_bounds = gfx::Rect(NSRectToCGRect(frame));
33 view_bounds.set_y(
34 screen_bounds.height() - view_bounds.y() - view_bounds.height());
39 screen_snapshot_bounds.Offset(view_bounds.OffsetFromOrigin());
41 DCHECK_LE(screen_snapshot_bounds.right(), view_bounds.right());
42 DCHECK_LE(screen_snapshot_bounds.bottom(), view_bounds.bottom());
/dports/www/chromium-legacy/chromium-88.0.4324.182/ash/quick_answers/ui/
H A Dquick_answers_view_unittest.cc110 gfx::Rect view_bounds = view()->GetBoundsInScreen(); in TEST_F() local
114 EXPECT_EQ(view_bounds.x(), anchor_bounds.x()); in TEST_F()
115 EXPECT_EQ(view_bounds.right(), anchor_bounds.right()); in TEST_F()
118 EXPECT_EQ(view_bounds.bottom() + kMarginDip, anchor_bounds.y()); in TEST_F()
128 gfx::Rect view_bounds = view()->GetBoundsInScreen(); in TEST_F() local
131 EXPECT_EQ(anchor_bounds.bottom() + kMarginDip, view_bounds.y()); in TEST_F()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/media_message_center/
H A Dmedia_notification_background.cc387 const gfx::Rect& view_bounds = owner.GetContentsBounds(); in GetArtworkBounds() local
388 int width = GetArtworkWidth(view_bounds.size()); in GetArtworkBounds()
389 int visible_width = GetArtworkVisibleWidth(view_bounds.size()); in GetArtworkBounds()
398 gfx::Rect(view_bounds.right() - width + horizontal_offset, 0, width, in GetArtworkBounds()
399 view_bounds.height())); in GetArtworkBounds()
406 const gfx::Rect& view_bounds = owner.GetContentsBounds(); in GetFilledBackgroundBounds() local
407 gfx::Rect bounds = gfx::Rect(view_bounds); in GetFilledBackgroundBounds()
408 bounds.Inset(0, 0, GetArtworkVisibleWidth(view_bounds.size()), 0); in GetFilledBackgroundBounds()
418 const gfx::Rect& view_bounds = owner.GetContentsBounds(); in GetGradientBounds() local
420 view_bounds.width() - GetArtworkVisibleWidth(view_bounds.size()), in GetGradientBounds()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Windows.Forms/System.Windows.Forms.CarbonInternal/
H A DWindowHandler.cs199 HIRect view_bounds = new HIRect (); in ProcessEvent()
204 view_bounds.size.width = window_bounds.right - window_bounds.left; in ProcessEvent()
205 view_bounds.size.height = window_bounds.bottom - window_bounds.top; in ProcessEvent()
207 HIViewSetFrame (hwnd.WholeWindow, ref view_bounds); in ProcessEvent()
209 …ntrol.FromHandle (hwnd.Handle).GetCreateParams (), (int)view_bounds.size.width, (int)view_bounds.s… in ProcessEvent()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/views/corewm/
H A Dtooltip_controller_unittest.cc435 gfx::Rect view_bounds(view_->GetLocalBounds()); in TEST_F() local
436 view_bounds.set_height(view_bounds.height() / 2); in TEST_F()
437 v1->SetBoundsRect(view_bounds); in TEST_F()
438 view_bounds.set_y(view_bounds.height()); in TEST_F()
439 v2->SetBoundsRect(view_bounds); in TEST_F()
752 gfx::Rect view_bounds(view_->GetLocalBounds()); in TEST_F() local
753 view_bounds.set_height(view_bounds.height() / 2); in TEST_F()
754 v1->SetBoundsRect(view_bounds); in TEST_F()
756 view_bounds.set_y(view_bounds.height()); in TEST_F()
757 v2->SetBoundsRect(view_bounds); in TEST_F()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/views/corewm/
H A Dtooltip_controller_unittest.cc466 gfx::Rect view_bounds(view_->GetLocalBounds()); in TEST_F() local
467 view_bounds.set_height(view_bounds.height() / 2); in TEST_F()
468 v1->SetBoundsRect(view_bounds); in TEST_F()
469 view_bounds.set_y(view_bounds.height()); in TEST_F()
470 v2->SetBoundsRect(view_bounds); in TEST_F()
783 gfx::Rect view_bounds(view_->GetLocalBounds()); in TEST_F() local
784 view_bounds.set_height(view_bounds.height() / 2); in TEST_F()
785 v1->SetBoundsRect(view_bounds); in TEST_F()
787 view_bounds.set_y(view_bounds.height()); in TEST_F()
788 v2->SetBoundsRect(view_bounds); in TEST_F()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/content/browser/media/capture/
H A Dmouse_cursor_overlay_controller_mac.mm164 const NSRect view_bounds = [view bounds];
165 if (!NSIsEmptyRect(view_bounds)) {
174 1.0 / NSWidth(view_bounds), 1.0 / NSHeight(view_bounds));
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/content/browser/media/capture/
H A Dmouse_cursor_overlay_controller_mac.mm164 const NSRect view_bounds = [view bounds];
165 if (!NSIsEmptyRect(view_bounds)) {
174 1.0 / NSWidth(view_bounds), 1.0 / NSHeight(view_bounds));
/dports/www/chromium-legacy/chromium-88.0.4324.182/ash/search_box/
H A Dsearch_box_view_base.cc311 gfx::Rect view_bounds = rect; in GetViewBoundsForSearchBoxContentsBounds() local
312 view_bounds.Inset(-GetInsets()); in GetViewBoundsForSearchBoxContentsBounds()
313 return view_bounds; in GetViewBoundsForSearchBoxContentsBounds()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/views/toolbar/
H A Dwebui_tab_counter_button.cc617 const gfx::Rect view_bounds = GetLocalBounds(); in Layout() local
622 gfx::Rect throbber_rect = view_bounds; in Layout()
629 gfx::Rect border_bounds = view_bounds; in Layout()
/dports/net/tcpflow/tcpflow-1.5.0/src/netviz/
H A Done_page_report.cpp581 plot_view::bounds_t view_bounds(surface_bounds.x, surface_bounds.y + end_of_content, in render() local
583 view.render(surface, view_bounds); in render()
/dports/www/chromium-legacy/chromium-88.0.4324.182/ash/app_list/views/
H A Dapps_grid_view.cc2175 gfx::Rect view_bounds = item_view->GetLocalBounds(); in UpdateOpacity() local
2176 views::View::ConvertRectToScreen(item_view, &view_bounds); in UpdateOpacity()
2178 app_list_view->GetScreenBottom() - view_bounds.CenterPoint().y(), 0.f); in UpdateOpacity()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/layout/
H A Dlayout_box.cc2085 PhysicalRect view_bounds = ViewRect(); in ComputeResourcePriority() local
2096 is_visible = view_bounds.Intersects(object_bounds); in ComputeResourcePriority()
2098 is_visible = view_bounds.Contains(object_bounds); in ComputeResourcePriority()
2102 screen_rect = view_bounds; in ComputeResourcePriority()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/content/browser/
H A Dsite_per_process_hit_test_browsertest.cc1947 gfx::Rect view_bounds = root_rwhv->GetViewBounds(); in RunTest() local
1948 LOG(ERROR) << "Root view bounds = (" << view_bounds.x() << "," in RunTest()
1949 << view_bounds.y() << ") " << view_bounds.width() << " x " in RunTest()
1950 << view_bounds.height(); in RunTest()
/dports/www/chromium-legacy/chromium-88.0.4324.182/content/browser/
H A Dsite_per_process_hit_test_browsertest.cc1956 gfx::Rect view_bounds = root_rwhv->GetViewBounds(); in RunTest() local
1957 LOG(ERROR) << "Root view bounds = (" << view_bounds.x() << "," in RunTest()
1958 << view_bounds.y() << ") " << view_bounds.width() << " x " in RunTest()
1959 << view_bounds.height(); in RunTest()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/layout/
H A Dlayout_box.cc2652 PhysicalRect view_bounds = ViewRect(); in ComputeResourcePriority() local
2663 is_visible = view_bounds.Intersects(object_bounds); in ComputeResourcePriority()
2665 is_visible = view_bounds.Contains(object_bounds); in ComputeResourcePriority()
2669 screen_rect = view_bounds; in ComputeResourcePriority()