Searched refs:full_h (Results 1 – 3 of 3) sorted by relevance
76 int32_t full_h = lv_obj_get_height(obj); in add_faded_area() local77 …ct_uppter = (int32_t)(LV_MIN(draw_line_dsc->p1.y, draw_line_dsc->p2.y) - coords.y1) * 255 / full_h; in add_faded_area()78 …act_lower = (int32_t)(LV_MAX(draw_line_dsc->p1.y, draw_line_dsc->p2.y) - coords.y1) * 255 / full_h; in add_faded_area()
365 int32_t full_h = lv_obj_get_height(obj); in chart_draw_task_event_cb() local366 …pper = (int32_t)(LV_MIN(draw_line_dsc->p1.y, draw_line_dsc->p2.y) - obj->coords.y1) * 255 / full_h; in chart_draw_task_event_cb()367 …ower = (int32_t)(LV_MAX(draw_line_dsc->p1.y, draw_line_dsc->p2.y) - obj->coords.y1) * 255 / full_h; in chart_draw_task_event_cb()
1437 int32_t full_h = lv_obj_get_height(obj); in chart_event_cb() local1438 …ppter = (int32_t)(LV_MIN(draw_line_dsc->p1.y, draw_line_dsc->p2.y) - obj_coords.y1) * 255 / full_h; in chart_event_cb()1439 …lower = (int32_t)(LV_MAX(draw_line_dsc->p1.y, draw_line_dsc->p2.y) - obj_coords.y1) * 255 / full_h; in chart_event_cb()