/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
BeanBag.java | 70 static float randfrange(float a, float b) { method in class:BeanBag.Board 171 if (randfrange(0,1) <= LUCKY) { 204 a=(randfrange(0,360)); 205 va = randfrange(-30,30); 207 vx = randfrange(-40,40) * z; 208 vy = randfrange(-40,40) * z; 214 y=(randfrange(0, boardh-3*r)*0.5f + ((vy < 0)?boardh*0.5f:0)); 217 x=(randfrange(0, boardw-3*r)*0.5f + ((vx < 0)?boardw*0.5f:0)); 259 va = randfrange(a*0.5f, a); 292 nv.x = (randfrange(0, boardWidth)) [all...] |
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
PhotoTable.java | 302 static float randfrange(float a, float b) { method in class:PhotoTable 802 float angle = randfrange(-mImageRotationLimit, mImageRotationLimit); [all...] |