Lines Matching refs:wh_surface
396 int ww_surface, wh_surface; in gd_update() local
418 wh_surface = surface_height(vc->gfx.ds) * vc->gfx.scale_y; in gd_update()
431 if (wh_widget > wh_surface) { in gd_update()
432 wy_offset = (wh_widget - wh_surface) / 2; in gd_update()
905 int ww_widget, wh_widget, ww_surface, wh_surface; in gd_draw_event() local
945 wh_surface = fbh * vc->gfx.scale_y; in gd_draw_event()
951 if (wh_widget > wh_surface) { in gd_draw_event()
952 wy_offset = (wh_widget - wh_surface) / 2; in gd_draw_event()
963 -1 * ww_surface, wh_surface); in gd_draw_event()
982 int wh_surface, ww_surface; in gd_motion_event() local
990 wh_surface = surface_height(vc->gfx.ds) * vc->gfx.scale_y; in gd_motion_event()
1004 if (wh_widget > wh_surface) { in gd_motion_event()
1005 wy_offset = (wh_widget - wh_surface) / 2; in gd_motion_event()