Home
last modified time | relevance | path

Searched refs:lv_map (Results 1 – 10 of 10) sorted by relevance

/lvgl-3.6.0/src/misc/
Dlv_anim.c215 int32_t step = lv_map(a->act_time, 0, a->time, 0, LV_ANIM_RESOLUTION); in lv_anim_path_linear()
230 uint32_t t = lv_map(a->act_time, 0, a->time, 0, LV_BEZIER_VAL_MAX); in lv_anim_path_ease_in()
244 uint32_t t = lv_map(a->act_time, 0, a->time, 0, LV_BEZIER_VAL_MAX); in lv_anim_path_ease_out()
258 uint32_t t = lv_map(a->act_time, 0, a->time, 0, LV_BEZIER_VAL_MAX); in lv_anim_path_ease_in_out()
272 uint32_t t = lv_map(a->act_time, 0, a->time, 0, LV_BEZIER_VAL_MAX); in lv_anim_path_overshoot()
286 int32_t t = lv_map(a->act_time, 0, a->time, 0, LV_BEZIER_VAL_MAX); in lv_anim_path_bounce()
Dlv_math.h108 int32_t lv_map(int32_t x, int32_t min_in, int32_t max_in, int32_t min_out, int32_t max_out);
Dlv_math.c236 int32_t lv_map(int32_t x, int32_t min_in, int32_t max_in, int32_t min_out, int32_t max_out) in lv_map() function
/lvgl-3.6.0/src/extra/widgets/meter/
Dlv_meter.c358 int32_t start_angle = lv_map(indic->start_value, scale->min, scale->max, scale->rotation, in draw_arcs()
360 int32_t end_angle = lv_map(indic->end_value, scale->min, scale->max, scale->rotation, in draw_arcs()
447 int32_t value_of_line = lv_map(i, 0, scale->tick_cnt - 1, scale->min, scale->max); in draw_ticks_and_labels()
468 … ratio = lv_map(value_of_line, indic->start_value, indic->end_value, LV_OPA_TRANSP, LV_OPA_COVER); in draw_ticks_and_labels()
471 … ratio = lv_map(value_of_line, scale->min, scale->max, LV_OPA_TRANSP, LV_OPA_COVER); in draw_ticks_and_labels()
583 …int32_t angle = lv_map(indic->end_value, scale->min, scale->max, scale->rotation, scale->rotation … in draw_needles()
603 …int32_t angle = lv_map(indic->end_value, scale->min, scale->max, scale->rotation, scale->rotation … in draw_needles()
645 …int32_t start_angle = lv_map(old_value, scale->min, scale->max, scale->rotation, scale->angle_rang… in inv_arc()
646 …int32_t end_angle = lv_map(new_value, scale->min, scale->max, scale->rotation, scale->angle_range … in inv_arc()
668 …int32_t angle = lv_map(value, scale->min, scale->max, scale->rotation, scale->rotation + scale->an… in inv_line()
[all …]
/lvgl-3.6.0/examples/scroll/
Dlv_example_scroll_6.c43 lv_opa_t opa = lv_map(x, 0, r, LV_OPA_TRANSP, LV_OPA_COVER); in scroll_event_cb()
/lvgl-3.6.0/src/widgets/
Dlv_arc.c555 … int16_t new_value = lv_map(angle, arc->bg_angle_start, bg_end, arc->min_value, arc->max_value); in lv_arc_event()
862 … angle = lv_map(arc->value, arc->min_value, range_midpoint, arc->bg_angle_start, bg_midpoint); in value_update()
867 angle = lv_map(arc->value, range_midpoint, arc->max_value, bg_midpoint, bg_end); in value_update()
873 angle = lv_map(arc->value, arc->min_value, arc->max_value, bg_end, arc->bg_angle_start); in value_update()
877 angle = lv_map(arc->value, arc->min_value, arc->max_value, arc->bg_angle_start, bg_end); in value_update()
/lvgl-3.6.0/examples/anim/
Dlv_example_anim_3.c67 uint32_t t = lv_map(a->act_time, 0, a->time, 0, 1024); in anim_path_bezier3_cb()
/lvgl-3.6.0/src/extra/widgets/chart/
Dlv_chart.c291 …p_out->x = lv_map(ser->x_points[id], chart->xmin[ser->x_axis_sec], chart->xmax[ser->x_axis_sec], 0… in lv_chart_get_point_pos_by_id()
1092 …p2.x = lv_map(ser->x_points[p_act], chart->xmin[ser->x_axis_sec], chart->xmax[ser->x_axis_sec], 0,… in draw_series_scatter()
1095 …p2.y = lv_map(ser->y_points[p_act], chart->ymin[ser->y_axis_sec], chart->ymax[ser->y_axis_sec], 0,… in draw_series_scatter()
1119 …p2.y = lv_map(ser->y_points[p_act], chart->ymin[ser->y_axis_sec], chart->ymax[ser->y_axis_sec], 0,… in draw_series_scatter()
1123 …p2.x = lv_map(ser->x_points[p_act], chart->xmin[ser->x_axis_sec], chart->xmax[ser->x_axis_sec], 0,… in draw_series_scatter()
1466 …int32_t tick_value = lv_map(total_tick_num - i, 0, total_tick_num, chart->ymin[sec_axis], chart->y… in draw_y_ticks()
1600 tick_value = lv_map(i, 0, total_tick_num, chart->xmin[sec_axis], chart->xmax[sec_axis]); in draw_x_ticks()
/lvgl-3.6.0/demos/widgets/
Dlv_demo_widgets.c1041 w = lv_map(v, 0, 256, LV_DPX(52), max_w); in color_changer_anim_cb()
1046 w = lv_map(v, 0, 256, LV_DPX(60), max_w); in color_changer_anim_cb()
/lvgl-3.6.0/docs/
DCHANGELOG.md506 - fix(misc): in lv_map() handle if maximum value less than minimum value [`3113`](https://github.co…