/external/chromium_org/third_party/flot/ |
jquery.colorhelpers.min.js | 21 */(function(e){e.color={},e.color.make=function(t,n,r,i){var s={};return s.r=t||0,s.g=n||0,s.b=r||0,s.a=i!=null?i:1,s.add=function(e,t){for(var n=0;n<e.length;++n)s[e.charAt(n)]+=t;return s.normalize()},s.scale=function(e,t){for(var n=0;n<e.length;++n)s[e.charAt(n)]*=t;return s.normalize()},s.toString=function(){return s.a>=1?"rgb("+[s.r,s.g,s.b].join(",")+")":"rgba("+[s.r,s.g,s.b,s.a].join(",")+")"},s.normalize=function(){function e(e,t,n){return t<e?e:t>n?n:t}return s.r=e(0,parseInt(s.r),255),s.g=e(0,parseInt(s.g),255),s.b=e(0,parseInt(s.b),255),s.a=e(0,s.a,1),s},s.clone=function(){return e.color.make(s.r,s.b,s.g,s.a)},s.normalize()},e.color.extract=function(t,n){var r;do{r=t.css(n).toLowerCase();if(r!=""&&r!="transparent")break;t=t.parent()}while(!e.nodeName(t.get(0),"body"));return r=="rgba(0, 0, 0, 0)"&&(r="transparent"),e.color.parse(r)},e.color.parse=function(n){var r,i=e.color.make;if(r=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(n))return i(parseInt(r[1],10),parseInt(r[2],10),parseInt(r[3],10));if(r=/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(n))return i(parseInt(r[1],10),parseInt(r[2],10),parseInt(r[3],10),parseFloat(r[4]));if(r=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(n))return i(parseFloat(r[1])*2.55,parseFloat(r[2])*2.55,parseFloat(r[3])*2.55);if(r=/rgba\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(n))return i(parseFloat(r[1])*2.55,parseFloat(r[2])*2.55,parseFloat(r[3])*2.55,parseFloat(r[4]));if(r=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(n))return i(parseInt(r[1],16),parseInt(r[2],16),parseInt(r[3],16));if(r=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(n))return i(parseInt(r[1]+r[1],16),parseInt(r[2]+r[2],16),parseInt(r[3]+r[3],16));var s=e.trim(n).toLowerCase();return s=="transparent"?i(255,255,255,0):(r=t[s]||[0,0,0],i(r[0],r[1],r[2]))};var t={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0]}})(jQuery)
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
radeon_swtcl.c | 559 UNCLAMPED_FLOAT_TO_UBYTE(color->red, (c)[0]); \ 571 UNCLAMPED_FLOAT_TO_UBYTE(spec->red, (c)[0]); \ 581 spec0->red = spec1->red; \
|
/external/kernel-headers/original/linux/ |
fb.h | 262 struct fb_bitfield red; /* bitfield in fb mem if true color, */ member in struct:fb_var_screeninfo 294 __u16 *red; /* Red values */ member in struct:fb_cmap 497 __u16 __user *red; /* Red values */ member in struct:fb_cmap_user 656 int (*fb_setcolreg)(unsigned regno, unsigned red, unsigned green, [all...] |
/external/libpng/contrib/gregbook/ |
writepng.c | 164 background.red = mainprog_ptr->bg_red;
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_swtcl.c | 559 UNCLAMPED_FLOAT_TO_UBYTE(color->red, (c)[0]); \ 571 UNCLAMPED_FLOAT_TO_UBYTE(spec->red, (c)[0]); \ 581 spec0->red = spec1->red; \
|
/external/pixman/test/ |
glyph-test.c | 130 color.red = prng_rand();
|
/frameworks/base/media/mca/filterfw/native/core/ |
shader_program.cpp | 568 glClearColor(clear_color_.red, 602 void ShaderProgram::SetClearColor(float red, float green, float blue, float alpha) { 603 clear_color_.red = red; [all...] |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
KeyguardCircleFramedDrawable.java | 129 Color.red(mHighlightColor),
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
AmPmCirclesView.java | 105 mSelectedColor = res.getColor(R.color.red);
|
/hardware/ti/omap4xxx/original-kernel-headers/linux/ |
omapfb.h | 194 struct fb_bitfield red; member in struct:omapfb_ovl_colormode
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/info/ |
HistogramView.java | 52 int r = Color.red(pixels[index]); 140 drawHistogram(canvas, redHistogram, Color.RED, PorterDuff.Mode.SCREEN);
|
/packages/apps/Settings/src/com/android/settings/users/ |
CircleFramedDrawable.java | 143 Color.red(mHighlightColor),
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/GLES/ |
glext.h | 336 GL_API void GL_APIENTRY glClearColorxOES (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha); 339 GL_API void GL_APIENTRY glColor4xOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); 376 typedef void (GL_APIENTRYP PFNGLCLEARCOLORXOESPROC) (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha); 379 typedef void (GL_APIENTRYP PFNGLCOLOR4XOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
|
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/GLES/ |
glext.h | 336 GL_API void GL_APIENTRY glClearColorxOES (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha); 339 GL_API void GL_APIENTRY glColor4xOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); 376 typedef void (GL_APIENTRYP PFNGLCLEARCOLORXOESPROC) (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha); 379 typedef void (GL_APIENTRYP PFNGLCOLOR4XOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/GLES/ |
glext.h | 336 GL_API void GL_APIENTRY glClearColorxOES (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha); 339 GL_API void GL_APIENTRY glColor4xOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); 376 typedef void (GL_APIENTRYP PFNGLCLEARCOLORXOESPROC) (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha); 379 typedef void (GL_APIENTRYP PFNGLCOLOR4XOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
|
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/GLES/ |
glext.h | 336 GL_API void GL_APIENTRY glClearColorxOES (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha); 339 GL_API void GL_APIENTRY glColor4xOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); 376 typedef void (GL_APIENTRYP PFNGLCLEARCOLORXOESPROC) (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha); 379 typedef void (GL_APIENTRYP PFNGLCOLOR4XOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
|
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/GLES/ |
glext.h | 336 GL_API void GL_APIENTRY glClearColorxOES (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha); 339 GL_API void GL_APIENTRY glColor4xOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); 376 typedef void (GL_APIENTRYP PFNGLCLEARCOLORXOESPROC) (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha); 379 typedef void (GL_APIENTRYP PFNGLCOLOR4XOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
|
/prebuilts/ndk/5/platforms/android-4/arch-arm/usr/include/GLES/ |
glext.h | 336 GL_API void GL_APIENTRY glClearColorxOES (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha); 339 GL_API void GL_APIENTRY glColor4xOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); 376 typedef void (GL_APIENTRYP PFNGLCLEARCOLORXOESPROC) (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha); 379 typedef void (GL_APIENTRYP PFNGLCOLOR4XOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
|
/prebuilts/ndk/6/platforms/android-4/arch-arm/usr/include/GLES/ |
glext.h | 336 GL_API void GL_APIENTRY glClearColorxOES (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha); 339 GL_API void GL_APIENTRY glColor4xOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); 376 typedef void (GL_APIENTRYP PFNGLCLEARCOLORXOESPROC) (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha); 379 typedef void (GL_APIENTRYP PFNGLCOLOR4XOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
|
/prebuilts/ndk/6/platforms/android-4/arch-x86/usr/include/GLES/ |
glext.h | 336 GL_API void GL_APIENTRY glClearColorxOES (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha); 339 GL_API void GL_APIENTRY glColor4xOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); 376 typedef void (GL_APIENTRYP PFNGLCLEARCOLORXOESPROC) (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha); 379 typedef void (GL_APIENTRYP PFNGLCOLOR4XOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
|
/frameworks/base/core/jni/ |
android_opengl_GLES10.cpp | 385 /* void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) */ 388 (JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) { 390 (GLclampf)red, 397 /* void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) */ 400 (JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) { 402 (GLclampx)red, 445 /* void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) */ 448 (JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) { 450 (GLfloat)red, 457 /* void glColor4x ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha ) * [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/ |
xorg_driver.c | 696 ms->lut_r[index * 8 + j] = colors[index].red << 8; 708 ms->lut_r[index * 8 + j] = colors[index].red << 8; 721 ms->lut_r[index] = colors[index].red << 8; 789 visual->offsetRed = pScrn->offset.red; 792 visual->redMask = pScrn->mask.red; [all...] |
/external/mesa3d/src/gallium/state_trackers/xorg/ |
xorg_driver.c | 696 ms->lut_r[index * 8 + j] = colors[index].red << 8; 708 ms->lut_r[index * 8 + j] = colors[index].red << 8; 721 ms->lut_r[index] = colors[index].red << 8; 789 visual->offsetRed = pScrn->offset.red; 792 visual->redMask = pScrn->mask.red; [all...] |
/external/qemu/android/camera/ |
camera-format-converters.c | 40 * So, if this code runs on the little endian CPU, red color in 'rgb' would be 42 * the code runs on a big endian CPU, the red color in 'rgb' would be masked as 79 /* Extract red, green, and blue bytes from RGB565 word. */ 83 /* Make 8 bits red, green, and blue, extracted from RGB565 word. */ 87 /* Extract red, green, and blue bytes from RGB32 dword. */ 91 /* Build RGB565 word from red, green, and blue bytes. */ 93 /* Build RGB32 dword from red, green, and blue bytes. */ 96 /* Extract red, green, and blue bytes from RGB565 word. */ 100 /* Make 8 bits red, green, and blue, extracted from RGB565 word. */ 104 /* Extract red, green, and blue bytes from RGB32 dword. * [all...] |
/device/generic/goldfish/opengl/system/GLESv2_enc/ |
gl2_entry.cpp | 16 void glBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); 25 void glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); 28 void glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); 268 void glBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) 271 ctx->glBlendColor(ctx, red, green, blue, alpha); 322 void glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) 325 ctx->glClearColor(ctx, red, green, blue, alpha); 340 void glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) 343 ctx->glColorMask(ctx, red, green, blue, alpha); [all...] |