Lines Matching refs:cur_value
77 ext->cur_value = 0; in lv_bar_create()
94 lv_bar_set_value(new_bar, ext->cur_value, false); in lv_bar_create()
107 ext->cur_value = ext_copy->cur_value; in lv_bar_create()
113 lv_bar_set_value(new_bar, ext->cur_value, false); in lv_bar_create()
137 if(ext->cur_value == value) return; in lv_bar_set_value()
143 if(ext->cur_value == new_value) return; in lv_bar_set_value()
146 ext->cur_value = new_value; in lv_bar_set_value()
152 ext->anim_start = ext->cur_value; in lv_bar_set_value()
193 if(ext->cur_value > max) { in lv_bar_set_range()
194 ext->cur_value = max; in lv_bar_set_range()
195 lv_bar_set_value(bar, ext->cur_value, false); in lv_bar_set_range()
197 if(ext->cur_value < min) { in lv_bar_set_range()
198 ext->cur_value = min; in lv_bar_set_range()
199 lv_bar_set_value(bar, ext->cur_value, false); in lv_bar_set_range()
268 return ext->cur_value; in lv_bar_get_value()
380 if(ext->cur_value != ext->min_value || ext->sym in lv_bar_design()
414 … (int32_t)((int32_t)w * (ext->cur_value - ext->min_value)) / (ext->max_value - ext->min_value); in lv_bar_design()
446 … (int32_t)((int32_t)h * (ext->cur_value - ext->min_value)) / (ext->max_value - ext->min_value); in lv_bar_design()