/lvgl-latest/examples/others/monkey/ |
D | lv_example_monkey_2.c | 11 config.period_range.max = 500; in lv_example_monkey_2() 13 config.input_range.max = 5; in lv_example_monkey_2()
|
D | lv_example_monkey_3.c | 14 config.period_range.max = 500; in lv_example_monkey_3() 16 config.input_range.max = sizeof(btn_points) / sizeof(lv_point_t) - 1; in lv_example_monkey_3()
|
D | lv_example_monkey_1.c | 11 config.period_range.max = 100; in lv_example_monkey_1()
|
/lvgl-latest/src/extra/others/monkey/ |
D | lv_monkey.h | 36 uint32_t max; member 42 int32_t max; member
|
D | lv_monkey.c | 65 config->period_range.max = MONKEY_PERIOD_RANGE_MAX_DEF; in lv_monkey_config_init() 168 …c_diff = (int16_t)lv_monkey_random(monkey->config.input_range.min, monkey->config.input_range.max); in lv_monkey_timer_cb() 171 …tn_id = (uint32_t)lv_monkey_random(monkey->config.input_range.min, monkey->config.input_range.max); in lv_monkey_timer_cb() 184 …monkey->timer, lv_monkey_random(monkey->config.period_range.min, monkey->config.period_range.max)); in lv_monkey_timer_cb()
|
/lvgl-latest/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-latest/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.h | 106 void lv_bar_set_range(lv_obj_t * obj, int32_t min, int32_t max);
|
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() 129 bar->max_value = max; in lv_bar_set_range() 135 if(bar->cur_value > max) { in lv_bar_set_range() 136 bar->cur_value = max; in lv_bar_set_range()
|
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() 255 arc->max_value = max; in lv_arc_set_range() 260 if(arc->value > max) { in lv_arc_set_range() 261 arc->value = max; in lv_arc_set_range()
|
/lvgl-latest/src/extra/widgets/meter/ |
D | lv_meter.c | 78 scale->max = 100; 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 112 scale->max = max; 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() 582 …int32_t angle = lv_map(indic->end_value, scale->min, scale->max, scale->rotation, scale->rotation … in draw_needles() 602 …int32_t angle = lv_map(indic->end_value, scale->min, scale->max, scale->rotation, scale->rotation … in draw_needles() 644 …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 | 47 int32_t max; 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-latest/scripts/ |
D | code-format.cfg | 14 --max-code-length=120 19 --max-continuation-indent=120
|
/lvgl-latest/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 …t * create_slider(lv_obj_t * parent, const char * icon, const char * txt, int32_t min, int32_t max, in create_slider() argument 178 lv_slider_set_range(slider, min, max); in create_slider()
|
/lvgl-latest/src/draw/sw/ |
D | lv_draw_sw_gradient.c | 306 int32_t max = (dsc->stops[dsc->stops_count - 1].frac * range) >> 8; in lv_gradient_calculate() local 307 if(frac >= max) { in lv_gradient_calculate() 320 max = (dsc->stops[i].frac * range) >> 8; in lv_gradient_calculate() 321 d = max - min; in lv_gradient_calculate()
|
/lvgl-latest/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_… 452 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 488 if(x_child >= min && x_child <= max) { in find_snap_point_x() 507 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 543 if(y_child >= min && y_child <= max) { in find_snap_point_y()
|
/lvgl-latest/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-latest/demos/benchmark/ |
D | lv_demo_benchmark.c | 100 static int32_t rnd_next(int32_t min, int32_t max); 1177 static int32_t rnd_next(int32_t min, int32_t max) in rnd_next() argument 1179 if(min == max) in rnd_next() 1182 if(min > max) { in rnd_next() 1184 min = max; in rnd_next() 1185 max = t; in rnd_next() 1188 int32_t d = max - min; in rnd_next()
|
/lvgl-latest/src/extra/widgets/chart/ |
D | lv_chart.c | 128 void lv_chart_set_range(lv_obj_t * obj, lv_chart_axis_t axis, lv_coord_t min, lv_coord_t max) in lv_chart_set_range() argument 132 max = max == min ? max + 1 : max; in lv_chart_set_range() 138 chart->ymax[0] = max; in lv_chart_set_range() 142 chart->ymax[1] = max; in lv_chart_set_range() 146 chart->xmax[0] = max; in lv_chart_set_range() 150 chart->xmax[1] = max; in lv_chart_set_range()
|
D | lv_chart.h | 167 void lv_chart_set_range(lv_obj_t * obj, lv_chart_axis_t axis, lv_coord_t min, lv_coord_t max);
|
/lvgl-latest/docs/overview/ |
D | coords.md | 8 - support min-width, max-width, min-height, max-height 281 Similarly to CSS, LVGL also supports `min-width`, `max-width`, `min-height` and `max-height`. These…
|
/lvgl-latest/docs/widgets/extra/ |
D | meter.md | 27 `lv_meter_set_scale_range(meter, scale, min, max, angle_range, rotation)` sets the value and angle …
|