HomeSort by relevance Sort by last modified time
    Searched refs:fRand (Results 1 - 14 of 14) sorted by null

  /external/skia/bench/
TopoSortBench.cpp 36 int numEdges = fRand.nextU() % (kMaxEdges+1);
39 int dep = fRand.nextU() % i;
52 sk_tool_utils::TopoTestNode::Shuffle(&fGraph, &fRand);
70 SkRandom fRand;
  /external/skqp/bench/
TopoSortBench.cpp 37 int numEdges = fRand.nextU() % (kMaxEdges+1);
40 int dep = fRand.nextU() % i;
53 sk_tool_utils::TopoTestNode::Shuffle(&fGraph, &fRand);
71 SkRandom fRand;
  /external/skia/samplecode/
SampleFlutterAnimate.cpp 85 char c = fRand.nextULessThan(26) + 65;
88 fChars[i].fPosition = SkPoint::Make(fRand.nextF()*748 + 10, fRand.nextF()*1004 + 10);
89 fChars[i].fStartRotation = fRand.nextF();
90 fChars[i].fEndRotation = fRand.nextF() * 20 - 10;
97 SkRandom fRand;
SamplePathFuzz.cpp 147 fPathDepthLimit = fRand.nextRangeU(1, 2);
148 fPathContourCount = fRand.nextRangeU(1, 4);
149 fPathSegmentLimit = fRand.nextRangeU(1, 8);
154 fPathDepthLimit = fRand.nextRangeU(1, 3);
155 fPathContourCount = fRand.nextRangeU(1, 6);
156 fPathSegmentLimit = fRand.nextRangeU(1, 16);
178 fRand.setSeed(seed);
188 return (SkPath::AddPathMode) fRand.nextRangeU(SkPath::kAppend_AddPathMode,
193 return (RandomAddPath) fRand.nextRangeU(0, kRandomAddPath_Last);
198 angle = fRand.nextF()
    [all...]
SampleChineseFling.cpp 84 fIndex += fRand.nextRangeU(5, 20);
117 glyphs[i] = fRand.nextRangeU(0x4F00, 0x9FA0);
125 SkRandom fRand;
245 glyphs[i] = fRand.nextRangeU(0x4F00, 0x9FA0);
253 SkRandom fRand;
SamplePathText.cpp 39 fGlyphs[i].init(fRand, p);
45 glyph.reset(fRand, this->width(), this->height());
105 SkRandom fRand{25};
152 SkScalar t = pow(fRand.nextF(), 3);
153 *d = ((1 - t) / 60 + t / 10) * (fRand.nextBool() ? screensize : -screensize);
156 SkScalar t = pow(fRand.nextF(), 25);
157 v.fDSpin = ((1 - t) * 360 / 7.5 + t * 360 / 1.5) * (fRand.nextBool() ? 1 : -1);
258 fWaves.reset(fRand, this->width(), this->height());
SampleSVGPong.cpp 92 SkVector::Make(fRand.nextRangeScalar(kBallSpeedMin, kBallSpeedMax),
93 fRand.nextRangeScalar(kBallSpeedMin, kBallSpeedMax)));
267 const SkScalar fuzzed = fabs(spd) + fRand.nextRangeScalar(-kBallSpeedFuzz, kBallSpeedFuzz);
289 SkRandom fRand;
  /external/skqp/samplecode/
SampleFlutterAnimate.cpp 85 char c = fRand.nextULessThan(26) + 65;
88 fChars[i].fPosition = SkPoint::Make(fRand.nextF()*748 + 10, fRand.nextF()*1004 + 10);
89 fChars[i].fStartRotation = fRand.nextF();
90 fChars[i].fEndRotation = fRand.nextF() * 20 - 10;
97 SkRandom fRand;
SamplePathFuzz.cpp 147 fPathDepthLimit = fRand.nextRangeU(1, 2);
148 fPathContourCount = fRand.nextRangeU(1, 4);
149 fPathSegmentLimit = fRand.nextRangeU(1, 8);
154 fPathDepthLimit = fRand.nextRangeU(1, 3);
155 fPathContourCount = fRand.nextRangeU(1, 6);
156 fPathSegmentLimit = fRand.nextRangeU(1, 16);
178 fRand.setSeed(seed);
188 return (SkPath::AddPathMode) fRand.nextRangeU(SkPath::kAppend_AddPathMode,
193 return (RandomAddPath) fRand.nextRangeU(0, kRandomAddPath_Last);
198 angle = fRand.nextF()
    [all...]
SampleChineseFling.cpp 84 fIndex += fRand.nextRangeU(5, 20);
117 glyphs[i] = fRand.nextRangeU(0x4F00, 0x9FA0);
125 SkRandom fRand;
240 glyphs[i] = fRand.nextRangeU(0x4F00, 0x9FA0);
248 SkRandom fRand;
SamplePathText.cpp 39 fGlyphs[i].init(fRand, p);
45 glyph.reset(fRand, this->width(), this->height());
105 SkRandom fRand{25};
152 SkScalar t = pow(fRand.nextF(), 3);
153 *d = ((1 - t) / 60 + t / 10) * (fRand.nextBool() ? screensize : -screensize);
156 SkScalar t = pow(fRand.nextF(), 25);
157 v.fDSpin = ((1 - t) * 360 / 7.5 + t * 360 / 1.5) * (fRand.nextBool() ? 1 : -1);
258 fWaves.reset(fRand, this->width(), this->height());
SampleSVGPong.cpp 92 SkVector::Make(fRand.nextRangeScalar(kBallSpeedMin, kBallSpeedMax),
93 fRand.nextRangeScalar(kBallSpeedMin, kBallSpeedMax)));
267 const SkScalar fuzzed = fabs(spd) + fRand.nextRangeScalar(-kBallSpeedFuzz, kBallSpeedFuzz);
289 SkRandom fRand;
  /external/skia/gm/
animatedimageblurs.cpp 37 fNodes[i].init(&fRand);
132 SkRandom fRand;
  /external/skqp/gm/
animatedimageblurs.cpp 37 fNodes[i].init(&fRand);
132 SkRandom fRand;

Completed in 561 milliseconds