Searched refs:gRand (Results 1 – 6 of 6) sorted by relevance
25 SkRandom gRand; variable137 fRotation += (1.0f + gRand.nextRangeF(-0.1f, 0.1f)); in onAnimate()138 fScale += (fScaleInc + gRand.nextRangeF(-0.025f, 0.025f)); in onAnimate()
27 static SkRandom gRand; variable31 pts[i].set(gRand.nextUScalar1() * 3 * w - SkIntToScalar(w), in generate_pts()32 gRand.nextUScalar1() * 3 * h - SkIntToScalar(h)); in generate_pts()200 gRand.setSeed(fNow); in onDrawContent()
27 static SkRandom gRand; variable36 return (int)floor(SkScalarToFloat(gRand.nextUScalar1()) * x); in R()151 paint.setAlpha(gRand.nextU() & 0xFF); in do_fuzz()
45 static SkRandom gRand; variable54 fColor = (gRand.nextU() & 0x7F7F7F7F) | SkColorSetARGB(0xFF, 0, 0, 0x80); in PushButtonWig()
55 static SkRandom gRand(kSeed);62 return (int)floor(SkScalarToFloat(gRand.nextUScalar1()) * x); in R()
12 static SkRandom gRand; variable21 buffer[i] = (uint8_t)((gRand.nextU() >> 8) & 0x3); in rand_fill()