Home
last modified time | relevance | path

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

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