Searched refs:alfa (Results 1 – 2 of 2) sorted by relevance
/system/teeui/libteeui/example/ |
D | example_utils.cpp | 27 uint32_t alfaCombineChannel(uint32_t shift, double alfa, uint32_t a, uint32_t b) { in alfaCombineChannel() argument 32 double acc = alfa * a + (1 - alfa) * b; in alfaCombineChannel() 44 double alfa = (color & 0xff000000) >> 24; in drawPixel() local 45 alfa /= 255.0; in drawPixel() 47 buffer_[pos] = alfaCombineChannel(0, alfa, color, acc) | in drawPixel() 48 alfaCombineChannel(8, alfa, color, acc) | in drawPixel() 49 alfaCombineChannel(16, alfa, color, acc); in drawPixel()
|
D | example_utils.h | 37 uint32_t alfaCombineChannel(uint32_t shift, double alfa, uint32_t a, uint32_t b);
|