/external/javassist/sample/duplicate/ |
Ball.java | 4 import java.awt.Color;
8 private Color color;
field in class:Ball 14 changeColor(Color.orange);
31 g.setColor(color);
41 public void changeColor(Color color) {
42 this.color = color;
|
/external/webkit/Source/WebCore/rendering/style/ |
StyleInheritedData.cpp | 33 , color(RenderStyle::initialColor()) 48 , color(o.color) 60 color == o.color &&
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/blending/ |
TextureBlenderLuminance.java | 33 public Texture blend(float[] materialColor, Texture texture, float[] color, float affectFactor, int blendType, boolean neg, BlenderContext blenderContext) {
51 this.blendPixel(resultPixel, materialColor, color, tinAndAlpha[0], affectFactor, blendType, blenderContext);
104 * This method blends the texture with an appropriate color.
107 * the result color (variable 'in' in blender source code)
109 * the texture color (variable 'out' in blender source coude)
110 * @param color
111 * the previous color (variable 'tex' in blender source code)
122 protected void blendPixel(float[] result, float[] materialColor, float[] color, float textureIntensity, float textureFactor, int blendtype, BlenderContext blenderContext) {
129 result[0] = textureIntensity * color[0] + oneMinusFactor * materialColor[0];
130 result[1] = textureIntensity * color[1] + oneMinusFactor * materialColor[1]; [all...] |
/external/linux-tools-perf/util/ |
color.c | 2 #include "color.h" 129 die("bad color value '%.*s' for variable '%s'", value_len, value, var); 161 if (!strcmp(var, "color.ui")) { 169 static int __color_vsnprintf(char *bf, size_t size, const char *color, 184 if (perf_use_color_default && *color) 185 r += snprintf(bf, size, "%s", color); 187 if (perf_use_color_default && *color) 194 static int __color_vfprintf(FILE *fp, const char *color, const char *fmt, 209 if (perf_use_color_default && *color) 210 r += fprintf(fp, "%s", color); 293 const char *color = PERF_COLOR_NORMAL; local 312 const char *color; local 322 const char *color = get_percent_color(percent); local [all...] |
/external/bzip2/ |
bzip.css | 13 a, a:link, a:visited, a:active { color: #336699; } 14 a:hover { color: #339999; } 17 h1, h2, h3, h4 { color: #74240f; } 19 dt { color: #336699; font-weight: bold } 33 #release .md5sum { color: #761596; } 56 background-color: #f2f2f9; 65 code, tt { color: #761596; } 68 color: #000000; 72 background-color: #eeeeee;
|
/frameworks/base/services/java/com/android/server/ |
LightsService.java | 72 int color = brightness & 0x000000ff; local 73 color = 0xff000000 | (color << 16) | (color << 8) | color; 74 setLightLocked(color, LIGHT_FLASH_NONE, 0, 0, brightnessMode); 78 public void setColor(int color) { 80 setLightLocked(color, LIGHT_FLASH_NONE, 0, 0, 0); 84 public void setFlashing(int color, int mode, int onMS, int offMS) { 86 setLightLocked(color, mode, onMS, offMS, BRIGHTNESS_MODE_USER) [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/light/ |
Light.java | 43 * All light source types have a color. 95 protected ColorRGBA color = new ColorRGBA(1f,1f,1f,1f); field in class:Light 114 * Returns the color of the light. 116 * @return The color of the light. 119 return color; 151 * Sets the light color. 153 * @param color the light color. 155 public void setColor(ColorRGBA color){ 156 this.color.set(color) [all...] |
/external/proguard/src/proguard/gui/splash/ |
RectangleSprite.java | 33 private final VariableColor color; field in class:RectangleSprite 45 * @param color the variable color of the rectangle. 52 VariableColor color, 58 this(filled, color, x, y, width, height, new ConstantInt(0), new ConstantInt(0)); 65 * @param color the variable color of the rectangle. 74 VariableColor color, 83 this.color = color; [all...] |
/external/quake/quake/src/QW/client/ |
d_fill.c | 20 // d_clear: clears a specified rectangle to the specified color 30 void D_FillRect (vrect_t *rect, int color) 65 color += color << 16; 68 color += color << 8; 73 ldest[rx] = color; 83 dest[rx] = color;
|
d_part.c | 108 pdest[0] = pparticle->color; 121 pdest[0] = pparticle->color; 127 pdest[1] = pparticle->color; 140 pdest[0] = pparticle->color; 146 pdest[1] = pparticle->color; 152 pdest[2] = pparticle->color; 165 pdest[0] = pparticle->color; 171 pdest[1] = pparticle->color; 177 pdest[2] = pparticle->color; 183 pdest[3] = pparticle->color; [all...] |
/external/quake/quake/src/WinQuake/ |
d_fill.cpp | 20 // d_clear: clears a specified rectangle to the specified color
30 void D_FillRect (vrect_t *rect, int color)
65 color += color << 16;
68 color += color << 8;
73 ldest[rx] = color;
83 dest[rx] = color;
|
/external/webkit/Tools/DumpRenderTree/chromium/ |
WebThemeControlDRTWin.h | 134 // fillContentArea is true, fill the content area with the given color. 135 void drawTextField(bool drawEdges, bool fillContentArea, SkColor color); 142 // Draws a box of size specified by irect, filled with the given color. 143 // The box will have a border drawn in the default edge color. 144 void box(const SkIRect& irect, SkColor color); 148 // filled with the given color. The box will have an edge drawn in the 149 // default edge color. 150 void triangle(int x0, int y0, int x1, int y1, int x2, int y2, SkColor color); 153 // with the specified color (and with a border in the default edge color) [all...] |
/cts/apps/CtsVerifier/include/colorchecker/ |
imagetesthandler.h | 41 void drawPoint(const Vec2i &point, const Vec3i &color); 42 void drawPoint(int row, int column, const Vec3i &color); 43 void drawLine(int angle, int radius, const Vec3i &color);
|
/external/skia/include/core/ |
SkColor.h | 23 /** 32 bit ARGB color value, not premultiplied. The color components are always in 62 #define SkColorGetA(color) (((color) >> 24) & 0xFF) 64 #define SkColorGetR(color) (((color) >> 16) & 0xFF) 66 #define SkColorGetG(color) (((color) >> 8) & 0xFF) 68 #define SkColorGetB(color) (((color) >> 0) & 0xFF [all...] |
/external/skia/legacy/include/core/ |
SkColor.h | 23 /** 32 bit ARGB color value, not premultiplied. The color components are always in 62 #define SkColorGetA(color) (((color) >> 24) & 0xFF) 64 #define SkColorGetR(color) (((color) >> 16) & 0xFF) 66 #define SkColorGetG(color) (((color) >> 8) & 0xFF) 68 #define SkColorGetB(color) (((color) >> 0) & 0xFF [all...] |
/cts/tests/tests/opengl/src/android/opengl/cts/ |
GL2JniLibOne.java | 26 public static native float[] draw(int category, int subcategory, float[] color);
|
/external/clang/docs/tools/ |
manpage.css | 9 h1, a { color: #336699; } 15 color: #ff6600; font-size: 10pt; 19 color: #ffffff; font-size: 10pt; 23 color: #ffffff; font-size: xx-small; 27 color: #ffffff; font-size: xx-small; 31 color: #336699; font-size: 11pt; 35 color: #336699; font-size: 12pt; 39 color: #000000; font-size: 9pt; 42 .slink2 { font-family: Arial,Helvetica; text-decoration: none; color: #336699; } 46 color: #336699; font-size: 18pt [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/util/ |
TestR.java | 15 public static class color { class in class:TestR
|
/external/webkit/Source/WebCore/css/ |
ShadowValue.h | 40 PassRefPtr<CSSPrimitiveValue> color) 42 return adoptRef(new ShadowValue(x, y, blur, spread, style, color)); 52 RefPtr<CSSPrimitiveValue> color; member in class:WebCore::ShadowValue 60 PassRefPtr<CSSPrimitiveValue> color);
|
/external/webkit/Source/WebCore/html/ |
ColorInputType.cpp | 34 #include "Color.h" 51 Color color(value); 52 return color.isValid() && !color.hasAlpha(); 62 return InputTypeNames::color(); 68 // sanitization for type=color. 77 // type=color yet.
|
/external/webkit/Source/WebCore/platform/qt/ |
QtMobileWebStyle.h | 35 void drawChecker(QPainter* painter, int size, QColor color) const; 38 void drawRadio(QPainter* painter, const QSize& size, bool checked, QColor color) const; 42 void drawSimpleComboButton(QPainter* painter, const QSize& size, QColor color) const; 43 void drawMultipleComboButton(QPainter* painter, const QSize& size, QColor color) const;
|
/frameworks/base/media/java/android/media/videoeditor/ |
EffectColor.java | 21 * This class allows to apply color effect on a media item. 27 * Change the video frame color to the RGB color value provided 31 * Change the video frame color to a gradation from RGB color (at the top of 36 * Change the video frame color to sepia 40 * Invert the video frame color 48 * Change the video frame color to the RGB color value GREEN 52 * Change the video frame color to the RGB color value PIN [all...] |
/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
ColorStateDrawable.java | 19 import android.graphics.Color; 25 * A drawable which sets its color filter to a color specified by the user, and changes to a 26 * slightly darker color when pressed or focused. 34 public ColorStateDrawable(Drawable[] layers, int color) { 36 mColor = color; 59 * Given a particular color, adjusts its value by a multiplier. 61 private int getPressedColor(int color) { 63 Color.colorToHSV(color, hsv) [all...] |
/packages/apps/Email/tests/src/com/android/email/ |
ResourceHelperTest.java | 37 Integer color = mResourceHelper.getAccountColor(accountId); local 41 assertNotNull(color); 43 assertFalse(color.equals(lastColor)); 46 lastColor = color;
|
/external/jmonkeyengine/engine/src/core/com/jme3/font/ |
StringBlock.java | 52 private ColorRGBA color = new ColorRGBA(ColorRGBA.White);
field in class:StringBlock 66 * @param color the initial color of the text
69 StringBlock(String text, Rectangle textBox, BitmapFont.Align alignment, float size, ColorRGBA color,
75 this.color.set(color);
84 this.color.set(ColorRGBA.White);
92 clone.color = color.clone();
142 return color;
[all...] |