Lines Matching refs:fRandom
355 int width = d->fRandom->nextRangeU(1, kMaxTestKernelSize); in TestCreate()
356 int height = d->fRandom->nextRangeU(1, kMaxTestKernelSize / width); in TestCreate()
360 kernel.get()[i] = d->fRandom->nextSScalar1(); in TestCreate()
362 SkScalar gain = d->fRandom->nextSScalar1(); in TestCreate()
363 SkScalar bias = d->fRandom->nextSScalar1(); in TestCreate()
365 uint32_t kernalOffsetX = d->fRandom->nextRangeU(0, kernelSize.width()); in TestCreate()
366 uint32_t kernalOffsetY = d->fRandom->nextRangeU(0, kernelSize.height()); in TestCreate()
369 uint32_t boundsX = d->fRandom->nextRangeU(0, view.width()); in TestCreate()
370 uint32_t boundsY = d->fRandom->nextRangeU(0, view.height()); in TestCreate()
371 uint32_t boundsW = d->fRandom->nextRangeU(0, view.width()); in TestCreate()
372 uint32_t boundsH = d->fRandom->nextRangeU(0, view.height()); in TestCreate()
376 d->fRandom->nextULessThan(GrSamplerState::kWrapModeCount)); in TestCreate()
377 bool convolveAlpha = d->fRandom->nextBool(); in TestCreate()