Searched defs:fRandom (Results 1 - 6 of 6) sorted by path
/external/skia/bench/ |
H A D | AAClipBench.cpp | 93 SkRandom fRandom; member in class:NestedAAClipBench 140 paint.setColor(0xff000000 | fRandom.nextU());
|
H A D | MatrixBench.cpp | 150 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 D | PathBench.cpp | 322 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 D | blurcircles2.cpp | 98 blurRadius += fRandom.nextSScalar1() * kDeltaBlurRadius; 106 radius += fRandom.nextSScalar1() * kDeltaRadius; 159 SkRandom fRandom; member in class:BlurCircles2GM
|
/external/skia/include/gpu/ |
H A D | GrProcessorUnitTest.h | 53 : 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 D | SampleManyRects.cpp | 40 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