Home | History | Annotate | Download | only in widget

Lines Matching defs:random

38 import java.util.Random;
84 // Append random span to text.
85 final Random random = new Random(0);
88 FAMILIES[random.nextInt(FAMILIES.length)],
89 STYLES[random.nextInt(STYLES.length)],
90 24 + random.nextInt(32), // text size. minimum 24
91 COLORS[random.nextInt(COLORS.length)],
92 COLORS[random.nextInt(COLORS.length)]);
93 int spanLength = 1 + random.nextInt(9); // Up to 9 span length.