/external/chromium/chrome/browser/chromeos/login/ |
H A D | rounded_rect_painter.cc | 82 SkColor color) { 86 paint.setColor(color); 211 // Redraw boundary region with correspoinding color. 76 DrawRoundedRectShadow( gfx::Canvas* canvas, int x, int y, int w, int h, int corner_radius, int shadow, SkColor color) argument
|
H A D | user_image_view.cc | 46 views::View* CreateSplitter(const SkColor& color) { argument 48 splitter->set_background(views::Background::CreateSolidBackground(color));
|
/external/chromium/chrome/browser/diagnostics/ |
H A D | diagnostics_main.cc | 44 // Writes a string to the console with the current color. 51 // Sets the foreground and background color. 52 virtual bool SetColor(Color color) = 0; 96 // Sets the foreground and background color. 97 virtual bool SetColor(Color color) { argument 100 switch (color) { 143 // color, but in practice this is unlikely to be an issue. 163 virtual bool SetColor(Color color) { argument 168 switch (color) {
|
/external/chromium/chrome/browser/themes/ |
H A D | browser_theme_pack_unittest.cc | 36 int color, int tint) { 37 (*colors)[color] = HSLShift( 72 SkColor color = ThemeService::GetDefaultColor(it->first); local 73 theme_pack_->GetColor(it->first, &color); 74 EXPECT_EQ(it->second, color) << "Color id = " << it->first; 150 SkColor color; local 152 &color)); 153 EXPECT_EQ(SK_ColorBLACK, color); 156 &color)); 157 EXPECT_EQ(SkColorSetRGB(57, 137, 194), color); 35 GenerateDefaultFrameColor(std::map<int, SkColor>* colors, int color, int tint) argument [all...] |
/external/chromium/chrome/browser/ui/gtk/ |
H A D | custom_button.cc | 127 void CustomDrawButtonBase::SetBackground(SkColor color, argument 135 SkBitmapOperations::CreateButtonBackground(color, *image, *mask); 300 void CustomDrawButton::SetBackground(SkColor color, argument 302 button_base_.SetBackground(color, image, mask);
|
H A D | rounded_window.cc | 258 GtkWidget* widget, const GdkColor& color, int corner_size, 273 data->border_color = color; 313 void SetRoundedWindowBorderColor(GtkWidget* widget, GdkColor color) { argument 318 data->border_color = color; 257 ActAsRoundedWindow( GtkWidget* widget, const GdkColor& color, int corner_size, int rounded_edges, int drawn_borders) argument
|
/external/chromium/chrome/browser/ui/gtk/download/ |
H A D | download_shelf_gtk.cc | 73 // event box so we can color the background. 93 // Get the padding and background color for |outer_hbox| right. 226 GdkColor color = theme_service_->GetGdkColor( local 228 gtk_widget_modify_bg(padding_bg_, GTK_STATE_NORMAL, &color); 230 color = theme_service_->GetBorderColor(); 231 gtk_widget_modify_bg(top_border_, GTK_STATE_NORMAL, &color); 236 // When using a non-standard, non-gtk theme, we make the link color match 237 // the bookmark text color. Otherwise, standard link blue can look very
|
/external/chromium/chrome/common/extensions/ |
H A D | extension_action.h | 109 // Set this action's badge text color on a specific tab. 113 // Get the text color for a tab, or the default color if no text color 119 // Set this action's badge background color on a specific tab. 120 void SetBadgeBackgroundColor(int tab_id, const SkColor& color) { argument 121 SetValue(&badge_background_color_, tab_id, color); 123 // Get the badge background color for a tab, or the default if no color
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/ |
H A D | DrawUtils.java | 339 public static Color getShiftedColor(Color color, int delta) { argument 340 int r = Math.max(0, Math.min(color.getRed() + delta, 255)); 341 int g = Math.max(0, Math.min(color.getGreen() + delta, 255)); 342 int b = Math.max(0, Math.min(color.getBlue() + delta, 255)); 343 return new Color(color.getDevice(), r, g, b); 347 * @return <code>true</code> if the given <code>color</code> is dark.
|
/external/jmonkeyengine/engine/src/core/com/jme3/font/ |
H A D | BitmapText.java | 131 * @return color of the text
138 * changes text color. all substring colors are deleted.
139 * @param color new color of text
141 public void setColor(ColorRGBA color) {
argument 142 letters.setColor(color);
265 * Set the color of substring.
268 * @param color
270 public void setColor(int start, int end, ColorRGBA color) {
argument 271 letters.setColor(start, end, color);
281 setColor(String regexp, ColorRGBA color) argument [all...] |
H A D | Letters.java | 45 // Give the letter a default color if
57 setColor(start.start, end.start, start.color);
60 setColor(end.start, plainText.length(), end.color);
305 * Sets the base color for all new letter quads and resets
306 * the color of existing letter quads.
308 void setColor( ColorRGBA color ) {
309 baseColor = color;
310 setColor( 0, block.getText().length(), color );
320 * @param color
322 void setColor(int start, int end, ColorRGBA color) {
argument [all...] |
H A D | 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,
argument 75 this.color.set(color);
84 this.color.set(ColorRGBA.White);
92 clone.color = color.clone();
142 return color;
145 setColor(ColorRGBA color) argument [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
H A D | ColorRGBA.java | 36 * <code>ColorRGBA</code> defines a color made from a collection of red, green
54 * the color black (0,0,0).
58 * the color white (1,1,1).
62 * the color gray (.2,.2,.2).
66 * the color gray (.5,.5,.5).
70 * the color gray (.8,.8,.8).
74 * the color red (1,0,0).
78 * the color green (0,1,0).
82 * the color blue (0,0,1).
86 * the color yello 514 fromIntARGB(int color) argument 521 fromIntRGBA(int color) argument [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/ |
H A D | RenderContext.java | 239 * Ambient color (GL1 only) 244 * Diffuse color (GL1 only) 249 * Specular color (GL1 only) 254 * Material color (GL1 only) 256 public ColorRGBA color; field in class:RenderContext 264 * Use vertex color (GL1 only) 315 ambient = diffuse = specular = color = null;
|
H A D | Renderer.java | 80 * @param color True if to clear colors (RGBA) 85 public void clearBuffers(boolean color, boolean depth, boolean stencil); argument 88 * Sets the background (aka clear) color. 90 * @param color The background color to set 92 public void setBackgroundColor(ColorRGBA color); argument 201 * set copyDepth to false to only copy the color buffers. 221 * Only color pixels are transferred, the format is BGRA with 8 bits 226 * @param byteBuf The bytebuffer to transfer color data to
|
H A D | ViewPort.java | 53 * The background color which the color buffer is cleared to can be specified 170 * Check if color buffer clearing is enabled. 172 * @return true if color buffer clearing is enabled. 181 * Enable or disable clearing of the color buffer for this ViewPort. 183 * By default color clearing is disabled. 185 * @param clearColor Enable/disable color buffer clearing. 214 * Set the clear flags (color, depth, stencil) in one call. 216 * @param color If color buffe 224 setClearFlags(boolean color, boolean depth, boolean stencil) argument [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/util/ |
H A D | BufferUtils.java | 251 * Sets the data contained in the given color into the FloatBuffer at the 254 * @param color 261 public static void setInBuffer(ColorRGBA color, FloatBuffer buf, argument 264 buf.put(color.r); 265 buf.put(color.g); 266 buf.put(color.b); 267 buf.put(color.a);
|
H A D | TempVars.java | 160 public final ColorRGBA color = new ColorRGBA();
field in class:TempVars
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/ |
H A D | ShaderUtils.java | 50 public static final float[] i2c(final int color) {
argument 51 return new float[] { (color & 0x00ff0000) / 256f, (color & 0x0000ff00) / 256f, (color & 0x000000ff) / 256f,
52 (color & 0xff000000) / 256f };
55 public static final int c2i(final float[] color) {
argument 56 return (color.length == 4 ? (int) (color[3] * 256) : 0xff000000) | ((int) (color[0] * 256) << 16) | ((int) (color[ [all...] |
/external/linux-tools-perf/scripts/python/ |
H A D | sched-migration.py | 36 def color(): member in class:RunqueueEventUnknown 44 def color(): member in class:RunqueueEventSleep 55 def color(): member in class:RunqueueEventWakeup 66 def color(): member in class:RunqueueEventFork 77 def color(): member in class:RunqueueMigrateIn 88 def color(): member in class:RunqueueMigrateOut 289 color = (0xff, red_power, red_power) 294 top_color = rq.event.color() 296 self.root_win.paint_rectangle_zone(cpu, color, top_color, slice.start, slice.end)
|
/external/linux-tools-perf/util/ |
H A D | 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, argument 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, argument 209 if (perf_use_color_default && *color) 210 r += fprintf(fp, "%s", color); 219 color_vsnprintf(char *bf, size_t size, const char *color, const char *fmt, va_list args) argument 225 color_vfprintf(FILE *fp, const char *color, const char *fmt, va_list args) argument 230 color_snprintf(char *bf, size_t size, const char *color, const char *fmt, ...) argument 242 color_fprintf(FILE *fp, const char *color, const char *fmt, ...) argument 253 color_fprintf_ln(FILE *fp, const char *color, const char *fmt, ...) argument 268 color_fwrite_lines(FILE *fp, const char *color, size_t count, const char *buf) argument 293 const char *color = PERF_COLOR_NORMAL; local 312 const char *color; local 322 const char *color = get_percent_color(percent); local [all...] |
/external/linux-tools-perf/util/ui/ |
H A D | browser.c | 10 #include "../color.h" 25 void ui_browser__set_color(struct ui_browser *self __used, int color) argument 27 SLsmg_set_color(color); 33 int color = ui_browser__percent_color(percent, current); local 34 ui_browser__set_color(self, color);
|
/external/mesa3d/src/pixelflinger2/ |
H A D | scanline.cpp | 28 static void Saturate(Vec4<BlendComp_t> * color) argument 30 color->r = MIN2(MAX2(color->r, 0), 255); 31 color->g = MIN2(MAX2(color->g, 0), 255); 32 color->b = MIN2(MAX2(color->b, 0), 255); 33 color->a = MIN2(MAX2(color->a, 0), 255); 36 static inline void RGBAIntToRGBAIntx4(unsigned rgba, Vec4<BlendComp_t> * color) __attribute_ 37 RGBAIntToRGBAIntx4(unsigned rgba, Vec4<BlendComp_t> * color) argument 45 RGBAFloatx4ToRGBAIntx4(Vector4 * v, Vec4<BlendComp_t> * color) argument 54 RGBAIntx4ToRGBAInt(const Vec4<BlendComp_t> * color) argument [all...] |
/external/opencv/cvaux/src/ |
H A D | cvcalibfilter.cpp | 549 CvScalar color = line_colors[0]; local 561 color = line_colors[(j/cvRound(etalonParams[0]))%colorCount]; 563 color = CV_RGB(0,255,0); 566 cvLine( dst, prev_pt, pt, color, 1, CV_AA ); 570 cvPoint( pt.x + r, pt.y + r ), color, 1, CV_AA ); 573 cvPoint( pt.x + r, pt.y - r), color, 1, CV_AA ); 575 cvCircle( dst, pt, r+1, color, 1, CV_AA );
|
H A D | cvfacedetection.cpp | 248 void FaceDetection::AddContours2Rect(CvSeq *seq, int color, int iLayer) argument 264 cr.iColor = color; 276 cr.iColor = color; 280 }// void FaceDetection::AddContours2Rect(CvSeq *seq, int color, int iLayer)
|