Home
last modified time | relevance | path

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

/external/perfetto/ui/src/frontend/
Ddrag_gesture_handler.ts19 private clientRect?: DOMRect;
44 this.clientRect = this.element.getBoundingClientRect();
46 e.clientX - this.clientRect.left, e.clientY - this.clientRect.top);
61 e.clientX - this.clientRect!.left, e.clientY - this.clientRect!.top);
Dpanel_container.ts288 const clientRect = assertExists(dom.parentElement).getBoundingClientRect(); constant
293 clientRect.width - globals.frontendLocalState.getScrollbarWidth();
294 this.parentHeight = clientRect.height;
/external/swiftshader/src/WSI/
DWin32SurfaceKHR.cpp27 RECT clientRect = {}; in getWindowSize() local
28 BOOL status = GetClientRect(hwnd, &clientRect); in getWindowSize()
31 int windowWidth = clientRect.right - clientRect.left; in getWindowSize()
32 int windowHeight = clientRect.bottom - clientRect.top; in getWindowSize()
/external/swiftshader/src/Main/
DFrameBufferGDI.cpp51 RECT clientRect; in ~FrameBufferGDI() local
53 GetClientRect(windowHandle, &clientRect); in ~FrameBufferGDI()
55 …int windowWidth = width + (windowRect.right - windowRect.left) - (clientRect.right - clientRect.le… in ~FrameBufferGDI()
56 …indowHeight = height + (windowRect.bottom - windowRect.top) - (clientRect.bottom - clientRect.top); in ~FrameBufferGDI()
/external/angle/src/libANGLE/renderer/d3d/d3d11/winrt/
DInspectableNativeWindow.h84 mNewClientRect = clientRect(newWindowSize); in setNewClientSize()
106 virtual HRESULT scaleSwapChain(const Size &windowSize, const RECT &clientRect) = 0;
107 RECT clientRect(const Size &size);
DSwapChainPanelNativeWindow.cpp184 mClientRect = clientRect(swapChainPanelSize); in initialize()
326 HRESULT SwapChainPanelNativeWindow::scaleSwapChain(const Size &windowSize, const RECT &clientRect) in scaleSwapChain() argument
328 Size renderScale = {windowSize.Width / (float)clientRect.right, in scaleSwapChain()
329 windowSize.Height / (float)clientRect.bottom}; in scaleSwapChain()
DCoreWindowNativeWindow.cpp100 mClientRect = clientRect(coreWindowSize); in initialize()
194 const RECT &clientRect) in scaleSwapChain() argument
DCoreWindowNativeWindow.h42 HRESULT scaleSwapChain(const Size &windowSize, const RECT &clientRect) override;
DSwapChainPanelNativeWindow.h34 HRESULT scaleSwapChain(const Size &windowSize, const RECT &clientRect) override;
DInspectableNativeWindow.cpp291 RECT InspectableNativeWindow::clientRect(const Size &size) in clientRect() function in rx::InspectableNativeWindow
/external/angle/util/windows/win32/
DWin32Window.cpp790 RECT clientRect; in resize() local
791 if (!GetClientRect(mParentWindow, &clientRect)) in resize()
796 LONG diffX = (windowRect.right - windowRect.left) - clientRect.right; in resize()
797 LONG diffY = (windowRect.bottom - windowRect.top) - clientRect.bottom; in resize()
/external/angle/third_party/vulkan_memory_allocator/src/
DVulkanSample.cpp1949 RECT clientRect; in HandlePossibleSizeChange() local
1950 GetClientRect(g_hWnd, &clientRect); in HandlePossibleSizeChange()
1951 LONG newSizeX = clientRect.right - clientRect.left; in HandlePossibleSizeChange()
1952 LONG newSizeY = clientRect.bottom - clientRect.top; in HandlePossibleSizeChange()