/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/ |
Color.cpp | 176 int dR = c1.red() - c2.red(); 188 appendByteAsHex(red(), builder, Lowercase); 200 result.appendNumber(red()); 222 return String::format("#%02X%02X%02X%02X", red(), green(), blue(), alpha()); 223 return String::format("#%02X%02X%02X", red(), green(), blue()); 294 int r = (red() * alpha() * (255 - source.alpha()) + 255 * source.alpha() * source.red()) / d; 310 int r = blendComponent(red(), alpha); 324 r = red() / 255.0f [all...] |
Gradient.h | 62 float red; member in struct:WebCore::Gradient::ColorStop 67 ColorStop() : stop(0), red(0), green(0), blue(0), alpha(0) { } 68 ColorStop(float s, float r, float g, float b, float a) : stop(s), red(r), green(g), blue(b), alpha(a) { }
|
/ndk/tests/build/issue20862-libpng-O0/jni/ |
pngrtran.c | 725 int r = (palette[i].red >> (8 - PNG_QUANTIZE_RED_BITS)); 930 png_fixed_point red, png_fixed_point green) 967 if (red >= 0 && green >= 0 && red + green <= PNG_FP_1) 976 red_int = (png_uint_16)(((png_uint_32)red*32768)/100000); 986 if (red >= 0 && green >= 0) 3260 png_byte red = *(sp++); local 3299 png_byte red = *(sp++); local 3332 png_uint_16 red, green, blue, w; local 3383 png_uint_16 red, green, blue, gray16; local 4801 png_byte red = (png_byte)(trans_color->red & 0xff); local 5043 png_uint_32 red = (s0 + s1 + 65536) & 0xffff; local [all...] |
/external/libpng/contrib/gregbook/ |
rpng-x.c | 706 ulg red, green, blue; local 713 red = *src++; 717 pixel = (red << RShift) | 727 red = (RShift < 0)? red << (-RShift) : red >> RShift; 730 pixel = (red & RMask) | (green & GMask) | (blue & BMask); 745 red = r; 749 red = bg_red; 756 alpha_composite(red, r, a, bg_red) 780 ush red, green, blue; local [all...] |
/external/chromium_org/gpu/command_buffer/tests/ |
occlusion_query_unittests.cc | 114 static float red[] = { 1.0f, 0.0f, 0.0f, 1.0f }; local 115 DrawRect(0, 0.0f, 0.50f, red); 132 DrawRect(1, 0.0f, 0.50f, red);
|
/device/lge/hammerhead/liblight/ |
lights.c | 41 char const *const RED_LED_FILE = "/sys/class/leds/red/brightness"; 44 char const *const RED_TIMEOUT_FILE = "/sys/class/leds/red/on_off_ms"; 47 char const *const RGB_LOCKED_FILE = "/sys/class/leds/red/rgb_start"; 125 int red, green, blue; local 149 red = (colorRGB >> 16) & 0xFF; 155 red = 0; 162 write_int(RED_LED_FILE, red);
|
/external/chromium_org/third_party/WebKit/Source/core/platform/image-decoders/bmp/ |
BMPImageReader.h | 247 inline void setRGBA(unsigned red, 252 m_buffer->setRGBA(m_coord.x(), m_coord.y(), red, green, blue, alpha); 261 unsigned red, 267 setRGBA(red, green, blue, alpha);
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGAnimatedColor.cpp | 85 float animatedRed = animatedColor.red(); 86 m_animationElement->animateAdditiveNumber(percentage, repeatCount, fromColor.red(), toColor.red(), toAtEndOfDurationColor.red(), animatedRed);
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
clear.h | 37 _mesa_ClearColor( GLclampf red, GLclampf green,
|
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
inttree.h | 9 * interval trees implemented using red-black-trees as described in 20 int red; /* if red=0 then the node is black */ member in struct:IntervalTreeNode
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/ |
TextureGeneratorClouds.java | 97 texres.red = colorBand[colorbandIndex][0]; 102 data[index++] = (byte) (texres.red * 255.0f); 107 texres.red = texres.intensity; 115 data[index++] = (byte) (texres.red * 255.0f);
|
/external/mesa3d/src/mesa/main/ |
clear.h | 37 _mesa_ClearColor( GLclampf red, GLclampf green,
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
vibrance.rs | 39 float red = (r-max(g, b))/256.f; 40 float sx = (float)(Vib/(1+native_exp(-red*3)));
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
vibrance.rs | 39 float red = (r-max(g, b))/256.f; 40 float sx = (float)(Vib/(1+exp(-red*3)));
|
/cts/apps/CtsVerifier/lib/colorchecker/ |
exposurecompensationtest.cpp | 47 Vec3i red(255, 0, 0); 78 drawPoint(200 - exposureRed, mCheckerColors[i][j].r(), red);
|
/development/samples/devbytes/animation/LayoutTransChanging/src/com/example/android/layouttranschanging/ |
LayoutTransChanging.java | 101 int red = (int)(Math.random() * 128 + 127); local 104 int color = 0xff << 24 | (red << 16) |
|
/external/chromium/chrome/browser/resources/gpu_internals/ |
profiling_view.css | 40 border: 1px solid red;
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
StyleColor.h | 83 int red() const { return m_color.red(); } function in class:WebCore::StyleColor
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/x11/ |
xm_tri.c | 74 PACK_TRUECOLOR(p, FixedToInt(span.red), \ 79 span.red += span.redStep; \ 108 pRow[i] = PACK_8A8B8G8R(FixedToInt(span.red), \ 113 span.red += span.redStep; \ 143 pRow[i] = PACK_8A8R8G8B(FixedToInt(span.red), \ 148 span.red += span.redStep; \ 177 pRow[i] = PACK_8R8G8B(FixedToInt(span.red), \ 181 span.red += span.redStep; \ 209 ptr->r = FixedToInt(span.red); \ 214 span.red += span.redStep; [all...] |
/external/mesa3d/src/mesa/drivers/x11/ |
xm_tri.c | 74 PACK_TRUECOLOR(p, FixedToInt(span.red), \ 79 span.red += span.redStep; \ 108 pRow[i] = PACK_8A8B8G8R(FixedToInt(span.red), \ 113 span.red += span.redStep; \ 143 pRow[i] = PACK_8A8R8G8B(FixedToInt(span.red), \ 148 span.red += span.redStep; \ 177 pRow[i] = PACK_8R8G8B(FixedToInt(span.red), \ 181 span.red += span.redStep; \ 209 ptr->r = FixedToInt(span.red); \ 214 span.red += span.redStep; [all...] |
/frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/ |
TestFramerateView.java | 76 float red = (now_us % 1000000) / 1000000.f; local 79 GLES20.glClearColor(red, green, blue, 1.0f);
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
RenderEngine.h | 64 void clearWithColor(float red, float green, float blue, float alpha); 66 float red, float green, float blue, float alpha);
|
/packages/apps/Gallery2/jni/filters/ |
vibrance.c | 38 int r = destination[RED]; 41 float red = (r-MAX(g, b))/256.f; local 42 float sx = (float)(Vib/(1+exp(-red*3))); 57 destination[RED] = CLAMP(Rc);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
SweepGradientTest.java | 53 final int[] colors = new int[] { Color.GREEN, Color.RED }; 62 final int[] colors = new int[] { Color.GREEN, Color.RED, Color.BLUE }; 72 final int[] colors = new int[] { Color.GREEN, Color.RED, Color.BLUE, Color.GREEN }; 112 int red = (int) ((1d - delta) * Color.red(colors[i1]) + local 113 delta * Color.red(colors[i2])); 118 color = Color.argb(alpha, red, green, blue); 125 assertEquals(Color.red(color), Color.red(pixel), tolerance);
|
/external/freetype/src/sfnt/ |
pngshim.c | 72 unsigned int red = base[0]; local 79 red = multiply_alpha( alpha, red ); 86 base[2] = red; 107 unsigned int red = base[0]; local 114 base[2] = red;
|