Home
last modified time | relevance | path

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

/lvgl-2.7.6/src/lv_widgets/
Dlv_arc.c1032 int32_t range_midpoint = (int32_t)(ext->min_value + ext->max_value) / 2; in get_knob_area() local
1033 if(ext->cur_value < range_midpoint) angle += ext->arc_angle_start; in get_knob_area()
1058 int16_t bg_midpoint, range_midpoint, bg_end = ext->bg_angle_end; in value_update() local
1065 range_midpoint = (int32_t)(ext->min_value + ext->max_value) / 2; in value_update()
1067 if(ext->cur_value < range_midpoint) { in value_update()
1068 … angle = _lv_map(ext->cur_value, ext->min_value, range_midpoint, ext->bg_angle_start, bg_midpoint); in value_update()
1073 … angle = _lv_map(ext->cur_value, range_midpoint, ext->max_value, bg_midpoint, bg_end); in value_update()