/external/chromium_org/third_party/icu/source/samples/layout/ |
D | clayout.c | 42 void PrettyTitle(HWND hwnd, char *fileName) in PrettyTitle() argument 48 SetWindowTextA(hwnd, title); in PrettyTitle() 51 void InitParagraph(HWND hwnd, Context *context) in InitParagraph() argument 67 SetScrollInfo(hwnd, SB_VERT, &si, TRUE); in InitParagraph() 73 HWND hwnd; in WinMain() local 98 hwnd = CreateWindow(szAppName, NULL, in WinMain() 104 ShowWindow(hwnd, iCmdShow); in WinMain() 105 UpdateWindow(hwnd); in WinMain() 108 if (!TranslateAccelerator(hwnd, hAccel, &msg)) { in WinMain() 118 LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) in WndProc() argument [all …]
|
D | layout.cpp | 41 void PrettyTitle(HWND hwnd, char *fileName) in PrettyTitle() argument 47 SetWindowTextA(hwnd, title); in PrettyTitle() 50 void InitParagraph(HWND hwnd, Context *context) in InitParagraph() argument 66 SetScrollInfo(hwnd, SB_VERT, &si, TRUE); in InitParagraph() 72 HWND hwnd; in WinMain() local 97 hwnd = CreateWindow(szAppName, NULL, in WinMain() 103 ShowWindow(hwnd, iCmdShow); in WinMain() 104 UpdateWindow(hwnd); in WinMain() 107 if (!TranslateAccelerator(hwnd, hAccel, &msg)) { in WinMain() 117 LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) in WndProc() argument [all …]
|
/external/icu/icu4c/source/samples/layout/ |
D | clayout.c | 42 void PrettyTitle(HWND hwnd, char *fileName) in PrettyTitle() argument 48 SetWindowTextA(hwnd, title); in PrettyTitle() 51 void InitParagraph(HWND hwnd, Context *context) in InitParagraph() argument 67 SetScrollInfo(hwnd, SB_VERT, &si, TRUE); in InitParagraph() 73 HWND hwnd; in WinMain() local 98 hwnd = CreateWindow(szAppName, NULL, in WinMain() 104 ShowWindow(hwnd, iCmdShow); in WinMain() 105 UpdateWindow(hwnd); in WinMain() 108 if (!TranslateAccelerator(hwnd, hAccel, &msg)) { in WinMain() 118 LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) in WndProc() argument [all …]
|
D | layout.cpp | 41 void PrettyTitle(HWND hwnd, char *fileName) in PrettyTitle() argument 47 SetWindowTextA(hwnd, title); in PrettyTitle() 50 void InitParagraph(HWND hwnd, Context *context) in InitParagraph() argument 66 SetScrollInfo(hwnd, SB_VERT, &si, TRUE); in InitParagraph() 72 HWND hwnd; in WinMain() local 97 hwnd = CreateWindow(szAppName, NULL, in WinMain() 103 ShowWindow(hwnd, iCmdShow); in WinMain() 104 UpdateWindow(hwnd); in WinMain() 107 if (!TranslateAccelerator(hwnd, hAccel, &msg)) { in WinMain() 117 LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) in WndProc() argument [all …]
|
/external/chromium_org/ui/views/win/ |
D | hwnd_message_handler.cc | 150 instance_->host_->hwnd(), in KeyHook() 162 BOOL CALLBACK EnumChildWindowsForRedraw(HWND hwnd, LPARAM lparam) { in EnumChildWindowsForRedraw() argument 164 GetWindowThreadProcessId(hwnd, &process_id); in EnumChildWindowsForRedraw() 168 RedrawWindow(hwnd, NULL, NULL, flags); in EnumChildWindowsForRedraw() 299 hwnd_(owner_->hwnd()), in ScopedRedrawLock() 393 if (IsTopLevelWindow(hwnd())) { in Init() 394 long current_style = ::GetWindowLong(hwnd(), GWL_STYLE); in Init() 396 AddScrollStylesToWindow(hwnd()); in Init() 402 prop_window_target_.reset(new ui::ViewProp(hwnd(), in Init() 413 HWND start = ::GetWindow(hwnd(), GW_OWNER); in InitModalType() [all …]
|
/external/chromium_org/tools/site_compare/drivers/win32/ |
D | windowing.py | 25 def FindChildWindows(hwnd, path): argument 39 windows_to_check = [hwnd] 83 def FindChildWindow(hwnd, path): argument 96 return FindChildWindows(hwnd, path)[0] 99 def ScrapeWindow(hwnd, rect=None): argument 111 SetForegroundWindow(hwnd) 114 if not rect: rect = win32gui.GetClientRect(hwnd) 116 upper_left = win32gui.ClientToScreen(hwnd, (rect[0], rect[1])) 117 lower_right = win32gui.ClientToScreen(hwnd, (rect[2], rect[3])) 123 def SetForegroundWindow(hwnd): argument [all …]
|
/external/chromium_org/ui/base/win/ |
D | hwnd_subclass_unittest.cc | 53 virtual bool FilterMessage(HWND hwnd, in FilterMessage() argument 73 EXPECT_TRUE(window.hwnd() != NULL); in TEST() 77 HWNDSubclass::AddFilterToTarget(window.hwnd(), &mf); in TEST() 81 ::SendMessage(window.hwnd(), WM_NCHITTEST, 0, 0); in TEST() 92 ::SendMessage(window.hwnd(), WM_NCHITTEST, 0, 0); in TEST() 102 EXPECT_TRUE(window.hwnd() != NULL); in TEST() 107 HWNDSubclass::AddFilterToTarget(window.hwnd(), &mf1); in TEST() 108 HWNDSubclass::AddFilterToTarget(window.hwnd(), &mf2); in TEST() 112 ::SendMessage(window.hwnd(), WM_NCHITTEST, 0, 0); in TEST() 125 ::SendMessage(window.hwnd(), WM_NCHITTEST, 0, 0); in TEST() [all …]
|
D | shell.cc | 64 bool PreventWindowFromPinning(HWND hwnd) { in PreventWindowFromPinning() argument 72 hwnd, __uuidof(*pps), reinterpret_cast<void**>(pps.Receive())); in PreventWindowFromPinning() 86 HWND hwnd) { in SetAppDetailsForWindow() argument 94 hwnd, __uuidof(*pps), reinterpret_cast<void**>(pps.Receive())); in SetAppDetailsForWindow() 114 void SetAppIdForWindow(const base::string16& app_id, HWND hwnd) { in SetAppIdForWindow() argument 119 hwnd); in SetAppIdForWindow() 122 void SetAppIconForWindow(const base::string16& app_icon, HWND hwnd) { in SetAppIconForWindow() argument 127 hwnd); in SetAppIconForWindow() 132 HWND hwnd) { in SetRelaunchDetailsForWindow() argument 137 hwnd); in SetRelaunchDetailsForWindow()
|
/external/chromium_org/ui/platform_window/win/ |
D | win_window.cc | 47 SetWindowText(hwnd(), L"WinWindow"); in WinWindow() 55 if (IsWindow(hwnd())) in Destroy() 56 DestroyWindow(hwnd()); in Destroy() 60 ShowWindow(hwnd(), SW_SHOWNORMAL); in Show() 64 ShowWindow(hwnd(), SW_HIDE); in Hide() 73 GetWindowLong(hwnd(), GWL_STYLE), in SetBounds() 74 GetWindowLong(hwnd(), GWL_EXSTYLE), in SetBounds() 76 SetWindowPos(hwnd(), NULL, window_bounds.x(), window_bounds.y(), in SetBounds() 83 GetClientRect(hwnd(), &cr); in GetBounds() 88 DCHECK(::GetCapture() != hwnd()); in SetCapture() [all …]
|
/external/chromium_org/third_party/WebKit/Source/platform/win/ |
D | HWndDC.h | 43 explicit HWndDC(HWND hwnd) in HWndDC() argument 44 : m_hwnd(hwnd) in HWndDC() 45 , m_hdc(::GetDC(hwnd)) in HWndDC() 49 HWndDC(HWND hwnd, HRGN hrgnClip, DWORD flags) in HWndDC() argument 50 : m_hwnd(hwnd) in HWndDC() 51 , m_hdc(::GetDCEx(hwnd, hrgnClip, flags)) in HWndDC() 60 HDC setHWnd(HWND hwnd) in setHWnd() argument 63 m_hwnd = hwnd; in setHWnd() 64 m_hdc = ::GetDC(hwnd); in setHWnd()
|
/external/chromium_org/content/browser/renderer_host/ |
D | legacy_render_widget_host_win.cc | 45 if (!::IsWindow(legacy_window_instance->hwnd())) { in Create() 54 if (::IsWindow(hwnd())) in Destroy() 55 ::DestroyWindow(hwnd()); in Destroy() 59 ::SetParent(hwnd(), parent); in UpdateParent() 64 ::EnableWindow(hwnd(), FALSE); in UpdateParent() 66 ::EnableWindow(hwnd(), TRUE); in UpdateParent() 71 return ::GetParent(hwnd()); in GetParent() 75 ::ShowWindow(hwnd(), SW_SHOW); in Show() 79 ::ShowWindow(hwnd(), SW_HIDE); in Hide() 84 ::SetWindowPos(hwnd(), NULL, bounds_in_pixel.x(), bounds_in_pixel.y(), in SetBounds() [all …]
|
/external/openssl/apps/ |
D | winrand.c | 73 HWND hwnd; in WinMain() local 99 hwnd = CreateWindow(appname, OPENSSL_VERSION_TEXT, in WinMain() 103 ShowWindow(hwnd, iCmdShow); in WinMain() 104 UpdateWindow(hwnd); in WinMain() 116 LRESULT CALLBACK WndProc(HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam) in WndProc() argument 126 hdc = BeginPaint(hwnd, &ps); in WndProc() 127 GetClientRect(hwnd, &rect); in WndProc() 130 EndPaint(hwnd, &ps); in WndProc() 142 MessageBox(hwnd, "Couldn't write random file!", in WndProc() 147 return DefWindowProc(hwnd, iMsg, wParam, lParam); in WndProc()
|
/external/chromium_org/chrome/browser/ui/views/tabs/ |
D | window_finder_win.cc | 37 static BOOL CALLBACK WindowCallbackProc(HWND hwnd, LPARAM lParam) { in WindowCallbackProc() argument 40 if (finder->ignore_.find(hwnd) != finder->ignore_.end()) in WindowCallbackProc() 43 return finder->ShouldStopIterating(hwnd) ? FALSE : TRUE; in WindowCallbackProc() 75 virtual bool ShouldStopIterating(HWND hwnd) { in ShouldStopIterating() argument 76 if (hwnd == target_) { in ShouldStopIterating() 82 if (!IsWindowVisible(hwnd)) { in ShouldStopIterating() 88 if (!GetWindowRect(hwnd, &r) || !PtInRect(&r, screen_loc_.ToPOINT())) { in ShouldStopIterating() 93 LONG ex_styles = GetWindowLong(hwnd, GWL_EXSTYLE); in ShouldStopIterating() 110 if (GetWindowRgn(hwnd, tmp_region_.Get()) == ERROR) { in ShouldStopIterating() 179 virtual bool ShouldStopIterating(HWND hwnd) { in ShouldStopIterating() argument [all …]
|
/external/libpng/contrib/visupng/ |
D | VisualPng.c | 53 BOOL LoadImageFile(HWND hwnd, PTSTR pstrPathName, 57 BOOL DisplayImage (HWND hwnd, BYTE **ppDib, 83 HWND hwnd; in WinMain() local 124 hwnd = CreateWindow (szProgName, szAppName, in WinMain() 131 ShowWindow (hwnd, iCmdShow); in WinMain() 132 UpdateWindow (hwnd); in WinMain() 138 if (!TranslateAccelerator (hwnd, hAccel, &msg)) in WinMain() 147 LRESULT CALLBACK WndProc (HWND hwnd, UINT message, WPARAM wParam, in WndProc() argument 181 PngFileInitialize (hwnd); in WndProc() 199 if (!LoadImageFile (hwnd, szImgPathName, in WndProc() [all …]
|
/external/chromium_org/chrome/test/base/ |
D | interactive_test_utils_win.cc | 29 HWND hwnd = window->GetHost()->GetAcceleratedWidget(); in HideNativeWindow() local 30 ::ShowWindow(hwnd, SW_HIDE); in HideNativeWindow() 39 HWND hwnd = window->GetHost()->GetAcceleratedWidget(); in ShowAndFocusNativeWindow() local 41 ::ShowWindow(hwnd, SW_SHOW); in ShowAndFocusNativeWindow() 43 if (GetForegroundWindow() != hwnd) { in ShowAndFocusNativeWindow() 45 ui::ForegroundHelper::SetForeground(hwnd); in ShowAndFocusNativeWindow() 52 if (foreground_window == hwnd) in ShowAndFocusNativeWindow()
|
/external/chromium_org/ash/host/ |
D | ash_window_tree_host_win.cc | 39 saved_window_style_ = GetWindowLong(hwnd(), GWL_STYLE); in ToggleFullScreen() 40 saved_window_ex_style_ = GetWindowLong(hwnd(), GWL_EXSTYLE); in ToggleFullScreen() 41 GetWindowRect(hwnd(), &saved_window_rect_); in ToggleFullScreen() 42 SetWindowLong(hwnd(), in ToggleFullScreen() 46 hwnd(), in ToggleFullScreen() 53 GetMonitorInfo(MonitorFromWindow(hwnd(), MONITOR_DEFAULTTONEAREST), &mi); in ToggleFullScreen() 57 SetWindowLong(hwnd(), GWL_STYLE, saved_window_style_); in ToggleFullScreen() 58 SetWindowLong(hwnd(), GWL_EXSTYLE, saved_window_ex_style_); in ToggleFullScreen() 61 SetWindowPos(hwnd(), in ToggleFullScreen()
|
/external/chromium_org/chrome/test/mini_installer/ |
D | chrome_helper.py | 49 def EnumerateWindowCallback(hwnd, _): argument 50 _, found_process_id = win32process.GetWindowThreadProcessId(hwnd) 51 if found_process_id in process_ids and win32gui.IsWindowVisible(hwnd): 52 hwnds.append(hwnd) 72 for hwnd in GetWindowHandles(process_ids): 73 if re.match(class_pattern, win32gui.GetClassName(hwnd)):
|
/external/chromium_org/ui/gfx/win/ |
D | hwnd_util.cc | 20 void AdjustWindowToFit(HWND hwnd, const RECT& bounds, bool fit_to_monitor) { in AdjustWindowToFit() argument 34 SetWindowPos(hwnd, 0, new_window_rect.x(), new_window_rect.y(), in AdjustWindowToFit() 48 ::SetWindowPos(hwnd, 0, bounds.left, bounds.top, in AdjustWindowToFit() 97 WNDPROC SetWindowProc(HWND hwnd, WNDPROC proc) { in SetWindowProc() argument 102 reinterpret_cast<WNDPROC>(GetWindowLongPtr(hwnd, GWLP_WNDPROC)); in SetWindowProc() 103 SetWindowLongPtr(hwnd, GWLP_WNDPROC, reinterpret_cast<LONG_PTR>(proc)); in SetWindowProc() 107 void* SetWindowUserData(HWND hwnd, void* user_data) { in SetWindowUserData() argument 109 reinterpret_cast<void*>(SetWindowLongPtr(hwnd, GWLP_USERDATA, in SetWindowUserData() 113 void* GetWindowUserData(HWND hwnd) { in GetWindowUserData() argument 115 DWORD thread_id = GetWindowThreadProcessId(hwnd, &process_id); in GetWindowUserData() [all …]
|
D | window_impl.cc | 216 HWND hwnd = CreateWindowEx(window_ex_style_, in Init() local 224 if (hwnd && (window_style_ & WS_CAPTION)) { in Init() 225 SetWindowPos(hwnd, NULL, 0, 0, 0, 0, in Init() 232 base::debug::Alias(&hwnd); in Init() 255 CHECK_EQ(this, GetWindowUserData(hwnd)); in Init() 265 HWND hwnd = hwnd_; in OnWndProc() local 271 if (!ProcessWindowMessage(hwnd, message, w_param, l_param, result)) in OnWndProc() 272 result = DefWindowProc(hwnd, message, w_param, l_param); in OnWndProc() 283 LRESULT CALLBACK WindowImpl::WndProc(HWND hwnd, in WndProc() argument 291 gfx::SetWindowUserData(hwnd, window); in WndProc() [all …]
|
D | hwnd_util.h | 19 GFX_EXPORT base::string16 GetClassName(HWND hwnd); 22 GFX_EXPORT WNDPROC SetWindowProc(HWND hwnd, WNDPROC wndproc); 26 GFX_EXPORT void* SetWindowUserData(HWND hwnd, void* user_data); 27 GFX_EXPORT void* GetWindowUserData(HWND hwnd); 41 GFX_EXPORT void CheckWindowCreated(HWND hwnd);
|
/external/chromium_org/remoting/host/ |
D | continue_window_win.cc | 36 BOOL OnDialogMessage(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam); 74 BOOL CALLBACK ContinueWindowWin::DialogProc(HWND hwnd, UINT msg, in DialogProc() argument 80 SetWindowLongPtr(hwnd, DWLP_USER, (LONG_PTR)win); in DialogProc() 82 LONG_PTR lp = GetWindowLongPtr(hwnd, DWLP_USER); in DialogProc() 87 return win->OnDialogMessage(hwnd, msg, wParam, lParam); in DialogProc() 90 BOOL ContinueWindowWin::OnDialogMessage(HWND hwnd, UINT msg, in OnDialogMessage() argument 106 ::EndDialog(hwnd, LOWORD(wParam)); in OnDialogMessage() 111 ::EndDialog(hwnd, LOWORD(wParam)); in OnDialogMessage()
|
/external/chromium_org/third_party/webrtc/base/ |
D | win32windowpicker.cc | 28 BOOL CALLBACK Win32WindowPicker::EnumProc(HWND hwnd, LPARAM l_param) { in EnumProc() argument 37 int len = GetWindowTextLength(hwnd); in EnumProc() 38 HWND owner = GetWindow(hwnd, GW_OWNER); in EnumProc() 39 LONG exstyle = GetWindowLong(hwnd, GWL_EXSTYLE); in EnumProc() 40 if (len == 0 || IsIconic(hwnd) || !IsWindowVisible(hwnd) || in EnumProc() 53 ::GetClassName(hwnd, class_name_w, 500); in EnumProc() 61 GetWindowText(hwnd, window_title, ARRAY_SIZE(window_title)); in EnumProc() 64 WindowId id(hwnd); in EnumProc()
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/winedlls/dxgi/ |
D | dxgi_dll.c | 63 HWND hwnd, in WineDXGIBackend_BeginPresent() argument 84 hdc = GetDC(hwnd); in WineDXGIBackend_BeginPresent() 95 ReleaseDC(hwnd, hdc); in WineDXGIBackend_BeginPresent() 109 x11_hwnd = GetAncestor(hwnd, GA_ROOT); in WineDXGIBackend_BeginPresent() 117 GetClientRect(hwnd, &client_rect); in WineDXGIBackend_BeginPresent() 137 HWND hwnd, in WineDXGIBackend_EndPresent() argument 145 HWND hwnd) in WineDXGIBackend_TestPresent() argument 153 hdc = GetDC(hwnd); in WineDXGIBackend_TestPresent() 158 ReleaseDC(hwnd, hdc); in WineDXGIBackend_TestPresent() 165 HWND hwnd, in WineDXGIBackend_GetPresentSize() argument [all …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/winedlls/dxgi/ |
D | dxgi_dll.c | 63 HWND hwnd, in WineDXGIBackend_BeginPresent() argument 84 hdc = GetDC(hwnd); in WineDXGIBackend_BeginPresent() 95 ReleaseDC(hwnd, hdc); in WineDXGIBackend_BeginPresent() 109 x11_hwnd = GetAncestor(hwnd, GA_ROOT); in WineDXGIBackend_BeginPresent() 117 GetClientRect(hwnd, &client_rect); in WineDXGIBackend_BeginPresent() 137 HWND hwnd, in WineDXGIBackend_EndPresent() argument 145 HWND hwnd) in WineDXGIBackend_TestPresent() argument 153 hdc = GetDC(hwnd); in WineDXGIBackend_TestPresent() 158 ReleaseDC(hwnd, hdc); in WineDXGIBackend_TestPresent() 165 HWND hwnd, in WineDXGIBackend_GetPresentSize() argument [all …]
|
/external/chromium_org/gpu/gles2_conform_support/native/ |
D | egl_native_win.cc | 18 LRESULT CALLBACK WindowProc(HWND hwnd, UINT msg, in WindowProc() argument 23 ::DestroyWindow(hwnd); in WindowProc() 34 result = ::DefWindowProc(hwnd, msg, w_param, l_param); in WindowProc() 83 HWND hwnd = CreateWindow( in GTFNativeCreateWindow() local 95 if (hwnd == NULL) in GTFNativeCreateWindow() 98 ShowWindow(hwnd, SW_SHOWNORMAL); in GTFNativeCreateWindow() 99 *pNativeWindow = hwnd; in GTFNativeCreateWindow()
|