OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:frand
(Results
1 - 8
of
8
) sorted by null
/external/skia/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/
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
...]
SampleDraw.cpp
261
SkRandom
fRand
;
281
return (SkColor)
fRand
.nextU() | 0xFF000000;
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
MLand.java
396
mFlipped =
frand
() > 0.5f;
413
boolean showingSun = (mTimeOfDay == DAY || mTimeOfDay == SUNSET) &&
frand
() > 0.25;
418
sun.setTranslationX(
frand
(w, mWidth-w));
method
420
sun.setTranslationY(
frand
(w, (mHeight * 0.66f)));
method
423
sun.setTranslationY(
frand
(mHeight * 0.66f, mHeight - w));
432
final float ff =
frand
();
437
moon.setScaleX(
frand
() > 0.5 ? -1 : 1);
438
moon.setRotation(moon.getScaleX() *
frand
(5, 30));
440
moon.setTranslationX(
frand
(w, mWidth - w));
method
441
moon.setTranslationY(
frand
(w, mHeight - w))
method
[
all
...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DessertCaseView.java
302
final float which =
frand
();
355
final float rnd =
frand
();
472
static float
frand
() {
476
static float
frand
(float a, float b) {
477
return (
frand
() * (b-a) + a);
481
return (int)(
frand
(a, b));
/ndk/sources/host-tools/nawk-20071023/
awk.h
121
#define
FRAND
7
lex.c
77
{ "rand",
FRAND
, BLTIN },
run.c
[
all
...]
Completed in 336 milliseconds