Searched refs:r2 (Results 1 – 4 of 4) sorted by relevance
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | RoundRects.java | 55 float r1, float r2, float r3) { in setCornerRadii() argument 57 r2, r2, r3, r3 }); in setCornerRadii()
|
/development/ndk/platforms/android-4/samples/san-angeles/jni/ |
D | demo.c | 177 static void superShapeMap(VECTOR3 *point, float r1, float r2, float t, float p) in superShapeMap() argument 180 point->x = (float)(cos(t) * cos(p) / r1 / r2); in superShapeMap() 181 point->y = (float)(sin(t) * cos(p) / r1 / r2); in superShapeMap() 182 point->z = (float)(sin(p) / r2); in superShapeMap() 234 float r0, r1, r2, r3; in createSuperShape() local 238 r2 = ssFunc(t2, params); in createSuperShape() 241 if (r0 != 0 && r1 != 0 && r2 != 0 && r3 != 0) in createSuperShape() 250 superShapeMap(&pb, r2, r1, t2, p1); in createSuperShape() 251 superShapeMap(&pc, r2, r3, t2, p2); in createSuperShape()
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | GameView.java | 495 int a2, int r2, int g2, int b2) { 496 paint.setARGB(blend(alpha, a1, a2), blend(alpha, r1, r2),
|
/development/samples/ControllerSample/src/com/example/controllersample/ |
D | GameView.java | 460 int a2, int r2, int g2, int b2) { in setPaintARGBBlend() argument 461 paint.setARGB(blend(alpha, a1, a2), blend(alpha, r1, r2), in setPaintARGBBlend()
|