Searched refs:fRandom (Results 1 – 8 of 8) sorted by relevance
/external/skia/samplecode/ |
D | SampleManyRects.cpp | 42 SkRect rect = SkRect::MakeWH(SkIntToScalar(fRandom.nextRangeU(10, 100)), in onDrawContent() 43 SkIntToScalar(fRandom.nextRangeU(10, 100))); in onDrawContent() 44 int x = fRandom.nextRangeU(0, dsize.fWidth); in onDrawContent() 45 int y = fRandom.nextRangeU(0, dsize.fHeight); in onDrawContent() 53 rotate.setRotate(fRandom.nextUScalar1() * 360, in onDrawContent() 64 paint.setColor(fRandom.nextU()); in onDrawContent() 72 SkRandom fRandom; member in ManyRectsView
|
/external/skia/bench/ |
D | MatrixBench.cpp | 151 SkScalar rot0 = (fRandom.nextBool()) ? fRandom.nextRangeF(-180, 180) : 0.0f; in onPreDraw() 152 SkScalar sx = fRandom.nextRangeF(-3000.f, 3000.f); in onPreDraw() 153 SkScalar sy = (fRandom.nextBool()) ? fRandom.nextRangeF(-3000.f, 3000.f) : sx; in onPreDraw() 154 SkScalar rot1 = fRandom.nextRangeF(-180, 180); in onPreDraw() 168 SkRandom fRandom; member in DecomposeMatrixBench
|
D | AAClipBench.cpp | 92 SkRandom fRandom; member in NestedAAClipBench 140 paint.setColor(0xff000000 | fRandom.nextU()); in recurse()
|
D | PathBench.cpp | 234 fVerbCnts[i] = fRandom.nextRangeU(minVerbs, maxVerbs + 1); in createData() 239 fVerbs[i] = static_cast<SkPath::Verb>(fRandom.nextULessThan(SkPath::kDone_Verb)); in createData() 244 fPoints[i].set(fRandom.nextRangeScalar(bounds->fLeft, bounds->fRight), in createData() 245 fRandom.nextRangeScalar(bounds->fTop, bounds->fBottom)); in createData() 313 SkRandom fRandom; member in RandomPathBench
|
/external/skia/src/animator/ |
D | SkDisplayRandom.cpp | 48 SkScalar random = fRandom.nextUScalar1(); in getProperty() 63 fRandom.setSeed(value.fOperand.fS32); in setProperty()
|
D | SkDisplayMath.h | 25 mutable SkRandom fRandom;
|
D | SkDisplayRandom.h | 37 mutable SkRandom fRandom; variable
|
D | SkDisplayMath.cpp | 193 scalarResult = fRandom.nextUScalar1(); in executeFunction()
|