Lines Matching refs:Rand
106 x_(random_generator_.Rand(0, width)), in Square()
107 y_(random_generator_.Rand(0, height)), in Square()
108 length_(random_generator_.Rand(1, width > 4 ? width / 4 : 1)), in Square()
109 yuv_y_(random_generator_.Rand(0, 255)), in Square()
110 yuv_u_(random_generator_.Rand(0, 255)), in Square()
111 yuv_v_(random_generator_.Rand(0, 255)), in Square()
112 yuv_a_(random_generator_.Rand(0, 255)) {} in Square()
121 x_ = (x_ + random_generator_.Rand(0, 4)) % (buffer->width() - length); in Draw()
122 y_ = (y_ + random_generator_.Rand(0, 4)) % (buffer->height() - length); in Draw()
235 const int kSquareNum = 1 << (4 + (random_generator_.Rand(0, 3) * 2)); in GenerateNewFrame()
245 int length = random_generator_.Rand(1, width_ > 4 ? width_ / 4 : 1); in GenerateNewFrame()
250 int x = random_generator_.Rand(0, width_ - length); in GenerateNewFrame()
251 int y = random_generator_.Rand(0, height_ - length); in GenerateNewFrame()
252 uint8_t yuv_y = random_generator_.Rand(0, 255); in GenerateNewFrame()
253 uint8_t yuv_u = random_generator_.Rand(0, 255); in GenerateNewFrame()
254 uint8_t yuv_v = random_generator_.Rand(0, 255); in GenerateNewFrame()