Searched refs:max (Results 1 – 13 of 13) sorted by relevance
/lvgl-2.7.6/src/lv_widgets/ |
D | lv_gauge.c | 190 int16_t max = lv_gauge_get_max_value(gauge); in lv_gauge_set_value() local 192 if(value > max) in lv_gauge_set_value() 193 value = max; in lv_gauge_set_value() 227 int16_t needle_angle = (old_value - min) * angle / (max - min) + angle_ofs; in lv_gauge_set_value() 239 needle_angle = (value - min) * angle / (max - min) + angle_ofs; in lv_gauge_set_value() 524 int32_t max = lv_gauge_get_max_value(gauge); in lv_gauge_draw_labels() local 541 int32_t scale_act = (int32_t)((int32_t)(max - min) * i) / (label_num - 1); in lv_gauge_draw_labels() 583 int16_t max = lv_gauge_get_max_value(gauge); in lv_gauge_draw_needle() local 597 (ext->values[i] - min) * angle / (max - min) + angle_ofs; in lv_gauge_draw_needle()
|
D | lv_slider.h | 105 static inline void lv_slider_set_range(lv_obj_t * slider, int16_t min, int16_t max) in lv_slider_set_range() argument 107 lv_bar_set_range(slider, min, max); in lv_slider_set_range()
|
D | lv_gauge.h | 103 static inline void lv_gauge_set_range(lv_obj_t * gauge, int32_t min, int32_t max) in lv_gauge_set_range() argument 105 lv_linemeter_set_range(gauge, min, max); in lv_gauge_set_range()
|
D | lv_linemeter.c | 219 void lv_linemeter_set_range(lv_obj_t * lmeter, int32_t min, int32_t max) in lv_linemeter_set_range() argument 224 if(ext->min_value == min && ext->max_value == max) return; in lv_linemeter_set_range() 226 ext->max_value = max; in lv_linemeter_set_range() 228 if(ext->cur_value > max) { in lv_linemeter_set_range() 229 ext->cur_value = max; in lv_linemeter_set_range()
|
D | lv_bar.c | 206 void lv_bar_set_range(lv_obj_t * bar, int16_t min, int16_t max) in lv_bar_set_range() argument 211 if(ext->min_value == min && ext->max_value == max) return; in lv_bar_set_range() 213 ext->max_value = max; in lv_bar_set_range() 219 if(ext->cur_value > max) { in lv_bar_set_range() 220 ext->cur_value = max; in lv_bar_set_range()
|
D | lv_linemeter.h | 80 void lv_linemeter_set_range(lv_obj_t * lmeter, int32_t min, int32_t max);
|
D | lv_bar.h | 127 void lv_bar_set_range(lv_obj_t * bar, int16_t min, int16_t max);
|
D | lv_arc.h | 161 void lv_arc_set_range(lv_obj_t * arc, int16_t min, int16_t max);
|
D | lv_arc.c | 412 void lv_arc_set_range(lv_obj_t * arc, int16_t min, int16_t max) in lv_arc_set_range() argument 417 if(ext->min_value == min && ext->max_value == max) return; in lv_arc_set_range() 420 ext->max_value = max; in lv_arc_set_range() 425 if(ext->cur_value > max) { in lv_arc_set_range() 426 ext->cur_value = max; in lv_arc_set_range()
|
/lvgl-2.7.6/scripts/ |
D | code-format.cfg | 14 --max-code-length=120 19 --max-continuation-indent=120
|
/lvgl-2.7.6/src/lv_misc/ |
D | lv_math.h | 122 int16_t _lv_map(int32_t x, int32_t min_in, int32_t max_in, int32_t min, int32_t max);
|
/lvgl-2.7.6/docs/ |
D | ROADMAP.md | 16 - Add snap stop to scroll max 1 snap point
|
/lvgl-2.7.6/src/lv_draw/ |
D | lv_draw_rect.c | 513 int32_t max = (dsc->bg_grad_color_stop * s) >> 8; in grad_get() local 514 if(i >= max) return dsc->bg_grad_color; in grad_get()
|