Home
last modified time | relevance | path

Searched refs:full_h (Results 1 – 3 of 3) sorted by relevance

/lvgl-latest/examples/widgets/chart/
Dlv_example_chart_5.c76 int32_t full_h = lv_obj_get_height(obj); in add_faded_area() local
77 …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()
/lvgl-latest/demos/ebike/
Dlv_demo_ebike_stats.c365 int32_t full_h = lv_obj_get_height(obj); in chart_draw_task_event_cb() local
366 …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()
/lvgl-latest/demos/widgets/
Dlv_demo_widgets.c1437 int32_t full_h = lv_obj_get_height(obj); in chart_event_cb() local
1438 …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()