/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/ |
Color.java | 40 private final float[] rgba = new float[4];
field in class:Color 49 this.rgba[0] = (r & 255) / 256f;
50 this.rgba[1] = (g & 255) / 256f;
51 this.rgba[2] = (b & 255) / 256f;
52 this.rgba[3] = (a & 255) / 256f;
60 this.rgba[0] = ShaderUtils.clamp(r, 0, 1);
61 this.rgba[1] = ShaderUtils.clamp(g, 0, 1);
62 this.rgba[2] = ShaderUtils.clamp(b, 0, 1);
63 this.rgba[3] = ShaderUtils.clamp(a, 0, 1);
71 this.rgba[3] = a; [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
pack_tmp.h | 28 SRC_TYPE rgba[][4], 36 dst[i] = SRC_CONVERT(rgba[i][RCOMP]); 42 dst[i] = SRC_CONVERT(rgba[i][GCOMP]); 48 dst[i] = SRC_CONVERT(rgba[i][BCOMP]); 54 dst[i] = SRC_CONVERT(rgba[i][ACOMP]); 60 dst[i*2+0] = SRC_CONVERT(rgba[i][RCOMP]); 61 dst[i*2+1] = SRC_CONVERT(rgba[i][GCOMP]); 67 dst[i*3+0] = SRC_CONVERT(rgba[i][RCOMP]); 68 dst[i*3+1] = SRC_CONVERT(rgba[i][GCOMP]); 69 dst[i*3+2] = SRC_CONVERT(rgba[i][BCOMP]) [all...] |
pack.c | 531 _mesa_pack_rgba_span_from_uints(struct gl_context *ctx, GLuint n, GLuint rgba[][4], 539 pack_uint_from_uint_rgba(ctx, dstAddr, dstFormat, rgba, n); 542 pack_int_from_uint_rgba(ctx, dstAddr, dstFormat, rgba, n); 545 pack_ushort_from_uint_rgba(ctx, dstAddr, dstFormat, rgba, n); 548 pack_short_from_uint_rgba(ctx, dstAddr, dstFormat, rgba, n); 551 pack_ubyte_from_uint_rgba(ctx, dstAddr, dstFormat, rgba, n); 554 pack_byte_from_uint_rgba(ctx, dstAddr, dstFormat, rgba, n); 560 dst[i] = (CLAMP(rgba[i][RCOMP], 0, 7) << 5) 561 | (CLAMP(rgba[i][GCOMP], 0, 7) << 2) 562 | (CLAMP(rgba[i][BCOMP], 0, 3) ) [all...] |
texcompress_s3tc.c | 231 /* convert image to RGBA/GLubyte */ 284 /* convert image to RGBA/GLubyte */ 336 /* convert image to RGBA/GLubyte */ 390 GLubyte rgba[4]; local 391 fetch_texel_2d_rgb_dxt1(texImage, i, j, k, rgba); 392 texel[RCOMP] = UBYTE_TO_FLOAT(rgba[RCOMP]); 393 texel[GCOMP] = UBYTE_TO_FLOAT(rgba[GCOMP]); 394 texel[BCOMP] = UBYTE_TO_FLOAT(rgba[BCOMP]); 395 texel[ACOMP] = UBYTE_TO_FLOAT(rgba[ACOMP]); 419 GLubyte rgba[4] local 448 GLubyte rgba[4]; local 477 GLubyte rgba[4]; local 491 GLubyte rgba[4]; local 504 GLubyte rgba[4]; local 517 GLubyte rgba[4]; local 530 GLubyte rgba[4]; local [all...] |
pixeltransfer.c | 40 * Apply scale and bias factors to an array of RGBA pixels. 43 _mesa_scale_and_bias_rgba(GLuint n, GLfloat rgba[][4], 52 rgba[i][RCOMP] = rgba[i][RCOMP] * rScale + rBias; 58 rgba[i][GCOMP] = rgba[i][GCOMP] * gScale + gBias; 64 rgba[i][BCOMP] = rgba[i][BCOMP] * bScale + bBias; 70 rgba[i][ACOMP] = rgba[i][ACOMP] * aScale + aBias [all...] |
/external/mesa3d/src/mesa/main/ |
pack_tmp.h | 28 SRC_TYPE rgba[][4], 36 dst[i] = SRC_CONVERT(rgba[i][RCOMP]); 42 dst[i] = SRC_CONVERT(rgba[i][GCOMP]); 48 dst[i] = SRC_CONVERT(rgba[i][BCOMP]); 54 dst[i] = SRC_CONVERT(rgba[i][ACOMP]); 60 dst[i*2+0] = SRC_CONVERT(rgba[i][RCOMP]); 61 dst[i*2+1] = SRC_CONVERT(rgba[i][GCOMP]); 67 dst[i*3+0] = SRC_CONVERT(rgba[i][RCOMP]); 68 dst[i*3+1] = SRC_CONVERT(rgba[i][GCOMP]); 69 dst[i*3+2] = SRC_CONVERT(rgba[i][BCOMP]) [all...] |
pack.c | 531 _mesa_pack_rgba_span_from_uints(struct gl_context *ctx, GLuint n, GLuint rgba[][4], 539 pack_uint_from_uint_rgba(ctx, dstAddr, dstFormat, rgba, n); 542 pack_int_from_uint_rgba(ctx, dstAddr, dstFormat, rgba, n); 545 pack_ushort_from_uint_rgba(ctx, dstAddr, dstFormat, rgba, n); 548 pack_short_from_uint_rgba(ctx, dstAddr, dstFormat, rgba, n); 551 pack_ubyte_from_uint_rgba(ctx, dstAddr, dstFormat, rgba, n); 554 pack_byte_from_uint_rgba(ctx, dstAddr, dstFormat, rgba, n); 560 dst[i] = (CLAMP(rgba[i][RCOMP], 0, 7) << 5) 561 | (CLAMP(rgba[i][GCOMP], 0, 7) << 2) 562 | (CLAMP(rgba[i][BCOMP], 0, 3) ) [all...] |
texcompress_s3tc.c | 231 /* convert image to RGBA/GLubyte */ 284 /* convert image to RGBA/GLubyte */ 336 /* convert image to RGBA/GLubyte */ 390 GLubyte rgba[4]; local 391 fetch_texel_2d_rgb_dxt1(texImage, i, j, k, rgba); 392 texel[RCOMP] = UBYTE_TO_FLOAT(rgba[RCOMP]); 393 texel[GCOMP] = UBYTE_TO_FLOAT(rgba[GCOMP]); 394 texel[BCOMP] = UBYTE_TO_FLOAT(rgba[BCOMP]); 395 texel[ACOMP] = UBYTE_TO_FLOAT(rgba[ACOMP]); 419 GLubyte rgba[4] local 448 GLubyte rgba[4]; local 477 GLubyte rgba[4]; local 491 GLubyte rgba[4]; local 504 GLubyte rgba[4]; local 517 GLubyte rgba[4]; local 530 GLubyte rgba[4]; local [all...] |
pixeltransfer.c | 40 * Apply scale and bias factors to an array of RGBA pixels. 43 _mesa_scale_and_bias_rgba(GLuint n, GLfloat rgba[][4], 52 rgba[i][RCOMP] = rgba[i][RCOMP] * rScale + rBias; 58 rgba[i][GCOMP] = rgba[i][GCOMP] * gScale + gBias; 64 rgba[i][BCOMP] = rgba[i][BCOMP] * bScale + bBias; 70 rgba[i][ACOMP] = rgba[i][ACOMP] * aScale + aBias [all...] |
/external/chromium-trace/trace-viewer/src/tracing/tracks/ |
track.css | 7 background-color: rgba(255, 255, 255, 0.5); 8 border: 1px solid rgba(0, 0, 0, 0.1); 9 color: rgba(0,0,0,0.2); 17 background-color: rgba(255, 255, 255, 1.0); 18 border: 1px solid rgba(0, 0, 0, 0.5); 19 box-shadow: 0 0 .05em rgba(0, 0, 0, 0.4); 20 color: rgba(0, 0, 0, 1);
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
vg_translate.c | 33 VGuint n, VGfloat rgba[][4], 44 r = float_to_ubyte(rgba[i][0]); 45 g = float_to_ubyte(rgba[i][1]); 46 b = float_to_ubyte(rgba[i][2]); 57 r = float_to_ubyte(rgba[i][0]); 58 g = float_to_ubyte(rgba[i][1]); 59 b = float_to_ubyte(rgba[i][2]); 60 a = float_to_ubyte(rgba[i][3]); 70 r = float_to_ubyte(rgba[i][0]); 71 g = float_to_ubyte(rgba[i][1]) [all...] |
vg_translate.h | 38 VGuint n, VGfloat rgba[][4], 46 VGfloat rgba[][4]);
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
vg_translate.c | 33 VGuint n, VGfloat rgba[][4], 44 r = float_to_ubyte(rgba[i][0]); 45 g = float_to_ubyte(rgba[i][1]); 46 b = float_to_ubyte(rgba[i][2]); 57 r = float_to_ubyte(rgba[i][0]); 58 g = float_to_ubyte(rgba[i][1]); 59 b = float_to_ubyte(rgba[i][2]); 60 a = float_to_ubyte(rgba[i][3]); 70 r = float_to_ubyte(rgba[i][0]); 71 g = float_to_ubyte(rgba[i][1]) [all...] |
vg_translate.h | 38 VGuint n, VGfloat rgba[][4], 46 VGfloat rgba[][4]);
|
/external/chromium_org/third_party/mesa/src/src/mesa/x86/ |
mmx.h | 36 GLvoid *rgba, const GLvoid *dest, 41 GLvoid *rgba, const GLvoid *dest, 46 GLvoid *rgba, const GLvoid *dest, 51 GLvoid *rgba, const GLvoid *dest, 56 GLvoid *rgba, const GLvoid *dest,
|
/external/mesa3d/src/mesa/x86/ |
mmx.h | 36 GLvoid *rgba, const GLvoid *dest, 41 GLvoid *rgba, const GLvoid *dest, 46 GLvoid *rgba, const GLvoid *dest, 51 GLvoid *rgba, const GLvoid *dest, 56 GLvoid *rgba, const GLvoid *dest,
|
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_blend.c | 124 GLubyte (*rgba)[4] = (GLubyte (*)[4]) src; 140 const GLint t = rgba[i][ACOMP]; /* t is in [0, 255] */ 143 COPY_4UBV(rgba[i], dest[i]); 147 const GLint r = DIV255((rgba[i][RCOMP] - dest[i][RCOMP]) * t) + dest[i][RCOMP]; 148 const GLint g = DIV255((rgba[i][GCOMP] - dest[i][GCOMP]) * t) + dest[i][GCOMP]; 149 const GLint b = DIV255((rgba[i][BCOMP] - dest[i][BCOMP]) * t) + dest[i][BCOMP]; 150 const GLint a = DIV255((rgba[i][ACOMP] - dest[i][ACOMP]) * t) + dest[i][ACOMP]; 155 rgba[i][RCOMP] = (GLubyte) r; 156 rgba[i][GCOMP] = (GLubyte) g; 157 rgba[i][BCOMP] = (GLubyte) b [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_blend.c | 124 GLubyte (*rgba)[4] = (GLubyte (*)[4]) src; 140 const GLint t = rgba[i][ACOMP]; /* t is in [0, 255] */ 143 COPY_4UBV(rgba[i], dest[i]); 147 const GLint r = DIV255((rgba[i][RCOMP] - dest[i][RCOMP]) * t) + dest[i][RCOMP]; 148 const GLint g = DIV255((rgba[i][GCOMP] - dest[i][GCOMP]) * t) + dest[i][GCOMP]; 149 const GLint b = DIV255((rgba[i][BCOMP] - dest[i][BCOMP]) * t) + dest[i][BCOMP]; 150 const GLint a = DIV255((rgba[i][ACOMP] - dest[i][ACOMP]) * t) + dest[i][ACOMP]; 155 rgba[i][RCOMP] = (GLubyte) r; 156 rgba[i][GCOMP] = (GLubyte) g; 157 rgba[i][BCOMP] = (GLubyte) b [all...] |
/external/chromium_org/third_party/WebKit/Source/web/resources/ |
pickerButton.css | 30 border: 1px solid rgba(0, 0, 0, 0.25); 32 box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08), 33 inset 0 1px 2px rgba(255, 255, 255, 0.75); 46 border-color: rgba(0, 0, 0, 0.3); 47 box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12), inset 0 1px 2px rgba(255, 255, 255, 0.95); 59 border-color: rgba(80, 80, 80, 0.2); 60 box-shadow: 0 1px 0 rgba(80, 80, 80, 0.08), inset 0 1px 2px rgba(255, 255, 255, 0.75);
|
/external/chromium_org/chrome/browser/resources/extensions/ |
extension_error_overlay.css | 6 background-color: rgba(255, 195, 200, 255);
|
/external/chromium_org/chrome/browser/resources/ntp_android/ |
mostvisited.css | 29 background: rgba(51, 181, 229, 0.4); 44 -webkit-box-shadow: inset 0 1px 10px rgba(0, 0, 0, 0.2); 50 from(rgba(0, 0, 0, 0.05)), 51 to(rgba(0, 0, 0, 0.05))), 56 from(rgba(255, 255, 255, 0)), 57 to(rgba(255, 255, 255, 1.0))), 62 from(rgba(255, 255, 255, 0)), 63 to(rgba(255, 255, 255, 1.0))); 80 from(rgba(0, 0, 0, 0)), 81 to(rgba(0, 0, 0, 0.05))) [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/ |
wrench_menu.css | 13 border: solid 1px rgba(0, 0, 0, 0.3); 26 border: solid 1px rgba(0, 0, 0, 0.3); 32 border: solid 1px rgba(0, 0, 0, 0.3); 38 border-bottom: solid 1px rgba(0, 0, 0, 0.3); 39 border-top: solid 1px rgba(0, 0, 0, 0.3);
|
/external/chromium_org/chrome/browser/resources/ntp4/ |
new_tab_theme.css | 38 color: rgba($23, 0.5); /* COLOR_NTP_TEXT */ 44 background-color: rgba($23, 0.06); /* COLOR_NTP_TEXT */ 52 -webkit-linear-gradient(top, rgba($23, 0) 0, 53 rgba($23, .01) 60px, 54 rgba($23, .06) 183px); /* COLOR_NTP_TEXT */ 65 rgba($22, 0.2), /* COLOR_NTP_SECTION_BORDER */ 66 rgba($22, 0.3) 20%, /* COLOR_NTP_SECTION_BORDER */ 67 rgba($22, 0.3) 80%, /* COLOR_NTP_SECTION_BORDER */ 68 rgba($22, 0.2)); /* COLOR_NTP_SECTION_BORDER */ 86 color: rgba($23, 0.85); /* COLOR_NTP_TEXT * [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
Color.js | 31 * @param {!Array.<number>} rgba 36 WebInspector.Color = function(rgba, format, originalText) 38 this._rgba = rgba; 78 var rgba = [ WebInspector.Color._parseRgbNumeric(rgbString[0]), 81 return new WebInspector.Color(rgba, WebInspector.Color.Format.RGB, text); 87 var rgba = WebInspector.Color.Nicknames[nickname]; 88 var color = WebInspector.Color.fromRGBA(rgba); 101 var rgba = WebInspector.Color._hsl2rgb(hsla); 102 return new WebInspector.Color(rgba, WebInspector.Color.Format.HSL, text); 108 // Advanced - rgba(), hsla( [all...] |
/external/chromium_org/ui/webui/resources/css/ |
menu.css | 6 -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, .50); 13 outline: 1px solid rgba(0, 0, 0, 0.2); 47 rgba(0, 0, 0, .10), 48 rgba(0, 0, 0, .02) 96%); 55 color: rgba(0, 0, 0, .3); 63 background-color: rgba(0, 0, 0, .06); 67 background-color: rgba(0, 0, 0, .06);
|