Home
last modified time | relevance | path

Searched refs:rnd_next (Results 1 – 1 of 1) sorted by relevance

/lvgl-3.5.0/demos/benchmark/
Dlv_demo_benchmark.c100 static int32_t rnd_next(int32_t min, int32_t max);
1048 lv_obj_set_style_bg_color(obj, lv_color_hex(rnd_next(0, 0xFFFFF0)), 0); in rect_create()
1049 lv_obj_set_style_border_color(obj, lv_color_hex(rnd_next(0, 0xFFFFF0)), 0); in rect_create()
1050 lv_obj_set_style_shadow_color(obj, lv_color_hex(rnd_next(0, 0xFFFFF0)), 0); in rect_create()
1052 … lv_obj_set_size(obj, rnd_next(OBJ_SIZE_MIN, OBJ_SIZE_MAX), rnd_next(OBJ_SIZE_MIN, OBJ_SIZE_MAX)); in rect_create()
1067 lv_obj_set_style_img_recolor(obj, lv_color_hex(rnd_next(0, 0xFFFFF0)), 0); in img_create()
1069 if(rotate) lv_img_set_angle(obj, rnd_next(0, 3599)); in img_create()
1070 if(zoom) lv_img_set_zoom(obj, rnd_next(IMG_ZOOM_MIN, IMG_ZOOM_MAX)); in img_create()
1085 lv_obj_set_style_text_color(obj, lv_color_hex(rnd_next(0, 0xFFFFF0)), 0); in txt_create()
1104 … points[i][j].x = points[i][j - 1].x + rnd_next(LINE_POINT_DIFF_MIN, LINE_POINT_DIFF_MAX); in line_create()
[all …]