color 56 android_webview/java/src/org/chromium/android_webview/AwContentViewClient.java public void onBackgroundColorChanged(int color) { color 57 android_webview/java/src/org/chromium/android_webview/AwContentViewClient.java mAwContentsClient.onBackgroundColorChanged(color); color 959 android_webview/java/src/org/chromium/android_webview/AwContents.java public void setBackgroundColor(int color) { color 960 android_webview/java/src/org/chromium/android_webview/AwContents.java mBaseBackgroundColor = color; color 961 android_webview/java/src/org/chromium/android_webview/AwContents.java if (mNativeAwContents != 0) nativeSetBackgroundColor(mNativeAwContents, color); color 2124 android_webview/java/src/org/chromium/android_webview/AwContents.java private native void nativeSetBackgroundColor(long nativeAwContents, int color); color 124 android_webview/java/src/org/chromium/android_webview/AwContentsClient.java final void onBackgroundColorChanged(int color) { color 127 android_webview/java/src/org/chromium/android_webview/AwContentsClient.java mCachedRendererBackgroundColor = color == INVALID_COLOR ? 1 : color; color 876 android_webview/native/aw_contents.cc void AwContents::SetBackgroundColor(JNIEnv* env, jobject obj, jint color) { color 878 android_webview/native/aw_contents.cc render_view_host_ext_->SetBackgroundColor(color); color 108 android_webview/native/aw_contents.h void SetBackgroundColor(JNIEnv* env, jobject obj, jint color); color 364 apps/app_window.h SkColor color, color 141 ash/desktop_background/desktop_background_controller_unittest.cc gfx::ImageSkia CreateImage(int width, int height, SkColor color) { color 145 ash/desktop_background/desktop_background_controller_unittest.cc bitmap.eraseColor(color); color 202 ash/desktop_background/desktop_background_controller_unittest.cc SkColor color) { color 206 ash/desktop_background/desktop_background_controller_unittest.cc bitmap.eraseColor(color); color 32 ash/display/shared_display_edge_indicator.cc void SetColor(SkColor color) { color 33 ash/display/shared_display_edge_indicator.cc color_ = color; color 107 ash/display/shared_display_edge_indicator.cc SkColor color = SkColorSetARGB(0xFF, value, value, value); color 109 ash/display/shared_display_edge_indicator.cc static_cast<IndicatorView*>(src_indicator_)->SetColor(color); color 111 ash/display/shared_display_edge_indicator.cc static_cast<IndicatorView*>(dst_indicator_)->SetColor(color); color 302 ash/frame/default_header_painter.cc SkColor color = (mode_ == MODE_ACTIVE) ? color 307 ash/frame/default_header_painter.cc paint.setColor(color); color 90 ash/ime/mode_indicator_view.cc new views::BubbleBorder(arrow(), shadow(), color()))); color 777 ash/root_window_controller.cc SkColor color = SK_ColorBLACK; color 780 ash/root_window_controller.cc color = kChromeOsBootColor; color 783 ash/root_window_controller.cc new SystemBackgroundController(root_window(), color)); color 238 ash/system/chromeos/session/tray_session_length_limit.cc const SkColor color = color 246 ash/system/chromeos/session/tray_session_length_limit.cc horizontal_layout_label_->SetEnabledColor(color); color 254 ash/system/chromeos/session/tray_session_length_limit.cc vertical_layout_label_hours_left_->SetEnabledColor(color); color 255 ash/system/chromeos/session/tray_session_length_limit.cc vertical_layout_label_hours_right_->SetEnabledColor(color); color 256 ash/system/chromeos/session/tray_session_length_limit.cc vertical_layout_label_minutes_left_->SetEnabledColor(color); color 257 ash/system/chromeos/session/tray_session_length_limit.cc vertical_layout_label_minutes_right_->SetEnabledColor(color); color 258 ash/system/chromeos/session/tray_session_length_limit.cc vertical_layout_label_seconds_left_->SetEnabledColor(color); color 259 ash/system/chromeos/session/tray_session_length_limit.cc vertical_layout_label_seconds_right_->SetEnabledColor(color); color 51 ash/system/tray/hover_highlight_view.h void set_highlight_color(SkColor color) { highlight_color_ = color; } color 52 ash/system/tray/hover_highlight_view.h void set_default_color(SkColor color) { default_color_ = color; } color 54 ash/system/tray/hover_highlight_view.h void set_text_default_color(SkColor color) { text_default_color_ = color; } color 147 ash/system/tray/tray_background_view.cc void set_color(SkColor color) { color_ = color; } color 247 ash/test/ash_test_base.cc aura::Window* AshTestBase::CreateTestWindowInShell(SkColor color, color 251 ash/test/ash_test_base.cc new aura::test::ColorTestWindowDelegate(color), id, bounds); color 75 ash/test/ash_test_base.h aura::Window* CreateTestWindowInShell(SkColor color, color 15 ash/wm/system_background_controller.cc SkColor color) color 19 ash/wm/system_background_controller.cc layer_->SetColor(color); color 31 ash/wm/system_background_controller.cc void SystemBackgroundController::SetColor(SkColor color) { color 32 ash/wm/system_background_controller.cc layer_->SetColor(color); color 30 ash/wm/system_background_controller.h SystemBackgroundController(aura::Window* root_window, SkColor color); color 33 ash/wm/system_background_controller.h void SetColor(SkColor color); color 29 cc/animation/keyframed_animation_curve_unittest.cc SkColor color = SkColorSetARGB(255, 255, 255, 255); color 33 cc/animation/keyframed_animation_curve_unittest.cc ColorKeyframe::Create(0.0, color, scoped_ptr<TimingFunction>())); color 35 cc/animation/keyframed_animation_curve_unittest.cc EXPECT_SKCOLOR_EQ(color, curve->GetValue(-1.f)); color 36 cc/animation/keyframed_animation_curve_unittest.cc EXPECT_SKCOLOR_EQ(color, curve->GetValue(0.f)); color 37 cc/animation/keyframed_animation_curve_unittest.cc EXPECT_SKCOLOR_EQ(color, curve->GetValue(0.5f)); color 38 cc/animation/keyframed_animation_curve_unittest.cc EXPECT_SKCOLOR_EQ(color, curve->GetValue(1.f)); color 39 cc/animation/keyframed_animation_curve_unittest.cc EXPECT_SKCOLOR_EQ(color, curve->GetValue(2.f)); color 325 cc/layers/delegated_renderer_layer_impl.cc SkColor color; color 327 cc/layers/delegated_renderer_layer_impl.cc GetDebugBorderProperties(&color, &border_width); color 407 cc/layers/layer.cc SkColor color = background_color(); color 408 cc/layers/layer.cc if (SkColorGetA(color) == 255 && !contents_opaque()) { color 409 cc/layers/layer.cc color = SK_ColorTRANSPARENT; color 410 cc/layers/layer.cc } else if (SkColorGetA(color) != 255 && contents_opaque()) { color 413 cc/layers/layer.cc color = layer->background_color(); color 414 cc/layers/layer.cc if (SkColorGetA(color) == 255) color 417 cc/layers/layer.cc if (SkColorGetA(color) != 255) color 418 cc/layers/layer.cc color = layer_tree_host_->background_color(); color 419 cc/layers/layer.cc if (SkColorGetA(color) != 255) color 420 cc/layers/layer.cc color = SkColorSetA(color, 255); color 422 cc/layers/layer.cc return color; color 272 cc/layers/layer_impl.cc void LayerImpl::GetDebugBorderProperties(SkColor* color, float* width) const { color 274 cc/layers/layer_impl.cc *color = DebugColors::ContentLayerBorderColor(); color 280 cc/layers/layer_impl.cc *color = DebugColors::MaskingLayerBorderColor(); color 285 cc/layers/layer_impl.cc *color = DebugColors::ContainerLayerBorderColor(); color 293 cc/layers/layer_impl.cc SkColor color; color 295 cc/layers/layer_impl.cc GetDebugBorderProperties(&color, &width); color 297 cc/layers/layer_impl.cc quad_sink, shared_quad_state, append_quads_data, color, width); color 303 cc/layers/layer_impl.cc SkColor color, color 313 cc/layers/layer_impl.cc shared_quad_state, quad_rect, visible_quad_rect, color, width); color 878 cc/layers/layer_impl.cc SkColor color = background_color(); color 879 cc/layers/layer_impl.cc if (SkColorGetA(color) == 255 && !contents_opaque()) { color 880 cc/layers/layer_impl.cc color = SK_ColorTRANSPARENT; color 881 cc/layers/layer_impl.cc } else if (SkColorGetA(color) != 255 && contents_opaque()) { color 884 cc/layers/layer_impl.cc color = layer->background_color(); color 885 cc/layers/layer_impl.cc if (SkColorGetA(color) == 255) color 888 cc/layers/layer_impl.cc if (SkColorGetA(color) != 255) color 889 cc/layers/layer_impl.cc color = layer_tree_impl()->background_color(); color 890 cc/layers/layer_impl.cc if (SkColorGetA(color) != 255) color 891 cc/layers/layer_impl.cc color = SkColorSetA(color, 255); color 893 cc/layers/layer_impl.cc return color; color 530 cc/layers/layer_impl.h virtual void GetDebugBorderProperties(SkColor* color, float* width) const; color 538 cc/layers/layer_impl.h SkColor color, color 51 cc/layers/picture_image_layer_impl.cc SkColor* color, float* width) const { color 52 cc/layers/picture_image_layer_impl.cc *color = DebugColors::ImageLayerBorderColor(); color 40 cc/layers/picture_image_layer_impl.h SkColor* color, float* width) const OVERRIDE; color 177 cc/layers/picture_layer_impl.cc SkColor color; color 183 cc/layers/picture_layer_impl.cc color = DebugColors::SolidColorTileBorderColor(); color 186 cc/layers/picture_layer_impl.cc color = DebugColors::PictureTileBorderColor(); color 189 cc/layers/picture_layer_impl.cc color = DebugColors::HighResTileBorderColor(); color 192 cc/layers/picture_layer_impl.cc color = DebugColors::LowResTileBorderColor(); color 195 cc/layers/picture_layer_impl.cc color = DebugColors::ExtraHighResTileBorderColor(); color 198 cc/layers/picture_layer_impl.cc color = DebugColors::ExtraLowResTileBorderColor(); color 202 cc/layers/picture_layer_impl.cc color = DebugColors::MissingTileBorderColor(); color 213 cc/layers/picture_layer_impl.cc color, color 233 cc/layers/picture_layer_impl.cc SkColor color = DebugColors::DefaultCheckerboardColor(); color 235 cc/layers/picture_layer_impl.cc shared_quad_state, geometry_rect, visible_geometry_rect, color); color 239 cc/layers/picture_layer_impl.cc SkColor color = SafeOpaqueBackgroundColor(); color 244 cc/layers/picture_layer_impl.cc color, color 1226 cc/layers/picture_layer_impl.cc SkColor* color, color 1228 cc/layers/picture_layer_impl.cc *color = DebugColors::TiledContentLayerBorderColor(); color 158 cc/layers/picture_layer_impl.h SkColor* color, float* width) const OVERRIDE; color 163 cc/layers/render_surface_impl.cc SkColor color = for_replica ? color 174 cc/layers/render_surface_impl.cc shared_quad_state, content_rect_, visible_content_rect, color, width); color 836 cc/layers/scrollbar_layer_unittest.cc SkColor color = argb_to_skia( color 842 cc/layers/scrollbar_layer_unittest.cc EXPECT_EQ(color, pixels[0]) color 845 cc/layers/scrollbar_layer_unittest.cc EXPECT_EQ(color, pixels[width - 1]) color 848 cc/layers/scrollbar_layer_unittest.cc EXPECT_EQ(color, pixels[width * (height - 1)]) color 851 cc/layers/scrollbar_layer_unittest.cc EXPECT_EQ(color, pixels[width * height - 1]) color 25 cc/layers/solid_color_layer.cc void SolidColorLayer::SetBackgroundColor(SkColor color) { color 26 cc/layers/solid_color_layer.cc SetContentsOpaque(SkColorGetA(color) == 255); color 27 cc/layers/solid_color_layer.cc Layer::SetBackgroundColor(color); color 23 cc/layers/solid_color_layer.h virtual void SetBackgroundColor(SkColor color) OVERRIDE; color 70 cc/layers/solid_color_layer_impl_unittest.cc EXPECT_EQ(SolidColorDrawQuad::MaterialCast(quad_culler.quad_list()[0])->color, color 57 cc/layers/surface_layer_impl.cc void SurfaceLayerImpl::GetDebugBorderProperties(SkColor* color, color 59 cc/layers/surface_layer_impl.cc *color = DebugColors::SurfaceLayerBorderColor(); color 34 cc/layers/surface_layer_impl.h virtual void GetDebugBorderProperties(SkColor* color, color 91 cc/layers/tiled_layer_impl.cc void TiledLayerImpl::GetDebugBorderProperties(SkColor* color, color 93 cc/layers/tiled_layer_impl.cc *color = DebugColors::TiledContentLayerBorderColor(); color 58 cc/layers/tiled_layer_impl.h virtual void GetDebugBorderProperties(SkColor* color, float* width) const color 45 cc/output/filter_operation.cc SkColor color) color 49 cc/output/filter_operation.cc drop_shadow_color_(color), color 118 cc/output/filter_operation.h SkColor color) { color 119 cc/output/filter_operation.h return FilterOperation(DROP_SHADOW, offset, std_deviation, color); color 163 cc/output/filter_operation.h void set_drop_shadow_color(SkColor color) { color 165 cc/output/filter_operation.h drop_shadow_color_ = color; color 202 cc/output/filter_operation.h SkColor color); color 141 cc/output/gl_renderer.cc Float4 PremultipliedColor(SkColor color) { color 143 cc/output/gl_renderer.cc const float alpha = SkColorGetA(color) * factor; color 146 cc/output/gl_renderer.cc {SkColorGetR(color) * factor * alpha, SkColorGetG(color) * factor * alpha, color 147 cc/output/gl_renderer.cc SkColorGetB(color) * factor * alpha, alpha}}; color 417 cc/output/gl_renderer.cc SkColor color = quad->color; color 420 cc/output/gl_renderer.cc SkColorGetR(color) * (1.0f / 255.0f), color 421 cc/output/gl_renderer.cc SkColorGetG(color) * (1.0f / 255.0f), color 422 cc/output/gl_renderer.cc SkColorGetB(color) * (1.0f / 255.0f), color 474 cc/output/gl_renderer.cc SkColor color = quad->color; color 475 cc/output/gl_renderer.cc float alpha = SkColorGetA(color) * (1.0f / 255.0f); color 479 cc/output/gl_renderer.cc (SkColorGetR(color) * (1.0f / 255.0f)) * alpha, color 480 cc/output/gl_renderer.cc (SkColorGetG(color) * (1.0f / 255.0f)) * alpha, color 481 cc/output/gl_renderer.cc (SkColorGetB(color) * (1.0f / 255.0f)) * alpha, color 1339 cc/output/gl_renderer.cc SkColor color = quad->color; color 1341 cc/output/gl_renderer.cc float alpha = (SkColorGetA(color) * (1.0f / 255.0f)) * opacity; color 1369 cc/output/gl_renderer.cc (SkColorGetR(color) * (1.0f / 255.0f)) * alpha, color 1370 cc/output/gl_renderer.cc (SkColorGetG(color) * (1.0f / 255.0f)) * alpha, color 1371 cc/output/gl_renderer.cc (SkColorGetB(color) * (1.0f / 255.0f)) * alpha, color 1445 cc/output/shader.cc uniform vec4 color; color 1447 cc/output/shader.cc gl_FragColor = color; color 1476 cc/output/shader.cc uniform vec4 color; color 1483 cc/output/shader.cc gl_FragColor = color * aa; color 1527 cc/output/shader.cc uniform vec4 color; color 1530 cc/output/shader.cc vec4 color2 = color; color 229 cc/output/software_renderer.cc void SoftwareRenderer::ClearCanvas(SkColor color) { color 233 cc/output/software_renderer.cc current_canvas_->drawColor(color, SkXfermode::kSrc_Mode); color 235 cc/output/software_renderer.cc current_canvas_->clear(color); color 347 cc/output/software_renderer.cc current_paint_.setColor(quad->color); color 348 cc/output/software_renderer.cc current_paint_.setAlpha(quad->opacity() * SkColorGetA(quad->color)); color 364 cc/output/software_renderer.cc current_paint_.setColor(quad->color); color 365 cc/output/software_renderer.cc current_paint_.setAlpha(quad->opacity() * SkColorGetA(quad->color)); color 408 cc/output/software_renderer.cc current_paint_.setColor(quad->color); color 409 cc/output/software_renderer.cc current_paint_.setAlpha(quad->opacity() * SkColorGetA(quad->color)); color 80 cc/output/software_renderer.h void ClearCanvas(SkColor color); color 12 cc/quads/checkerboard_draw_quad.cc CheckerboardDrawQuad::CheckerboardDrawQuad() : color(0) {} color 21 cc/quads/checkerboard_draw_quad.cc SkColor color) { color 22 cc/quads/checkerboard_draw_quad.cc gfx::Rect opaque_rect = SkColorGetA(color) == 255 ? rect : gfx::Rect(); color 26 cc/quads/checkerboard_draw_quad.cc this->color = color; color 34 cc/quads/checkerboard_draw_quad.cc SkColor color) { color 37 cc/quads/checkerboard_draw_quad.cc this->color = color; color 50 cc/quads/checkerboard_draw_quad.cc value->SetInteger("color", color); color 22 cc/quads/checkerboard_draw_quad.h SkColor color); color 29 cc/quads/checkerboard_draw_quad.h SkColor color); color 31 cc/quads/checkerboard_draw_quad.h SkColor color; color 13 cc/quads/debug_border_draw_quad.cc : color(0), color 24 cc/quads/debug_border_draw_quad.cc SkColor color, color 27 cc/quads/debug_border_draw_quad.cc bool needs_blending = SkColorGetA(color) < 255; color 30 cc/quads/debug_border_draw_quad.cc this->color = color; color 39 cc/quads/debug_border_draw_quad.cc SkColor color, color 43 cc/quads/debug_border_draw_quad.cc this->color = color; color 57 cc/quads/debug_border_draw_quad.cc value->SetInteger("color", color); color 22 cc/quads/debug_border_draw_quad.h SkColor color, color 30 cc/quads/debug_border_draw_quad.h SkColor color, color 33 cc/quads/debug_border_draw_quad.h SkColor color; color 333 cc/quads/draw_quad_unittest.cc SkColor color = 0xfabb0011; color 336 cc/quads/draw_quad_unittest.cc CREATE_QUAD_2_NEW(CheckerboardDrawQuad, visible_rect, color); color 339 cc/quads/draw_quad_unittest.cc EXPECT_EQ(color, copy_quad->color); color 341 cc/quads/draw_quad_unittest.cc CREATE_QUAD_1_ALL(CheckerboardDrawQuad, color); color 343 cc/quads/draw_quad_unittest.cc EXPECT_EQ(color, copy_quad->color); color 348 cc/quads/draw_quad_unittest.cc SkColor color = 0xfabb0011; color 352 cc/quads/draw_quad_unittest.cc CREATE_QUAD_3_NEW(DebugBorderDrawQuad, visible_rect, color, width); color 355 cc/quads/draw_quad_unittest.cc EXPECT_EQ(color, copy_quad->color); color 358 cc/quads/draw_quad_unittest.cc CREATE_QUAD_2_ALL(DebugBorderDrawQuad, color, width); color 360 cc/quads/draw_quad_unittest.cc EXPECT_EQ(color, copy_quad->color); color 451 cc/quads/draw_quad_unittest.cc SkColor color = 0x49494949; color 456 cc/quads/draw_quad_unittest.cc SolidColorDrawQuad, visible_rect, color, force_anti_aliasing_off); color 459 cc/quads/draw_quad_unittest.cc EXPECT_EQ(color, copy_quad->color); color 462 cc/quads/draw_quad_unittest.cc CREATE_QUAD_2_ALL(SolidColorDrawQuad, color, force_anti_aliasing_off); color 464 cc/quads/draw_quad_unittest.cc EXPECT_EQ(color, copy_quad->color); color 697 cc/quads/draw_quad_unittest.cc SkColor color = 0xfabb0011; color 700 cc/quads/draw_quad_unittest.cc CREATE_QUAD_2_NEW(CheckerboardDrawQuad, visible_rect, color); color 706 cc/quads/draw_quad_unittest.cc SkColor color = 0xfabb0011; color 710 cc/quads/draw_quad_unittest.cc CREATE_QUAD_3_NEW(DebugBorderDrawQuad, visible_rect, color, width); color 769 cc/quads/draw_quad_unittest.cc SkColor color = 0x49494949; color 774 cc/quads/draw_quad_unittest.cc SolidColorDrawQuad, visible_rect, color, force_anti_aliasing_off); color 13 cc/quads/solid_color_draw_quad.cc : color(0), force_anti_aliasing_off(false) {} color 22 cc/quads/solid_color_draw_quad.cc SkColor color, color 24 cc/quads/solid_color_draw_quad.cc gfx::Rect opaque_rect = SkColorGetA(color) == 255 ? rect : gfx::Rect(); color 28 cc/quads/solid_color_draw_quad.cc this->color = color; color 37 cc/quads/solid_color_draw_quad.cc SkColor color, color 41 cc/quads/solid_color_draw_quad.cc this->color = color; color 55 cc/quads/solid_color_draw_quad.cc value->SetInteger("color", color); color 22 cc/quads/solid_color_draw_quad.h SkColor color, color 30 cc/quads/solid_color_draw_quad.h SkColor color, color 33 cc/quads/solid_color_draw_quad.h SkColor color; color 78 cc/resources/managed_tile_state.h void SetSolidColorForTesting(SkColor color) { set_solid_color(color); } color 92 cc/resources/managed_tile_state.h void set_solid_color(const SkColor& color) { color 94 cc/resources/managed_tile_state.h solid_color_ = color; color 797 cc/resources/picture_pile_impl_unittest.cc SkColor color = bitmap.getColor(x, y); color 798 cc/resources/picture_pile_impl_unittest.cc EXPECT_EQ(SkColorGetR(test_color), SkColorGetR(color)) << "x: " << x color 800 cc/resources/picture_pile_impl_unittest.cc EXPECT_EQ(SkColorGetG(test_color), SkColorGetG(color)) << "x: " << x color 802 cc/resources/picture_pile_impl_unittest.cc EXPECT_EQ(SkColorGetB(test_color), SkColorGetB(color)) << "x: " << x color 804 cc/resources/picture_pile_impl_unittest.cc EXPECT_EQ(SkColorGetA(test_color), SkColorGetA(color)) << "x: " << x color 806 cc/resources/picture_pile_impl_unittest.cc if (test_color != color) color 85 cc/surfaces/surface_aggregator_test_helpers.cc AddQuad(pass, gfx::Rect(0, 0, 5, 5), desc.color); color 121 cc/surfaces/surface_aggregator_test_helpers.cc EXPECT_EQ(expected_quad.color, solid_color_quad->color); color 21 cc/surfaces/surface_aggregator_test_helpers.h static Quad SolidColorQuad(SkColor color) { color 24 cc/surfaces/surface_aggregator_test_helpers.h quad.color = color; color 46 cc/surfaces/surface_aggregator_test_helpers.h SkColor color; color 54 cc/surfaces/surface_aggregator_test_helpers.h color(SK_ColorWHITE), color 55 cc/test/fake_picture_pile_impl.h void set_background_color(SkColor color) { color 56 cc/test/fake_picture_pile_impl.h background_color_ = color; color 119 cc/test/layer_tree_pixel_test.cc const gfx::Rect& rect, SkColor color) { color 125 cc/test/layer_tree_pixel_test.cc layer->SetBackgroundColor(color); color 150 cc/test/layer_tree_pixel_test.cc const gfx::Rect& rect, SkColor color, color 152 cc/test/layer_tree_pixel_test.cc scoped_refptr<SolidColorLayer> layer = CreateSolidColorLayer(rect, color); color 53 cc/test/layer_tree_pixel_test.h SkColor color); color 56 cc/test/layer_tree_pixel_test.h SkColor color, color 33 cc/test/render_pass_test_utils.cc SkColor color) { color 45 cc/test/render_pass_test_utils.cc quad->SetNew(shared_state, rect, rect, color, false); color 53 cc/test/render_pass_test_utils.cc SkColor color) { color 65 cc/test/render_pass_test_utils.cc quad->SetNew(shared_state, rect, rect, color, false); color 73 cc/test/render_pass_test_utils.cc SkColor color, color 81 cc/test/render_pass_test_utils.cc quad->SetNew(shared_state, rect, rect, color, false); color 35 cc/test/render_pass_test_utils.h SkColor color); color 40 cc/test/render_pass_test_utils.h SkColor color); color 45 cc/test/render_pass_test_utils.h SkColor color, color 16 cc/test/solid_color_content_layer_client.h explicit SolidColorContentLayerClient(SkColor color) : color_(color) {} color 221 cc/trees/layer_tree_host.h void set_background_color(SkColor color) { background_color_ = color; } color 139 cc/trees/layer_tree_impl.h void set_background_color(SkColor color) { background_color_ = color; } color 197 chrome/android/java/src/org/chromium/chrome/browser/BookmarkUtils.java Context context, Canvas canvas, int iconDensity, int color) { color 213 chrome/android/java/src/org/chromium/chrome/browser/BookmarkUtils.java paint.setColorFilter(new PorterDuffColorFilter(color, PorterDuff.Mode.SRC_IN)); color 436 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerView.java fgColor = res.getColor(R.color.app_banner_open_button_fg); color 441 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerView.java fgColor = res.getColor(R.color.app_banner_install_button_fg); color 58 chrome/android/java/src/org/chromium/chrome/browser/infobar/ContentWrapperView.java int separatorBackground = R.color.infobar_info_background_separator; color 62 chrome/android/java/src/org/chromium/chrome/browser/infobar/ContentWrapperView.java separatorBackground = R.color.infobar_warning_background_separator; color 146 chrome/browser/android/shortcut_helper.cc SkColor color = SK_ColorWHITE; color 152 chrome/browser/android/shortcut_helper.cc color = color_utils::CalculateKMeanColorOfBitmap(favicon_bitmap); color 155 chrome/browser/android/shortcut_helper.cc int r_value = SkColorGetR(color); color 156 chrome/browser/android/shortcut_helper.cc int g_value = SkColorGetG(color); color 157 chrome/browser/android/shortcut_helper.cc int b_value = SkColorGetB(color); color 449 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc gfx::ImageSkia CreateTestImage(SkColor color) { color 453 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc bitmap.eraseColor(color); color 97 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc const SkColor color = bitmap.getColor(x, y); color 98 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc a += SkColorGetA(color); color 99 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc r += SkColorGetR(color); color 100 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc g += SkColorGetG(color); color 101 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc b += SkColorGetB(color); color 153 chrome/browser/chromeos/login/wallpaper_manager_unittest.cc gfx::ImageSkia CreateTestImage(SkColor color) { color 157 chrome/browser/chromeos/login/wallpaper_manager_unittest.cc bitmap.eraseColor(color); color 243 chrome/browser/devtools/devtools_window.cc std::string SkColorToRGBAString(SkColor color) { color 246 chrome/browser/devtools/devtools_window.cc return "rgba(" + base::IntToString(SkColorGetR(color)) + "," + color 247 chrome/browser/devtools/devtools_window.cc base::IntToString(SkColorGetG(color)) + "," + color 248 chrome/browser/devtools/devtools_window.cc base::IntToString(SkColorGetB(color)) + "," + color 249 chrome/browser/devtools/devtools_window.cc base::DoubleToString(SkColorGetA(color) / 255.0) + ")"; color 288 chrome/browser/devtools/devtools_window.h SkColor color, color 51 chrome/browser/diagnostics/diagnostics_writer.cc virtual bool SetColor(Color color) = 0; color 97 chrome/browser/diagnostics/diagnostics_writer.cc virtual bool SetColor(Color color) { color 100 chrome/browser/diagnostics/diagnostics_writer.cc switch (color) { color 160 chrome/browser/diagnostics/diagnostics_writer.cc virtual bool SetColor(Color color) OVERRIDE { color 165 chrome/browser/diagnostics/diagnostics_writer.cc switch (color) { color 255 chrome/browser/diagnostics/diagnostics_writer.cc SimpleConsole::Color color; color 259 chrome/browser/diagnostics/diagnostics_writer.cc color = SimpleConsole::GREEN; color 261 chrome/browser/diagnostics/diagnostics_writer.cc color = SimpleConsole::RED; color 268 chrome/browser/diagnostics/diagnostics_writer.cc console_->SetColor(color); color 455 chrome/browser/extensions/api/app_window/app_window_api.cc if (options.frame->as_frame_options->color.get()) { color 461 chrome/browser/extensions/api/app_window/app_window_api.cc if (image_util::ParseCSSColorString(*options.frame->as_frame_options->color, color 99 chrome/browser/extensions/api/extension_action/extension_action_api.cc SkColor color = static_cast<SkColor>(value); color 100 chrome/browser/extensions/api/extension_action/extension_action_api.cc DCHECK(value == color); // ensure value fits into color's 32 bits color 101 chrome/browser/extensions/api/extension_action/extension_action_api.cc return color; color 105 chrome/browser/extensions/api/extension_action/extension_action_api.cc std::string SkColorToRawString(SkColor color) { color 106 chrome/browser/extensions/api/extension_action/extension_action_api.cc return base::Uint64ToString(color); color 742 chrome/browser/extensions/api/extension_action/extension_action_api.cc SkColor color = 0; color 753 chrome/browser/extensions/api/extension_action/extension_action_api.cc color = SkColorSetARGB(color_array[3], color_array[0], color 758 chrome/browser/extensions/api/extension_action/extension_action_api.cc if (!image_util::ParseCSSColorString(color_string, &color)) color 762 chrome/browser/extensions/api/extension_action/extension_action_api.cc extension_action_->SetBadgeBackgroundColor(tab_id_, color); color 785 chrome/browser/extensions/api/extension_action/extension_action_api.cc SkColor color = extension_action_->GetBadgeBackgroundColor(tab_id_); color 787 chrome/browser/extensions/api/extension_action/extension_action_api.cc new base::FundamentalValue(static_cast<int>(SkColorGetR(color)))); color 789 chrome/browser/extensions/api/extension_action/extension_action_api.cc new base::FundamentalValue(static_cast<int>(SkColorGetG(color)))); color 791 chrome/browser/extensions/api/extension_action/extension_action_api.cc new base::FundamentalValue(static_cast<int>(SkColorGetB(color)))); color 793 chrome/browser/extensions/api/extension_action/extension_action_api.cc new base::FundamentalValue(static_cast<int>(SkColorGetA(color)))); color 54 chrome/browser/extensions/bookmark_app_helper_unittest.cc SkBitmap CreateSquareBitmapWithColor(int size, SkColor color) { color 58 chrome/browser/extensions/bookmark_app_helper_unittest.cc bitmap.eraseColor(color); color 62 chrome/browser/extensions/bookmark_app_helper_unittest.cc void ValidateBitmapSizeAndColor(SkBitmap bitmap, int size, SkColor color) { color 65 chrome/browser/extensions/bookmark_app_helper_unittest.cc EXPECT_EQ(color, bitmap.getColor(0, 0)); color 71 chrome/browser/extensions/bookmark_app_helper_unittest.cc WebApplicationInfo::IconInfo CreateIconInfoWithBitmap(int size, SkColor color) { color 75 chrome/browser/extensions/bookmark_app_helper_unittest.cc icon_info.data = CreateSquareBitmapWithColor(size, color); color 132 chrome/browser/extensions/extension_action.h void SetBadgeBackgroundColor(int tab_id, SkColor color) { color 133 chrome/browser/extensions/extension_action.h SetValue(&badge_background_color_, tab_id, color); color 97 chrome/browser/extensions/extension_view_host.h SkColor color, color 36 chrome/browser/history/select_favicon_frames_unittest.cc SkBitmap MakeBitmap(SkColor color, int w, int h) { color 40 chrome/browser/history/select_favicon_frames_unittest.cc bitmap.eraseColor(color); color 53 chrome/browser/history/select_favicon_frames_unittest.cc SkColor color = bitmap.getColor(x, y); color 55 chrome/browser/history/select_favicon_frames_unittest.cc return color; color 169 chrome/browser/history/top_sites.h SkColor color; color 165 chrome/browser/history/top_sites_impl_unittest.cc gfx::Image CreateBitmap(SkColor color) { color 169 chrome/browser/history/top_sites_impl_unittest.cc thumbnail.eraseColor(color); color 50 chrome/browser/managed_mode/managed_user_theme.cc bool ManagedUserTheme::GetColor(int id, SkColor* color) const { color 53 chrome/browser/managed_mode/managed_user_theme.cc *color = kDefaultColorFrameManagedUser; color 56 chrome/browser/managed_mode/managed_user_theme.cc *color = kDefaultColorFrameManagedUserInactive; color 59 chrome/browser/managed_mode/managed_user_theme.cc *color = SK_ColorWHITE; color 62 chrome/browser/managed_mode/managed_user_theme.cc *color = kDefaultColorManagedUserLabelBackground; color 21 chrome/browser/managed_mode/managed_user_theme.h virtual bool GetColor(int id, SkColor* color) const OVERRIDE; color 193 chrome/browser/printing/print_dialog_gtk.cc printing::GetColorModelForMode(settings->color(), &color_setting_name, color 60 chrome/browser/search/instant_service.cc RGBAColor color; color 61 chrome/browser/search/instant_service.cc color.r = SkColorGetR(sKColor); color 62 chrome/browser/search/instant_service.cc color.g = SkColorGetG(sKColor); color 63 chrome/browser/search/instant_service.cc color.b = SkColorGetB(sKColor); color 64 chrome/browser/search/instant_service.cc color.a = SkColorGetA(sKColor); color 65 chrome/browser/search/instant_service.cc return color; color 711 chrome/browser/sync/test/integration/bookmarks_helper.cc gfx::Image CreateFavicon(SkColor color) { color 724 chrome/browser/sync/test/integration/bookmarks_helper.cc bmp.eraseColor(color); color 180 chrome/browser/sync/test/integration/bookmarks_helper.h gfx::Image CreateFavicon(SkColor color); color 829 chrome/browser/themes/browser_theme_pack.cc bool BrowserThemePack::GetColor(int id, SkColor* color) const { color 833 chrome/browser/themes/browser_theme_pack.cc *color = colors_[i].color; color 1002 chrome/browser/themes/browser_theme_pack.cc colors_[i].color = SkColorSetRGB(0, 0, 0); color 1015 chrome/browser/themes/browser_theme_pack.cc colors_[count].color = it->second; color 1028 chrome/browser/themes/browser_theme_pack.cc SkColor color = SK_ColorWHITE; color 1037 chrome/browser/themes/browser_theme_pack.cc color = SkColorSetARGB(static_cast<int>(alpha * 255), r, g, b); color 1040 chrome/browser/themes/browser_theme_pack.cc color = SkColorSetARGB(alpha_int ? 255 : 0, r, g, b); color 1046 chrome/browser/themes/browser_theme_pack.cc color = SkColorSetRGB(r, g, b); color 1051 chrome/browser/themes/browser_theme_pack.cc (*temp_colors)[id] = color; color 83 chrome/browser/themes/browser_theme_pack.h virtual bool GetColor(int id, SkColor* color) const OVERRIDE; color 241 chrome/browser/themes/browser_theme_pack.h SkColor color; color 54 chrome/browser/themes/browser_theme_pack_unittest.cc int color, int tint) { color 55 chrome/browser/themes/browser_theme_pack_unittest.cc (*colors)[color] = HSLShift( color 90 chrome/browser/themes/browser_theme_pack_unittest.cc SkColor color = ThemeProperties::GetDefaultColor(it->first); color 91 chrome/browser/themes/browser_theme_pack_unittest.cc theme_pack_->GetColor(it->first, &color); color 92 chrome/browser/themes/browser_theme_pack_unittest.cc EXPECT_EQ(it->second, color) << "Color id = " << it->first; color 208 chrome/browser/themes/browser_theme_pack_unittest.cc SkColor color; color 210 chrome/browser/themes/browser_theme_pack_unittest.cc &color)); color 211 chrome/browser/themes/browser_theme_pack_unittest.cc EXPECT_EQ(SK_ColorBLACK, color); color 214 chrome/browser/themes/browser_theme_pack_unittest.cc &color)); color 215 chrome/browser/themes/browser_theme_pack_unittest.cc EXPECT_EQ(SkColorSetRGB(57, 137, 194), color); color 247 chrome/browser/themes/browser_theme_pack_unittest.cc &color)); color 330 chrome/browser/themes/browser_theme_pack_unittest.cc SkColor color = rep3.sk_bitmap().getColor(xy, xy); color 331 chrome/browser/themes/browser_theme_pack_unittest.cc normal.push_back(std::make_pair(xy, color)); color 334 chrome/browser/themes/browser_theme_pack_unittest.cc if (next_color != color) { color 335 chrome/browser/themes/browser_theme_pack_unittest.cc color = next_color; color 336 chrome/browser/themes/browser_theme_pack_unittest.cc normal.push_back(std::make_pair(xy, color)); color 351 chrome/browser/themes/browser_theme_pack_unittest.cc SkColor color = normal[i].second; color 352 chrome/browser/themes/browser_theme_pack_unittest.cc EXPECT_EQ(color, rep4.sk_bitmap().getColor(xy, xy)); color 24 chrome/browser/themes/custom_theme_supplier.cc bool CustomThemeSupplier::GetColor(int id, SkColor* color) const { color 54 chrome/browser/themes/custom_theme_supplier.h virtual bool GetColor(int id, SkColor* color) const; color 67 chrome/browser/themes/theme_service.cc SkColor IncreaseLightness(SkColor color, double percent) { color 69 chrome/browser/themes/theme_service.cc color_utils::SkColorToHSL(color, &result); color 71 chrome/browser/themes/theme_service.cc return color_utils::HSLToSkColor(result, SkColorGetA(color)); color 137 chrome/browser/themes/theme_service.cc SkColor color; color 138 chrome/browser/themes/theme_service.cc if (theme_supplier_.get() && theme_supplier_->GetColor(id, &color)) color 139 chrome/browser/themes/theme_service.cc return color; color 24 chrome/browser/themes/theme_service_aurax11.cc virtual bool GetColor(int id, SkColor* color) const OVERRIDE; color 51 chrome/browser/themes/theme_service_aurax11.cc bool NativeThemeX11::GetColor(int id, SkColor* color) const { color 52 chrome/browser/themes/theme_service_aurax11.cc return linux_ui_ && linux_ui_->GetColor(id, color); color 606 chrome/browser/ui/browser.h SkColor color, color 80 chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.h - (void)setTextColor:(NSColor*)color; color 28 chrome/browser/ui/cocoa/rect_path_utils.h NSColor *color); color 36 chrome/browser/ui/cocoa/rect_path_utils.h NSColor *color); color 211 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc GdkColor color = provider->GetGdkColor( color 213 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc gtk_widget_modify_bg(window, GTK_STATE_NORMAL, &color); color 297 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc GdkColor color = provider->GetGdkColor( color 299 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc gtk_widget_modify_fg(label, GTK_STATE_NORMAL, &color); color 300 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc gtk_widget_modify_fg(label, GTK_STATE_INSENSITIVE, &color); color 112 chrome/browser/ui/gtk/browser_titlebar.cc color_utils::HSL GdkColorToHSL(const GdkColor* color) { color 114 chrome/browser/ui/gtk/browser_titlebar.cc color_utils::SkColorToHSL(SkColorSetRGB(color->red >> 8, color 115 chrome/browser/ui/gtk/browser_titlebar.cc color->green >> 8, color 116 chrome/browser/ui/gtk/browser_titlebar.cc color->blue >> 8), &hsl); color 565 chrome/browser/ui/gtk/browser_titlebar.cc SkColor color = theme_service_->GetColor( color 581 chrome/browser/ui/gtk/browser_titlebar.cc button->SetBackground(color, background, mask); color 512 chrome/browser/ui/gtk/browser_toolbar_gtk.cc GdkColor color = theme_service_->GetGdkColor( color 514 chrome/browser/ui/gtk/browser_toolbar_gtk.cc gdk_cairo_set_source_color(cr, &color); color 24 chrome/browser/ui/gtk/color_chooser_gtk.cc virtual void SetSelectedColor(SkColor color) OVERRIDE; color 85 chrome/browser/ui/gtk/color_chooser_gtk.cc GdkColor color; color 89 chrome/browser/ui/gtk/color_chooser_gtk.cc gtk_color_selection_get_current_color(color_selection, &color); color 91 chrome/browser/ui/gtk/color_chooser_gtk.cc web_contents_->DidChooseColorInColorChooser(gfx::GdkColorToSkColor(color)); color 115 chrome/browser/ui/gtk/color_chooser_gtk.cc void ColorChooserGtk::SetSelectedColor(SkColor color) { color 119 chrome/browser/ui/gtk/color_chooser_gtk.cc GdkColor gdk_color = gfx::SkColorToGdkColor(color); color 54 chrome/browser/ui/gtk/constrained_web_dialog_delegate_gtk.cc void SetBackgroundColor(GtkWidget* widget, const GdkColor &color) { color 55 chrome/browser/ui/gtk/constrained_web_dialog_delegate_gtk.cc gtk_widget_modify_base(widget, GTK_STATE_NORMAL, &color); color 56 chrome/browser/ui/gtk/constrained_web_dialog_delegate_gtk.cc gtk_widget_modify_fg(widget, GTK_STATE_NORMAL, &color); color 57 chrome/browser/ui/gtk/constrained_web_dialog_delegate_gtk.cc gtk_widget_modify_bg(widget, GTK_STATE_NORMAL, &color); color 141 chrome/browser/ui/gtk/custom_button.cc void CustomDrawButtonBase::SetBackground(SkColor color, color 150 chrome/browser/ui/gtk/custom_button.cc SkBitmapOperations::CreateButtonBackground(color, image, mask); color 339 chrome/browser/ui/gtk/custom_button.cc void CustomDrawButton::SetBackground(SkColor color, color 342 chrome/browser/ui/gtk/custom_button.cc button_base_.SetBackground(color, image, mask); color 60 chrome/browser/ui/gtk/custom_button.h void SetBackground(SkColor color, color 191 chrome/browser/ui/gtk/custom_button.h void SetBackground(SkColor color, color 519 chrome/browser/ui/gtk/download/download_item_gtk.cc GdkColor color = theme_service_->GetGdkColor( color 523 chrome/browser/ui/gtk/download/download_item_gtk.cc theme_service_->UsingNativeTheme() ? NULL : &color); color 559 chrome/browser/ui/gtk/download/download_item_gtk.cc SkColor color = theme_service_->GetColor( color 561 chrome/browser/ui/gtk/download/download_item_gtk.cc if (color_utils::RelativeLuminance(color) > 0.5) { color 562 chrome/browser/ui/gtk/download/download_item_gtk.cc color = SkColorSetRGB( color 564 chrome/browser/ui/gtk/download/download_item_gtk.cc SkColorGetR(color)), color 566 chrome/browser/ui/gtk/download/download_item_gtk.cc SkColorGetG(color)), color 568 chrome/browser/ui/gtk/download/download_item_gtk.cc SkColorGetB(color))); color 575 chrome/browser/ui/gtk/download/download_item_gtk.cc color_utils::AlphaBlend(blend_color, color, 77)); color 598 chrome/browser/ui/gtk/download/download_item_gtk.cc GdkColor color = theme_service_->GetGdkColor( color 600 chrome/browser/ui/gtk/download/download_item_gtk.cc gtk_util::SetLabelColor(dangerous_label_, &color); color 249 chrome/browser/ui/gtk/download/download_shelf_gtk.cc GdkColor color = theme_service_->GetGdkColor( color 251 chrome/browser/ui/gtk/download/download_shelf_gtk.cc gtk_widget_modify_bg(padding_bg_, GTK_STATE_NORMAL, &color); color 253 chrome/browser/ui/gtk/download/download_shelf_gtk.cc color = theme_service_->GetBorderColor(); color 254 chrome/browser/ui/gtk/download/download_shelf_gtk.cc gtk_widget_modify_bg(top_border_, GTK_STATE_NORMAL, &color); color 910 chrome/browser/ui/gtk/find_bar_gtk.cc GdkColor color = bar->theme_service_->GetBorderColor(); color 911 chrome/browser/ui/gtk/find_bar_gtk.cc gdk_gc_set_rgb_fg_color(gc, &color); color 280 chrome/browser/ui/gtk/gtk_chrome_link_button.cc const GdkColor* color) { color 281 chrome/browser/ui/gtk/gtk_chrome_link_button.cc if (color) { color 282 chrome/browser/ui/gtk/gtk_chrome_link_button.cc snprintf(button->normal_color, 9, "#%02X%02X%02X", color->red / 257, color 283 chrome/browser/ui/gtk/gtk_chrome_link_button.cc color->green / 257, color->blue / 257); color 74 chrome/browser/ui/gtk/gtk_chrome_link_button.h const GdkColor* color); color 207 chrome/browser/ui/gtk/gtk_theme_service.cc SkColor color = gfx::GdkColorToSkColor(style->fg[state]); color 215 chrome/browser/ui/gtk/gtk_theme_service.cc fill_color.eraseColor(color); color 415 chrome/browser/ui/gtk/gtk_theme_service.cc const GdkColor& color) { color 418 chrome/browser/ui/gtk/gtk_theme_service.cc gtk_util::SetLabelColor(label, &color); color 419 chrome/browser/ui/gtk/gtk_theme_service.cc labels_.insert(std::make_pair(label, color)); color 457 chrome/browser/ui/gtk/gtk_theme_service.cc GdkColor color; color 458 chrome/browser/ui/gtk/gtk_theme_service.cc color.pixel = 0; color 459 chrome/browser/ui/gtk/gtk_theme_service.cc color.red = (text.red + (bg.red * kBgWeight)) / (1 + kBgWeight); color 460 chrome/browser/ui/gtk/gtk_theme_service.cc color.green = (text.green + (bg.green * kBgWeight)) / (1 + kBgWeight); color 461 chrome/browser/ui/gtk/gtk_theme_service.cc color.blue = (text.blue + (bg.blue * kBgWeight)) / (1 + kBgWeight); color 463 chrome/browser/ui/gtk/gtk_theme_service.cc return color; color 543 chrome/browser/ui/gtk/gtk_theme_service.cc GdkColor* color = i == 0 ? thumb_active_color : color 546 chrome/browser/ui/gtk/gtk_theme_service.cc color->pixel = 0; color 554 chrome/browser/ui/gtk/gtk_theme_service.cc color->red = components[0] * 65535 / (255 * (kHeight - 4)); color 555 chrome/browser/ui/gtk/gtk_theme_service.cc color->green = components[1] * 65535 / (255 * (kHeight - 4)); color 556 chrome/browser/ui/gtk/gtk_theme_service.cc color->blue = components[2] * 65535 / (255 * (kHeight - 4)); color 677 chrome/browser/ui/gtk/gtk_theme_service.cc const GdkColor* color = use_gtk_ ? NULL : &it->second; color 678 chrome/browser/ui/gtk/gtk_theme_service.cc gtk_util::SetLabelColor(it->first, color); color 927 chrome/browser/ui/gtk/gtk_theme_service.cc void GtkThemeService::SetThemeColorFromGtk(int id, const GdkColor* color) { color 928 chrome/browser/ui/gtk/gtk_theme_service.cc colors_[id] = gfx::GdkColorToSkColor(*color); color 931 chrome/browser/ui/gtk/gtk_theme_service.cc void GtkThemeService::SetThemeTintFromGtk(int id, const GdkColor* color) { color 934 chrome/browser/ui/gtk/gtk_theme_service.cc color_utils::SkColorToHSL(gfx::GdkColorToSkColor(*color), &hsl); color 976 chrome/browser/ui/gtk/gtk_theme_service.cc GdkColor* color = &style->bg[GTK_STATE_NORMAL]; color 981 chrome/browser/ui/gtk/gtk_theme_service.cc bitmap.eraseRGB(color->red >> 8, color->green >> 8, color->blue >> 8); color 1118 chrome/browser/ui/gtk/gtk_theme_service.cc const GdkColor color = style->text[GTK_STATE_SELECTED]; color 1119 chrome/browser/ui/gtk/gtk_theme_service.cc color_utils::SkColorToHSL(gfx::GdkColorToSkColor(color), tint); color 99 chrome/browser/ui/gtk/gtk_theme_service.h GtkWidget* BuildLabel(const std::string& text, const GdkColor& color); color 195 chrome/browser/ui/gtk/gtk_theme_service.h void SetThemeColorFromGtk(int id, const GdkColor* color); color 196 chrome/browser/ui/gtk/gtk_theme_service.h void SetThemeTintFromGtk(int id, const GdkColor* color); color 314 chrome/browser/ui/gtk/gtk_util.cc GtkWidget* CreateGtkBorderBin(GtkWidget* child, const GdkColor* color, color 320 chrome/browser/ui/gtk/gtk_util.cc if (color) color 321 chrome/browser/ui/gtk/gtk_util.cc gtk_widget_modify_bg(ebox, GTK_STATE_NORMAL, color); color 628 chrome/browser/ui/gtk/gtk_util.cc void SetLabelColor(GtkWidget* label, const GdkColor* color) { color 629 chrome/browser/ui/gtk/gtk_util.cc gtk_widget_modify_fg(label, GTK_STATE_NORMAL, color); color 630 chrome/browser/ui/gtk/gtk_util.cc gtk_widget_modify_fg(label, GTK_STATE_ACTIVE, color); color 631 chrome/browser/ui/gtk/gtk_util.cc gtk_widget_modify_fg(label, GTK_STATE_PRELIGHT, color); color 632 chrome/browser/ui/gtk/gtk_util.cc gtk_widget_modify_fg(label, GTK_STATE_INSENSITIVE, color); color 730 chrome/browser/ui/gtk/gtk_util.cc GdkColor color = theme_service->GetGdkColor( color 732 chrome/browser/ui/gtk/gtk_util.cc gdk_cairo_set_source_color(cr, &color); color 50 chrome/browser/ui/gtk/gtk_util.h GtkWidget* CreateGtkBorderBin(GtkWidget* child, const GdkColor* color, color 174 chrome/browser/ui/gtk/gtk_util.h void SetLabelColor(GtkWidget* label, const GdkColor* color); color 259 chrome/browser/ui/gtk/infobars/infobar_gtk.cc void InfoBarGtk::GetBackgroundColor(SkColor color, color 263 chrome/browser/ui/gtk/infobars/infobar_gtk.cc color = theme_service_->GetColor(ThemeProperties::COLOR_TOOLBAR); color 264 chrome/browser/ui/gtk/infobars/infobar_gtk.cc *r = SkColorGetR(color) / 255.0; color 265 chrome/browser/ui/gtk/infobars/infobar_gtk.cc *g = SkColorGetG(color) / 255.0; color 266 chrome/browser/ui/gtk/infobars/infobar_gtk.cc *b = SkColorGetB(color) / 255.0; color 118 chrome/browser/ui/gtk/infobars/infobar_gtk.h void GetBackgroundColor(SkColor color, double* r, double* g, double* b); color 1008 chrome/browser/ui/gtk/location_bar_view_gtk.cc const SkColor color = SK_ColorWHITE; color 1010 chrome/browser/ui/gtk/location_bar_view_gtk.cc canvas.FillRect(bounds, color); color 1014 chrome/browser/ui/gtk/location_bar_view_gtk.cc paint.setColor(color); color 426 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc const GdkColor* color = base_color; color 428 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc color = url_color; color 438 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc color = dim_color; color 441 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc color->red, color->green, color->blue); color 190 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk_unittest.cc const GdkColor& color) { color 192 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk_unittest.cc pango_attr_foreground_new(color.red, color 193 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk_unittest.cc color.green, color 194 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk_unittest.cc color.blue); color 146 chrome/browser/ui/gtk/panels/panel_gtk.cc gfx::Image CreateImageForColor(SkColor color) { color 148 chrome/browser/ui/gtk/panels/panel_gtk.cc canvas.DrawColor(color); color 263 chrome/browser/ui/gtk/rounded_window.cc GtkWidget* widget, const GdkColor& color, int corner_size, color 278 chrome/browser/ui/gtk/rounded_window.cc data->border_color = color; color 318 chrome/browser/ui/gtk/rounded_window.cc void SetRoundedWindowBorderColor(GtkWidget* widget, GdkColor color) { color 323 chrome/browser/ui/gtk/rounded_window.cc data->border_color = color; color 40 chrome/browser/ui/gtk/rounded_window.h GtkWidget* widget, const GdkColor& color, int corner_size, color 58 chrome/browser/ui/gtk/rounded_window.h void SetRoundedWindowBorderColor(GtkWidget* widget, GdkColor color); color 2268 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc SkColor color = theme_service_->GetColor( color 2274 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc newtab_button_->SetBackground(color, background, mask); color 68 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc const GdkColor& color) { color 69 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc GtkWidget* label = theme_service->BuildLabel(text, color); color 492 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc const GdkColor* color = &ui::kGdkBlack; color 499 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc color = &kGdkGreen; color 511 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc identity_status_text, kPopupWidth, theme_service_, *color); color 383 chrome/browser/ui/libgtk2ui/gtk2_ui.cc bool Gtk2UI::GetColor(int id, SkColor* color) const { color 386 chrome/browser/ui/libgtk2ui/gtk2_ui.cc *color = it->second; color 759 chrome/browser/ui/libgtk2ui/gtk2_ui.cc GdkColor* color = i == 0 ? thumb_active_color : color 762 chrome/browser/ui/libgtk2ui/gtk2_ui.cc color->pixel = 0; color 770 chrome/browser/ui/libgtk2ui/gtk2_ui.cc color->red = components[0] * 65535 / (255 * (kHeight - 4)); color 771 chrome/browser/ui/libgtk2ui/gtk2_ui.cc color->green = components[1] * 65535 / (255 * (kHeight - 4)); color 772 chrome/browser/ui/libgtk2ui/gtk2_ui.cc color->blue = components[2] * 65535 / (255 * (kHeight - 4)); color 984 chrome/browser/ui/libgtk2ui/gtk2_ui.cc void Gtk2UI::SetThemeColorFromGtk(int id, const GdkColor* color) { color 985 chrome/browser/ui/libgtk2ui/gtk2_ui.cc colors_[id] = GdkColorToSkColor(*color); color 988 chrome/browser/ui/libgtk2ui/gtk2_ui.cc void Gtk2UI::SetThemeTintFromGtk(int id, const GdkColor* color) { color 991 chrome/browser/ui/libgtk2ui/gtk2_ui.cc color_utils::SkColorToHSL(GdkColorToSkColor(*color), &hsl); color 1026 chrome/browser/ui/libgtk2ui/gtk2_ui.cc GdkColor* color = &style->bg[GTK_STATE_NORMAL]; color 1031 chrome/browser/ui/libgtk2ui/gtk2_ui.cc bitmap.eraseRGB(color->red >> 8, color->green >> 8, color->blue >> 8); color 1287 chrome/browser/ui/libgtk2ui/gtk2_ui.cc const GdkColor color = style->text[GTK_STATE_SELECTED]; color 1288 chrome/browser/ui/libgtk2ui/gtk2_ui.cc color_utils::SkColorToHSL(GdkColorToSkColor(color), tint); color 80 chrome/browser/ui/libgtk2ui/gtk2_ui.h virtual bool GetColor(int id, SkColor* color) const OVERRIDE; color 145 chrome/browser/ui/libgtk2ui/gtk2_ui.h void SetThemeColorFromGtk(int id, const GdkColor* color); color 146 chrome/browser/ui/libgtk2ui/gtk2_ui.h void SetThemeTintFromGtk(int id, const GdkColor* color); color 154 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc SkColor color; color 159 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc color = GetSystemColor(NativeTheme::kColorId_MenuBackgroundColor); color 160 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc paint.setColor(color); color 163 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc color = GetSystemColor( color 165 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc paint.setColor(color); color 200 chrome/browser/ui/libgtk2ui/print_dialog_gtk2.cc printing::GetColorModelForMode(settings->color(), &color_setting_name, color 21 chrome/browser/ui/libgtk2ui/skia_utils_gtk2.cc SkColor GdkColorToSkColor(GdkColor color) { color 22 chrome/browser/ui/libgtk2ui/skia_utils_gtk2.cc return SkColorSetRGB(color.red >> 8, color.green >> 8, color.blue >> 8); color 25 chrome/browser/ui/libgtk2ui/skia_utils_gtk2.cc GdkColor SkColorToGdkColor(SkColor color) { color 28 chrome/browser/ui/libgtk2ui/skia_utils_gtk2.cc static_cast<guint16>(SkColorGetR(color) * kSkiaToGDKMultiplier), color 29 chrome/browser/ui/libgtk2ui/skia_utils_gtk2.cc static_cast<guint16>(SkColorGetG(color) * kSkiaToGDKMultiplier), color 30 chrome/browser/ui/libgtk2ui/skia_utils_gtk2.cc static_cast<guint16>(SkColorGetB(color) * kSkiaToGDKMultiplier) color 28 chrome/browser/ui/libgtk2ui/skia_utils_gtk2.h SkColor GdkColorToSkColor(GdkColor color); color 31 chrome/browser/ui/libgtk2ui/skia_utils_gtk2.h GdkColor SkColorToGdkColor(SkColor color); color 37 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc SkBitmap CreateBitmap(SkColor color) { color 41 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc bitmap.eraseColor(color); color 270 chrome/browser/ui/views/autofill/autofill_dialog_views.cc text_style.color = data.GetTextColor(); color 1515 chrome/browser/ui/views/autofill/autofill_dialog_views.cc default_style.color = color 126 chrome/browser/ui/views/autofill/info_bubble.cc new views::BubbleBorder(arrow(), shadow(), color()))); color 83 chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc default_style.color = kExplanatoryTextColor; color 88 chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc link_style.color = kLinkColor; color 366 chrome/browser/ui/views/avatar_menu_bubble_view.cc const SkColor color = IsHighlighted() ? kHighlightColor : parent_->color(); color 367 chrome/browser/ui/views/avatar_menu_bubble_view.cc set_background(views::Background::CreateSolidBackground(color)); color 368 chrome/browser/ui/views/avatar_menu_bubble_view.cc name_label_->SetBackgroundColor(color); color 369 chrome/browser/ui/views/avatar_menu_bubble_view.cc sync_state_label_->SetBackgroundColor(color); color 370 chrome/browser/ui/views/avatar_menu_bubble_view.cc edit_link_->SetBackgroundColor(color); color 739 chrome/browser/ui/views/avatar_menu_bubble_view.cc add_profile_link->SetBackgroundColor(color()); color 770 chrome/browser/ui/views/avatar_menu_bubble_view.cc managed_user_info_->SetBackgroundColor(color()); color 785 chrome/browser/ui/views/avatar_menu_bubble_view.cc switch_profile_link_->SetBackgroundColor(color()); color 57 chrome/browser/ui/views/bookmarks/bookmark_sync_promo_view.cc promo_style.color = kTextColor; color 24 chrome/browser/ui/views/color_chooser_aura.cc void ColorChooserAura::OnColorChosen(SkColor color) { color 26 chrome/browser/ui/views/color_chooser_aura.cc web_contents_->DidChooseColorInColorChooser(color); color 52 chrome/browser/ui/views/color_chooser_aura.cc void ColorChooserAura::SetSelectedColor(SkColor color) { color 54 chrome/browser/ui/views/color_chooser_aura.cc view_->OnColorChanged(color); color 35 chrome/browser/ui/views/color_chooser_aura.h virtual void SetSelectedColor(SkColor color) OVERRIDE; color 38 chrome/browser/ui/views/color_chooser_aura.h virtual void OnColorChosen(SkColor color) OVERRIDE; color 22 chrome/browser/ui/views/color_chooser_dialog.cc ColorChooserDialog::ExecuteOpenParams::ExecuteOpenParams(SkColor color, color 25 chrome/browser/ui/views/color_chooser_dialog.cc : color(color), color 61 chrome/browser/ui/views/color_chooser_dialog.cc cc.rgbResult = skia::SkColorToCOLORREF(params.color); color 72 chrome/browser/ui/views/color_chooser_dialog.cc SkColor color, color 78 chrome/browser/ui/views/color_chooser_dialog.cc listener_->OnColorChosen(color); color 34 chrome/browser/ui/views/color_chooser_dialog.h ExecuteOpenParams(SkColor color, RunState run_state, HWND owner); color 35 chrome/browser/ui/views/color_chooser_dialog.h SkColor color; color 50 chrome/browser/ui/views/color_chooser_dialog.h void DidCloseDialog(bool chose_color, SkColor color, RunState run_state); color 34 chrome/browser/ui/views/color_chooser_win.cc virtual void SetSelectedColor(SkColor color) OVERRIDE {} color 37 chrome/browser/ui/views/color_chooser_win.cc virtual void OnColorChosen(SkColor color); color 86 chrome/browser/ui/views/color_chooser_win.cc void ColorChooserWin::OnColorChosen(SkColor color) { color 88 chrome/browser/ui/views/color_chooser_win.cc web_contents_->DidChooseColorInColorChooser(color); color 73 chrome/browser/ui/views/detachable_toolbar_view.cc SkColor color) { color 76 chrome/browser/ui/views/detachable_toolbar_view.cc canvas->FillRect(gfx::Rect(0, y, view->width(), thickness), color); color 62 chrome/browser/ui/views/detachable_toolbar_view.h SkColor color); color 17 chrome/browser/ui/views/infobars/infobar_background.h void set_separator_color(SkColor color) { separator_color_ = color; } color 482 chrome/browser/ui/views/location_bar/location_bar_view.cc SkColor color; color 486 chrome/browser/ui/views/location_bar/location_bar_view.cc color = SkColorSetRGB(7, 149, 0); color 495 chrome/browser/ui/views/location_bar/location_bar_view.cc color = SkColorSetRGB(162, 0, 0); color 503 chrome/browser/ui/views/location_bar/location_bar_view.cc color, GetColor(security_level, BACKGROUND)); color 1044 chrome/browser/ui/views/location_bar/location_bar_view.cc SkColor color(GetColor(ToolbarModel::NONE, BACKGROUND)); color 1046 chrome/browser/ui/views/location_bar/location_bar_view.cc canvas->FillRect(bounds, color); color 1050 chrome/browser/ui/views/location_bar/location_bar_view.cc paint.setColor(color); color 63 chrome/browser/ui/views/panels/panel_frame_view.cc gfx::ImageSkia* CreateImageForColor(SkColor color) { color 65 chrome/browser/ui/views/panels/panel_frame_view.cc canvas.DrawColor(color); color 171 chrome/browser/ui/views/profile_chooser_view.cc const SkColor color = SK_ColorWHITE; color 172 chrome/browser/ui/views/profile_chooser_view.cc change_photo_button_->SetTextColor(views::Button::STATE_NORMAL, color); color 173 chrome/browser/ui/views/profile_chooser_view.cc change_photo_button_->SetTextColor(views::Button::STATE_HOVERED, color); color 286 chrome/browser/ui/views/screen_capture_notification_ui_views.cc SkColor color = widget->GetNativeTheme()->GetSystemColor( color 291 chrome/browser/ui/views/screen_capture_notification_ui_views.cc color))); color 1169 chrome/browser/ui/views/tabs/tab.cc SkColor color = color 1172 chrome/browser/ui/views/tabs/tab.cc canvas->FillRect(bar_rect, SkColorSetA(color, alpha)); color 480 chrome/browser/ui/views/toolbar/wrench_menu.cc HoveredImageSource(const gfx::ImageSkia& image, SkColor color) color 482 chrome/browser/ui/views/toolbar/wrench_menu.cc color_(color) { color 471 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc SkColor color = SK_ColorWHITE; color 474 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc color = GetDominantColorForFavicon(bitmap_result.bitmap_data); color 483 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc favicon_bitmap, SkColorGetR(color), color 484 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc SkColorGetG(color), SkColorGetB(color)); color 29 chrome/browser/ui/webui/ntp/favicon_webui_handler.cc base::StringValue* SkColorToCss(SkColor color) { color 31 chrome/browser/ui/webui/ntp/favicon_webui_handler.cc SkColorGetR(color), color 32 chrome/browser/ui/webui/ntp/favicon_webui_handler.cc SkColorGetG(color), color 33 chrome/browser/ui/webui/ntp/favicon_webui_handler.cc SkColorGetB(color))); color 39 chrome/browser/ui/webui/ntp/favicon_webui_handler.cc SkColor color = color 41 chrome/browser/ui/webui/ntp/favicon_webui_handler.cc return SkColorToCss(color); color 105 chrome/browser/ui/webui/ntp/favicon_webui_handler.cc scoped_ptr<base::StringValue> color( color 106 chrome/browser/ui/webui/ntp/favicon_webui_handler.cc SkColorToCss(history::kPrepopulatedPages[i].color)); color 108 chrome/browser/ui/webui/ntp/favicon_webui_handler.cc dom_id_value, *color); color 65 chrome/browser/ui/webui/ntp/ntp_login_handler.cc SkColor color = SkColorSetARGB(83, 0, 0, 0); color 66 chrome/browser/ui/webui/ntp/ntp_login_handler.cc canvas.DrawRect(gfx::Rect(0, 0, kLength - 1, kLength - 1), color); color 88 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc std::string SkColorToRGBAString(SkColor color) { color 93 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc SkColorGetR(color), color 94 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc SkColorGetG(color), color 95 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc SkColorGetB(color), color 96 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc base::DoubleToString(SkColorGetA(color) / 255.0).c_str()); color 101 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc std::string SkColorToRGBComponents(SkColor color) { color 104 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc SkColorGetR(color), color 105 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc SkColorGetG(color), color 106 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc SkColorGetB(color)); color 110 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc SkColor color = tp->GetColor(id); color 114 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc color_utils::InvertColor(color) : color; color 1358 chrome/browser/ui/webui/print_preview/print_preview_handler.cc int color; color 1359 chrome/browser/ui/webui/print_preview/print_preview_handler.cc if (!settings->GetInteger(printing::kSettingColor, &color)) { color 1364 chrome/browser/ui/webui/print_preview/print_preview_handler.cc if (color == printing::GRAY) { color 68 chrome/common/extensions/manifest_handlers/theme_handler.cc int color = 0; color 78 chrome/common/extensions/manifest_handlers/theme_handler.cc !color_list->GetInteger(0, &color) || color 79 chrome/common/extensions/manifest_handlers/theme_handler.cc !color_list->GetInteger(1, &color) || color 80 chrome/common/extensions/manifest_handlers/theme_handler.cc !color_list->GetInteger(2, &color)) { color 261 chrome/renderer/pepper/pepper_flash_renderer_host.cc paint.setColor(params.color); color 178 chrome/renderer/searchbox/searchbox_extension.cc const RGBAColor& color) { color 180 chrome/renderer/searchbox/searchbox_extension.cc color_array->Set(0, v8::Int32::New(isolate, color.r)); color 181 chrome/renderer/searchbox/searchbox_extension.cc color_array->Set(1, v8::Int32::New(isolate, color.g)); color 182 chrome/renderer/searchbox/searchbox_extension.cc color_array->Set(2, v8::Int32::New(isolate, color.b)); color 183 chrome/renderer/searchbox/searchbox_extension.cc color_array->Set(3, v8::Int32::New(isolate, color.a)); color 17 chrome/renderer/webview_color_overlay.cc SkColor color) color 19 chrome/renderer/webview_color_overlay.cc color_(color) { color 21 chrome/renderer/webview_color_overlay.h WebViewColorOverlay(content::RenderView* render_view, SkColor color); color 33 chrome/service/cloud_print/cdd_conversion_win.cc ColorTicketItem color; color 34 chrome/service/cloud_print/cdd_conversion_win.cc if (color.LoadFrom(description)) { color 35 chrome/service/cloud_print/cdd_conversion_win.cc bool is_color = color.value().type == STANDARD_COLOR; color 45 chrome/service/cloud_print/cdd_conversion_win.cc ColorTicketItem color; color 66 chrome/service/cloud_print/cdd_conversion_win.cc if (color.LoadFrom(description)) { color 68 chrome/service/cloud_print/cdd_conversion_win.cc if (color.value().type == STANDARD_MONOCHROME) { color 70 chrome/service/cloud_print/cdd_conversion_win.cc } else if (color.value().type == STANDARD_COLOR) { color 137 chrome/service/cloud_print/cdd_conversion_win.cc ColorCapability color; color 139 chrome/service/cloud_print/cdd_conversion_win.cc color.AddDefaultOption(Color(STANDARD_COLOR), semantic_info.color_default); color 143 chrome/service/cloud_print/cdd_conversion_win.cc color.AddDefaultOption(Color(STANDARD_MONOCHROME), color 146 chrome/service/cloud_print/cdd_conversion_win.cc color.SaveTo(&description); color 270 components/cloud_devices/printer_description_unittest.cc ColorCapability color; color 284 components/cloud_devices/printer_description_unittest.cc EXPECT_FALSE(color.LoadFrom(description)); color 300 components/cloud_devices/printer_description_unittest.cc ColorCapability color; color 305 components/cloud_devices/printer_description_unittest.cc EXPECT_FALSE(color.LoadFrom(description)); color 308 components/cloud_devices/printer_description_unittest.cc EXPECT_FALSE(color.LoadFrom(description)); color 316 components/cloud_devices/printer_description_unittest.cc ColorCapability color; color 337 components/cloud_devices/printer_description_unittest.cc color.AddDefaultOption(Color(STANDARD_COLOR), true); color 338 components/cloud_devices/printer_description_unittest.cc color.AddOption(Color(STANDARD_MONOCHROME)); color 342 components/cloud_devices/printer_description_unittest.cc color.AddOption(custom); color 374 components/cloud_devices/printer_description_unittest.cc color.SaveTo(&description); color 396 components/cloud_devices/printer_description_unittest.cc ColorCapability color; color 409 components/cloud_devices/printer_description_unittest.cc EXPECT_TRUE(color.LoadFrom(description)); color 430 components/cloud_devices/printer_description_unittest.cc EXPECT_TRUE(color.Contains(Color(STANDARD_COLOR))); color 431 components/cloud_devices/printer_description_unittest.cc EXPECT_TRUE(color.Contains(Color(STANDARD_MONOCHROME))); color 435 components/cloud_devices/printer_description_unittest.cc EXPECT_TRUE(color.Contains(custom)); color 436 components/cloud_devices/printer_description_unittest.cc EXPECT_EQ(Color(STANDARD_COLOR), color.GetDefault()); color 481 components/cloud_devices/printer_description_unittest.cc ColorTicketItem color; color 494 components/cloud_devices/printer_description_unittest.cc EXPECT_FALSE(color.LoadFrom(description)); color 517 components/cloud_devices/printer_description_unittest.cc ColorTicketItem color; color 534 components/cloud_devices/printer_description_unittest.cc color.set_value(Color(STANDARD_MONOCHROME)); color 550 components/cloud_devices/printer_description_unittest.cc color.SaveTo(&description); color 569 components/cloud_devices/printer_description_unittest.cc ColorTicketItem color; color 583 components/cloud_devices/printer_description_unittest.cc EXPECT_TRUE(color.LoadFrom(description)); color 599 components/cloud_devices/printer_description_unittest.cc EXPECT_EQ(color.value(), Color(STANDARD_MONOCHROME)); color 29 components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/ColorChooserAndroid.java public void onColorChanged(int color) { color 31 components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/ColorChooserAndroid.java nativeOnColorChosen(mNativeColorChooserAndroid, color); color 73 components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/ColorChooserAndroid.java int color, String label) { color 74 components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/ColorChooserAndroid.java array[index] = new ColorSuggestion(color, label); color 78 components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/ColorChooserAndroid.java private native void nativeOnColorChosen(long nativeColorChooserAndroid, int color); color 43 components/web_contents_delegate_android/color_chooser_android.cc suggestion.color, color 65 components/web_contents_delegate_android/color_chooser_android.cc void ColorChooserAndroid::SetSelectedColor(SkColor color) { color 71 components/web_contents_delegate_android/color_chooser_android.cc void ColorChooserAndroid::OnColorChosen(JNIEnv* env, jobject obj, jint color) { color 72 components/web_contents_delegate_android/color_chooser_android.cc web_contents_->DidChooseColorInColorChooser(color); color 33 components/web_contents_delegate_android/color_chooser_android.h void OnColorChosen(JNIEnv* env, jobject obj, jint color); color 37 components/web_contents_delegate_android/color_chooser_android.h virtual void SetSelectedColor(SkColor color) OVERRIDE; color 57 components/web_contents_delegate_android/web_contents_delegate_android.cc SkColor color, color 59 components/web_contents_delegate_android/web_contents_delegate_android.cc return new ColorChooserAndroid(source, color, suggestions); color 59 components/web_contents_delegate_android/web_contents_delegate_android.h SkColor color, color 510 content/browser/android/content_view_core_impl.cc void ContentViewCoreImpl::OnBackgroundColorChanged(SkColor color) { color 515 content/browser/android/content_view_core_impl.cc Java_ContentViewCore_onBackgroundColorChanged(env, obj.obj(), color); color 177 content/browser/android/content_view_core_impl.h void SetBackgroundColor(JNIEnv* env, jobject obj, jint color); color 269 content/browser/android/content_view_core_impl.h void OnBackgroundColorChanged(SkColor color); color 799 content/browser/browser_plugin/browser_plugin_guest.cc SkColor color, color 804 content/browser/browser_plugin/browser_plugin_guest.cc web_contents, color, suggestions); color 1622 content/browser/browser_plugin/browser_plugin_guest.cc unsigned int color = 0; color 1623 content/browser/browser_plugin/browser_plugin_guest.cc background.setPixels(&color); color 209 content/browser/browser_plugin/browser_plugin_guest.h SkColor color, color 823 content/browser/browser_plugin/browser_plugin_host_browsertest.cc SkColor color = bitmap.getColor(i, j); color 825 content/browser/browser_plugin/browser_plugin_host_browsertest.cc int alpha = SkColorGetA(color); color 827 content/browser/browser_plugin/browser_plugin_host_browsertest.cc int red = SkColorGetR(color); color 829 content/browser/browser_plugin/browser_plugin_host_browsertest.cc int green = SkColorGetG(color); color 831 content/browser/browser_plugin/browser_plugin_host_browsertest.cc int blue = SkColorGetB(color); color 834 content/browser/browser_plugin/browser_plugin_host_browsertest.cc << " color: " << color color 839 content/browser/browser_plugin/browser_plugin_host_browsertest.cc << " color: " << color color 844 content/browser/browser_plugin/browser_plugin_host_browsertest.cc << " color: " << color color 849 content/browser/browser_plugin/browser_plugin_host_browsertest.cc << " color: " << color color 45 content/browser/frame_host/navigation_controller_impl_unittest.cc gfx::Image CreateImage(SkColor color) { color 49 content/browser/frame_host/navigation_controller_impl_unittest.cc bitmap.eraseColor(color); color 65 content/browser/media/capture/desktop_capture_device_aura.cc SkColor color = cursor_bitmap.getColor(cursor_x, cursor_y); color 66 content/browser/media/capture/desktop_capture_device_aura.cc int alpha = SkColorGetA(color); color 67 content/browser/media/capture/desktop_capture_device_aura.cc int color_r = SkColorGetR(color); color 68 content/browser/media/capture/desktop_capture_device_aura.cc int color_g = SkColorGetG(color); color 69 content/browser/media/capture/desktop_capture_device_aura.cc int color_b = SkColorGetB(color); color 83 content/browser/media/capture/web_contents_video_capture_device_unittest.cc void SetSolidColor(SkColor color) { color 85 content/browser/media/capture/web_contents_video_capture_device_unittest.cc color_ = color; color 254 content/browser/media/capture/web_contents_video_capture_device_unittest.cc SkColor color = controller_->GetSolidColor(); color 262 content/browser/media/capture/web_contents_video_capture_device_unittest.cc output.GetBitmap().eraseColor(color); color 405 content/browser/media/capture/web_contents_video_capture_device_unittest.cc void QuitIfConditionMet(SkColor color) { color 407 content/browser/media/capture/web_contents_video_capture_device_unittest.cc if (wait_color_yuv_ == color || error_encountered_) color 453 content/browser/media/capture/web_contents_video_capture_device_unittest.cc void OnColor(SkColor color) { color 457 content/browser/media/capture/web_contents_video_capture_device_unittest.cc color)); color 447 content/browser/renderer_host/render_widget_host_view_android.cc SkColor color) { color 448 content/browser/renderer_host/render_widget_host_view_android.cc if (cached_background_color_ == color) color 451 content/browser/renderer_host/render_widget_host_view_android.cc cached_background_color_ = color; color 453 content/browser/renderer_host/render_widget_host_view_android.cc content_view_core_->OnBackgroundColorChanged(color); color 218 content/browser/renderer_host/render_widget_host_view_android.h void OnDidChangeBodyBackgroundColor(SkColor color); color 503 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc EXPECT_EQ(underlines[i].color, params.b[i].color); color 537 content/browser/renderer_host/render_widget_host_view_browsertest.cc SkColor color = bitmap.getColor(i, j); color 539 content/browser/renderer_host/render_widget_host_view_browsertest.cc int alpha = SkColorGetA(color); color 541 content/browser/renderer_host/render_widget_host_view_browsertest.cc int red = SkColorGetR(color); color 543 content/browser/renderer_host/render_widget_host_view_browsertest.cc int green = SkColorGetG(color); color 545 content/browser/renderer_host/render_widget_host_view_browsertest.cc int blue = SkColorGetB(color); color 548 content/browser/renderer_host/render_widget_host_view_browsertest.cc << " color: " << color color 553 content/browser/renderer_host/render_widget_host_view_browsertest.cc << " color: " << color color 558 content/browser/renderer_host/render_widget_host_view_browsertest.cc << " color: " << color color 563 content/browser/renderer_host/render_widget_host_view_browsertest.cc << " color: " << color color 2063 content/browser/web_contents/web_contents_impl.cc void WebContentsImpl::DidChooseColorInColorChooser(SkColor color) { color 2065 content/browser/web_contents/web_contents_impl.cc GetRoutingID(), color_chooser_identifier_, color)); color 2530 content/browser/web_contents/web_contents_impl.cc SkColor color, color 2533 content/browser/web_contents/web_contents_impl.cc delegate_->OpenColorChooser(this, color, suggestions); color 2549 content/browser/web_contents/web_contents_impl.cc SkColor color) { color 2552 content/browser/web_contents/web_contents_impl.cc color_chooser_->SetSelectedColor(color); color 280 content/browser/web_contents/web_contents_impl.h virtual void DidChooseColorInColorChooser(SkColor color) OVERRIDE; color 706 content/browser/web_contents/web_contents_impl.h SkColor color, color 709 content/browser/web_contents/web_contents_impl.h void OnSetSelectedColorInColorChooser(int color_chooser_id, SkColor color); color 302 content/child/browser_font_resource_trusted.cc uint32_t color, color 323 content/child/browser_font_resource_trusted.cc DrawTextToCanvas(canvas, *text, position, color, clip, image_data_is_opaque); color 394 content/child/browser_font_resource_trusted.cc uint32_t color, color 418 content/child/browser_font_resource_trusted.cc font_->drawText(destination, run, web_position, color, web_clip, color 51 content/child/browser_font_resource_trusted.h uint32_t color, color 70 content/child/browser_font_resource_trusted.h uint32_t color, color 150 content/common/cc_messages.h IPC_STRUCT_TRAITS_MEMBER(color) color 155 content/common/cc_messages.h IPC_STRUCT_TRAITS_MEMBER(color) color 179 content/common/cc_messages.h IPC_STRUCT_TRAITS_MEMBER(color) color 129 content/common/cc_messages_unittest.cc EXPECT_EQ(a->color, b->color); color 133 content/common/cc_messages_unittest.cc EXPECT_EQ(a->color, b->color); color 164 content/common/cc_messages_unittest.cc EXPECT_EQ(a->color, b->color); color 37 content/common/content_param_traits_macros.h IPC_STRUCT_TRAITS_MEMBER(color) color 152 content/common/view_messages.h IPC_STRUCT_TRAITS_MEMBER(color) color 41 content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java public void onBackgroundColorChanged(int color) { color 907 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java private void onBackgroundColorChanged(int color) { color 908 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java getContentViewClient().onBackgroundColorChanged(color); color 189 content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java public void setSurfaceViewBackgroundColor(int color) { color 191 content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java mSurfaceView.setBackgroundColor(color); color 22 content/public/browser/color_chooser.h virtual void SetSelectedColor(SkColor color) = 0; color 453 content/public/browser/web_contents.h virtual void DidChooseColorInColorChooser(SkColor color) = 0; color 154 content/public/browser/web_contents_delegate.cc SkColor color, color 343 content/public/browser/web_contents_delegate.h SkColor color, color 12 content/public/common/color_suggestion.cc : color(suggestion.color), color 24 content/public/common/color_suggestion.h SkColor color; color 81 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestContentViewClientWrapper.java public void onBackgroundColorChanged(int color) { color 82 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestContentViewClientWrapper.java super.onBackgroundColorChanged(color); color 83 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestContentViewClientWrapper.java mWrappedClient.onBackgroundColorChanged(color); color 456 content/renderer/gpu/render_widget_compositor.cc void RenderWidgetCompositor::setBackgroundColor(blink::WebColor color) { color 457 content/renderer/gpu/render_widget_compositor.cc layer_tree_host_->set_background_color(color); color 88 content/renderer/gpu/render_widget_compositor.h virtual void setBackgroundColor(blink::WebColor color); color 41 content/renderer/renderer_webcolorchooser_impl.cc void RendererWebColorChooserImpl::setSelectedColor(blink::WebColor color) { color 43 content/renderer/renderer_webcolorchooser_impl.cc static_cast<SkColor>(color))); color 60 content/renderer/renderer_webcolorchooser_impl.cc SkColor color) { color 63 content/renderer/renderer_webcolorchooser_impl.cc client_->didChooseColor(static_cast<blink::WebColor>(color)); color 48 content/renderer/renderer_webcolorchooser_impl.h void OnDidChooseColorResponse(int color_chooser_id, SkColor color); color 370 content/shell/renderer/test_runner/TestPlugin.cpp void TestPlugin::parseColor(const WebString& string, unsigned color[3]) color 372 content/shell/renderer/test_runner/TestPlugin.cpp color[0] = color[1] = color[2] = 0; color 377 content/shell/renderer/test_runner/TestPlugin.cpp color[0] = 255; color 379 content/shell/renderer/test_runner/TestPlugin.cpp color[1] = 255; color 381 content/shell/renderer/test_runner/TestPlugin.cpp color[2] = 255; color 402 content/shell/renderer/test_runner/TestPlugin.cpp float color[4]; color 403 content/shell/renderer/test_runner/TestPlugin.cpp premultiplyAlpha(m_scene.backgroundColor, m_scene.opacity, color); color 412 content/shell/renderer/test_runner/TestPlugin.cpp m_context->clearColor(color[0], color[1], color[2], color[3]); color 536 content/shell/renderer/test_runner/TestPlugin.cpp float color[4]; color 537 content/shell/renderer/test_runner/TestPlugin.cpp premultiplyAlpha(m_scene.primitiveColor, m_scene.opacity, color); color 538 content/shell/renderer/test_runner/TestPlugin.cpp m_context->uniform4f(m_scene.colorLocation, color[0], color[1], color[2], color[3]); color 112 content/shell/renderer/test_runner/TestPlugin.h void parseColor(const blink::WebString&, unsigned color[3]); color 455 content/shell/renderer/test_runner/WebTestProxy.cpp WebColorChooser* WebTestProxyBase::createColorChooser(WebColorChooserClient* client, const blink::WebColor& color) color 461 content/shell/renderer/test_runner/WebTestProxy.cpp WebColorChooser* WebTestProxyBase::createColorChooser(WebColorChooserClient* client, const blink::WebColor& color, const blink::WebVector<blink::WebColorSuggestion>& suggestions) color 470 content/shell/renderer/test_runner/WebTestProxy.h virtual blink::WebColorChooser* createColorChooser(blink::WebColorChooserClient* client, const blink::WebColor& color) color 472 content/shell/renderer/test_runner/WebTestProxy.h return WebTestProxyBase::createColorChooser(client, color); color 474 content/shell/renderer/test_runner/WebTestProxy.h virtual blink::WebColorChooser* createColorChooser(blink::WebColorChooserClient* client, const blink::WebColor& color, const blink::WebVector<blink::WebColorSuggestion>& suggestions) color 476 content/shell/renderer/test_runner/WebTestProxy.h return WebTestProxyBase::createColorChooser(client, color, suggestions); color 127 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp void line(SkCanvas *canvas, int x0, int y0, int x1, int y1, SkColor color) color 130 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp paint.setColor(color); color 139 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp SkColor color) color 144 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp paint.setColor(color); color 158 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp void roundRect(SkCanvas *canvas, SkIRect irect, SkColor color) color 165 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp paint.setColor(color); color 174 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp void oval(SkCanvas* canvas, SkIRect irect, SkColor color) color 180 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp paint.setColor(color); color 189 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp void circle(SkCanvas *canvas, SkIRect irect, SkScalar radius, SkColor color) color 200 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp paint.setColor(color); color 89 content/test/web_layer_tree_view_impl_for_testing.cc void WebLayerTreeViewImplForTesting::setBackgroundColor(WebColor color) { color 90 content/test/web_layer_tree_view_impl_for_testing.cc layer_tree_host_->set_background_color(color); color 14 extensions/browser/image_util_unittest.cc SkColor color = 0; color 15 extensions/browser/image_util_unittest.cc EXPECT_TRUE(image_util::ParseCSSColorString(css_string, &color)); color 16 extensions/browser/image_util_unittest.cc EXPECT_EQ(color, expected_result); color 20 extensions/browser/image_util_unittest.cc SkColor color = 0; color 21 extensions/browser/image_util_unittest.cc EXPECT_FALSE(image_util::ParseCSSColorString(css_string, &color)); color 166 gpu/command_buffer/tests/gl_copy_texture_CHROMIUM_unittest.cc uint8 color = 16 * x + 16 * y; color 167 gpu/command_buffer/tests/gl_copy_texture_CHROMIUM_unittest.cc pixels[y][x][0] = color; color 168 gpu/command_buffer/tests/gl_copy_texture_CHROMIUM_unittest.cc pixels[y][x][1] = color; color 169 gpu/command_buffer/tests/gl_copy_texture_CHROMIUM_unittest.cc pixels[y][x][2] = color; color 202 gpu/command_buffer/tests/gl_copy_texture_CHROMIUM_unittest.cc uint8 color = 16 * x + 16 * y; color 203 gpu/command_buffer/tests/gl_copy_texture_CHROMIUM_unittest.cc pixels[y][x][0] = color; color 204 gpu/command_buffer/tests/gl_copy_texture_CHROMIUM_unittest.cc pixels[y][x][1] = color; color 205 gpu/command_buffer/tests/gl_copy_texture_CHROMIUM_unittest.cc pixels[y][x][2] = color; color 138 gpu/command_buffer/tests/gl_pointcoord_unittest.cc uint8 color[4] = { color 144 gpu/command_buffer/tests/gl_pointcoord_unittest.cc GLTestHelper::CheckPixels(xf, yf, 1, 1, 4, color); color 112 gpu/command_buffer/tests/gl_test_utils.cc GLint location, const GLfloat color[4], GLenum usage) { color 119 gpu/command_buffer/tests/gl_test_utils.cc vertices[ii * 4 + jj] = color[jj]; color 131 gpu/command_buffer/tests/gl_test_utils.cc const uint8* color) { color 142 gpu/command_buffer/tests/gl_test_utils.cc uint8 expected = color[jj]; color 41 gpu/command_buffer/tests/gl_test_utils.h GLint location, const GLfloat color[4], GLenum usage); color 46 gpu/command_buffer/tests/gl_test_utils.h const uint8* color); color 52 gpu/command_buffer/tests/gl_virtual_contexts_unittest.cc void SetupSimpleShader(const uint8* color) { color 80 gpu/command_buffer/tests/gl_virtual_contexts_unittest.cc color[0] / 255.0f, color 81 gpu/command_buffer/tests/gl_virtual_contexts_unittest.cc color[1] / 255.0f, color 82 gpu/command_buffer/tests/gl_virtual_contexts_unittest.cc color[2] / 255.0f, color 83 gpu/command_buffer/tests/gl_virtual_contexts_unittest.cc color[3] / 255.0f); color 103 gpu/command_buffer/tests/gl_virtual_contexts_unittest.cc uint8 color[4]; color 117 gpu/command_buffer/tests/gl_virtual_contexts_unittest.cc SetupSimpleShader(test.color); color 132 gpu/command_buffer/tests/gl_virtual_contexts_unittest.cc 0, 0, test.size, test.size, 0, test.color)); color 27 gpu/command_buffer/tests/occlusion_query_unittest.cc void DrawRect(float x, float z, float scale, float* color); color 58 gpu/command_buffer/tests/occlusion_query_unittest.cc void OcclusionQueryTest::DrawRect(float x, float z, float scale, float* color) { color 65 gpu/command_buffer/tests/occlusion_query_unittest.cc glUniform4fv(color_loc_, 1, color); color 188 ipc/ipc_logging.cc const char* Logging::ANSIEscape(ANSIColor color) { color 191 ipc/ipc_logging.cc switch (color) { color 99 ipc/ipc_logging.h const char* ANSIEscape(ANSIColor color); color 31 media/base/video_frame_unittest.cc int color = (row < first_black_row) ? 0xFF : 0x00; color 32 media/base/video_frame_unittest.cc memset(y_plane, color, frame->stride(VideoFrame::kYPlane)); color 82 media/cdm/ppapi/external_clear_key/fake_cdm_video_decoder.cc static unsigned char color = 0; color 83 media/cdm/ppapi/external_clear_key/fake_cdm_video_decoder.cc color += 10; color 86 media/cdm/ppapi/external_clear_key/fake_cdm_video_decoder.cc color, frame_size); color 20 media/filters/skcanvas_video_renderer_unittest.cc void FillCanvas(SkCanvas* canvas, SkColor color) { color 21 media/filters/skcanvas_video_renderer_unittest.cc canvas->clear(color); color 55 media/filters/skcanvas_video_renderer_unittest.cc void Paint(VideoFrame* video_frame, SkCanvas* canvas, Color color); color 199 media/filters/skcanvas_video_renderer_unittest.cc Color color) { color 200 media/filters/skcanvas_video_renderer_unittest.cc switch (color) { color 43 mojo/examples/aura_demo/aura_demo.cc explicit DemoWindowDelegate(SkColor color) : color_(color) {} color 351 mojo/public/cpp/bindings/tests/sample_service_unittest.cc EXPECT_EQ(imported::COLOR_BLACK, full.thing().color()); color 116 native_client_sdk/src/examples/api/gamepad/gamepad.cc uint32_t color) { color 123 native_client_sdk/src/examples/api/gamepad/gamepad.cc *image->GetAddr32(pp::Point(x, y)) = color; color 173 native_client_sdk/src/examples/api/graphics_3d/graphics_3d.cc float color[3]; color 451 native_client_sdk/src/examples/api/graphics_3d/graphics_3d.cc reinterpret_cast<void*>(offsetof(Vertex, color))); color 498 native_client_sdk/src/examples/demo/earth/earth.cc unsigned int color = MakeBGRA(ib, ig, ir, 0xFF); color 500 native_client_sdk/src/examples/demo/earth/earth.cc *pixels = color; color 250 native_client_sdk/src/examples/demo/life/life.c uint32_t color; color 259 native_client_sdk/src/examples/demo/life/life.c color = kNeighborColors[count]; color 261 native_client_sdk/src/examples/demo/life/life.c *pixel_line++ = color; color 47 native_client_sdk/src/examples/demo/pi_generator/pi_generator.cc uint32_t color = ctx->data[ctx->width * py + px]; color 54 native_client_sdk/src/examples/demo/pi_generator/pi_generator.cc color += 4 << kBlueShift; color 55 native_client_sdk/src/examples/demo/pi_generator/pi_generator.cc color &= kBlueMask; color 58 native_client_sdk/src/examples/demo/pi_generator/pi_generator.cc color += 4 << kRedShift; color 59 native_client_sdk/src/examples/demo/pi_generator/pi_generator.cc color &= kRedMask; color 61 native_client_sdk/src/examples/demo/pi_generator/pi_generator.cc ctx->data[ctx->width * py + px] = color | kOpaqueColorMask; color 113 native_client_sdk/src/examples/demo/voronoi/voronoi.cc inline void wFillSpan(uint32_t *pixels, uint32_t color, int width); color 119 native_client_sdk/src/examples/demo/voronoi/voronoi.cc void wFillRect(int x, int y, int w, int h, uint32_t color); color 248 native_client_sdk/src/examples/demo/voronoi/voronoi.cc inline void Voronoi::wFillSpan(uint32_t* pixels, uint32_t color, int width) { color 251 native_client_sdk/src/examples/demo/voronoi/voronoi.cc color = gray; color 254 native_client_sdk/src/examples/demo/voronoi/voronoi.cc *pixels++ = color; color 255 native_client_sdk/src/examples/demo/voronoi/voronoi.cc *pixels++ = color; color 256 native_client_sdk/src/examples/demo/voronoi/voronoi.cc *pixels++ = color; color 257 native_client_sdk/src/examples/demo/voronoi/voronoi.cc *pixels++ = color; color 264 native_client_sdk/src/examples/demo/voronoi/voronoi.cc void Voronoi::wFillRect(int x, int y, int w, int h, uint32_t color) { color 268 native_client_sdk/src/examples/demo/voronoi/voronoi.cc wFillSpan(pixels, color, w); color 174 native_client_sdk/src/gonacl_appengine/src/cube/cube.cc float color[3]; color 458 native_client_sdk/src/gonacl_appengine/src/cube/cube.cc reinterpret_cast<void*>(offsetof(Vertex, color))); color 536 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc unsigned int color = MakeRGBA(ir, ig, ib, 0xFF); color 538 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc *pixels = color; color 247 native_client_sdk/src/gonacl_appengine/src/life/life.c uint32_t color; color 256 native_client_sdk/src/gonacl_appengine/src/life/life.c color = kNeighborColors[count]; color 258 native_client_sdk/src/gonacl_appengine/src/life/life.c *pixel_line++ = color; color 107 native_client_sdk/src/gonacl_appengine/src/voronoi/voronoi.cc inline void wFillSpan(uint32_t *pixels, uint32_t color, int width); color 113 native_client_sdk/src/gonacl_appengine/src/voronoi/voronoi.cc void wFillRect(int x, int y, int w, int h, uint32_t color); color 242 native_client_sdk/src/gonacl_appengine/src/voronoi/voronoi.cc inline void Voronoi::wFillSpan(uint32_t* pixels, uint32_t color, int width) { color 245 native_client_sdk/src/gonacl_appengine/src/voronoi/voronoi.cc color = gray; color 249 native_client_sdk/src/gonacl_appengine/src/voronoi/voronoi.cc *pixels++ = color; color 254 native_client_sdk/src/gonacl_appengine/src/voronoi/voronoi.cc void Voronoi::wFillRect(int x, int y, int w, int h, uint32_t color) { color 258 native_client_sdk/src/gonacl_appengine/src/voronoi/voronoi.cc wFillSpan(pixels, color, w); color 238 ppapi/c/dev/ppb_font_dev.h uint32_t color, color 159 ppapi/c/private/ppb_flash.h uint32_t color, color 246 ppapi/c/private/ppb_flash.h uint32_t color, color 277 ppapi/c/private/ppb_flash.h uint32_t color, color 311 ppapi/c/private/ppb_flash.h uint32_t color, color 235 ppapi/c/trusted/ppb_browser_font_trusted.h uint32_t color, color 148 ppapi/cpp/dev/font_dev.cc uint32_t color, color 158 ppapi/cpp/dev/font_dev.cc color, color 190 ppapi/cpp/dev/font_dev.cc uint32_t color, color 192 ppapi/cpp/dev/font_dev.cc return DrawTextAt(dest, TextRun_Dev(text), position, color, color 119 ppapi/cpp/dev/font_dev.h uint32_t color, color 132 ppapi/cpp/dev/font_dev.h uint32_t color, color 104 ppapi/cpp/private/flash.cc uint32_t color, color 118 ppapi/cpp/private/flash.cc color, color 132 ppapi/cpp/private/flash.cc color, color 42 ppapi/cpp/private/flash.h uint32_t color, color 190 ppapi/cpp/trusted/browser_font_trusted.cc uint32_t color, color 199 ppapi/cpp/trusted/browser_font_trusted.cc color, color 208 ppapi/cpp/trusted/browser_font_trusted.cc color, color 268 ppapi/cpp/trusted/browser_font_trusted.cc uint32_t color, color 270 ppapi/cpp/trusted/browser_font_trusted.cc return DrawTextAt(dest, BrowserFontTextRun(text), position, color, color 125 ppapi/cpp/trusted/browser_font_trusted.h uint32_t color, color 138 ppapi/cpp/trusted/browser_font_trusted.h uint32_t color, color 29 ppapi/examples/2d/paint_manager_example.cc uint32_t color) { color 36 ppapi/examples/2d/paint_manager_example.cc *image->GetAddr32(pp::Point(x, y)) = color; color 24 ppapi/examples/2d/scroll.cc void FillRect(pp::ImageData* image, const pp::Rect& rect, uint32_t color) { color 31 ppapi/examples/2d/scroll.cc *image->GetAddr32(pp::Point(x, y)) = color; color 25 ppapi/examples/gamepad/gamepad.cc uint32_t color) { color 32 ppapi/examples/gamepad/gamepad.cc *image->GetAddr32(pp::Point(x, y)) = color; color 46 ppapi/examples/ime/ime.cc uint32_t color) { color 53 ppapi/examples/ime/ime.cc *image->GetAddr32(pp::Point(x, y)) = color; color 57 ppapi/examples/ime/ime.cc void FillRect(pp::ImageData* image, const pp::Rect& rect, uint32_t color) { color 58 ppapi/examples/ime/ime.cc FillRect(image, rect.x(), rect.y(), rect.width(), rect.height(), color); color 29 ppapi/examples/input/pointer_event_input.cc uint32_t color) { color 36 ppapi/examples/input/pointer_event_input.cc *image->GetAddr32(pp::Point(x, y)) = color; color 16 ppapi/examples/mouse_cursor/mouse_cursor.cc uint32_t color) { color 23 ppapi/examples/mouse_cursor/mouse_cursor.cc *image->GetAddr32(pp::Point(x, y)) = color; color 2045 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static PP_Bool Pnacl_M14_PPB_Font_Dev_DrawTextAt(PP_Resource font, PP_Resource image_data, const struct PP_TextRun_Dev* text, const struct PP_Point* position, uint32_t color, const struct PP_Rect* clip, PP_Bool image_data_is_opaque) { color 2047 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->DrawTextAt(font, image_data, text, position, color, clip, image_data_is_opaque); color 2549 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static PP_Bool Pnacl_M21_PPB_Flash_DrawGlyphs(PP_Instance instance, PP_Resource pp_image_data, const struct PP_BrowserFont_Trusted_Description* font_desc, uint32_t color, const struct PP_Point* position, const struct PP_Rect* clip, const float transformation[3][3], PP_Bool allow_subpixel_aa, uint32_t glyph_count, const uint16_t glyph_indices[], const struct PP_Point glyph_advances[]) { color 2551 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->DrawGlyphs(instance, pp_image_data, font_desc, color, position, clip, transformation, allow_subpixel_aa, glyph_count, glyph_indices, glyph_advances); color 2628 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static PP_Bool Pnacl_M22_PPB_Flash_DrawGlyphs(PP_Instance instance, PP_Resource pp_image_data, const struct PP_BrowserFont_Trusted_Description* font_desc, uint32_t color, const struct PP_Point* position, const struct PP_Rect* clip, const float transformation[3][3], PP_Bool allow_subpixel_aa, uint32_t glyph_count, const uint16_t glyph_indices[], const struct PP_Point glyph_advances[]) { color 2630 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->DrawGlyphs(instance, pp_image_data, font_desc, color, position, clip, transformation, allow_subpixel_aa, glyph_count, glyph_indices, glyph_advances); color 2712 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static PP_Bool Pnacl_M24_0_PPB_Flash_DrawGlyphs(PP_Instance instance, PP_Resource pp_image_data, const struct PP_BrowserFont_Trusted_Description* font_desc, uint32_t color, const struct PP_Point* position, const struct PP_Rect* clip, const float transformation[3][3], PP_Bool allow_subpixel_aa, uint32_t glyph_count, const uint16_t glyph_indices[], const struct PP_Point glyph_advances[]) { color 2714 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->DrawGlyphs(instance, pp_image_data, font_desc, color, position, clip, transformation, allow_subpixel_aa, glyph_count, glyph_indices, glyph_advances); color 2801 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static PP_Bool Pnacl_M24_1_PPB_Flash_DrawGlyphs(PP_Instance instance, PP_Resource pp_image_data, const struct PP_BrowserFont_Trusted_Description* font_desc, uint32_t color, const struct PP_Point* position, const struct PP_Rect* clip, const float transformation[3][3], PP_Bool allow_subpixel_aa, uint32_t glyph_count, const uint16_t glyph_indices[], const struct PP_Point glyph_advances[]) { color 2803 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->DrawGlyphs(instance, pp_image_data, font_desc, color, position, clip, transformation, allow_subpixel_aa, glyph_count, glyph_indices, glyph_advances); color 4802 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .DrawTextAt = (PP_Bool (*)(PP_Resource font, PP_Resource image_data, const struct PP_TextRun_Dev* text, const struct PP_Point* position, uint32_t color, const struct PP_Rect* clip, PP_Bool image_data_is_opaque))&Pnacl_M14_PPB_Font_Dev_DrawTextAt, color 4967 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .DrawGlyphs = (PP_Bool (*)(PP_Instance instance, PP_Resource pp_image_data, const struct PP_BrowserFont_Trusted_Description* font_desc, uint32_t color, const struct PP_Point* position, const struct PP_Rect* clip, const float transformation[3][3], PP_Bool allow_subpixel_aa, uint32_t glyph_count, const uint16_t glyph_indices[], const struct PP_Point glyph_advances[]))&Pnacl_M21_PPB_Flash_DrawGlyphs, color 4985 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .DrawGlyphs = (PP_Bool (*)(PP_Instance instance, PP_Resource pp_image_data, const struct PP_BrowserFont_Trusted_Description* font_desc, uint32_t color, const struct PP_Point* position, const struct PP_Rect* clip, const float transformation[3][3], PP_Bool allow_subpixel_aa, uint32_t glyph_count, const uint16_t glyph_indices[], const struct PP_Point glyph_advances[]))&Pnacl_M22_PPB_Flash_DrawGlyphs, color 5004 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .DrawGlyphs = (PP_Bool (*)(PP_Instance instance, PP_Resource pp_image_data, const struct PP_BrowserFont_Trusted_Description* font_desc, uint32_t color, const struct PP_Point* position, const struct PP_Rect* clip, const float transformation[3][3], PP_Bool allow_subpixel_aa, uint32_t glyph_count, const uint16_t glyph_indices[], const struct PP_Point glyph_advances[]))&Pnacl_M24_0_PPB_Flash_DrawGlyphs, color 5024 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .DrawGlyphs = (PP_Bool (*)(PP_Instance instance, PP_Resource pp_image_data, const struct PP_BrowserFont_Trusted_Description* font_desc, uint32_t color, const struct PP_Point* position, const struct PP_Rect* clip, const float transformation[3][3], PP_Bool allow_subpixel_aa, uint32_t glyph_count, const uint16_t glyph_indices[], const struct PP_Point glyph_advances[]))&Pnacl_M24_1_PPB_Flash_DrawGlyphs, color 181 ppapi/native_client/tests/ppapi_test_lib/test_interface.cc uint32_t FormatColor(PP_ImageDataFormat format, ColorPremul color) { color 183 ppapi/native_client/tests/ppapi_test_lib/test_interface.cc return (color.A << 24) | (color.R << 16) | (color.G << 8) | (color.B); color 185 ppapi/native_client/tests/ppapi_test_lib/test_interface.cc return (color.A << 24) | (color.B << 16) | (color.G << 8) | (color.R); color 211 ppapi/native_client/tests/ppapi_test_lib/test_interface.cc ColorPremul color) { color 222 ppapi/native_client/tests/ppapi_test_lib/test_interface.cc uint32_t expected_color = FormatColor(image_desc.format, color); color 211 ppapi/native_client/tests/ppapi_test_lib/test_interface.h uint32_t FormatColor(PP_ImageDataFormat format, ColorPremul color); color 222 ppapi/native_client/tests/ppapi_test_lib/test_interface.h ColorPremul color); color 190 ppapi/proxy/flash_resource.cc uint32_t color, color 209 ppapi/proxy/flash_resource.cc params.color = color; color 49 ppapi/proxy/flash_resource.h uint32_t color, color 334 ppapi/proxy/ppapi_param_traits.cc ParamTraits<uint32_t>::Write(m, p.color); color 361 ppapi/proxy/ppapi_param_traits.cc ParamTraits<uint32_t>::Read(m, iter, &r->color) && color 111 ppapi/proxy/serialized_structs.h uint32_t color; color 28 ppapi/tests/test_fullscreen.cc uint32_t FormatColor(PP_ImageDataFormat format, ColorPremul color) { color 30 ppapi/tests/test_fullscreen.cc return (color.A << 24) | (color.R << 16) | (color.G << 8) | (color.B); color 32 ppapi/tests/test_fullscreen.cc return (color.A << 24) | (color.B << 16) | (color.G << 8) | (color.R); color 211 ppapi/tests/test_fullscreen.cc bool TestFullscreen::PaintPlugin(pp::Size size, ColorPremul color) { color 214 ppapi/tests/test_fullscreen.cc painted_color_ = FormatColor(image_format, color); color 44 ppapi/tests/test_fullscreen.h bool PaintPlugin(pp::Size size, ColorPremul color); color 90 ppapi/tests/test_graphics_2d.cc uint32_t color) const { color 97 ppapi/tests/test_graphics_2d.cc return IsSquareInImage(readback, 0, pp::Rect(dc.size()), color); color 110 ppapi/tests/test_graphics_2d.cc uint32_t color) const { color 114 ppapi/tests/test_graphics_2d.cc row[pixel] = color; color 40 ppapi/tests/test_graphics_2d.h uint32_t color) const; color 67 ppapi/tests/test_graphics_2d.h bool IsDCUniformColor(const pp::Graphics2D& dc, uint32_t color) const; color 24 ppapi/thunk/ppb_browser_font_trusted_api.h uint32_t color, color 51 ppapi/thunk/ppb_browser_font_trusted_thunk.cc uint32_t color, color 57 ppapi/thunk/ppb_browser_font_trusted_thunk.cc return enter.object()->DrawTextAt(image_data, text, position, color, clip, color 36 ppapi/thunk/ppb_flash_functions_api.h uint32_t color, color 33 ppapi/thunk/ppb_flash_thunk.cc uint32_t color, color 45 ppapi/thunk/ppb_flash_thunk.cc instance, pp_image_data, font_desc, color, position, clip, transformation, color 434 printing/backend/win_helper.cc bool color) { color 440 printing/backend/win_helper.cc ((default->dmColor == DMCOLOR_COLOR) == color)) { color 445 printing/backend/win_helper.cc default->dmColor = color ? DMCOLOR_COLOR : DMCOLOR_MONOCHROME; color 462 printing/backend/win_helper.cc const char* xps_color = color ? kXpsTicketColor : kXpsTicketMonochrome; color 182 printing/backend/win_helper.h bool color); color 56 printing/image.h uint32 Color(uint32 color) const { color 58 printing/image.h return color & 0xFFFFFF; // Strip out A. color 60 printing/image.h return color; color 104 printing/print_settings.h void set_color(ColorModel color) { color_ = color; } color 105 printing/print_settings.h ColorModel color() const { return color_; } color 80 printing/print_settings_initializer.cc int color = 0; color 89 printing/print_settings_initializer.cc !job_settings.GetInteger(kSettingColor, &color) || color 101 printing/print_settings_initializer.cc settings->set_color(static_cast<ColorModel>(color)); color 338 printing/printing_context_win.cc settings_.color() != GRAY); color 48 remoting/android/java/src/org/chromium/chromoting/HostListAdapter.java target.setTextColor(mChromoting.getResources().getColor(R.color.host_offline_text)); color 32 remoting/codec/video_decoder_vpx.cc uint32 color) { color 37 remoting/codec/video_decoder_vpx.cc std::fill(ptr, ptr + width, color); color 81 skia/ext/analysis_canvas.cc void AnalysisCanvas::clear(SkColor color) { color 82 skia/ext/analysis_canvas.cc is_transparent_ = (!is_forced_not_transparent_ && SkColorGetA(color) == 0); color 85 skia/ext/analysis_canvas.cc if (!is_forced_not_solid_ && SkColorGetA(color) == 255) { color 87 skia/ext/analysis_canvas.cc color_ = color; color 290 skia/ext/analysis_canvas.cc bool AnalysisCanvas::GetColorIfSolid(SkColor* color) const { color 292 skia/ext/analysis_canvas.cc *color = SK_ColorTRANSPARENT; color 296 skia/ext/analysis_canvas.cc *color = color_; color 24 skia/ext/analysis_canvas.h bool GetColorIfSolid(SkColor* color) const; color 28 skia/ext/analysis_canvas_unittest.cc SkColor color; color 29 skia/ext/analysis_canvas_unittest.cc EXPECT_TRUE(canvas.GetColorIfSolid(&color)); color 30 skia/ext/analysis_canvas_unittest.cc EXPECT_EQ(color, SkColorSetARGB(0, 0, 0, 0)); color 37 skia/ext/analysis_canvas_unittest.cc SkColor color = SkColorSetARGB(0, 12, 34, 56); color 38 skia/ext/analysis_canvas_unittest.cc canvas.clear(color); color 45 skia/ext/analysis_canvas_unittest.cc color = SkColorSetARGB(255, 65, 43, 21); color 46 skia/ext/analysis_canvas_unittest.cc canvas.clear(color); color 50 skia/ext/analysis_canvas_unittest.cc EXPECT_EQ(outputColor, color); color 53 skia/ext/analysis_canvas_unittest.cc color = SkColorSetARGB(128, 11, 22, 33); color 54 skia/ext/analysis_canvas_unittest.cc canvas.clear(color); color 72 skia/ext/analysis_canvas_unittest.cc SkColor color = SkColorSetARGB(255, 11, 22, 33); color 74 skia/ext/analysis_canvas_unittest.cc paint.setColor(color); color 114 skia/ext/analysis_canvas_unittest.cc SkColor color = SkColorSetARGB(255, 11, 22, 33); color 116 skia/ext/analysis_canvas_unittest.cc paint.setColor(color); color 123 skia/ext/analysis_canvas_unittest.cc EXPECT_EQ(color, outputColor); color 125 skia/ext/analysis_canvas_unittest.cc color = SkColorSetARGB(255, 22, 33, 44); color 126 skia/ext/analysis_canvas_unittest.cc paint.setColor(color); color 132 skia/ext/analysis_canvas_unittest.cc color = SkColorSetARGB(255, 33, 44, 55); color 133 skia/ext/analysis_canvas_unittest.cc paint.setColor(color); color 138 skia/ext/analysis_canvas_unittest.cc EXPECT_EQ(color, outputColor); color 140 skia/ext/analysis_canvas_unittest.cc color = SkColorSetARGB(0, 0, 0, 0); color 141 skia/ext/analysis_canvas_unittest.cc paint.setColor(color); color 150 skia/ext/analysis_canvas_unittest.cc color = SkColorSetARGB(128, 128, 128, 128); color 151 skia/ext/analysis_canvas_unittest.cc paint.setColor(color); color 167 skia/ext/analysis_canvas_unittest.cc color = SkColorSetARGB(255, 11, 22, 33); color 168 skia/ext/analysis_canvas_unittest.cc paint.setColor(color); color 174 skia/ext/analysis_canvas_unittest.cc EXPECT_EQ(color, outputColor); color 54 skia/ext/pixel_ref_utils.cc virtual void clear(SkColor color) SK_OVERRIDE {} color 63 skia/ext/platform_canvas_unittest.cc bool IsOfColor(const SkBitmap& bitmap, int x, int y, uint32_t color) { color 66 skia/ext/platform_canvas_unittest.cc return (*bitmap.getAddr32(x, y) | alpha_mask) == (color | alpha_mask); color 62 skia/ext/skia_utils_mac.h SK_API SkColor CGColorRefToSkColor(CGColorRef color); color 65 skia/ext/skia_utils_mac.h SK_API CGColorRef CGColorCreateFromSkColor(SkColor color); color 69 skia/ext/skia_utils_mac.h SK_API SkColor NSDeviceColorToSkColor(NSColor* color); color 73 skia/ext/skia_utils_mac.h SK_API NSColor* SkColorToCalibratedNSColor(SkColor color); color 74 skia/ext/skia_utils_mac.h SK_API NSColor* SkColorToDeviceNSColor(SkColor color); color 75 skia/ext/skia_utils_mac.h SK_API NSColor* SkColorToSRGBNSColor(SkColor color); color 49 skia/ext/skia_utils_win.cc SkColor COLORREFToSkColor(COLORREF color) { color 51 skia/ext/skia_utils_win.cc return SkColorSetRGB(GetRValue(color), GetGValue(color), GetBValue(color)); color 54 skia/ext/skia_utils_win.cc return 0xFF000000u | (_byteswap_ulong(color) >> 8); color 58 skia/ext/skia_utils_win.cc COLORREF SkColorToCOLORREF(SkColor color) { color 60 skia/ext/skia_utils_win.cc return RGB(SkColorGetR(color), SkColorGetG(color), SkColorGetB(color)); color 63 skia/ext/skia_utils_win.cc return (_byteswap_ulong(color) >> 8); color 41 skia/ext/skia_utils_win.h SK_API SkColor COLORREFToSkColor(COLORREF color); color 44 skia/ext/skia_utils_win.h SK_API COLORREF SkColorToCOLORREF(SkColor color); color 318 skia/ext/vector_canvas_unittest.cc uint32_t color = *pixel_addr; color 319 skia/ext/vector_canvas_unittest.cc BYTE alpha = SkColorGetA(color); color 325 skia/ext/vector_canvas_unittest.cc SkColorGetA(color), color 326 skia/ext/vector_canvas_unittest.cc (SkColorGetR(color) * 255 + alpha_offset) / alpha, color 327 skia/ext/vector_canvas_unittest.cc (SkColorGetG(color) * 255 + alpha_offset) / alpha, color 328 skia/ext/vector_canvas_unittest.cc (SkColorGetB(color) * 255 + alpha_offset) / alpha); color 715 skia/ext/vector_platform_device_emf_win.cc bool VectorPlatformDeviceEmf::CreateBrush(bool use_brush, COLORREF color) { color 740 skia/ext/vector_platform_device_emf_win.cc previous_brush_ = SelectObject(CreateSolidBrush(color)); color 745 skia/ext/vector_platform_device_emf_win.cc COLORREF color, color 763 skia/ext/vector_platform_device_emf_win.cc previous_pen_ = SelectObject(::CreatePen(PS_SOLID, 0, color)); color 770 skia/ext/vector_platform_device_emf_win.cc brush.lbColor = color; color 110 skia/ext/vector_platform_device_emf_win.h bool CreateBrush(bool use_brush, COLORREF color); color 113 skia/ext/vector_platform_device_emf_win.h bool CreatePen(bool use_pen, COLORREF color, int stroke_width, color 799 third_party/libwebp/dsp/lossless.c int8_t color) { color 800 third_party/libwebp/dsp/lossless.c return (uint32_t)((int)(color_pred) * color) >> 5; color 172 third_party/libwebp/enc/alpha.c uint8_t color[256] = { 0 }; color 178 third_party/libwebp/enc/alpha.c color[p[i]] = 1; color 182 third_party/libwebp/enc/alpha.c if (color[j] > 0) ++colors; color 825 third_party/libwebp/enc/vp8l.c const int color = (palette[i] >> 8) & 0xff; color 826 third_party/libwebp/enc/vp8l.c inv_palette[color] = i; color 830 third_party/libwebp/enc/vp8l.c const int color = (src[x] >> 8) & 0xff; color 831 third_party/libwebp/enc/vp8l.c row[x] = inv_palette[color]; color 20 third_party/molokocacao/NSBezierPath+MCAdditions.h - (void)drawBlurWithColor:(NSColor*)color radius:(CGFloat)radius; color 2325 third_party/wtl/include/atlctrlw.h void DrawMenuText(CDCHandle& dc, RECT& rc, LPCTSTR lpstrText, COLORREF color) color 2336 third_party/wtl/include/atlctrlw.h dc.SetTextColor(color); color 133 tools/imagediff/image_diff.cc void set_pixel_at(int x, int y, uint32 color) const { color 137 tools/imagediff/image_diff.cc *reinterpret_cast<uint32*>(addr) = color; color 162 tools/telemetry/telemetry/core/bitmaptools.cc bool PixelsEqual(const unsigned char* pixel, int color, int tolerance) { color 163 tools/telemetry/telemetry/core/bitmaptools.cc unsigned char pixel2[3] = { color >> 16, color >> 8, color }; color 199 tools/telemetry/telemetry/core/bitmaptools.cc int color; color 201 tools/telemetry/telemetry/core/bitmaptools.cc if (!(ReadInt(&color) && ReadInt(&tolerance))) { color 219 tools/telemetry/telemetry/core/bitmaptools.cc if (!PixelsEqual(pixel, color, tolerance)) color 120 ui/android/java/src/org/chromium/ui/ColorPickerAdvanced.java public void setColor(int color) { color 121 ui/android/java/src/org/chromium/ui/ColorPickerAdvanced.java mCurrentColor = color; color 44 ui/android/java/src/org/chromium/ui/ColorPickerDialog.java int color, color 49 ui/android/java/src/org/chromium/ui/ColorPickerDialog.java mInitialColor = color; color 128 ui/android/java/src/org/chromium/ui/ColorPickerDialog.java public void onColorChanged(int color) { color 129 ui/android/java/src/org/chromium/ui/ColorPickerDialog.java updateCurrentColor(color); color 153 ui/android/java/src/org/chromium/ui/ColorPickerDialog.java private void tryNotifyColorSet(int color) { color 154 ui/android/java/src/org/chromium/ui/ColorPickerDialog.java if (mListener != null) mListener.onColorChanged(color); color 161 ui/android/java/src/org/chromium/ui/ColorPickerDialog.java private void updateCurrentColor(int color) { color 162 ui/android/java/src/org/chromium/ui/ColorPickerDialog.java mCurrentColor = color; color 163 ui/android/java/src/org/chromium/ui/ColorPickerDialog.java if (mCurrentColorView != null) mCurrentColorView.setBackgroundColor(color); color 20 ui/android/java/src/org/chromium/ui/ColorSuggestion.java public ColorSuggestion(int color, String label) { color 21 ui/android/java/src/org/chromium/ui/ColorSuggestion.java mColor = color; color 17 ui/android/java/src/org/chromium/ui/OnColorChangedListener.java void onColorChanged(int color); color 38 ui/android/java/src/org/chromium/ui/autofill/AutofillDividerDrawable.java public void setColor(int color) { color 39 ui/android/java/src/org/chromium/ui/autofill/AutofillDividerDrawable.java mPaint.setColor(color); color 61 ui/android/java/src/org/chromium/ui/autofill/AutofillListAdapter.java R.color.autofill_dark_divider_color)); color 64 ui/android/java/src/org/chromium/ui/autofill/AutofillListAdapter.java R.color.autofill_divider_color)); color 56 ui/aura/bench/bench_main.cc explicit ColoredLayer(SkColor color) color 58 ui/aura/bench/bench_main.cc color_(color), color 79 ui/aura/bench/bench_main.cc void set_color(SkColor color) { color_ = color; } color 39 ui/aura/demo/demo_main.cc explicit DemoWindowDelegate(SkColor color) : color_(color) {} color 78 ui/aura/remote_window_tree_host_win.cc composition_text->underlines[i].color = SK_ColorBLACK; color 102 ui/aura/test/test_window_delegate.cc ColorTestWindowDelegate::ColorTestWindowDelegate(SkColor color) color 103 ui/aura/test/test_window_delegate.cc : color_(color), color 78 ui/aura/test/test_window_delegate.h explicit ColorTestWindowDelegate(SkColor color); color 24 ui/aura/test/test_windows.cc Window* CreateTestWindow(SkColor color, color 28 ui/aura/test/test_windows.cc return CreateTestWindowWithDelegate(new ColorTestWindowDelegate(color), color 21 ui/aura/test/test_windows.h Window* CreateTestWindow(SkColor color, color 101 ui/base/ime/composition_text_util_pango.cc underline.color = SK_ColorRED; color 29 ui/base/ime/composition_text_util_pango_unittest.cc uint32 color; color 104 ui/base/ime/composition_text_util_pango_unittest.cc EXPECT_EQ(a.color, b.color); color 140 ui/base/ime/composition_text_util_pango_unittest.cc for (size_t u = 0; underlines[u].color && color 20 ui/base/ime/composition_underline.h color(0), color 26 ui/base/ime/composition_underline.h color(c), color 32 ui/base/ime/composition_underline.h (this->color == rhs.color) && color 44 ui/base/ime/composition_underline.h SkColor color; color 618 ui/base/ime/input_method_chromeos.cc underline.color = SK_ColorRED; color 628 ui/base/ime/input_method_chromeos_unittest.cc EXPECT_EQ(SK_ColorBLACK, composition_text.underlines[0].color); color 658 ui/base/ime/input_method_chromeos_unittest.cc EXPECT_EQ(SK_ColorBLACK, composition_text.underlines[0].color); color 687 ui/base/ime/input_method_chromeos_unittest.cc EXPECT_EQ(SK_ColorRED, composition_text.underlines[0].color); color 713 ui/base/ime/input_method_chromeos_unittest.cc EXPECT_EQ(SK_ColorBLACK, composition_text.underlines[0].color); color 745 ui/base/ime/input_method_chromeos_unittest.cc EXPECT_EQ(SK_ColorBLACK, composition_text.underlines[0].color); color 777 ui/base/ime/input_method_chromeos_unittest.cc EXPECT_EQ(SK_ColorBLACK, composition_text.underlines[0].color); color 84 ui/base/ime/win/imm32_manager.cc underline.color = SK_ColorBLACK; color 344 ui/base/ime/win/imm32_manager.cc underline.color = SK_ColorBLACK; color 355 ui/compositor/compositor.cc void Compositor::SetBackgroundColor(SkColor color) { color 356 ui/compositor/compositor.cc host_->set_background_color(color); color 225 ui/compositor/compositor.h void SetBackgroundColor(SkColor color); color 580 ui/compositor/layer.cc void Layer::SetColor(SkColor color) { GetAnimator()->SetColor(color); } color 813 ui/compositor/layer.cc void Layer::SetColorFromAnimation(SkColor color) { color 815 ui/compositor/layer.cc solid_color_layer_->SetBackgroundColor(color); color 816 ui/compositor/layer.cc SetFillsBoundsOpaquely(SkColorGetA(color) == 0xFF); color 284 ui/compositor/layer.h void SetColor(SkColor color); color 376 ui/compositor/layer.h virtual void SetColorFromAnimation(SkColor color) OVERRIDE; color 26 ui/compositor/layer_animation_delegate.h virtual void SetColorFromAnimation(SkColor color) = 0; color 312 ui/compositor/layer_animation_element.cc target->color = target_; color 863 ui/compositor/layer_animation_element.cc SkColor color, color 865 ui/compositor/layer_animation_element.cc return new ColorTransition(color, duration); color 59 ui/compositor/layer_animation_element.h SkColor color; color 138 ui/compositor/layer_animation_element.h SkColor color, color 120 ui/compositor/layer_animator.cc ANIMATED_PROPERTY(SkColor, COLOR, Color, SkColor, color); color 88 ui/compositor/layer_animator.h virtual void SetColor(SkColor color); color 35 ui/compositor/layer_animator_unittest.cc std::string ColorToString(SkColor color) { color 36 ui/compositor/layer_animator_unittest.cc return base::StringPrintf("%d %d %d %d", SkColorGetA(color), color 37 ui/compositor/layer_animator_unittest.cc SkColorGetR(color), SkColorGetG(color), color 38 ui/compositor/layer_animator_unittest.cc SkColorGetB(color)); color 55 ui/compositor/layer_unittest.cc explicit ColoredLayer(SkColor color) color 57 ui/compositor/layer_unittest.cc color_(color) { color 113 ui/compositor/layer_unittest.cc Layer* CreateColorLayer(SkColor color, const gfx::Rect& bounds) { color 114 ui/compositor/layer_unittest.cc Layer* layer = new ColoredLayer(color); color 218 ui/compositor/layer_unittest.cc void AddColor(SkColor color) { color 219 ui/compositor/layer_unittest.cc colors_.push_back(color); color 422 ui/compositor/layer_unittest.cc Layer* CreateColorLayer(SkColor color, const gfx::Rect& bounds) { color 423 ui/compositor/layer_unittest.cc Layer* layer = new ColoredLayer(color); color 55 ui/compositor/test/test_layer_animation_delegate.cc void TestLayerAnimationDelegate::SetColorFromAnimation(SkColor color) { color 56 ui/compositor/test/test_layer_animation_delegate.cc color_ = color; color 29 ui/compositor/test/test_layer_animation_delegate.h virtual void SetColorFromAnimation(SkColor color) OVERRIDE; color 204 ui/display/chromeos/x11/native_display_delegate_x11.cc XColor color; color 207 ui/display/chromeos/x11/native_display_delegate_x11.cc color.red = (color_argb & 0x00FF0000) >> 8; color 208 ui/display/chromeos/x11/native_display_delegate_x11.cc color.green = (color_argb & 0x0000FF00); color 209 ui/display/chromeos/x11/native_display_delegate_x11.cc color.blue = (color_argb & 0x000000FF) << 8; color 210 ui/display/chromeos/x11/native_display_delegate_x11.cc color.flags = DoRed | DoGreen | DoBlue; color 211 ui/display/chromeos/x11/native_display_delegate_x11.cc XAllocColor(display_, colormap, &color); color 212 ui/display/chromeos/x11/native_display_delegate_x11.cc swa.background_pixel = color.pixel; color 214 ui/display/chromeos/x11/native_display_delegate_x11.cc XFreeColors(display_, colormap, &color.pixel, 1, 0); color 133 ui/gfx/canvas.cc void Canvas::DrawDashedRect(const Rect& rect, SkColor color) { color 140 ui/gfx/canvas.cc if (!dots || last_color != color) { color 145 ui/gfx/canvas.cc last_color = color; color 154 ui/gfx/canvas.cc dot[i * row_pixels + u] = color; color 224 ui/gfx/canvas.cc void Canvas::DrawColor(SkColor color) { color 225 ui/gfx/canvas.cc DrawColor(color, SkXfermode::kSrcOver_Mode); color 228 ui/gfx/canvas.cc void Canvas::DrawColor(SkColor color, SkXfermode::Mode mode) { color 229 ui/gfx/canvas.cc canvas_->drawColor(color, mode); color 232 ui/gfx/canvas.cc void Canvas::FillRect(const Rect& rect, SkColor color) { color 233 ui/gfx/canvas.cc FillRect(rect, color, SkXfermode::kSrcOver_Mode); color 237 ui/gfx/canvas.cc SkColor color, color 240 ui/gfx/canvas.cc paint.setColor(color); color 246 ui/gfx/canvas.cc void Canvas::DrawRect(const Rect& rect, SkColor color) { color 247 ui/gfx/canvas.cc DrawRect(rect, color, SkXfermode::kSrcOver_Mode); color 251 ui/gfx/canvas.cc SkColor color, color 254 ui/gfx/canvas.cc paint.setColor(color); color 273 ui/gfx/canvas.cc void Canvas::DrawLine(const Point& p1, const Point& p2, SkColor color) { color 275 ui/gfx/canvas.cc paint.setColor(color); color 307 ui/gfx/canvas.cc void Canvas::DrawSolidFocusRect(const Rect& rect, SkColor color) { color 309 ui/gfx/canvas.cc paint.setColor(color); color 462 ui/gfx/canvas.cc SkColor color, color 464 ui/gfx/canvas.cc DrawStringRectWithFlags(text, font_list, color, display_rect, color 470 ui/gfx/canvas.cc SkColor color, color 473 ui/gfx/canvas.cc DrawStringRectWithShadows(text, font_list, color, display_rect, 0, flags, color 184 ui/gfx/canvas.h void DrawDashedRect(const Rect& rect, SkColor color); color 220 ui/gfx/canvas.h void DrawColor(SkColor color); color 224 ui/gfx/canvas.h void DrawColor(SkColor color, SkXfermode::Mode mode); color 228 ui/gfx/canvas.h void FillRect(const Rect& rect, SkColor color); color 231 ui/gfx/canvas.h void FillRect(const Rect& rect, SkColor color, SkXfermode::Mode mode); color 237 ui/gfx/canvas.h void DrawRect(const Rect& rect, SkColor color); color 243 ui/gfx/canvas.h void DrawRect(const Rect& rect, SkColor color, SkXfermode::Mode mode); color 252 ui/gfx/canvas.h void DrawLine(const Point& p1, const Point& p2, SkColor color); color 338 ui/gfx/canvas.h SkColor color, color 346 ui/gfx/canvas.h SkColor color, color 355 ui/gfx/canvas.h SkColor color, color 366 ui/gfx/canvas.h void DrawSolidFocusRect(const Rect& rect, SkColor color); color 409 ui/gfx/canvas.h SkColor color, color 415 ui/gfx/canvas.h SkColor color, color 32 ui/gfx/canvas_android.cc SkColor color, color 122 ui/gfx/canvas_skia.cc SkColor color, color 150 ui/gfx/canvas_skia.cc render_text->SetColor(color); color 222 ui/gfx/canvas_skia.cc SkColor color, color 262 ui/gfx/canvas_skia.cc UpdateRenderText(rect, strings[i], font_list, flags, color, color 310 ui/gfx/canvas_skia.cc UpdateRenderText(rect, adjusted_text, font_list, flags, color, color 378 ui/gfx/canvas_skia.cc SkColor color, color 381 ui/gfx/canvas_skia.cc text, truncate_mode, font_list, color, display_rect, NO_ELLIPSIS); color 388 ui/gfx/canvas_skia.cc SkColor color, color 393 ui/gfx/canvas_skia.cc DrawStringRectWithFlags(text, font_list, color, display_rect, flags); color 419 ui/gfx/canvas_skia.cc UpdateRenderText(rect, text, font_list, flags, color, render_text.get()); color 64 ui/gfx/codec/png_codec_unittest.cc png_color& color = (*palette)[i]; color 65 ui/gfx/codec/png_codec_unittest.cc color.red = i * 3; color 66 ui/gfx/codec/png_codec_unittest.cc color.green = color.red + 1; color 67 ui/gfx/codec/png_codec_unittest.cc color.blue = color.red + 2; color 183 ui/gfx/color_analysis.cc SkColor color) { color 184 ui/gfx/color_analysis.cc uint8_t in_r = SkColorGetR(color); color 185 ui/gfx/color_analysis.cc uint8_t in_g = SkColorGetG(color); color 186 ui/gfx/color_analysis.cc uint8_t in_b = SkColorGetB(color); color 189 ui/gfx/color_analysis.cc SkColor best_color = color; color 220 ui/gfx/color_analysis.cc SkColor color = kDefaultBgColor; color 277 ui/gfx/color_analysis.cc return color; color 343 ui/gfx/color_analysis.cc color = SkColorSetARGB(0xFF, r, g, b); color 348 ui/gfx/color_analysis.cc color = SkColorSetARGB(0xFF, r, g, b); color 355 ui/gfx/color_analysis.cc return FindClosestColor(decoded_data, img_width, img_height, color); color 365 ui/gfx/color_analysis.cc SkColor color = kDefaultBgColor; color 382 ui/gfx/color_analysis.cc return color; color 394 ui/gfx/color_analysis.cc SkColor color = CalculateKMeanColorOfBuffer( color 401 ui/gfx/color_analysis.cc return color; color 53 ui/gfx/color_analysis.h SkColor color); color 165 ui/gfx/color_analysis_unittest.cc SkColor color = color 168 ui/gfx/color_analysis_unittest.cc EXPECT_EQ(color, SK_ColorWHITE); color 183 ui/gfx/color_analysis_unittest.cc SkColor color = color 186 ui/gfx/color_analysis_unittest.cc EXPECT_EQ(color, SkColorSetARGB(0xFF, 0x00, 0x00, 0xFF)); color 201 ui/gfx/color_analysis_unittest.cc SkColor color = color 204 ui/gfx/color_analysis_unittest.cc EXPECT_EQ(color, SkColorSetARGB(0xFF, 0xFF, 0x00, 0x00)); color 225 ui/gfx/color_analysis_unittest.cc SkColor color = FindClosestColor(NULL, 0, 0, SK_ColorRED); color 226 ui/gfx/color_analysis_unittest.cc EXPECT_EQ(SK_ColorRED, color); color 233 ui/gfx/color_analysis_unittest.cc color = FindClosestColor(static_cast<uint8_t*>(bitmap.getPixels()), color 237 ui/gfx/color_analysis_unittest.cc EXPECT_EQ(SK_ColorWHITE, color); color 243 ui/gfx/color_analysis_unittest.cc color = FindClosestColor(static_cast<uint8_t*>(bitmap.getPixels()), color 247 ui/gfx/color_analysis_unittest.cc EXPECT_EQ(SK_ColorBLACK, color); color 257 ui/gfx/color_analysis_unittest.cc SkColor color = color_utils::CalculateKMeanColorOfBitmap(bitmap); color 258 ui/gfx/color_analysis_unittest.cc EXPECT_EQ(255u, SkColorGetA(color)); color 260 ui/gfx/color_analysis_unittest.cc EXPECT_TRUE(ChannelApproximatelyEqual(100, SkColorGetR(color))); color 261 ui/gfx/color_analysis_unittest.cc EXPECT_TRUE(ChannelApproximatelyEqual(150, SkColorGetG(color))); color 262 ui/gfx/color_analysis_unittest.cc EXPECT_TRUE(ChannelApproximatelyEqual(200, SkColorGetB(color))); color 266 ui/gfx/color_analysis_unittest.cc color = color_utils::CalculateKMeanColorOfBitmap(bitmap); color 269 ui/gfx/color_analysis_unittest.cc EXPECT_EQ(255u, SkColorGetA(color)); color 270 ui/gfx/color_analysis_unittest.cc EXPECT_TRUE(ChannelApproximatelyEqual(100, SkColorGetR(color))); color 271 ui/gfx/color_analysis_unittest.cc EXPECT_TRUE(ChannelApproximatelyEqual(150, SkColorGetG(color))); color 272 ui/gfx/color_analysis_unittest.cc EXPECT_TRUE(ChannelApproximatelyEqual(200, SkColorGetB(color))); color 57 ui/gfx/color_utils.cc SkColor LumaInvertColor(SkColor color) { color 59 ui/gfx/color_utils.cc SkColorToHSL(color, &hsl); color 79 ui/gfx/color_utils.cc unsigned char GetLuminanceForColor(SkColor color) { color 80 ui/gfx/color_utils.cc int luma = static_cast<int>((0.3 * SkColorGetR(color)) + color 81 ui/gfx/color_utils.cc (0.59 * SkColorGetG(color)) + color 82 ui/gfx/color_utils.cc (0.11 * SkColorGetB(color))); color 86 ui/gfx/color_utils.cc double RelativeLuminance(SkColor color) { color 87 ui/gfx/color_utils.cc return (0.2126 * ConvertSRGB(SkColorGetR(color))) + color 88 ui/gfx/color_utils.cc (0.7152 * ConvertSRGB(SkColorGetG(color))) + color 89 ui/gfx/color_utils.cc (0.0722 * ConvertSRGB(SkColorGetB(color))); color 154 ui/gfx/color_utils.cc SkColor HSLShift(SkColor color, const HSL& shift) { color 156 ui/gfx/color_utils.cc int alpha = SkColorGetA(color); color 157 ui/gfx/color_utils.cc SkColorToHSL(color, &hsl); color 238 ui/gfx/color_utils.cc SkColor BlendTowardOppositeLuminance(SkColor color, SkAlpha alpha) { color 240 ui/gfx/color_utils.cc color_utils::GetLuminanceForColor(color); color 243 ui/gfx/color_utils.cc return color_utils::AlphaBlend(blend_color, color, alpha); color 254 ui/gfx/color_utils.cc SkColor InvertColor(SkColor color) { color 256 ui/gfx/color_utils.cc SkColorGetA(color), color 257 ui/gfx/color_utils.cc 255 - SkColorGetR(color), color 258 ui/gfx/color_utils.cc 255 - SkColorGetG(color), color 259 ui/gfx/color_utils.cc 255 - SkColorGetB(color)); color 23 ui/gfx/color_utils.h GFX_EXPORT unsigned char GetLuminanceForColor(SkColor color); color 26 ui/gfx/color_utils.h GFX_EXPORT double RelativeLuminance(SkColor color); color 46 ui/gfx/color_utils.h GFX_EXPORT SkColor HSLShift(SkColor color, const HSL& shift); color 62 ui/gfx/color_utils.h GFX_EXPORT SkColor BlendTowardOppositeLuminance(SkColor color, SkAlpha alpha); color 76 ui/gfx/color_utils.h GFX_EXPORT SkColor InvertColor(SkColor color); color 274 ui/gfx/image/image_skia_operations.cc ButtonImageSource(SkColor color, color 277 ui/gfx/image/image_skia_operations.cc : color_(color), color 497 ui/gfx/image/image_skia_operations.cc ImageSkia ImageSkiaOperations::CreateButtonBackground(SkColor color, color 503 ui/gfx/image/image_skia_operations.cc return ImageSkia(new ButtonImageSource(color, image, mask), mask.size()); color 73 ui/gfx/image/image_skia_operations.h static ImageSkia CreateButtonBackground(SkColor color, color 262 ui/gfx/image/image_unittest_util.cc void CheckIsTransparent(SkColor color) { color 263 ui/gfx/image/image_unittest_util.cc EXPECT_LT(SkColorGetA(color) / 255.0, 0.05); color 80 ui/gfx/image/image_unittest_util.h void CheckIsTransparent(SkColor color); color 125 ui/gfx/render_text.cc SkColor color) { color 127 ui/gfx/render_text.cc const SkColor fade_color = SkColorSetA(color, 51); color 132 ui/gfx/render_text.cc AddFadeEffect(text_rect, left_part, fade_color, color, color 135 ui/gfx/render_text.cc AddFadeEffect(text_rect, right_part, color, fade_color, color 330 ui/gfx/render_text.cc void SkiaTextRenderer::DiagonalStrike::AddPiece(int length, SkColor color) { color 331 ui/gfx/render_text.cc pieces_.push_back(Piece(length, color)); color 68 ui/gfx/render_text.h void DrawSelection(const std::vector<Rect>& selection, SkColor color); color 90 ui/gfx/render_text.h void AddPiece(int length, SkColor color); color 126 ui/gfx/render_text.h SkColor color() const { return color_->second; } color 213 ui/gfx/render_text.h void set_cursor_color(SkColor color) { cursor_color_ = color; } color 216 ui/gfx/render_text.h void set_selection_color(SkColor color) { selection_color_ = color; } color 221 ui/gfx/render_text.h void set_selection_background_focused_color(SkColor color) { color 222 ui/gfx/render_text.h selection_background_focused_color_ = color; color 214 ui/gfx/render_text_mac.cc gfx::CGColorCreateFromSkColor(style.color())); color 470 ui/gfx/render_text_pango.cc renderer.SetForegroundColor(style.color()); color 113 ui/gfx/render_text_unittest.cc const SkColor color = SK_ColorRED; color 114 ui/gfx/render_text_unittest.cc render_text->SetColor(color); color 119 ui/gfx/render_text_unittest.cc EXPECT_TRUE(render_text->colors().EqualsValueForTesting(color)); color 22 ui/gfx/shadow_value.cc SkColor color) color 25 ui/gfx/shadow_value.cc color_(color) { color 27 ui/gfx/shadow_value.h ShadowValue(const gfx::Point& offset, double blur, SkColor color); color 34 ui/gfx/shadow_value.h SkColor color() const { return color_; } color 167 ui/gfx/skbitmap_operations.cc SkBitmap SkBitmapOperations::CreateButtonBackground(SkColor color, color 176 ui/gfx/skbitmap_operations.cc double bg_a = SkColorGetA(color); color 177 ui/gfx/skbitmap_operations.cc double bg_r = SkColorGetR(color); color 178 ui/gfx/skbitmap_operations.cc double bg_g = SkColorGetG(color); color 179 ui/gfx/skbitmap_operations.cc double bg_b = SkColorGetB(color); color 776 ui/gfx/skbitmap_operations.cc shadow.color()); color 59 ui/gfx/skbitmap_operations.h static SkBitmap CreateButtonBackground(SkColor color, color 129 ui/gfx/skia_util.cc SkColorFilter::CreateModeFilter(shadow.color(), color 18 ui/gfx/skia_utils_gtk.cc SkColor GdkColorToSkColor(GdkColor color) { color 19 ui/gfx/skia_utils_gtk.cc return SkColorSetRGB(color.red >> 8, color.green >> 8, color.blue >> 8); color 22 ui/gfx/skia_utils_gtk.cc GdkColor SkColorToGdkColor(SkColor color) { color 25 ui/gfx/skia_utils_gtk.cc static_cast<guint16>(SkColorGetR(color) * kSkiaToGDKMultiplier), color 26 ui/gfx/skia_utils_gtk.cc static_cast<guint16>(SkColorGetG(color) * kSkiaToGDKMultiplier), color 27 ui/gfx/skia_utils_gtk.cc static_cast<guint16>(SkColorGetB(color) * kSkiaToGDKMultiplier) color 16 ui/gfx/skia_utils_gtk.h GFX_EXPORT SkColor GdkColorToSkColor(GdkColor color); color 19 ui/gfx/skia_utils_gtk.h GFX_EXPORT GdkColor SkColorToGdkColor(SkColor color); color 15 ui/gfx/test/gfx_util.cc std::string ColorAsString(SkColor color) { color 18 ui/gfx/test/gfx_util.cc << std::setw(2) << SkColorGetA(color) color 19 ui/gfx/test/gfx_util.cc << std::setw(2) << SkColorGetR(color) color 20 ui/gfx/test/gfx_util.cc << std::setw(2) << SkColorGetG(color) color 21 ui/gfx/test/gfx_util.cc << std::setw(2) << SkColorGetB(color); color 82 ui/message_center/views/notification_view.cc SkColor color) { color 83 ui/message_center/views/notification_view.cc return views::Border::CreateSolidSidedBorder(top, left, 0, 0, color); color 40 ui/native_theme/common_theme.cc bool CommonThemeGetSystemColor(NativeTheme::ColorId color_id, SkColor* color) { color 44 ui/native_theme/common_theme.cc *color = kMenuBorderColor; color 47 ui/native_theme/common_theme.cc *color = kEnabledMenuButtonBorderColor; color 50 ui/native_theme/common_theme.cc *color = kFocusedMenuButtonBorderColor; color 53 ui/native_theme/common_theme.cc *color = kHoverMenuButtonBorderColor; color 56 ui/native_theme/common_theme.cc *color = kMenuSeparatorColor; color 59 ui/native_theme/common_theme.cc *color = kMenuBackgroundColor; color 62 ui/native_theme/common_theme.cc *color = kMenuHighlightBackgroundColor; color 65 ui/native_theme/common_theme.cc *color = kHoverMenuItemBackgroundColor; color 68 ui/native_theme/common_theme.cc *color = kEnabledMenuItemForegroundColor; color 71 ui/native_theme/common_theme.cc *color = kDisabledMenuItemForegroundColor; color 74 ui/native_theme/common_theme.cc *color = SK_ColorBLACK; color 77 ui/native_theme/common_theme.cc *color = SK_ColorWHITE; color 80 ui/native_theme/common_theme.cc *color = kDisabledMenuItemForegroundColor; color 89 ui/native_theme/common_theme.cc *color = kMenuInvertedSchemeHighlightBackgroundColor; color 92 ui/native_theme/common_theme.cc *color = color_utils::InvertColor(*color); color 121 ui/native_theme/common_theme.cc SkColor color; color 122 ui/native_theme/common_theme.cc CommonThemeGetSystemColor(NativeTheme::kColorId_MenuSeparatorColor, &color); color 130 ui/native_theme/common_theme.cc SkColor color; color 131 ui/native_theme/common_theme.cc CommonThemeGetSystemColor(NativeTheme::kColorId_MenuSeparatorColor, &color); color 139 ui/native_theme/common_theme.cc SkColor color; color 140 ui/native_theme/common_theme.cc CommonThemeGetSystemColor(NativeTheme::kColorId_MenuBackgroundColor, &color); color 142 ui/native_theme/common_theme.cc paint.setColor(color); color 149 ui/native_theme/common_theme.cc SkColor color; color 155 ui/native_theme/common_theme.cc &color); color 156 ui/native_theme/common_theme.cc paint.setColor(color); color 160 ui/native_theme/common_theme.cc NativeTheme::kColorId_FocusedMenuItemBackgroundColor, &color); color 161 ui/native_theme/common_theme.cc paint.setColor(color); color 19 ui/native_theme/common_theme.h SkColor* color); color 109 ui/native_theme/fallback_theme.cc SkColor color; color 110 ui/native_theme/fallback_theme.cc if (CommonThemeGetSystemColor(color_id, &color)) color 111 ui/native_theme/fallback_theme.cc return color; color 104 ui/native_theme/native_theme_aura.cc SkColor color = GetSystemColor(NativeTheme::kColorId_MenuBackgroundColor); color 109 ui/native_theme/native_theme_aura.cc paint.setColor(color); color 121 ui/native_theme/native_theme_aura.cc canvas->drawColor(color, SkXfermode::kSrc_Mode); color 349 ui/native_theme/native_theme_base.cc SkColor color) const { color 360 ui/native_theme/native_theme_base.cc paint.setColor(color); color 979 ui/native_theme/native_theme_base.cc SkScalar color[3]; color 980 ui/native_theme/native_theme_base.cc color[0] = hsv[0]; color 981 ui/native_theme/native_theme_base.cc color[1] = Clamp(hsv[1] + saturate_amount, 0.0, 1.0); color 982 ui/native_theme/native_theme_base.cc color[2] = Clamp(hsv[2] + brighten_amount, 0.0, 1.0); color 983 ui/native_theme/native_theme_base.cc return SkHSVToColor(color); color 159 ui/native_theme/native_theme_base.h SkColor color) const; color 156 ui/native_theme/native_theme_win.cc SkColor* color) const { color 162 ui/native_theme/native_theme_win.cc *color = skia::COLORREFToSkColor(color_ref); color 174 ui/native_theme/native_theme_win.cc SkColor color; color 175 ui/native_theme/native_theme_win.cc if (GetThemeColor(theme, part_id, state_id, prop_id, &color) != S_OK) color 176 ui/native_theme/native_theme_win.cc color = color_utils::GetSysSkColor(default_sys_color); color 177 ui/native_theme/native_theme_win.cc return color; color 503 ui/native_theme/native_theme_win.cc SkColor color; color 504 ui/native_theme/native_theme_win.cc if (CommonThemeGetSystemColor(color_id, &color)) color 505 ui/native_theme/native_theme_win.cc return color; color 1639 ui/native_theme/native_theme_win.cc COLORREF color, color 1649 ui/native_theme/native_theme_win.cc HBRUSH bg_brush = CreateSolidBrush(color); color 64 ui/native_theme/native_theme_win.h SkColor* color) const; color 102 ui/native_theme/native_theme_win.h COLORREF color, color 314 ui/native_theme/native_theme_win.h COLORREF* color); color 21 ui/views/background.cc explicit SolidBackground(SkColor color) { color 22 ui/views/background.cc SetNativeControlColor(color); color 73 ui/views/background.cc void Background::SetNativeControlColor(SkColor color) { color 74 ui/views/background.cc color_ = color; color 90 ui/views/background.cc Background* Background::CreateSolidBackground(SkColor color) { color 91 ui/views/background.cc return new SolidBackground(color); color 45 ui/views/background.h static Background* CreateSolidBackground(SkColor color); color 84 ui/views/background.h void SetNativeControlColor(SkColor color); color 20 ui/views/border.cc SidedSolidBorder(int top, int left, int bottom, int right, SkColor color); color 38 ui/views/border.cc SkColor color) color 39 ui/views/border.cc : color_(color), color 67 ui/views/border.cc SolidBorder(int thickness, SkColor color) color 68 ui/views/border.cc : SidedSolidBorder(thickness, thickness, thickness, thickness, color) { color 141 ui/views/border.cc scoped_ptr<Border> Border::CreateSolidBorder(int thickness, SkColor color) { color 142 ui/views/border.cc return scoped_ptr<Border>(new SolidBorder(thickness, color)); color 158 ui/views/border.cc SkColor color) { color 160 ui/views/border.cc new SidedSolidBorder(top, left, bottom, right, color)); color 50 ui/views/border.h static scoped_ptr<Border> CreateSolidBorder(int thickness, SkColor color); color 65 ui/views/border.h SkColor color); color 153 ui/views/bubble/bubble_border.cc BubbleBorder::BubbleBorder(Arrow arrow, Shadow shadow, SkColor color) color 159 ui/views/bubble/bubble_border.cc background_color_(color) { color 83 ui/views/bubble/bubble_border.h BubbleBorder(Arrow arrow, Shadow shadow, SkColor color); color 136 ui/views/bubble/bubble_border.h void set_background_color(SkColor color) { background_color_ = color; } color 139 ui/views/bubble/bubble_delegate.cc new BubbleBorder(adjusted_arrow, shadow(), color()))); color 283 ui/views/bubble/bubble_delegate.cc set_background(Background::CreateSolidBackground(color())); color 286 ui/views/bubble/bubble_delegate.cc frame_view->bubble_border()->set_background_color(color()); color 70 ui/views/bubble/bubble_delegate.h SkColor color() const { return color_; } color 71 ui/views/bubble/bubble_delegate.h void set_color(SkColor color) { color 72 ui/views/bubble/bubble_delegate.h color_ = color; color 78 ui/views/bubble/bubble_delegate_unittest.cc EXPECT_EQ(bubble_delegate->color(), border->background_color()); color 17 ui/views/color_chooser/color_chooser_listener.h virtual void OnColorChosen(SkColor color) = 0; color 35 ui/views/color_chooser/color_chooser_view.cc base::string16 GetColorText(SkColor color) { color 37 ui/views/color_chooser/color_chooser_view.cc SkColorGetR(color), color 38 ui/views/color_chooser/color_chooser_view.cc SkColorGetG(color), color 39 ui/views/color_chooser/color_chooser_view.cc SkColorGetB(color))); color 343 ui/views/color_chooser/color_chooser_view.cc void SetColor(SkColor color); color 355 ui/views/color_chooser/color_chooser_view.cc void ColorChooserView::SelectedColorPatchView::SetColor(SkColor color) { color 357 ui/views/color_chooser/color_chooser_view.cc set_background(Background::CreateSolidBackground(color)); color 359 ui/views/color_chooser/color_chooser_view.cc background()->SetNativeControlColor(color); color 410 ui/views/color_chooser/color_chooser_view.cc void ColorChooserView::OnColorChanged(SkColor color) { color 411 ui/views/color_chooser/color_chooser_view.cc SkColorToHSV(color, hsv_); color 415 ui/views/color_chooser/color_chooser_view.cc selected_color_patch_->SetColor(color); color 416 ui/views/color_chooser/color_chooser_view.cc textfield_->SetText(GetColorText(color)); color 421 ui/views/color_chooser/color_chooser_view.cc SkColor color = SkHSVToColor(255, hsv_); color 423 ui/views/color_chooser/color_chooser_view.cc listener_->OnColorChosen(color); color 425 ui/views/color_chooser/color_chooser_view.cc selected_color_patch_->SetColor(color); color 426 ui/views/color_chooser/color_chooser_view.cc textfield_->SetText(GetColorText(color)); color 433 ui/views/color_chooser/color_chooser_view.cc SkColor color = SkHSVToColor(255, hsv_); color 435 ui/views/color_chooser/color_chooser_view.cc listener_->OnColorChosen(color); color 436 ui/views/color_chooser/color_chooser_view.cc selected_color_patch_->SetColor(color); color 437 ui/views/color_chooser/color_chooser_view.cc textfield_->SetText(GetColorText(color)); color 459 ui/views/color_chooser/color_chooser_view.cc SkColor color = SK_ColorBLACK; color 460 ui/views/color_chooser/color_chooser_view.cc if (GetColorFromText(new_contents, &color)) { color 461 ui/views/color_chooser/color_chooser_view.cc SkColorToHSV(color, hsv_); color 463 ui/views/color_chooser/color_chooser_view.cc listener_->OnColorChosen(color); color 467 ui/views/color_chooser/color_chooser_view.cc selected_color_patch_->SetColor(color); color 32 ui/views/color_chooser/color_chooser_view.h void OnColorChanged(SkColor color); color 51 ui/views/controls/button/image_button.cc void ImageButton::SetBackground(SkColor color, color 59 ui/views/controls/button/image_button.cc background_image_ = gfx::ImageSkiaOperations::CreateButtonBackground(color, color 50 ui/views/controls/button/image_button.h void SetBackground(SkColor color, color 93 ui/views/controls/button/label_button.cc void LabelButton::SetTextColor(ButtonState for_state, SkColor color) { color 94 ui/views/controls/button/label_button.cc button_state_colors_[for_state] = color; color 96 ui/views/controls/button/label_button.cc label_->SetDisabledColor(color); color 98 ui/views/controls/button/label_button.cc label_->SetEnabledColor(color); color 368 ui/views/controls/button/label_button.cc const SkColor color = button_state_colors_[state()]; color 369 ui/views/controls/button/label_button.cc if (state() != STATE_DISABLED && label_->enabled_color() != color) color 370 ui/views/controls/button/label_button.cc label_->SetEnabledColor(color); color 44 ui/views/controls/button/label_button.h void SetTextColor(ButtonState for_state, SkColor color); color 242 ui/views/controls/button/text_button.cc void TextButtonBase::SetEnabledColor(SkColor color) { color 243 ui/views/controls/button/text_button.cc color_enabled_ = color; color 248 ui/views/controls/button/text_button.cc void TextButtonBase::SetDisabledColor(SkColor color) { color 249 ui/views/controls/button/text_button.cc color_disabled_ = color; color 254 ui/views/controls/button/text_button.cc void TextButtonBase::SetHighlightColor(SkColor color) { color 255 ui/views/controls/button/text_button.cc color_highlight_ = color; color 259 ui/views/controls/button/text_button.cc void TextButtonBase::SetHoverColor(SkColor color) { color 260 ui/views/controls/button/text_button.cc color_hover_ = color; color 145 ui/views/controls/button/text_button.h void SetEnabledColor(SkColor color); color 146 ui/views/controls/button/text_button.h void SetDisabledColor(SkColor color); color 147 ui/views/controls/button/text_button.h void SetHighlightColor(SkColor color); color 148 ui/views/controls/button/text_button.h void SetHoverColor(SkColor color); color 187 ui/views/controls/button/text_button.h void set_color_enabled(SkColor color) { color_enabled_ = color; } color 188 ui/views/controls/button/text_button.h void set_color_disabled(SkColor color) { color_disabled_ = color; } color 189 ui/views/controls/button/text_button.h void set_color_hover(SkColor color) { color_hover_ = color; } color 31 ui/views/controls/focusable_border.cc void FocusableBorder::SetColor(SkColor color) { color 32 ui/views/controls/focusable_border.cc override_color_ = color; color 45 ui/views/controls/focusable_border.cc SkColor color = override_color_; color 47 ui/views/controls/focusable_border.cc color = view.GetNativeTheme()->GetSystemColor( color 52 ui/views/controls/focusable_border.cc paint.setColor(color); color 29 ui/views/controls/focusable_border.h void SetColor(SkColor color); color 90 ui/views/controls/label.cc void Label::SetEnabledColor(SkColor color) { color 91 ui/views/controls/label.cc requested_enabled_color_ = color; color 96 ui/views/controls/label.cc void Label::SetDisabledColor(SkColor color) { color 97 ui/views/controls/label.cc requested_disabled_color_ = color; color 102 ui/views/controls/label.cc void Label::SetBackgroundColor(SkColor color) { color 103 ui/views/controls/label.cc background_color_ = color; color 81 ui/views/controls/label.h virtual void SetEnabledColor(SkColor color); color 82 ui/views/controls/label.h void SetDisabledColor(SkColor color); color 88 ui/views/controls/label.h void SetBackgroundColor(SkColor color); color 51 ui/views/controls/label_unittest.cc SkColor color = SkColorSetARGB(20, 40, 10, 5); color 53 ui/views/controls/label_unittest.cc label.SetEnabledColor(color); color 54 ui/views/controls/label_unittest.cc EXPECT_EQ(color, label.enabled_color()); color 168 ui/views/controls/link.cc void Link::SetEnabledColor(SkColor color) { color 169 ui/views/controls/link.cc requested_enabled_color_ = color; color 174 ui/views/controls/link.cc void Link::SetPressedColor(SkColor color) { color 175 ui/views/controls/link.cc requested_pressed_color_ = color; color 54 ui/views/controls/link.h virtual void SetEnabledColor(SkColor color) OVERRIDE; color 56 ui/views/controls/link.h void SetPressedColor(SkColor color); color 66 ui/views/controls/slider.h void set_focus_border_color(SkColor color) { focus_border_color_ = color; } color 48 ui/views/controls/styled_label.cc result->SetEnabledColor(style_info.color); color 68 ui/views/controls/styled_label.cc color(ui::NativeTheme::instance()->GetSystemColor( color 80 ui/views/controls/styled_label.cc result.color = Link::GetDefaultEnabledColor(); color 136 ui/views/controls/styled_label.cc void StyledLabel::SetDisplayedOnBackgroundColor(SkColor color) { color 137 ui/views/controls/styled_label.cc displayed_on_background_color_ = color; color 45 ui/views/controls/styled_label.h SkColor color; color 79 ui/views/controls/styled_label.h void SetDisplayedOnBackgroundColor(SkColor color); color 286 ui/views/controls/styled_label_unittest.cc style_info_red.color = SK_ColorRED; color 345 ui/views/controls/textfield/textfield.cc void Textfield::SetTextColor(SkColor color) { color 346 ui/views/controls/textfield/textfield.cc text_color_ = color; color 348 ui/views/controls/textfield/textfield.cc SetColor(color); color 365 ui/views/controls/textfield/textfield.cc void Textfield::SetBackgroundColor(SkColor color) { color 366 ui/views/controls/textfield/textfield.cc background_color_ = color; color 1462 ui/views/controls/textfield/textfield.cc const SkColor color = GetBackgroundColor(); color 1463 ui/views/controls/textfield/textfield.cc set_background(Background::CreateSolidBackground(color)); color 1464 ui/views/controls/textfield/textfield.cc GetRenderText()->set_background_is_transparent(SkColorGetA(color) != 0xFF); color 101 ui/views/controls/textfield/textfield.h void SetTextColor(SkColor color); color 107 ui/views/controls/textfield/textfield.h void SetBackgroundColor(SkColor color); color 130 ui/views/controls/textfield/textfield.h void set_placeholder_text_color(SkColor color) { color 131 ui/views/controls/textfield/textfield.h placeholder_text_color_ = color; color 65 ui/views/linux_ui/linux_ui.h virtual bool GetColor(int id, SkColor* color) const = 0; color 63 ui/views/painter.cc SolidFocusPainter(SkColor color, const gfx::Insets& insets); color 77 ui/views/painter.cc SolidFocusPainter::SolidFocusPainter(SkColor color, color 79 ui/views/painter.cc : color_(color), color 286 ui/views/painter.cc SkColor color, color 288 ui/views/painter.cc return scoped_ptr<Painter>(new SolidFocusPainter(color, insets)).Pass(); color 77 ui/views/painter.h static scoped_ptr<Painter> CreateSolidFocusPainter(SkColor color, color 17 ui/views/shadow_border.cc SkColor color, color 22 ui/views/shadow_border.cc color_(color), color 18 ui/views/shadow_border.h SkColor color, color 159 ui/views/window/dialog_delegate.cc const SkColor color = widget->GetNativeTheme()->GetSystemColor( color 162 ui/views/window/dialog_delegate.cc BubbleBorder::FLOAT, BubbleBorder::SMALL_SHADOW, color))); color 30 ui/views/window/frame_background.h void set_frame_color(SkColor color) { frame_color_ = color; } color 63 webkit/renderer/compositor_bindings/web_filter_operations_impl.cc blink::WebColor color) { color 65 webkit/renderer/compositor_bindings/web_filter_operations_impl.cc offset, std_deviation, color)); color 33 webkit/renderer/compositor_bindings/web_filter_operations_impl.h blink::WebColor color); color 192 webkit/renderer/compositor_bindings/web_layer_impl.cc void WebLayerImpl::setBackgroundColor(WebColor color) { color 193 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->SetBackgroundColor(color); color 97 webkit/renderer/compositor_bindings/web_layer_impl.h virtual void setBackgroundColor(blink::WebColor color); color 23 webkit/renderer/compositor_bindings/web_solid_color_layer_impl.cc void WebSolidColorLayerImpl::setBackgroundColor(blink::WebColor color) { color 24 webkit/renderer/compositor_bindings/web_solid_color_layer_impl.cc layer_->setBackgroundColor(color);