Home
last modified time | relevance | path

Searched refs:size_hints (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/third_party/webrtc/test/linux/
Dglx_renderer.cc130 XSizeHints* size_hints = XAllocSizeHints(); in Resize() local
131 if (size_hints == NULL) { in Resize()
134 size_hints->flags = PAspect; in Resize()
135 size_hints->min_aspect.x = size_hints->max_aspect.x = width_; in Resize()
136 size_hints->min_aspect.y = size_hints->max_aspect.y = height_; in Resize()
137 XSetWMNormalHints(display_, window_, size_hints); in Resize()
138 XFree(size_hints); in Resize()
/external/chromium_org/ui/platform_window/x11/
Dx11_window.cc187 XSizeHints size_hints; in Show() local
188 size_hints.flags = PPosition | PWinGravity; in Show()
189 size_hints.x = requested_bounds_.x(); in Show()
190 size_hints.y = requested_bounds_.y(); in Show()
193 size_hints.win_gravity = StaticGravity; in Show()
194 XSetWMNormalHints(xdisplay_, xwindow_, &size_hints); in Show()
/external/libpng/contrib/gregbook/
Drpng-x.c443 XSizeHints *size_hints; in rpng_x_create_window() local
570 if ((size_hints = XAllocSizeHints()) != NULL) { in rpng_x_create_window()
572 size_hints->flags = PMinSize | PMaxSize; in rpng_x_create_window()
573 size_hints->min_width = size_hints->max_width = (int)image_width; in rpng_x_create_window()
574 size_hints->min_height = size_hints->max_height = (int)image_height; in rpng_x_create_window()
590 size_hints, wm_hints, class_hints); in rpng_x_create_window()
597 if (size_hints) in rpng_x_create_window()
598 XFree(size_hints); in rpng_x_create_window()
Drpng2-x.c818 XSizeHints *size_hints; in rpng2_x_create_window() local
928 if ((size_hints = XAllocSizeHints()) != NULL) { in rpng2_x_create_window()
930 size_hints->flags = PMinSize | PMaxSize; in rpng2_x_create_window()
931 size_hints->min_width = size_hints->max_width = (int)rpng2_info.width; in rpng2_x_create_window()
932 size_hints->min_height = size_hints->max_height = in rpng2_x_create_window()
949 size_hints, wm_hints, class_hints); in rpng2_x_create_window()
956 if (size_hints) in rpng2_x_create_window()
957 XFree(size_hints); in rpng2_x_create_window()
/external/chromium_org/ui/aura/
Dwindow_tree_host_x11.cc492 XSizeHints size_hints; in Show() local
493 size_hints.flags = PPosition | PWinGravity; in Show()
494 size_hints.x = bounds_.x(); in Show()
495 size_hints.y = bounds_.y(); in Show()
498 size_hints.win_gravity = StaticGravity; in Show()
499 XSetWMNormalHints(xdisplay_, xwindow_, &size_hints); in Show()
/external/chromium_org/ui/views/widget/desktop_aura/
Ddesktop_window_tree_host_x11.cc1573 XSizeHints size_hints; in MapWindow() local
1574 size_hints.flags = PPosition; in MapWindow()
1575 size_hints.x = bounds_.x(); in MapWindow()
1576 size_hints.y = bounds_.y(); in MapWindow()
1577 XSetWMNormalHints(xdisplay_, xwindow_, &size_hints); in MapWindow()