Searched defs:rgb (Results 1 - 7 of 7) sorted by path

/frameworks/base/graphics/java/android/graphics/
H A DColor.java93 public static int rgb(int red, int green, int blue) { method in class:Color
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBlendComposite.java311 private static void HSLtoRGB(float h, float s, float l, int[] rgb) { argument
332 rgb[0] = R;
333 rgb[1] = G;
334 rgb[2] = B;
/frameworks/native/include/ui/
H A Dvec4.h51 Impersonator< tvec3<T> > rgb; member in union:android::tvec4::__anon1304
/frameworks/native/opengl/libagl/
H A Ddxt.cpp72 * r4r3r2r1 r0g5g4g3 g2g1g0b4 b3b2b1b0 rgb
73 * r4r3r2 r1r0g5g4 g3g2g1g0 b4b3b2b1 b0 0 0 0 rgb << 3
78 * r4r3r2r1 r0------ -------- -------- -------- -------- (rgb << 8) & 0xf80000
79 * r4r3r2 -------- -------- -------- -------- (rgb << 3) & 0x070000
80 * g5g4g3g2 g1g0---- -------- -------- (rgb << 5) & 0x00fc00
81 * g5g4 -------- -------- (rgb >> 1) & 0x000300
82 * b4b3b2b1 b0------ (rgb << 3) & 0x0000f8
83 * b4b3b2 (rgb >> 2) & 0x000007
85 * Operation count: 5 <<, 6 &, 5 | (n.b. rgb >> 3 is used twice)
87 inline static int rgb565To888(int rgb) argument
[all...]
H A Dmipmap.cpp73 uint32_t rgb = (grb & 0xFFFF) | (grb >> 16); local
74 dst[x + y*stride] = rgb;
/frameworks/native/opengl/tests/gl_perf/
H A Dfill_common.cpp230 static uint32_t rgb(uint32_t r, uint32_t g, uint32_t b) function
243 m[y*1024 + x] = rgb(x, (((x+y) & 0xff) == 0x7f) * 0xff, y);
255 m[y*16 + x] = rgb(x << 4, (((x+y) & 0xf) == 0x7) * 0xff, y << 4);
/frameworks/native/opengl/tests/hwc/
H A DhwcTestLib.cpp800 bool rgb; member in struct:attrib
873 if (fromAttrib->rgb && toAttrib->yuv) {
910 if (fromAttrib->yuv && toAttrib->rgb) {

Completed in 233 milliseconds