Home
last modified time | relevance | path

Searched refs:fRand (Results 1 – 3 of 3) sorted by relevance

/external/skia/samplecode/
DSamplePathFuzz.cpp147 fPathDepthLimit = fRand.nextRangeU(1, 2); in randomize()
148 fPathContourCount = fRand.nextRangeU(1, 4); in randomize()
149 fPathSegmentLimit = fRand.nextRangeU(1, 8); in randomize()
154 fPathDepthLimit = fRand.nextRangeU(1, 3); in randomize()
155 fPathContourCount = fRand.nextRangeU(1, 6); in randomize()
156 fPathSegmentLimit = fRand.nextRangeU(1, 16); in randomize()
178 fRand.setSeed(seed); in setSeed()
188 return (SkPath::AddPathMode) fRand.nextRangeU(SkPath::kAppend_AddPathMode, in makeAddPathMode()
193 return (RandomAddPath) fRand.nextRangeU(0, kRandomAddPath_Last); in makeAddPathType()
198 angle = fRand.nextF(); in makeAngle()
[all …]
DSampleDraw.cpp261 SkRandom fRand; member in DrawView
281 return (SkColor)fRand.nextU() | 0xFF000000; in randColor()
/external/skia/bench/
DTopoSortBench.cpp37 int numEdges = fRand.nextU() % (kMaxEdges+1); in onDelayedSetup()
40 int dep = fRand.nextU() % i; in onDelayedSetup()
53 sk_tool_utils::TopoTestNode::Shuffle(&fGraph, &fRand); in onDraw()
71 SkRandom fRand; member in TopoSortBench