Searched refs:moon (Results 1 – 1 of 1) sorted by relevance
434 final Star moon = new Star(getContext()); in reset() local435 moon.setBackgroundResource(R.drawable.moon); in reset()436 moon.getBackground().setAlpha(dark ? 255 : 128); in reset()437 moon.setScaleX(frand() > 0.5 ? -1 : 1); in reset()438 moon.setRotation(moon.getScaleX() * frand(5, 30)); in reset()440 moon.setTranslationX(frand(w, mWidth - w)); in reset()441 moon.setTranslationY(frand(w, mHeight - w)); in reset()442 addView(moon, new LayoutParams(w, w)); in reset()