OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:gRand
(Results
1 - 6
of
6
) sorted by null
/external/skia/samplecode/
SampleAnimatedText.cpp
25
SkRandom
gRand
;
137
fRotation += (1.0f +
gRand
.nextRangeF(-0.1f, 0.1f));
138
fScale += (fScaleInc +
gRand
.nextRangeF(-0.025f, 0.025f));
SampleHairline.cpp
27
static SkRandom
gRand
;
31
pts[i].set(
gRand
.nextUScalar1() * 3 * w - SkIntToScalar(w),
32
gRand
.nextUScalar1() * 3 * h - SkIntToScalar(h));
200
gRand
.setSeed(fNow);
SampleFuzz.cpp
27
static SkRandom
gRand
;
36
return (int)floor(SkScalarToFloat(
gRand
.nextUScalar1()) * x);
151
paint.setAlpha(
gRand
.nextU() & 0xFF);
SampleXfer.cpp
45
static SkRandom
gRand
;
54
fColor = (
gRand
.nextU() & 0x7F7F7F7F) | SkColorSetARGB(0xFF, 0, 0, 0x80);
SampleFilterFuzz.cpp
55
static SkRandom
gRand
(kSeed);
62
return (int)floor(SkScalarToFloat(
gRand
.nextUScalar1()) * x);
/external/skia/tests/
PackBitsTest.cpp
12
static SkRandom
gRand
;
21
buffer[i] = (uint8_t)((
gRand
.nextU() >> 8) & 0x3);
Completed in 58 milliseconds