Searched refs:size_hints (Results 1 – 8 of 8) sorted by relevance
/external/webrtc/test/linux/ |
D | glx_renderer.cc | 129 XSizeHints* size_hints = XAllocSizeHints(); in Resize() local 130 if (size_hints == NULL) { in Resize() 133 size_hints->flags = PAspect; in Resize() 134 size_hints->min_aspect.x = size_hints->max_aspect.x = width_; in Resize() 135 size_hints->min_aspect.y = size_hints->max_aspect.y = height_; in Resize() 136 XSetWMNormalHints(display_, window_, size_hints); in Resize() 137 XFree(size_hints); in Resize()
|
/external/libpng/contrib/gregbook/ |
D | rpng-x.c | 450 XSizeHints *size_hints; in rpng_x_create_window() local 577 if ((size_hints = XAllocSizeHints()) != NULL) { in rpng_x_create_window() 579 size_hints->flags = PMinSize | PMaxSize; in rpng_x_create_window() 580 size_hints->min_width = size_hints->max_width = (int)image_width; in rpng_x_create_window() 581 size_hints->min_height = size_hints->max_height = (int)image_height; in rpng_x_create_window() 597 size_hints, wm_hints, class_hints); in rpng_x_create_window() 604 if (size_hints) in rpng_x_create_window() 605 XFree(size_hints); in rpng_x_create_window()
|
D | rpng2-x.c | 851 XSizeHints *size_hints; in rpng2_x_create_window() local 961 if ((size_hints = XAllocSizeHints()) != NULL) { in rpng2_x_create_window() 963 size_hints->flags = PMinSize | PMaxSize; in rpng2_x_create_window() 964 size_hints->min_width = size_hints->max_width = (int)rpng2_info.width; in rpng2_x_create_window() 965 size_hints->min_height = size_hints->max_height = in rpng2_x_create_window() 982 size_hints, wm_hints, class_hints); in rpng2_x_create_window() 989 if (size_hints) in rpng2_x_create_window() 990 XFree(size_hints); in rpng2_x_create_window()
|
/external/rust/crates/tokio-stream/tests/ |
D | stream_stream_map.rs | 263 let mut size_hints = map.values().map(|s| s.size_hint().0).collect::<Vec<_>>(); in iter_values() localVariable 265 size_hints.sort_unstable(); in iter_values() 267 assert_eq!(&size_hints[..], &[1, 2, 3]); in iter_values() 278 let mut size_hints = map in iter_values_mut() localVariable 283 size_hints.sort_unstable(); in iter_values_mut() 285 assert_eq!(&size_hints[..], &[1, 2, 3]); in iter_values_mut()
|
/external/crosvm/gpu_display/src/ |
D | gpu_display_x.rs | 281 let size_hints = xlib::XAllocSizeHints(); in create() localVariable 282 (*size_hints).flags = (xlib::PMinSize | xlib::PMaxSize) as i64; in create() 283 (*size_hints).max_width = width as i32; in create() 284 (*size_hints).min_width = width as i32; in create() 285 (*size_hints).max_height = height as i32; in create() 286 (*size_hints).min_height = height as i32; in create() 287 xlib::XSetWMNormalHints(display.as_ptr(), window, size_hints); in create() 288 x_free(size_hints); in create()
|
/external/ImageMagick/MagickCore/ |
D | xwindow.c | 8340 *size_hints; in XMakeWindow() local 8348 size_hints=XAllocSizeHints(); in XMakeWindow() 8349 if (size_hints == (XSizeHints *) NULL) in XMakeWindow() 8351 size_hints->flags=(int) window_info->flags; in XMakeWindow() 8352 size_hints->x=window_info->x; in XMakeWindow() 8353 size_hints->y=window_info->y; in XMakeWindow() 8354 size_hints->width=(int) window_info->width; in XMakeWindow() 8355 size_hints->height=(int) window_info->height; in XMakeWindow() 8361 size_hints->min_width=size_hints->width; in XMakeWindow() 8362 size_hints->min_height=size_hints->height; in XMakeWindow() [all …]
|
D | animate.c | 1015 *size_hints; in XAnimateBackgroundImage() local 1020 size_hints=XAllocSizeHints(); in XAnimateBackgroundImage() 1021 if (size_hints == (XSizeHints *) NULL) in XAnimateBackgroundImage() 1024 size_hints->flags=0L; in XAnimateBackgroundImage() 1028 default_geometry,window_info.border_width,size_hints,&window_info.x, in XAnimateBackgroundImage() 1035 (void) XFree((void *) size_hints); in XAnimateBackgroundImage()
|
D | display.c | 4384 *size_hints; in XConfigureImage() local 4470 size_hints=XAllocSizeHints(); in XConfigureImage() 4471 if (size_hints != (XSizeHints *) NULL) in XConfigureImage() 4476 size_hints->flags=PSize | PMinSize | PMaxSize; in XConfigureImage() 4477 size_hints->width=window_changes.width; in XConfigureImage() 4478 size_hints->height=window_changes.height; in XConfigureImage() 4479 size_hints->min_width=size_hints->width; in XConfigureImage() 4480 size_hints->min_height=size_hints->height; in XConfigureImage() 4481 size_hints->max_width=size_hints->width; in XConfigureImage() 4482 size_hints->max_height=size_hints->height; in XConfigureImage() [all …]
|