/cts/tests/tests/graphics/src/android/graphics/cts/ |
LinearGradientTest.java | 34 int[] color = { Color.BLUE, Color.GREEN, Color.RED }; 47 // GREEN -> RED, G sub-value decreasing while R sub-value increasing 50 assertTrue(Color.red(b.getPixel(10, 15)) < Color.red(b.getPixel(10, 20))); 51 assertTrue(Color.red(b.getPixel(10, 20)) < Color.red(b.getPixel(10, 25))); 53 lg = new LinearGradient(0, 0, 0, 40, Color.RED, Color.BLUE, TileMode.CLAMP); 58 // RED -> BLUE, R sub-value decreasing while B sub-value increasing 59 assertTrue(Color.red(b.getPixel(10, 0)) > Color.red(b.getPixel(10, 15))) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
accum.h | 50 _mesa_ClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ); 66 _mesa_ClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha )
|
texcompress_rgtc.c | 2 * Copyright (C) 2011 Red Hat Inc. 298 GLubyte red; local 302 i, j, &red, 1); 303 texel[RCOMP] = UBYTE_TO_FLOAT(red); 313 GLbyte red; local 317 i, j, &red, 1); 318 texel[RCOMP] = BYTE_TO_FLOAT_TEX(red); 328 GLubyte red, green; local 332 i, j, &red, 2); 336 texel[RCOMP] = UBYTE_TO_FLOAT(red); 346 GLbyte red, green; local 364 GLubyte red; local 379 GLbyte red; local 394 GLubyte red, green; local 412 GLbyte red, green; local [all...] |
/external/mesa3d/src/mesa/main/ |
accum.h | 50 _mesa_ClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ); 66 _mesa_ClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha )
|
texcompress_rgtc.c | 2 * Copyright (C) 2011 Red Hat Inc. 298 GLubyte red; local 302 i, j, &red, 1); 303 texel[RCOMP] = UBYTE_TO_FLOAT(red); 313 GLbyte red; local 317 i, j, &red, 1); 318 texel[RCOMP] = BYTE_TO_FLOAT_TEX(red); 328 GLubyte red, green; local 332 i, j, &red, 2); 336 texel[RCOMP] = UBYTE_TO_FLOAT(red); 346 GLbyte red, green; local 364 GLubyte red; local 379 GLbyte red; local 394 GLubyte red, green; local 412 GLbyte red, green; local [all...] |
/external/chromium_org/third_party/bintrees/bintrees/ |
rbtree.py | 4 # Purpose: red-black tree module (Julienne Walker's none recursive algorithm) 12 # Red black trees are interesting beasts. They're believed to be simpler than 15 # deletion algorithm, red black trees become very tricky. However, the 21 # So when do you use a red black tree? That's really your decision, but I've 22 # found that red black trees are best suited to largely random data that has 24 # takes full advantage of the minimal work that red black trees perform to 27 # Red black trees are popular, as most data structures with a whimsical name. 29 # implemented with a red black tree. Red black trees are also comparable in 31 # to maintain balance is usually better in a red black tree. There are a fe [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/tnl_dd/ |
t_dd_vertex.h | 36 GLubyte alpha, blue, green, red; member in struct:__anon19206 38 GLubyte red, green, blue, alpha; 44 GLubyte alpha, red, green, blue; member in struct:__anon19207 46 GLubyte blue, green, red, alpha;
|
/external/libcxx/test/utilities/function.objects/unord.hash/ |
enum.pass.cpp | 24 enum class Colors { red, orange, yellow, green, blue, indigo, violet }; member in class:Colors 26 enum class LongColors : short { red, orange, yellow, green, blue, indigo, violet }; member in class:Cardinals::LongColors 27 enum class ShortColors : long { red, orange, yellow, green, blue, indigo, violet }; member in class:Cardinals::ShortColors 28 enum class EightBitColors : uint8_t { red, orange, yellow, green, blue, indigo, violet }; member in class:Cardinals::EightBitColors
|
/external/mesa3d/src/mesa/tnl_dd/ |
t_dd_vertex.h | 36 GLubyte alpha, blue, green, red; member in struct:__anon32603 38 GLubyte red, green, blue, alpha; 44 GLubyte alpha, red, green, blue; member in struct:__anon32604 46 GLubyte blue, green, red, alpha;
|
/frameworks/base/graphics/java/android/graphics/ |
Color.java | 27 * Colors are represented as packed ints, made up of 4 bytes: alpha, red, 30 * components are stored as follows (alpha << 24) | (red << 16) | 34 * no contributions from red, green, or blue), and opaque-white would be 43 public static final int RED = 0xFFFF0000; 60 * Return the red component of a color int. This is the same as saying 63 public static int red(int color) { method in class:Color 84 * Return a color-int from red, green, blue components. 89 * @param red Red component [0..255] of the color 93 public static int rgb(int red, int green, int blue) 261 float red = 0.0f; local [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/unord.hash/ |
enum.pass.cpp | 24 enum class Colors { red, orange, yellow, green, blue, indigo, violet }; member in class:Colors 26 enum class LongColors : short { red, orange, yellow, green, blue, indigo, violet }; member in class:Cardinals::LongColors 27 enum class ShortColors : long { red, orange, yellow, green, blue, indigo, violet }; member in class:Cardinals::ShortColors 28 enum class EightBitColors : uint8_t { red, orange, yellow, green, blue, indigo, violet }; member in class:Cardinals::EightBitColors
|
/packages/apps/Settings/src/com/android/settings/applications/ |
LinearColorPreference.java | 39 public void setRatios(float red, float yellow, float green) { 40 mRedRatio = red; 46 public void setColors(int red, int yellow, int green) { 47 mRedColor = red;
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/tools/ |
rtp_analyze.cc | 35 DEFINE_int32(red, 117, "RTP payload type for RED"); 124 webrtc::RTPHeader* red = red_headers.front(); local 125 assert(red); 128 red->sequenceNumber, 129 red->timestamp, 131 red->payloadType); 133 delete red;
|
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
inttree.c | 79 it->nil->red = 0; 85 it->root->red = 0; 154 Assert(!it->nil->red,"nil not red in ITLeftRotate"); 218 Assert(!it->nil->red,"nil not red in ITRightRotate"); 263 Assert(!it->nil->red,"nil not red in ITTreeInsertHelp"); 323 x->red=1; 324 while(x->parent->red) { /* use sentinel instead of checking for root * [all...] |
/external/chromium_org/third_party/skia/src/animator/ |
SkDrawColor.cpp | 25 SkScalar red = SkIntToScalar(SkColorGetR(color)); local 28 SkScalar min = SkMinScalar(SkMinScalar(red, green), blue); 29 SkScalar value = SkMaxScalar(SkMaxScalar(red, green), blue); 41 if (red == value) { 47 hue = 120 * SK_Scalar1 + SkScalarMul(blue - red, part60); 49 hue = 240 * SK_Scalar1 + SkScalarMul(red - green, part60); 55 #if defined _WIN32 && _MSC_VER >= 1300 // disable 'red', etc. may be used without having been initialized 65 SkScalar red SK_INIT_TO_AVOID_WARNING; 69 red = green = blue = value; 79 case 0: red = value; green = t; blue = p; break [all...] |
/external/skia/src/animator/ |
SkDrawColor.cpp | 25 SkScalar red = SkIntToScalar(SkColorGetR(color)); local 28 SkScalar min = SkMinScalar(SkMinScalar(red, green), blue); 29 SkScalar value = SkMaxScalar(SkMaxScalar(red, green), blue); 41 if (red == value) { 47 hue = 120 * SK_Scalar1 + SkScalarMul(blue - red, part60); 49 hue = 240 * SK_Scalar1 + SkScalarMul(red - green, part60); 55 #if defined _WIN32 && _MSC_VER >= 1300 // disable 'red', etc. may be used without having been initialized 65 SkScalar red SK_INIT_TO_AVOID_WARNING; 69 red = green = blue = value; 79 case 0: red = value; green = t; blue = p; break [all...] |
/external/chromium_org/chrome/browser/resources/options/ |
certificate_tree.css | 7 border: 1px solid red;
|
/external/libpng/contrib/gregbook/ |
readpng.c | 155 int readpng_get_bgcolor(uch *red, uch *green, uch *blue) 173 * takes a pointer to a pointer, and it always returns valid red, green 183 *red = pBackground->red >> 8; 188 *red = *green = *blue = pBackground->gray? 255 : 0; 190 *red = *green = *blue = (255/3) * pBackground->gray; 192 *red = *green = *blue = (255/15) * pBackground->gray; 194 *red = (uch)pBackground->red;
|
/external/pixman/pixman/ |
pixman-solid-fill.c | 3 * Copyright © 2007, 2009 Red Hat, Inc. 34 (color->red >> 8 << 16) | 45 result.r = pixman_unorm_to_float (color->red, 16);
|
/hardware/samsung_slsi/exynos5/include/ |
s3c-fb.h | 29 unsigned char red; member in struct:s3c_fb_user_plane_alpha 36 unsigned char red; member in struct:s3c_fb_user_chroma
|
s3c_lcd.h | 31 unsigned char red; member in struct:s3cfb_user_plane_alpha 38 unsigned char red; member in struct:s3cfb_user_chroma
|
/hardware/samsung_slsi/exynos5/original-kernel-headers/linux/ |
s3c-fb.h | 25 unsigned char red; member in struct:s3c_fb_user_plane_alpha 32 unsigned char red; member in struct:s3c_fb_user_chroma
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/ |
PSNRComparer.java | 63 MSE += (Color.red(ideal[index]) - Color.red(given[index])) * 64 (Color.red(ideal[index]) - Color.red(given[index]));
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
RGBColor.h | 43 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> red();
|
/external/chromium_org/third_party/angle/src/common/ |
mathutil.cpp | 38 unsigned int convertRGBFloatsTo999E5(float red, float green, float blue) 40 const float red_c = std::max<float>(0, std::min(g_sharedexp_max, red)); 58 void convert999E5toRGBFloats(unsigned int input, float *red, float *green, float *blue) 62 *red = inputData->R * pow(2.0f, (int)inputData->E - g_sharedexp_bias - g_sharedexp_mantissabits);
|