Searched refs:blend (Results 1 – 3 of 3) sorted by relevance
/development/samples/browseable/DrawableTinting/ |
D | _index.jd | 14 with a reference to a color and a PorterDuff blend mode. The color and blend mode can be
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | GameView.java | 489 static int blend(float alpha, int from, int to) { 496 paint.setARGB(blend(alpha, a1, a2), blend(alpha, r1, r2), 497 blend(alpha, g1, g2), blend(alpha, b1, b2));
|
/development/samples/ControllerSample/src/com/example/controllersample/ |
D | GameView.java | 454 private static int blend(float alpha, int from, int to) { in blend() method in GameView 461 paint.setARGB(blend(alpha, a1, a2), blend(alpha, r1, r2), in setPaintARGBBlend() 462 blend(alpha, g1, g2), blend(alpha, b1, b2)); in setPaintARGBBlend()
|