OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:fRandom
(Results
1 - 6
of
6
) sorted by null
/external/skia/samplecode/
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
;
/external/skia/bench/
AAClipBench.cpp
93
SkRandom
fRandom
;
140
paint.setColor(0xff000000 |
fRandom
.nextU());
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
;
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
;
[
all
...]
/external/skia/gm/
blurcircles2.cpp
98
blurRadius +=
fRandom
.nextSScalar1() * kDeltaBlurRadius;
106
radius +=
fRandom
.nextSScalar1() * kDeltaRadius;
159
SkRandom
fRandom
;
/external/skia/include/gpu/
GrProcessorUnitTest.h
53
:
fRandom
(random)
59
SkRandom*
fRandom
;
90
uint32_t idx = data->
fRandom
->nextRangeU(0, GetFactories()->count() - 1);
125
uint32_t idx = data->
fRandom
->nextRangeU(0, GetFactories()->count() - 1);
Completed in 124 milliseconds