Searched defs:rgb (Results 1 - 9 of 9) sorted by relevance
/frameworks/base/graphics/java/android/graphics/ |
H A D | Color.java | 96 public static int rgb(int red, int green, int blue) { method in class:Color
|
/frameworks/native/include/ui/ |
H A D | vec4.h | 51 Impersonator< tvec3<T> > rgb; member in union:android::tvec4::__anon1425
|
/frameworks/native/opengl/libagl/ |
H A D | mipmap.cpp | 73 uint32_t rgb = (grb & 0xFFFF) | (grb >> 16); local 74 dst[x + y*stride] = rgb;
|
H A D | dxt.cpp | 72 * 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...] |
/frameworks/native/opengl/tests/gl_perf/ |
H A D | fill_common.cpp | 230 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/support/v4/tests/java/android/support/v4/graphics/ |
H A D | ColorUtilsTest.java | 87 verifyColorToHSL(entry.rgb, entry.hsl); 94 verifyHSLToColor(entry.hsl, entry.rgb); 103 ColorUtils.colorToHSL(entry.rgb, hsl); 114 verifyColorToXYZ(entry.rgb, entry.xyz); 121 verifyColorToLAB(entry.rgb, entry.lab); 135 verifyXYZToColor(entry.xyz, entry.rgb); 142 verifyLABToColor(entry.lab, entry.rgb); 149 verifyMinAlpha("Black title", entry.rgb, entry.blackMinAlpha30, 150 ColorUtils.calculateMinimumAlpha(Color.BLACK, entry.rgb, 3.0f)); 151 verifyMinAlpha("Black body", entry.rgb, entr 259 final int rgb; field in class:ColorUtilsTest.TestEntry 269 TestEntry(int rgb) argument [all...] |
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/ |
H A D | ColorCutQuantizer.java | 429 final int rgb = approximateToRgb888(color565); 430 ColorUtils.colorToHSL(rgb, mTempHsl); 431 return shouldIgnoreColor(rgb, mTempHsl); 438 private boolean shouldIgnoreColor(int rgb, float[] hsl) { argument 441 if (!mFilters[i].isAllowed(rgb, hsl)) { 473 return Color.rgb(modifyWordWidth(r, QUANTIZE_WORD_WIDTH, 8),
|
H A D | Palette.java | 436 mRgb = Color.rgb(red, green, blue); 912 * @param rgb the color in RGB888. 919 boolean isAllowed(int rgb, float[] hsl); argument 930 public boolean isAllowed(int rgb, float[] hsl) {
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcTestLib.cpp | 797 bool rgb; member in struct:attrib 870 if (fromAttrib->rgb && toAttrib->yuv) { 907 if (fromAttrib->yuv && toAttrib->rgb) {
|
Completed in 225 milliseconds