Searched defs:fRandom (Results 1 - 6 of 6) sorted by path

/external/skia/bench/
H A DAAClipBench.cpp93 SkRandom fRandom; member in class:NestedAAClipBench
140 paint.setColor(0xff000000 | fRandom.nextU());
H A DMatrixBench.cpp150 SkScalar rot0 = (fRandom.nextBool()) ? fRandom.nextRangeF(-180, 180) : 0.0f;
151 SkScalar sx = fRandom.nextRangeF(-3000.f, 3000.f);
152 SkScalar sy = (fRandom.nextBool()) ? fRandom.nextRangeF(-3000.f, 3000.f) : sx;
153 SkScalar rot1 = fRandom.nextRangeF(-180, 180);
167 SkRandom fRandom; member in class:DecomposeMatrixBench
H A DPathBench.cpp322 fVerbCnts[i] = fRandom.nextRangeU(minVerbs, maxVerbs + 1);
327 fVerbs[i] = static_cast<SkPath::Verb>(fRandom.nextULessThan(SkPath::kDone_Verb));
332 fPoints[i].set(fRandom.nextRangeScalar(bounds->fLeft, bounds->fRight),
333 fRandom.nextRangeScalar(bounds->fTop, bounds->fBottom));
401 SkRandom fRandom; member in class:RandomPathBench
/external/skia/gm/
H A Dblurcircles2.cpp98 blurRadius += fRandom.nextSScalar1() * kDeltaBlurRadius;
106 radius += fRandom.nextSScalar1() * kDeltaRadius;
159 SkRandom fRandom; member in class:BlurCircles2GM
/external/skia/include/gpu/
H A DGrProcessorUnitTest.h53 : fRandom(random)
59 SkRandom* fRandom; member in struct:GrProcessorTestData
90 uint32_t idx = data->fRandom->nextRangeU(0, GetFactories()->count() - 1);
125 uint32_t idx = data->fRandom->nextRangeU(0, GetFactories()->count() - 1);
/external/skia/samplecode/
H A DSampleManyRects.cpp40 SkRect rect = SkRect::MakeWH(SkIntToScalar(fRandom.nextRangeU(10, 100)),
41 SkIntToScalar(fRandom.nextRangeU(10, 100)));
42 int x = fRandom.nextRangeU(0, dsize.fWidth);
43 int y = fRandom.nextRangeU(0, dsize.fHeight);
50 rotate.setRotate(fRandom.nextUScalar1() * 360,
61 paint.setColor(fRandom.nextU());
69 SkRandom fRandom; member in class:ManyRectsView

Completed in 319 milliseconds