Lines Matching refs:cur_value
73 ext->cur_value = 0; in lv_lmeter_create()
100 ext->cur_value = copy_ext->cur_value; in lv_lmeter_create()
123 if(ext->cur_value == value) return; in lv_lmeter_set_value()
125 ext->cur_value = value > ext->max_value ? ext->max_value : value; in lv_lmeter_set_value()
126 ext->cur_value = ext->cur_value < ext->min_value ? ext->min_value : ext->cur_value; in lv_lmeter_set_value()
143 if(ext->cur_value > max) { in lv_lmeter_set_range()
144 ext->cur_value = max; in lv_lmeter_set_range()
145 lv_lmeter_set_value(lmeter, ext->cur_value); in lv_lmeter_set_range()
147 if(ext->cur_value < min) { in lv_lmeter_set_range()
148 ext->cur_value = min; in lv_lmeter_set_range()
149 lv_lmeter_set_value(lmeter, ext->cur_value); in lv_lmeter_set_range()
183 return ext->cur_value; in lv_lmeter_get_value()
273 …(int32_t)((int32_t)(ext->cur_value - ext->min_value) * ext->line_cnt) / (ext->max_value - ext->min… in lv_lmeter_design()