Searched refs:surf_y (Results 1 – 3 of 3) sorted by relevance
/third_party/weston/fullscreen-shell/ |
D | fullscreen-shell.c | 414 int32_t surf_x, surf_y, surf_width, surf_height; in fs_output_center_view() local 418 surface_subsurfaces_boundingbox(fsout->view->surface, &surf_x, &surf_y, in fs_output_center_view() 422 y = output->y + (output->height - surf_height) / 2 - surf_y / 2; in fs_output_center_view() 431 int32_t surf_x, surf_y, surf_width, surf_height; in fs_output_scale_view() local 436 surface_subsurfaces_boundingbox(view->surface, &surf_x, &surf_y, in fs_output_scale_view() 442 fsout->output->y - surf_y); in fs_output_scale_view() 454 y = output->y + (output->height - height) / 2 - surf_y; in fs_output_scale_view() 469 int32_t surf_x, surf_y, surf_width, surf_height; in fs_output_configure_simple() local 482 &surf_x, &surf_y, in fs_output_configure_simple() 525 fsout->output->y - surf_y); in fs_output_configure_simple() [all …]
|
/third_party/weston/kiosk-shell/ |
D | util.c | 114 int32_t surf_x, surf_y, width, height; in center_on_output() local 122 surface_subsurfaces_boundingbox(view->surface, &surf_x, &surf_y, &width, &height); in center_on_output() 125 y = output->y + (output->height - height) / 2 - surf_y / 2; in center_on_output()
|
/third_party/weston/desktop-shell/ |
D | shell.c | 2186 int32_t surf_x, surf_y, surf_width, surf_height; in shell_configure_fullscreen() local 2202 surface_subsurfaces_boundingbox(surface, &surf_x, &surf_y, in shell_configure_fullscreen() 4270 int32_t surf_x, surf_y, width, height; in center_on_output() local 4278 surface_subsurfaces_boundingbox(view->surface, &surf_x, &surf_y, &width, &height); in center_on_output() 4281 y = output->y + (output->height - height) / 2 - surf_y / 2; in center_on_output()
|