Searched refs:new_w (Results 1 – 2 of 2) sorted by relevance
38 int32_t new_w = size.x; in draw_event_cb() local42 draw_task->area.x1 -= (new_w - old_w) / 2; in draw_event_cb()43 draw_task->area.x2 += ((new_w - old_w) + 1) / 2; /* +1 for rounding */ in draw_event_cb()
277 int32_t new_w = size.x; in draw_event_cb() local281 draw_task->area.x1 -= (new_w - old_w) / 2; in draw_event_cb()282 draw_task->area.x2 += ((new_w - old_w) + 1) / 2; /* +1 for rounding */ in draw_event_cb()