Searched defs:r1 (Results 1 - 3 of 3) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/graphics/
H A DRoundRects.java55 float r1, float r2, float r3) {
56 drawable.setCornerRadii(new float[] { r0, r0, r1, r1,
54 setCornerRadii(GradientDrawable drawable, float r0, float r1, float r2, float r3) argument
/development/ndk/platforms/android-4/samples/san-angeles/jni/
H A Ddemo.c177 static void superShapeMap(VECTOR3 *point, float r1, float r2, float t, float p) argument
180 point->x = (float)(cos(t) * cos(p) / r1 / r2);
181 point->y = (float)(sin(t) * cos(p) / r1 / r2);
234 float r0, r1, r2, r3; local
237 r1 = ssFunc(p1, &params[6]);
241 if (r0 != 0 && r1 != 0 && r2 != 0 && r3 != 0)
249 superShapeMap(&pa, r0, r1, t1, p1);
250 superShapeMap(&pb, r2, r1, t2, p1);
333 } // r0 && r1 && r2 && r3
/development/samples/ApiDemos/src/com/example/android/apis/view/
H A DGameView.java494 int a1, int r1, int g1, int b1,
496 paint.setARGB(blend(alpha, a1, a2), blend(alpha, r1, r2),
493 setPaintARGBBlend(Paint paint, float alpha, int a1, int r1, int g1, int b1, int a2, int r2, int g2, int b2) argument

Completed in 98 milliseconds