HomeSort by relevance Sort by last modified time
    Searched refs:frand (Results 1 - 2 of 2) sorted by null

  /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));

Completed in 2188 milliseconds