Home
last modified time | relevance | path

Searched refs:random (Results 1 - 2 of 2) sorted by relevance

/vendor/ohemu/qemu_riscv32_mini_system_demo/tests/ui/
H A Dsample_ui.cpp110 int random(int min, int max) in random() function in UiDemo
118 int16_t x = random(view.GetWidth(), Screen::GetInstance().GetWidth() - view.GetWidth());
119 int16_t y = random(view.GetHeight(), Screen::GetInstance().GetHeight() - view.GetHeight());
/vendor/ohemu/qemu_small_system_demo/apps/src/
H A Dsample_ui.cpp149 int random(int min, int max) in random() function in UiDemo
157 int16_t x = random(view.GetWidth(), Screen::GetInstance().GetWidth() - view.GetWidth());
158 int16_t y = random(view.GetHeight(), Screen::GetInstance().GetHeight() - view.GetHeight());

Completed in 1 milliseconds