/lvgl-3.6.0/src/extra/others/monkey/ |
D | lv_monkey.c | 64 config->period_range.min = MONKEY_PERIOD_RANGE_MIN_DEF; in lv_monkey_config_init() 83 monkey->timer = lv_timer_create(lv_monkey_timer_cb, monkey->config.period_range.min, monkey); in lv_monkey_create() 168 …data->enc_diff = (int16_t)lv_monkey_random(monkey->config.input_range.min, monkey->config.input_ra… in lv_monkey_timer_cb() 171 …data->btn_id = (uint32_t)lv_monkey_random(monkey->config.input_range.min, monkey->config.input_ran… in lv_monkey_timer_cb() 184 …lv_timer_set_period(monkey->timer, lv_monkey_random(monkey->config.period_range.min, monkey->confi… in lv_monkey_timer_cb()
|
D | lv_monkey.h | 35 uint32_t min; member 41 int32_t min; member
|
/lvgl-3.6.0/examples/others/monkey/ |
D | lv_example_monkey_2.c | 10 config.period_range.min = 50; in lv_example_monkey_2() 12 config.input_range.min = -5; in lv_example_monkey_2()
|
D | lv_example_monkey_3.c | 13 config.period_range.min = 50; in lv_example_monkey_3() 15 config.input_range.min = 0; in lv_example_monkey_3()
|
D | lv_example_monkey_1.c | 10 config.period_range.min = 10; in lv_example_monkey_1()
|
/lvgl-3.6.0/src/misc/ |
D | lv_math.h | 116 uint32_t lv_rand(uint32_t min, uint32_t max); 129 #define LV_CLAMP(min, val, max) (LV_MAX(min, (LV_MIN(val, max)))) argument
|
D | lv_math.c | 257 uint32_t lv_rand(uint32_t min, uint32_t max) in lv_rand() argument 268 return (a % (max - min + 1)) + min; in lv_rand()
|
/lvgl-3.6.0/src/widgets/ |
D | lv_slider.h | 106 static inline void lv_slider_set_range(lv_obj_t * obj, int32_t min, int32_t max) in lv_slider_set_range() argument 108 lv_bar_set_range(obj, min, max); in lv_slider_set_range()
|
D | lv_bar.c | 121 void lv_bar_set_range(lv_obj_t * obj, int32_t min, int32_t max) in lv_bar_set_range() argument 127 if(bar->min_value == min && bar->max_value == max) return; in lv_bar_set_range() 130 bar->min_value = min; in lv_bar_set_range() 133 bar->start_value = min; in lv_bar_set_range() 139 if(bar->cur_value < min) { in lv_bar_set_range() 140 bar->cur_value = min; in lv_bar_set_range()
|
D | lv_bar.h | 106 void lv_bar_set_range(lv_obj_t * obj, int32_t min, int32_t max);
|
D | lv_arc.h | 158 void lv_arc_set_range(lv_obj_t * obj, int16_t min, int16_t max);
|
D | lv_arc.c | 247 void lv_arc_set_range(lv_obj_t * obj, int16_t min, int16_t max) in lv_arc_set_range() argument 252 if(arc->min_value == min && arc->max_value == max) return; in lv_arc_set_range() 254 arc->min_value = min; in lv_arc_set_range() 257 if(arc->value < min) { in lv_arc_set_range() 258 arc->value = min; in lv_arc_set_range()
|
/lvgl-3.6.0/src/extra/widgets/meter/ |
D | lv_meter.c | 77 scale->min = 0; in lv_meter_add_scale() 108 void lv_meter_set_scale_range(lv_obj_t * obj, lv_meter_scale_t * scale, int32_t min, int32_t max, u… in lv_meter_set_scale_range() argument 111 scale->min = min; in lv_meter_set_scale_range() 358 int32_t start_angle = lv_map(indic->start_value, scale->min, scale->max, scale->rotation, in draw_arcs() 360 int32_t end_angle = lv_map(indic->end_value, scale->min, scale->max, scale->rotation, in draw_arcs() 447 int32_t value_of_line = lv_map(i, 0, scale->tick_cnt - 1, scale->min, scale->max); in draw_ticks_and_labels() 471 … ratio = lv_map(value_of_line, scale->min, scale->max, LV_OPA_TRANSP, LV_OPA_COVER); in draw_ticks_and_labels() 583 …int32_t angle = lv_map(indic->end_value, scale->min, scale->max, scale->rotation, scale->rotation … in draw_needles() 603 …int32_t angle = lv_map(indic->end_value, scale->min, scale->max, scale->rotation, scale->rotation … in draw_needles() 645 …int32_t start_angle = lv_map(old_value, scale->min, scale->max, scale->rotation, scale->angle_rang… in inv_arc() [all …]
|
D | lv_meter.h | 46 int32_t min; member 170 void lv_meter_set_scale_range(lv_obj_t * obj, lv_meter_scale_t * scale, int32_t min, int32_t max, u…
|
/lvgl-3.6.0/src/draw/sw/ |
D | lv_draw_sw_gradient.c | 302 int32_t min = (dsc->stops[0].frac * range) >> 8; in lv_gradient_calculate() local 303 if(frac <= min) { in lv_gradient_calculate() 321 min = (dsc->stops[i - 1].frac * range) >> 8; in lv_gradient_calculate() 323 d = max - min; in lv_gradient_calculate() 331 frac -= min; in lv_gradient_calculate()
|
/lvgl-3.6.0/examples/widgets/menu/ |
D | lv_example_menu_5.c | 16 … const char * icon, const char * txt, int32_t min, int32_t max, int32_t val); 171 static lv_obj_t * create_slider(lv_obj_t * parent, const char * icon, const char * txt, int32_t min… in create_slider() argument 178 lv_slider_set_range(slider, min, max); in create_slider()
|
/lvgl-3.6.0/demos/benchmark/ |
D | lv_demo_benchmark.c | 100 static int32_t rnd_next(int32_t min, int32_t max); 1199 static int32_t rnd_next(int32_t min, int32_t max) in rnd_next() argument 1201 if(min == max) in rnd_next() 1202 return min; in rnd_next() 1204 if(min > max) { in rnd_next() 1205 int32_t t = min; in rnd_next() 1206 min = max; in rnd_next() 1210 int32_t d = max - min; in rnd_next() 1211 int32_t r = (rnd_map[rnd_act] % d) + min; in rnd_next()
|
/lvgl-3.6.0/src/core/ |
D | lv_indev_scroll.c | 26 static lv_coord_t find_snap_point_x(const lv_obj_t * obj, lv_coord_t min, lv_coord_t max, lv_coord_… 27 static lv_coord_t find_snap_point_y(const lv_obj_t * obj, lv_coord_t min, lv_coord_t max, lv_coord_… 455 static lv_coord_t find_snap_point_x(const lv_obj_t * obj, lv_coord_t min, lv_coord_t max, lv_coord_… in find_snap_point_x() argument 491 if(x_child >= min && x_child <= max) { in find_snap_point_x() 510 static lv_coord_t find_snap_point_y(const lv_obj_t * obj, lv_coord_t min, lv_coord_t max, lv_coord_… in find_snap_point_y() argument 546 if(y_child >= min && y_child <= max) { in find_snap_point_y()
|
/lvgl-3.6.0/scripts/ |
D | code-format.cfg | 18 --min-conditional-indent=0
|
/lvgl-3.6.0/docs/widgets/core/ |
D | slider.md | 18 To specify the range (min, max values), `lv_slider_set_range(slider, min , max)` can be used.
|
D | bar.md | 20 … a range (minimum and maximum values) which can be modified with `lv_bar_set_range(bar, min, max)`.
|
/lvgl-3.6.0/examples/widgets/chart/ |
D | lv_example_chart_2.py | 34 a.y1 = min(dsc.p1.y, dsc.p2.y)
|
D | lv_example_chart_8.py | 42 a.y1 = min(dsc.p1.y, dsc.p2.y)
|
/lvgl-3.6.0/src/extra/widgets/chart/ |
D | lv_chart.h | 168 void lv_chart_set_range(lv_obj_t * obj, lv_chart_axis_t axis, lv_coord_t min, lv_coord_t max);
|
/lvgl-3.6.0/demos/widgets/ |
D | lv_demo_widgets.py | 473 cal.set_size(min(grid_h, grid_w), min(grid_h, grid_w)); 498 h.set_size(min(grid_h, grid_w), min(grid_h, grid_w))
|