/external/chromium_org/ui/views/ |
background.cc | 107 SkColor color2) { 109 true, Painter::CreateVerticalGradient(color1, color2)); 111 color_utils::AlphaBlend(color1, color2, 128));
|
background.h | 58 // from |color1| to |color2| 60 SkColor color2);
|
/external/chromium_org/ui/gfx/image/ |
image_unittest_util.cc | 41 bool ColorsClose(SkColor color1, SkColor color2) { 43 return ColorComponentsClose(SkColorGetR(color1), SkColorGetR(color2)) && 44 ColorComponentsClose(SkColorGetG(color1), SkColorGetG(color2)) && 45 ColorComponentsClose(SkColorGetB(color1), SkColorGetB(color2)) && 46 ColorComponentsClose(SkColorGetA(color1), SkColorGetA(color2)); 258 void CheckColors(SkColor color1, SkColor color2) { 259 EXPECT_TRUE(ColorsClose(color1, color2));
|
image_unittest_util.h | 79 void CheckColors(SkColor color1, SkColor color2);
|
/cts/hostsidetests/holo/src/android/holo/cts/ |
ComparisonTask.java | 124 int color2 = Color.WHITE.getRGB(); 128 color2 = image2.getRGB(i, j); 129 color3 = color1 == color2 ? color1 : Color.RED.getRGB(); 134 color2 = image2.getRGB(i, j); 142 diff.setRGB(x, j, color2);
|
/developers/build/prebuilts/gradle/SlidingTabsBasic/SlidingTabsBasicSample/src/main/java/com/example/android/common/view/ |
SlidingTabStrip.java | 173 * Blend {@code color1} and {@code color2} using the given ratio. 176 * 0.0 will return {@code color2}. 178 private static int blendColors(int color1, int color2, float ratio) { 180 float r = (Color.red(color1) * ratio) + (Color.red(color2) * inverseRation); 181 float g = (Color.green(color1) * ratio) + (Color.green(color2) * inverseRation); 182 float b = (Color.blue(color1) * ratio) + (Color.blue(color2) * inverseRation);
|
/developers/build/prebuilts/gradle/SlidingTabsColors/SlidingTabsColorsSample/src/main/java/com/example/android/common/view/ |
SlidingTabStrip.java | 173 * Blend {@code color1} and {@code color2} using the given ratio. 176 * 0.0 will return {@code color2}. 178 private static int blendColors(int color1, int color2, float ratio) { 180 float r = (Color.red(color1) * ratio) + (Color.red(color2) * inverseRation); 181 float g = (Color.green(color1) * ratio) + (Color.green(color2) * inverseRation); 182 float b = (Color.blue(color1) * ratio) + (Color.blue(color2) * inverseRation);
|
/developers/samples/android/common/src/java/com/example/android/common/view/ |
SlidingTabStrip.java | 173 * Blend {@code color1} and {@code color2} using the given ratio. 176 * 0.0 will return {@code color2}. 178 private static int blendColors(int color1, int color2, float ratio) { 180 float r = (Color.red(color1) * ratio) + (Color.red(color2) * inverseRation); 181 float g = (Color.green(color1) * ratio) + (Color.green(color2) * inverseRation); 182 float b = (Color.blue(color1) * ratio) + (Color.blue(color2) * inverseRation);
|
/external/jmonkeyengine/engine/src/niftygui/com/jme3/niftygui/ |
RenderDeviceJme.java | 178 int color2 = 0;
local 179 color2 |= ((int) (255.0 * color.getAlpha())) << 24;
180 color2 |= ((int) (255.0 * color.getBlue())) << 16;
181 color2 |= ((int) (255.0 * color.getGreen())) << 8;
182 color2 |= ((int) (255.0 * color.getRed()));
183 return color2;
194 // int color2 = convertColor(color);
195 // buf.putInt(color2);
196 // buf.putInt(color2);
197 // buf.putInt(color2);
[all...] |
/external/clang/test/CodeGenCXX/ |
mangle-ms.cpp | 19 // CHECK: @"\01?color2@@3QBNB" 179 extern const RGB color2 = {}; variable
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/ |
ColorOpacityView.java | 157 int color2 = Color.HSVToColor(mHSVO); local 158 int color1 = color2 & 0xFFFFFF; 161 mBorder, mBorder, mWidth - mBorder, mBorder, color1, color2, Shader.TileMode.CLAMP);
|
ColorBrightnessView.java | 155 int color2 = Color.HSVToColor(hsvo); local 161 color1, color2, Shader.TileMode.CLAMP);
|
ColorCompareView.java | 149 int color2 = Color.HSVToColor((int) (mOrigHSVO[3] * 255), mOrigHSVO); local 150 mOrigBarPaint1.setColor(color2);
|
ColorSaturationView.java | 155 int color2 = Color.HSVToColor(hsvo); local 160 color1, color2, Shader.TileMode.CLAMP);
|
ColorValueView.java | 137 int color2 = Color.HSVToColor(hsv); local 139 Shader sg = new LinearGradient(mBorder, mBorder, mBorder, mHeight - mBorder, color1, color2,
|
/external/chromium_org/native_client_sdk/src/examples/demo/voronoi/ |
voronoi.cc | 127 void RenderDot(float x, float y, uint32_t color1, uint32_t color2); 381 void Voronoi::RenderDot(float x, float y, uint32_t color1, uint32_t color2) { 393 *(pixel - 1) = color2; 394 *(pixel + 1) = color2; 395 *(pixel - stride_in_pixels) = color2; 396 *(pixel + stride_in_pixels) = color2;
|
/external/chromium_org/native_client_sdk/src/gonacl_appengine/src/voronoi/ |
voronoi.cc | 121 void RenderDot(float x, float y, uint32_t color1, uint32_t color2); 378 void Voronoi::RenderDot(float x, float y, uint32_t color1, uint32_t color2) { 390 *(pixel - 1) = color2; 391 *(pixel + 1) = color2; 392 *(pixel - stride_in_pixels) = color2; 393 *(pixel + stride_in_pixels) = color2;
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/dvb/ |
video.h | 171 uint8_t color2; /* 7- 4 Emphasis pixel-2 color */ member in struct:video_highlight
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/dvb/ |
video.h | 171 uint8_t color2; /* 7- 4 Emphasis pixel-2 color */ member in struct:video_highlight
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/dvb/ |
video.h | 171 uint8_t color2; /* 7- 4 Emphasis pixel-2 color */ member in struct:video_highlight
|
/external/pixman/test/ |
utils.h | 130 uint32_t color1, uint32_t color2);
|
utils.c | 568 uint32_t color1, uint32_t color2) 576 color8_to_color16 (color2, &check2); [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/photon/ |
SDL_ph_mouse.c | 87 cursor->ph_cursor->color2 = Pg_BLACK;
|
/cts/tests/tests/holo/src/android/holo/cts/ |
LayoutTestActivity.java | 249 int color2 = bitmap2.getPixel(i, j); 250 color = color1 == color2 ? color1 : Color.RED;
|
/external/chromium_org/skia/ext/ |
image_operations_unittest.cc | 159 // The colors alternate between color1 and color2, color1 being used 162 SkColor color1, SkColor color2, 167 ASSERT_NE(color1, color2); 180 *bmp->getAddr32(x, y) = (use_color2 ? color2 : color1); 376 const SkColor color1 = SK_ColorRED, color2 = SK_ColorBLUE; 378 DrawCheckerToBitmap(src_w, src_h, color1, color2, rect_w, rect_h, &src);
|