Home
last modified time | relevance | path

Searched refs:alfa (Results 1 – 2 of 2) sorted by relevance

/system/teeui/libteeui/example/
Dexample_utils.cpp27 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()
Dexample_utils.h37 uint32_t alfaCombineChannel(uint32_t shift, double alfa, uint32_t a, uint32_t b);