Searched refs:lv_monkey_random (Results 1 – 1 of 1) sorted by relevance
/lvgl-3.7.0/src/extra/others/monkey/ |
D | lv_monkey.c | 53 static int32_t lv_monkey_random(int32_t howsmall, int32_t howbig); 148 static int32_t lv_monkey_random(int32_t howsmall, int32_t howbig) in lv_monkey_random() function 164 data->point.x = (lv_coord_t)lv_monkey_random(0, LV_HOR_RES - 1); in lv_monkey_timer_cb() 165 data->point.y = (lv_coord_t)lv_monkey_random(0, LV_VER_RES - 1); in lv_monkey_timer_cb() 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() 174 int32_t index = lv_monkey_random(0, sizeof(lv_key_map) / sizeof(lv_key_map[0]) - 1); in lv_monkey_timer_cb() 182 data->state = lv_monkey_random(0, 100) < 50 ? LV_INDEV_STATE_RELEASED : LV_INDEV_STATE_PRESSED; 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()
|