Searched refs:blend (Results 1 - 2 of 2) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/view/
H A DGameView.java489 static int blend(float alpha, int from, int to) { method in class:GameView
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/
H A DGameView.java454 private static int blend(float alpha, int from, int to) { method in class:GameView
461 paint.setARGB(blend(alpha, a1, a2), blend(alpha, r1, r2),
462 blend(alpha, g1, g2), blend(alpha, b1, b2));

Completed in 17 milliseconds