/third_party/cef/tests/cefclient/browser/ |
D | window_test_runner_win.cc | 54 CefRect window_rect(x, y, width, height); in SetPosImpl() local 55 WindowTestRunner::ModifyBounds(display_rect, window_rect); in SetPosImpl() 60 placement.rcNormalPosition.left = window_rect.x; in SetPosImpl() 61 placement.rcNormalPosition.right = window_rect.x + window_rect.width; in SetPosImpl() 62 placement.rcNormalPosition.top = window_rect.y; in SetPosImpl() 63 placement.rcNormalPosition.bottom = window_rect.y + window_rect.height; in SetPosImpl() 68 ::SetWindowPos(root_hwnd, nullptr, window_rect.x, window_rect.y, in SetPosImpl() 69 window_rect.width, window_rect.height, SWP_NOZORDER); in SetPosImpl()
|
D | window_test_runner_mac.mm | 55 CefRect window_rect(x, y, width, height); 56 ModifyBounds(display_rect, window_rect); 59 newRect.origin.x = window_rect.x; 60 newRect.origin.y = frame.size.height - window_rect.height - window_rect.y; 61 newRect.size.width = window_rect.width; 62 newRect.size.height = window_rect.height;
|
D | window_test_runner_gtk.cc | 64 CefRect window_rect(x, y, width, height); in SetPosImpl() local 65 WindowTestRunner::ModifyBounds(display_rect, window_rect); in SetPosImpl() 67 gdk_window_move_resize(gdk_window, window_rect.x, window_rect.y, in SetPosImpl() 68 window_rect.width, window_rect.height); in SetPosImpl()
|
D | root_window_win.cc | 357 RECT window_rect = start_rect_; in CreateRootWindow() local 358 ::AdjustWindowRectEx(&window_rect, dwStyle, with_controls_, dwExStyle); in CreateRootWindow() 362 width = window_rect.right - window_rect.left; in CreateRootWindow() 363 height = window_rect.bottom - window_rect.top; in CreateRootWindow()
|
D | root_window_mac.mm | 387 NSRect window_rect = 396 initWithContentRect:window_rect 443 button_rect.origin.y = window_rect.size.height - URLBAR_HEIGHT +
|
D | browser_window_osr_mac.mm | 1741 NSRect window_rect = NSMakeRect(rect.x, rect.y, rect.width, rect.height); 1743 [[BrowserOpenGLView alloc] initWithFrame:window_rect
|
/third_party/mesa3d/src/gallium/frontends/wgl/ |
D | stw_framebuffer.c | 129 RECT window_rect; in stw_framebuffer_get_size() local 172 GetWindowRect(fb->hWnd, &window_rect)) { in stw_framebuffer_get_size() 173 fb->client_rect.left = client_pos.x - window_rect.left; in stw_framebuffer_get_size() 174 fb->client_rect.top = client_pos.y - window_rect.top; in stw_framebuffer_get_size() 187 window_rect.left, window_rect.top, in stw_framebuffer_get_size() 188 window_rect.right, window_rect.bottom); in stw_framebuffer_get_size()
|
/third_party/cef/libcef/browser/native/ |
D | browser_platform_delegate_native_mac.mm | 176 NSRect window_rect = { 181 if (window_rect.size.width == 0) 182 window_rect.size.width = 750; 183 if (window_rect.size.height == 0) 184 window_rect.size.height = 750; 188 contentRect.size.width = window_rect.size.width; 189 contentRect.size.height = window_rect.size.height; 192 initWithContentRect:window_rect
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_state_validate.c | 290 bool enable = nv50->window_rect.rects > 0 || nv50->window_rect.inclusive; in nv50_validate_window_rects() 299 PUSH_DATA (push, !nv50->window_rect.inclusive); in nv50_validate_window_rects() 301 for (i = 0; i < nv50->window_rect.rects; i++) { in nv50_validate_window_rects() 302 struct pipe_scissor_state *s = &nv50->window_rect.rect[i]; in nv50_validate_window_rects()
|
D | nv50_surface.c | 854 struct nv50_window_rect_stateobj window_rect; member 1273 ctx->saved.window_rect = nv50->window_rect; in nv50_blitctx_pre_blit() 1281 nv50->window_rect.rects = in nv50_blitctx_pre_blit() 1283 nv50->window_rect.inclusive = info->window_rectangle_include; in nv50_blitctx_pre_blit() 1284 if (nv50->window_rect.rects) in nv50_blitctx_pre_blit() 1285 memcpy(nv50->window_rect.rect, info->window_rectangles, in nv50_blitctx_pre_blit() 1286 sizeof(struct pipe_scissor_state) * nv50->window_rect.rects); in nv50_blitctx_pre_blit() 1338 nv50->window_rect = blit->saved.window_rect; in nv50_blitctx_post_blit()
|
D | nv50_context.h | 206 struct nv50_window_rect_stateobj window_rect; member
|
D | nv50_state.c | 1062 nv50->window_rect.inclusive = include; in nv50_set_window_rectangles() 1063 nv50->window_rect.rects = MIN2(num_rectangles, NV50_MAX_WINDOW_RECTANGLES); in nv50_set_window_rectangles() 1064 memcpy(nv50->window_rect.rect, rectangles, in nv50_set_window_rectangles() 1065 sizeof(struct pipe_scissor_state) * nv50->window_rect.rects); in nv50_set_window_rectangles()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_surface.c | 824 struct nvc0_window_rect_stateobj window_rect; member 1074 ctx->saved.window_rect = nvc0->window_rect; in nvc0_blitctx_pre_blit() 1084 nvc0->window_rect.rects = in nvc0_blitctx_pre_blit() 1086 nvc0->window_rect.inclusive = info->window_rectangle_include; in nvc0_blitctx_pre_blit() 1087 if (nvc0->window_rect.rects) in nvc0_blitctx_pre_blit() 1088 memcpy(nvc0->window_rect.rect, info->window_rectangles, in nvc0_blitctx_pre_blit() 1089 sizeof(struct pipe_scissor_state) * nvc0->window_rect.rects); in nvc0_blitctx_pre_blit() 1151 nvc0->window_rect = blit->saved.window_rect; in nvc0_blitctx_post_blit()
|
D | nvc0_state_validate.c | 451 bool enable = nvc0->window_rect.rects > 0 || nvc0->window_rect.inclusive; in nvc0_validate_window_rects() 458 IMMED_NVC0(push, NVC0_3D(CLIP_RECTS_MODE), !nvc0->window_rect.inclusive); in nvc0_validate_window_rects() 460 for (i = 0; i < nvc0->window_rect.rects; i++) { in nvc0_validate_window_rects() 461 struct pipe_scissor_state *s = &nvc0->window_rect.rect[i]; in nvc0_validate_window_rects()
|
D | nvc0_context.h | 250 struct nvc0_window_rect_stateobj window_rect; member
|
D | nvc0_state.c | 986 nvc0->window_rect.inclusive = include; in nvc0_set_window_rectangles() 987 nvc0->window_rect.rects = MIN2(num_rectangles, NVC0_MAX_WINDOW_RECTANGLES); in nvc0_set_window_rectangles() 988 memcpy(nvc0->window_rect.rect, rectangles, in nvc0_set_window_rectangles() 989 sizeof(struct pipe_scissor_state) * nvc0->window_rect.rects); in nvc0_set_window_rectangles()
|
/third_party/flutter/skia/third_party/externals/imgui/ |
D | imgui_widgets.cpp | 725 const ImRect window_rect = window->Rect(); in Scrollbar() local 728 …Pos.x + border_size, window_rect.Max.y - style.ScrollbarSize, window_rect.Max.x - other_scrollbar_… in Scrollbar() 729 …: ImRect(window_rect.Max.x - style.ScrollbarSize, window->Pos.y + border_size, window_rect.Max.x -… in Scrollbar() 812 ….Min.y, ImMin(ImLerp(bb.Min.x, bb.Max.x, grab_v_norm) + grab_h_pixels, window_rect.Max.x), bb.Max.… in Scrollbar() 814 …orm), bb.Max.x, ImMin(ImLerp(bb.Min.y, bb.Max.y, grab_v_norm) + grab_h_pixels, window_rect.Max.y)); in Scrollbar()
|
D | imgui.cpp | 7397 …ImRect window_rect(window->InnerMainRect.Min - ImVec2(1, 1), window->InnerMainRect.Max + ImVec2(1,… in NavScrollToBringItemIntoView() local 7399 if (window_rect.Contains(item_rect)) in NavScrollToBringItemIntoView() 7403 if (window->ScrollbarX && item_rect.Min.x < window_rect.Min.x) in NavScrollToBringItemIntoView() 7408 else if (window->ScrollbarX && item_rect.Max.x >= window_rect.Max.x) in NavScrollToBringItemIntoView() 7413 if (item_rect.Min.y < window_rect.Min.y) in NavScrollToBringItemIntoView() 7418 else if (item_rect.Max.y >= window_rect.Max.y) in NavScrollToBringItemIntoView()
|
/third_party/mesa3d/src/imgui/ |
D | imgui_widgets.cpp | 737 const ImRect window_rect = window->Rect(); in Scrollbar() local 740 …Pos.x + border_size, window_rect.Max.y - style.ScrollbarSize, window_rect.Max.x - other_scrollbar_… in Scrollbar() 741 …: ImRect(window_rect.Max.x - style.ScrollbarSize, window->Pos.y + border_size, window_rect.Max.x -… in Scrollbar() 836 ….Min.y, ImMin(ImLerp(bb.Min.x, bb.Max.x, grab_v_norm) + grab_h_pixels, window_rect.Max.x), bb.Max.… in Scrollbar() 838 …orm), bb.Max.x, ImMin(ImLerp(bb.Min.y, bb.Max.y, grab_v_norm) + grab_h_pixels, window_rect.Max.y)); in Scrollbar()
|
D | imgui.cpp | 7542 …ImRect window_rect(window->InnerMainRect.Min - ImVec2(1, 1), window->InnerMainRect.Max + ImVec2(1,… in NavScrollToBringItemIntoView() local 7544 if (window_rect.Contains(item_rect)) in NavScrollToBringItemIntoView() 7548 if (window->ScrollbarX && item_rect.Min.x < window_rect.Min.x) in NavScrollToBringItemIntoView() 7553 else if (window->ScrollbarX && item_rect.Max.x >= window_rect.Max.x) in NavScrollToBringItemIntoView() 7558 if (item_rect.Min.y < window_rect.Min.y) in NavScrollToBringItemIntoView() 7563 else if (item_rect.Max.y >= window_rect.Max.y) in NavScrollToBringItemIntoView()
|
/third_party/skia/third_party/externals/imgui/ |
D | imgui.cpp | 8010 ImRect window_rect(window->InnerRect.Min - ImVec2(1, 1), window->InnerRect.Max + ImVec2(1, 1)); in ScrollToRectEx() local 8024 …const bool fully_visible_x = item_rect.Min.x >= window_rect.Min.x && item_rect.Max.x <= window_rec… in ScrollToRectEx() 8025 …const bool fully_visible_y = item_rect.Min.y >= window_rect.Min.y && item_rect.Max.y <= window_rec… in ScrollToRectEx() 8026 const bool can_be_fully_visible_x = item_rect.GetWidth() <= window_rect.GetWidth(); in ScrollToRectEx() 8027 const bool can_be_fully_visible_y = item_rect.GetHeight() <= window_rect.GetHeight(); in ScrollToRectEx() 8031 if (item_rect.Min.x < window_rect.Min.x || !can_be_fully_visible_x) in ScrollToRectEx() 8033 else if (item_rect.Max.x >= window_rect.Max.x) in ScrollToRectEx() 8044 if (item_rect.Min.y < window_rect.Min.y || !can_be_fully_visible_y) in ScrollToRectEx() 8046 else if (item_rect.Max.y >= window_rect.Max.y) in ScrollToRectEx()
|
/third_party/chromium/patch/ |
D | 0003-3.2-Beta3-1115.patch | 72793 window_rect, frame, opener_frame);
|