Searched refs:windowRect (Results 1 – 1 of 1) sorted by relevance
/hardware/google/gfxstream/host/testlibs/windows/win32/ |
D | Win32Window.cpp | 755 RECT windowRect; in setPosition() local 756 if (!GetWindowRect(mParentWindow, &windowRect)) in setPosition() 761 if (!MoveWindow(mParentWindow, x, y, windowRect.right - windowRect.left, in setPosition() 762 windowRect.bottom - windowRect.top, TRUE)) in setPosition() 777 RECT windowRect; in resize() local 778 if (!GetWindowRect(mParentWindow, &windowRect)) in resize() 789 LONG diffX = (windowRect.right - windowRect.left) - clientRect.right; in resize() 790 LONG diffY = (windowRect.bottom - windowRect.top) - clientRect.bottom; in resize() 791 if (!MoveWindow(mParentWindow, windowRect.left, windowRect.top, width + diffX, height + diffY, in resize()
|