Searched refs:fRand (Results 1 - 7 of 7) sorted by relevance
/third_party/skia/samplecode/ |
H A D | SampleFlutterAnimate.cpp | 68 char c = fRand.nextULessThan(26) + 65; in initChars() 71 fChars[i].fPosition = SkPoint::Make(fRand.nextF()*748 + 10, fRand.nextF()*1004 + 10); in initChars() 72 fChars[i].fStartRotation = fRand.nextF(); in initChars() 73 fChars[i].fEndRotation = fRand.nextF() * 20 - 10; in initChars() 80 SkRandom fRand; member in FlutterAnimateView
|
H A D | SampleChineseFling.cpp | 47 SkRandom fRand; member in ChineseFlingView 70 fIndex += fRand.nextRangeU(5, 20); 100 glyphs[i] = fRand.nextRangeU(0x4F00, 0x9FA0); in createRandomWord() 113 SkRandom fRand; member in ChineseZoomView 218 glyphs[i] = fRand.nextRangeU(0x4F00, 0x9FA0); in createRandomLine()
|
H A D | SamplePathText.cpp | 31 glyph.reset(fRand, this->width(), this->height()); in reset() 33 fGlyphAnimator->reset(&fRand, this->width(), this->height()); in reset() 50 fGlyphs[i].init(fRand, p); 118 SkRandom fRand{25}; 435 fGlyphAnimator->reset(&fRand, this->width(), this->height()); in onChar() 439 fGlyphAnimator->reset(&fRand, this->width(), this->height()); in onChar() 443 fGlyphAnimator->reset(&fRand, this->width(), this->height()); in onChar()
|
/third_party/skia/bench/ |
H A D | TopoSortBench.cpp | 36 int numEdges = fRand.nextU() % (kMaxEdges+1); 39 int dep = fRand.nextU() % i; 52 ToolUtils::TopoTestNode::Shuffle(&fGraph, &fRand); 70 SkRandom fRand; member in TopoSortBench
|
/third_party/skia/gm/ |
H A D | mandoline.cpp | 127 float T = (0 == fRand.nextU() % 10) ? 0 : scalbnf(1, -(int)fRand.nextRangeU(10, 149)); in chooseChopT() 132 SkRandom fRand; member in skiagm::MandolineSlicer
|
H A D | animatedimageblurs.cpp | 46 fNodes[i].init(&fRand); 139 SkRandom fRand; member in AnimatedImageBlurs
|
/third_party/skia/modules/sksg/samples/ |
H A D | SampleSVGPong.cpp | 95 SkVector::Make(fRand.nextRangeScalar(kBallSpeedMin, kBallSpeedMax), 96 fRand.nextRangeScalar(kBallSpeedMin, kBallSpeedMax))); 276 const SkScalar fuzzed = fabs(spd) + fRand.nextRangeScalar(-kBallSpeedFuzz, kBallSpeedFuzz); in fuzzBallSpeed() 298 SkRandom fRand; member in final
|
Completed in 4 milliseconds