Lines Matching refs:fRandom
242 switch (d->fRandom->nextULessThan(3)) { in TestCreate()
253 auto kernel = d->fRandom->nextBool() ? GrBicubicEffect::gMitchell in TestCreate()
255 auto m = GrTest::TestMatrix(d->fRandom); in TestCreate()
256 switch (d->fRandom->nextULessThan(3)) { in TestCreate()
260 GrTest::TestWrapModes(d->fRandom, wm); in TestCreate()
262 if (d->fRandom->nextBool()) { in TestCreate()
264 subset.fLeft = d->fRandom->nextSScalar1() * view.width(); in TestCreate()
265 subset.fTop = d->fRandom->nextSScalar1() * view.height(); in TestCreate()
266 subset.fRight = d->fRandom->nextSScalar1() * view.width(); in TestCreate()
267 subset.fBottom = d->fRandom->nextSScalar1() * view.height(); in TestCreate()
288 at = static_cast<SkAlphaType>(d->fRandom->nextULessThan(kLastEnum_SkAlphaType + 1)); in TestCreate()