Home | History | Annotate | Download | only in effects

Lines Matching refs:kRandMaximum

27 static const int kRandMaximum = SK_MaxS32; // 2**31 - 1
118 result += kRandMaximum;
127 // The seed value clamp to the range [1, kRandMaximum - 1].
130 fSeed = -(fSeed % (kRandMaximum - 1)) + 1;
132 if (fSeed > kRandMaximum - 1) {
133 fSeed = kRandMaximum - 1;