Home
last modified time | relevance | path

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

/lvgl-latest/src/widgets/
Dlv_arc.c211 int16_t bg_midpoint, bg_end = arc->bg_angle_end; in lv_arc_set_mode() local
212 if(arc->bg_angle_end < arc->bg_angle_start) bg_end = arc->bg_angle_end + 360; in lv_arc_set_mode()
216 bg_midpoint = (arc->bg_angle_start + bg_end) / 2; in lv_arc_set_mode()
475 int16_t bg_end = arc->bg_angle_end; in lv_arc_event() local
477 bg_end = arc->bg_angle_end + 360; in lv_arc_event()
496 int16_t deg_range = bg_end - arc->bg_angle_start; in lv_arc_event()
544 int32_t round = ((bg_end - arc->bg_angle_start) * 8) / (arc->max_value - arc->min_value); in lv_arc_event()
552 … int16_t new_value = lv_map(angle, arc->bg_angle_start, bg_end, arc->min_value, arc->max_value); in lv_arc_event()
801 int16_t bg_end = arc->bg_angle_end; in get_angle() local
802 if(arc->bg_angle_end < arc->bg_angle_start) bg_end = arc->bg_angle_end + 360; in get_angle()
[all …]