Lines Matching refs:fRandom
320 int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx in TestCreate()
324 int width = d->fRandom->nextRangeU(1, MAX_KERNEL_SIZE); in TestCreate()
325 int height = d->fRandom->nextRangeU(1, MAX_KERNEL_SIZE / width); in TestCreate()
329 kernel.get()[i] = d->fRandom->nextSScalar1(); in TestCreate()
331 SkScalar gain = d->fRandom->nextSScalar1(); in TestCreate()
332 SkScalar bias = d->fRandom->nextSScalar1(); in TestCreate()
333 SkIPoint kernelOffset = SkIPoint::Make(d->fRandom->nextRangeU(0, kernelSize.width()), in TestCreate()
334 d->fRandom->nextRangeU(0, kernelSize.height())); in TestCreate()
335 SkIRect bounds = SkIRect::MakeXYWH(d->fRandom->nextRangeU(0, proxy->width()), in TestCreate()
336 d->fRandom->nextRangeU(0, proxy->height()), in TestCreate()
337 d->fRandom->nextRangeU(0, proxy->width()), in TestCreate()
338 d->fRandom->nextRangeU(0, proxy->height())); in TestCreate()
340 static_cast<GrTextureDomain::Mode>(d->fRandom->nextRangeU(0, 2)); in TestCreate()
341 bool convolveAlpha = d->fRandom->nextBool(); in TestCreate()