/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
GLColor.java | 21 public final int red; field in class:GLColor 26 public GLColor(int red, int green, int blue, int alpha) { 27 this.red = red; 33 public GLColor(int red, int green, int blue) { 34 this.red = red; 44 return (red == color.red &&
|
/external/clang/test/CodeGenCXX/ |
scoped-enums.cpp | 4 enum class Color { red, blue, green }; member in class:Color 8 f(Color::red);
|
/external/qemu/distrib/sdl-1.2.15/src/video/x11/ |
SDL_x11gamma_c.h | 27 extern int X11_SetVidModeGamma(_THIS, float red, float green, float blue); 28 extern int X11_GetVidModeGamma(_THIS, float *red, float *green, float *blue);
|
SDL_x11gamma.c | 33 static int X11_SetGammaNoLock(_THIS, float red, float green, float blue) 41 if ( red < MIN_GAMMA ) { 42 gamma.red = MIN_GAMMA; 44 if ( red > MAX_GAMMA ) { 45 gamma.red = MAX_GAMMA; 47 gamma.red = red; 69 gamma_saved[0] = gamma.red; 83 int X11_SetVidModeGamma(_THIS, float red, float green, float blue) 88 result = X11_SetGammaNoLock(this, red, green, blue) [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowColor.java | 11 public static int rgb(int red, int green, int blue) { 12 return argb(0xff, red, green, blue); 16 public static int argb(int alpha, int red, int green, int blue) { 17 return (alpha << 24) | (red << 16) | (green << 8) | blue;
|
/cts/tests/tests/os/src/android/os/cts/ |
ParcelFileDescriptorProcessTest.java | 47 private IParcelFileDescriptorPeer red; field in class:ParcelFileDescriptorProcessTest 92 "com.android.cts.os", "android.os.cts.ParcelFileDescriptorPeer$Red")); 102 red = redConn.get(); 104 red.setPeer(blue); 105 blue.setPeer(red); 124 // red <-- blue 125 red.setupReadPipe(); 129 assertEquals(1, red.read()); 132 assertEquals(-1, red.read()); 133 assertEquals(null, red.checkError()) [all...] |
/external/chromium_org/third_party/mesa/src/src/glsl/glcpp/tests/ |
020-define-func-2-arg-multi.c | 1 #define foo(x,y) x,two fish,red fish,y
|
/external/mesa3d/src/glsl/glcpp/tests/ |
020-define-func-2-arg-multi.c | 1 #define foo(x,y) x,two fish,red fish,y
|
/frameworks/av/media/libnbaio/ |
MonoPipeReader.cpp | 60 ssize_t red = availableToRead(); local 61 if (CC_UNLIKELY(red <= 0)) { 65 return red; 67 if (CC_LIKELY((size_t) red > count)) { 68 red = count; 72 if (part1 > (size_t) red) { 73 part1 = red; 78 size_t part2 = red - part1; 83 mPipe->updateFrontAndNRPTS(red + mPipe->mFront, nextReadPTS); 84 mFramesRead += red; [all...] |
PipeReader.cpp | 74 size_t red = mPipe.mMaxFrames - front; local 75 if (CC_LIKELY(red > count)) { 76 red = count; 79 memcpy(buffer, (char *) mPipe.mBuffer + (front << mBitShift), red << mBitShift); 81 if (CC_UNLIKELY(front + red == mPipe.mMaxFrames)) { 82 if (CC_UNLIKELY((count -= red) > front)) { 86 memcpy((char *) buffer + (red << mBitShift), mPipe.mBuffer, count << mBitShift); 87 red += count; 90 mFront += red; 91 mFramesRead += red; [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/ |
RGBColor.idl | 23 readonly attribute CSSPrimitiveValue red;
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/macholib/ |
fetch_macholib | 2 svn export --force http://svn.red-bean.com/bob/macholib/trunk/macholib/ .
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/macholib/ |
fetch_macholib | 2 svn export --force http://svn.red-bean.com/bob/macholib/trunk/macholib/ .
|
/external/ppp/pppd/plugins/ |
passwordfd.c | 35 int readgood, red; local 50 red = read (passwdfd, passwd + readgood, MAXSECRETLEN - 1 - readgood); 51 if (red == 0) 53 if (red < 0) { 58 readgood += red;
|
passprompt.c | 33 ssize_t red; local 73 red = read(p[0], passwd + readgood, MAXSECRETLEN-1 - readgood); 74 if (red == 0) 76 if (red < 0) { 83 readgood += red;
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
ColorDistance.cpp | 36 : m_redDiff(toColor.red() - fromColor.red()) 65 Color ColorDistance::clampColor(int red, int green, int blue, int alpha) 67 return Color(clampColorValue(red), clampColorValue(green), clampColorValue(blue), clampColorValue(alpha)); 72 return Color(first.red() + second.red(), first.green() + second.green(), first.blue() + second.blue()); 77 return Color(color.red() + m_redDiff, color.green() + m_greenDiff, color.blue() + m_blueDiff);
|
/external/chromium_org/chrome/browser/resources/chromeos/ |
drive_internals.css | 19 color: red; 24 color: red;
|
/external/eigen/test/ |
runtest.sh | 4 red='\E[31m' 13 echo -e $red Test $1 failed: $black
|
/external/eigen/blas/testing/ |
runblastest.sh | 4 red='\E[31m' 21 echo -e $red Test $1 failed: $black 29 echo -e $red "Test $1 failed (FATAL ERROR, read the file $1.summ for details)" $black 37 echo -e $red "Test $1 failed (FAILED THE TESTS OF ERROR-EXITS, read the file $1.summ for details)" $black
|
/external/eigen/test/eigen2/ |
runtest.sh | 4 red='\E[31m' 14 echo -e $red Test $1 failed: $black 23 echo -e $red Build of target $1 failed: $black
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/ |
TexturePixel.java | 19 public float intensity, red, green, blue, alpha;
field in class:TexturePixel 29 this.red = pixel.red;
42 this.red = colorRGBA.r;
54 * the red value
62 this.red = r;
77 this.red = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f;
107 this.red = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f;
112 this.red = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f;
127 this.red = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f; [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/ |
SDL_gamma.c | 93 int SDL_SetGamma(float red, float green, float blue) 104 CalculateGammaRamp(red, ramp[0]); 111 succeeded = video->SetGamma(this, red, green, blue); 119 int SDL_GetGamma(float *red, float *green, float *blue) 132 CalculateGammaFromRamp(red, ramp[0]); 139 succeeded = video->GetGamma(this, red, green, blue); 144 int SDL_SetGammaRamp(const Uint16 *red, const Uint16 *green, const Uint16 *blue) 163 if ( red ) { 164 SDL_memcpy(&video->gamma[0*256], red, 256*sizeof(*video->gamma)); 196 int SDL_GetGammaRamp(Uint16 *red, Uint16 *green, Uint16 *blue [all...] |
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
ColorWheelLEDController.java | 18 int red = Color.red(color) / 8; local 22 mActivity.sendCommand(DemoKitActivity.LED_SERVO_COMMAND,(byte)0,(byte)red); 26 mActivity.sendCommand(DemoKitActivity.LED_SERVO_COMMAND,(byte)3,(byte)red); 30 mActivity.sendCommand(DemoKitActivity.LED_SERVO_COMMAND,(byte)6,(byte)red);
|
/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/chrome/browser/resources/net_export/ |
net_export.css | 17 color: red;
|