Home
last modified time | relevance | path

Searched refs:windowRect (Results 1 – 11 of 11) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/
DWindow.cpp64 RECT windowRect; in Window() local
65 windowRect.left = 0L; in Window()
66 windowRect.top = 0L; in Window()
67 windowRect.right = (long)windowSize.width; in Window()
68 windowRect.bottom = (long)windowSize.height; in Window()
70 AdjustWindowRectEx(&windowRect, style, FALSE, extendedStyle); in Window()
71 uint32_t x = (GetSystemMetrics(SM_CXSCREEN) - windowRect.right) / 2; in Window()
72 uint32_t y = (GetSystemMetrics(SM_CYSCREEN) - windowRect.bottom) / 2; in Window()
77 windowRect.right - windowRect.left, in Window()
78 windowRect.bottom - windowRect.top, in Window()
/third_party/skia/third_party/externals/swiftshader/src/Main/
DFrameBufferGDI.cpp52 RECT windowRect; in ~FrameBufferGDI() local
54 GetWindowRect(windowHandle, &windowRect); in ~FrameBufferGDI()
55 …int windowWidth = width + (windowRect.right - windowRect.left) - (clientRect.right - clientRect.le… in ~FrameBufferGDI()
56 …int windowHeight = height + (windowRect.bottom - windowRect.top) - (clientRect.bottom - clientRect… in ~FrameBufferGDI()
/third_party/skia/third_party/externals/angle2/util/windows/win32/
DWin32Window.cpp762 RECT windowRect; in setPosition() local
763 if (!GetWindowRect(mParentWindow, &windowRect)) in setPosition()
768 if (!MoveWindow(mParentWindow, x, y, windowRect.right - windowRect.left, in setPosition()
769 windowRect.bottom - windowRect.top, TRUE)) in setPosition()
784 RECT windowRect; in resize() local
785 if (!GetWindowRect(mParentWindow, &windowRect)) in resize()
796 LONG diffX = (windowRect.right - windowRect.left) - clientRect.right; in resize()
797 LONG diffY = (windowRect.bottom - windowRect.top) - clientRect.bottom; in resize()
798 if (!MoveWindow(mParentWindow, windowRect.left, windowRect.top, width + diffX, height + diffY, in resize()
/third_party/skia/src/utils/win/
DSkWGL_win.cpp182 RECT windowRect; in create_temp_window() local
183 windowRect.left = 0; in create_temp_window()
184 windowRect.right = 8; in create_temp_window()
185 windowRect.top = 0; in create_temp_window()
186 windowRect.bottom = 8; in create_temp_window()
209 AdjustWindowRectEx(&windowRect, style, false, exStyle); in create_temp_window()
215 windowRect.right-windowRect.left, in create_temp_window()
216 windowRect.bottom-windowRect.top, in create_temp_window()
/third_party/skia/tools/sk_app/win/
DD3D12WindowContext_win.cpp89 RECT windowRect; in initializeContext() local
90 GetWindowRect(fWindow, &windowRect); in initializeContext()
91 unsigned int width = windowRect.right - windowRect.left; in initializeContext()
92 unsigned int height = windowRect.bottom - windowRect.top; in initializeContext()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DSurfaceD3D.cpp186 RECT windowRect; in resetSwapChain() local
187 if (!mNativeWindow->getClientRect(&windowRect)) in resetSwapChain()
194 width = windowRect.right - windowRect.left; in resetSwapChain()
195 height = windowRect.bottom - windowRect.top; in resetSwapChain()
/third_party/skia/tools/viewer/
DTouchGesture.h37 void setTransLimit(const SkRect& contentRect, const SkRect& windowRect,
DTouchGesture.cpp344 void TouchGesture::setTransLimit(const SkRect& contentRect, const SkRect& windowRect, in setTransLimit() argument
348 fWindowRect = windowRect; in setTransLimit()
DViewer.cpp1159 const SkRect windowRect = SkRect::MakeIWH(fWindow->width(), fWindow->height()); in setupCurrentSlide() local
1163 if (windowRect.width() > 0 && windowRect.height() > 0) { in setupCurrentSlide()
1164 fDefaultMatrix = SkMatrix::RectToRect(slideBounds, windowRect, in setupCurrentSlide()
1170 fGesture.setTransLimit(slideBounds, windowRect, this->computePreTouchMatrix()); in setupCurrentSlide()
1194 const SkRect windowRect = SkRect::MakeIWH(fWindow->width(), fWindow->height()); in preTouchMatrixChanged() local
1195 fGesture.setTransLimit(slideBounds, windowRect, this->computePreTouchMatrix()); in preTouchMatrixChanged()
/third_party/skia/tools/sk_app/mac/
DWindow_mac.mm60 NSRect windowRect = NSMakeRect(100, 100, initialWidth, initialHeight);
65 fWindow = [[NSWindow alloc] initWithContentRect:windowRect styleMask:windowStyle
/third_party/jsframework/runtime/main/extend/systemplugin/napi/
Dohos_window.js119 windowRect: '[PC preview] unknow windowRect', property