color_utils 80 ash/ime/candidate_view.cc SkColor blackish = color_utils::AlphaBlend( color_utils 84 ash/ime/candidate_view.cc SkColor transparent_blakish = color_utils::AlphaBlend( color_utils 105 ash/ime/candidate_window_view.cc color_utils::AlphaBlend(SK_ColorBLACK, color_utils 195 ash/ime/infolist_window.cc color_utils::AlphaBlend(SK_ColorBLACK, color_utils 153 chrome/browser/android/favicon_helper.cc return color_utils::CalculateKMeanColorOfBitmap(skbitmap); color_utils 152 chrome/browser/android/shortcut_helper.cc color = color_utils::CalculateKMeanColorOfBitmap(favicon_bitmap); color_utils 109 chrome/browser/extensions/app_icon_loader_impl.cc const color_utils::HSL shift = {-1, 0, 0.6}; color_utils 90 chrome/browser/extensions/bookmark_app_helper.cc color_utils::GridSampler sampler; color_utils 92 chrome/browser/extensions/bookmark_app_helper.cc color_strip_paint.setColor(color_utils::CalculateKMeanColorOfPNG( color_utils 43 chrome/browser/extensions/extension_action.cc color_utils::HSL shift = {-1, 0, 0.5}; color_utils 128 chrome/browser/extensions/extension_icon_manager.cc color_utils::HSL shift = {-1, 0, 0.6}; color_utils 185 chrome/browser/notifications/sync_notifier/synced_notification.cc color_utils::HSL shift = {-1, 0, 0.6}; color_utils 330 chrome/browser/search/instant_service.cc background_color = color_utils::InvertColor(background_color); color_utils 331 chrome/browser/search/instant_service.cc text_color = color_utils::InvertColor(text_color); color_utils 332 chrome/browser/search/instant_service.cc link_color = color_utils::InvertColor(link_color); color_utils 333 chrome/browser/search/instant_service.cc text_color_light = color_utils::InvertColor(text_color_light); color_utils 334 chrome/browser/search/instant_service.cc header_color = color_utils::InvertColor(header_color); color_utils 335 chrome/browser/search/instant_service.cc section_border_color = color_utils::InvertColor(section_border_color); color_utils 26 chrome/browser/speech/speech_recognition_bubble.cc const color_utils::HSL kGrayscaleShift = { -1, 0, 0.6 }; color_utils 440 chrome/browser/themes/browser_theme_pack.cc const color_utils::HSL& hsl_shift) { color_utils 585 chrome/browser/themes/browser_theme_pack.cc const color_utils::HSL& hsl_shift, color_utils 615 chrome/browser/themes/browser_theme_pack.cc const color_utils::HSL hsl_shift_; color_utils 814 chrome/browser/themes/browser_theme_pack.cc bool BrowserThemePack::GetTint(int id, color_utils::HSL* hsl) const { color_utils 965 chrome/browser/themes/browser_theme_pack.cc std::map<int, color_utils::HSL> temp_tints; color_utils 971 chrome/browser/themes/browser_theme_pack.cc color_utils::HSL hsl = { -1, -1, -1 }; color_utils 986 chrome/browser/themes/browser_theme_pack.cc for (std::map<int, color_utils::HSL>::const_iterator it = color_utils 1401 chrome/browser/themes/browser_theme_pack.cc const color_utils::HSL& button_tint, color_utils 1433 chrome/browser/themes/browser_theme_pack.cc color_utils::HSL hsl_shift = GetTintInternal( color_utils 1499 chrome/browser/themes/browser_theme_pack.cc color_utils::HSL BrowserThemePack::GetTintInternal(int id) const { color_utils 1503 chrome/browser/themes/browser_theme_pack.cc color_utils::HSL hsl; color_utils 82 chrome/browser/themes/browser_theme_pack.h virtual bool GetTint(int id, color_utils::HSL* hsl) const OVERRIDE; color_utils 168 chrome/browser/themes/browser_theme_pack.h void CreateTintedButtons(const color_utils::HSL& button_tint, color_utils 196 chrome/browser/themes/browser_theme_pack.h color_utils::HSL GetTintInternal(int id) const; color_utils 217 chrome/browser/themes/browser_theme_pack_unittest.cc color_utils::HSL expected = { 0.6, 0.553, 0.5 }; color_utils 218 chrome/browser/themes/browser_theme_pack_unittest.cc color_utils::HSL actual; color_utils 436 chrome/browser/themes/browser_theme_pack_unittest.cc color_utils::HSL expected = { 0.5, 0.5, 0.5 }; color_utils 437 chrome/browser/themes/browser_theme_pack_unittest.cc color_utils::HSL actual = { -1, -1, -1 }; color_utils 513 chrome/browser/themes/browser_theme_pack_unittest.cc color_utils::HSL actual = { -1, -1, -1 }; color_utils 20 chrome/browser/themes/custom_theme_supplier.cc bool CustomThemeSupplier::GetTint(int id, color_utils::HSL* hsl) const { color_utils 17 chrome/browser/themes/custom_theme_supplier.h namespace color_utils { color_utils 53 chrome/browser/themes/custom_theme_supplier.h virtual bool GetTint(int id, color_utils::HSL* hsl) const; color_utils 47 chrome/browser/themes/theme_properties.cc color_utils::GetSysSkColor(COLOR_WINDOW); color_utils 49 chrome/browser/themes/theme_properties.cc color_utils::GetSysSkColor(COLOR_WINDOWTEXT); color_utils 51 chrome/browser/themes/theme_properties.cc color_utils::GetSysSkColor(COLOR_HOTLIGHT); color_utils 65 chrome/browser/themes/theme_properties.cc const color_utils::HSL kDefaultTintButtons = { -1, -1, -1 }; color_utils 66 chrome/browser/themes/theme_properties.cc const color_utils::HSL kDefaultTintFrame = { -1, -1, -1 }; color_utils 67 chrome/browser/themes/theme_properties.cc const color_utils::HSL kDefaultTintFrameInactive = { -1, -1, 0.75f }; color_utils 68 chrome/browser/themes/theme_properties.cc const color_utils::HSL kDefaultTintFrameIncognito = { -1, 0.2f, 0.35f }; color_utils 69 chrome/browser/themes/theme_properties.cc const color_utils::HSL kDefaultTintFrameIncognitoInactive = { -1, 0.3f, 0.6f }; color_utils 70 chrome/browser/themes/theme_properties.cc const color_utils::HSL kDefaultTintBackgroundTab = { -1, 0.5, 0.75 }; color_utils 221 chrome/browser/themes/theme_properties.cc color_utils::HSL ThemeProperties::GetDefaultTint(int id) { color_utils 236 chrome/browser/themes/theme_properties.cc color_utils::HSL result = {-1, -1, -1}; color_utils 139 chrome/browser/themes/theme_properties.h static color_utils::HSL GetDefaultTint(int id); color_utils 68 chrome/browser/themes/theme_service.cc color_utils::HSL result; color_utils 69 chrome/browser/themes/theme_service.cc color_utils::SkColorToHSL(color, &result); color_utils 71 chrome/browser/themes/theme_service.cc return color_utils::HSLToSkColor(result, SkColorGetA(color)); color_utils 155 chrome/browser/themes/theme_service.cc return color_utils::GetReadableColor( color_utils 159 chrome/browser/themes/theme_service.cc return color_utils::BlendTowardOppositeLuminance( color_utils 162 chrome/browser/themes/theme_service.cc return color_utils::AlphaBlend( color_utils 399 chrome/browser/themes/theme_service.cc color_utils::HSL ThemeService::GetTint(int id) const { color_utils 402 chrome/browser/themes/theme_service.cc color_utils::HSL hsl; color_utils 32 chrome/browser/themes/theme_service.h namespace color_utils { color_utils 156 chrome/browser/themes/theme_service.h color_utils::HSL GetTint(int id) const; color_utils 733 chrome/browser/thumbnails/content_analysis.cc if (!color_utils::ComputePrincipalComponentImage(source_bitmap, color_utils 737 chrome/browser/thumbnails/content_analysis.cc if (!color_utils::ApplyColorReduction( color_utils 96 chrome/browser/thumbnails/content_analysis_unittest.cc EXPECT_TRUE(color_utils::ApplyColorReduction( color_utils 141 chrome/browser/thumbnails/content_analysis_unittest.cc EXPECT_TRUE(color_utils::ApplyColorReduction( color_utils 180 chrome/browser/thumbnails/content_analysis_unittest.cc EXPECT_TRUE(color_utils::ApplyColorReduction( color_utils 245 chrome/browser/thumbnails/content_analysis_unittest.cc EXPECT_TRUE(color_utils::ApplyColorReduction( color_utils 707 chrome/browser/thumbnails/content_analysis_unittest.cc color_utils::BuildLumaHistogram(result, histogram); color_utils 66 chrome/browser/thumbnails/simple_thumbnail_crop.cc color_utils::BuildLumaHistogram(bitmap, histogram); color_utils 110 chrome/browser/ui/app_list/extension_app_item.cc const color_utils::HSL shift = {-1, 0, 0.6}; color_utils 191 chrome/browser/ui/app_list/extension_app_item.cc const color_utils::HSL shift = {-1, 0, 0.6}; color_utils 156 chrome/browser/ui/app_list/search/app_result.cc const color_utils::HSL shift = {-1, 0, 0.6}; color_utils 129 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc const color_utils::HSL kGrayImageShift = {-1, 0, 0.8}; color_utils 905 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc color_utils::AlphaBlend( color_utils 909 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc color_utils::AlphaBlend( color_utils 112 chrome/browser/ui/gtk/browser_titlebar.cc color_utils::HSL GdkColorToHSL(const GdkColor* color) { color_utils 113 chrome/browser/ui/gtk/browser_titlebar.cc color_utils::HSL hsl; color_utils 114 chrome/browser/ui/gtk/browser_titlebar.cc color_utils::SkColorToHSL(SkColorSetRGB(color->red >> 8, color_utils 126 chrome/browser/ui/gtk/browser_titlebar.cc color_utils::HSL baseHSL = GdkColorToHSL(base); color_utils 127 chrome/browser/ui/gtk/browser_titlebar.cc color_utils::HSL oneHSL = GdkColorToHSL(one); color_utils 128 chrome/browser/ui/gtk/browser_titlebar.cc color_utils::HSL twoHSL = GdkColorToHSL(two); color_utils 561 chrome/browser/ui/gtk/download/download_item_gtk.cc if (color_utils::RelativeLuminance(color) > 0.5) { color_utils 575 chrome/browser/ui/gtk/download/download_item_gtk.cc color_utils::AlphaBlend(blend_color, color, 77)); color_utils 62 chrome/browser/ui/gtk/gtk_theme_service.cc const color_utils::HSL kGtkFrameShift = { -1, -1, 0.58 }; color_utils 66 chrome/browser/ui/gtk/gtk_theme_service.cc const color_utils::HSL kDefaultFrameShift = { -1, -1, 0.4 }; color_utils 146 chrome/browser/ui/gtk/gtk_theme_service.cc color_utils::HSL* tint) { color_utils 148 chrome/browser/ui/gtk/gtk_theme_service.cc color_utils::HSL accent_tint; color_utils 149 chrome/browser/ui/gtk/gtk_theme_service.cc color_utils::SkColorToHSL(accent_color, &accent_tint); color_utils 151 chrome/browser/ui/gtk/gtk_theme_service.cc color_utils::HSL text_tint; color_utils 152 chrome/browser/ui/gtk/gtk_theme_service.cc color_utils::SkColorToHSL(gfx::GdkColorToSkColor(text_color), &text_tint); color_utils 154 chrome/browser/ui/gtk/gtk_theme_service.cc color_utils::HSL background_tint; color_utils 155 chrome/browser/ui/gtk/gtk_theme_service.cc color_utils::SkColorToHSL(gfx::GdkColorToSkColor(background_color), color_utils 239 chrome/browser/ui/gtk/gtk_theme_service.cc void GdkColorHSLShift(const color_utils::HSL& shift, GdkColor* frame_color) { color_utils 240 chrome/browser/ui/gtk/gtk_theme_service.cc SkColor shifted = color_utils::HSLShift(gfx::GdkColorToSkColor(*frame_color), color_utils 755 chrome/browser/ui/gtk/gtk_theme_service.cc color_utils::HSL inactive_tab_text_hsl = color_utils 768 chrome/browser/ui/gtk/gtk_theme_service.cc color_utils::HSLToSkColor(inactive_tab_text_hsl, 255); color_utils 932 chrome/browser/ui/gtk/gtk_theme_service.cc color_utils::HSL default_tint = ThemeProperties::GetDefaultTint(id); color_utils 933 chrome/browser/ui/gtk/gtk_theme_service.cc color_utils::HSL hsl; color_utils 934 chrome/browser/ui/gtk/gtk_theme_service.cc color_utils::SkColorToHSL(gfx::GdkColorToSkColor(*color), &hsl); color_utils 947 chrome/browser/ui/gtk/gtk_theme_service.cc const color_utils::HSL& tint, color_utils 1054 chrome/browser/ui/gtk/gtk_theme_service.cc color_utils::HSLShift(base, kGtkFrameShift); color_utils 1082 chrome/browser/ui/gtk/gtk_theme_service.cc const color_utils::HSL& tint) const { color_utils 1089 chrome/browser/ui/gtk/gtk_theme_service.cc color_utils::HSL* tint) const { color_utils 1101 chrome/browser/ui/gtk/gtk_theme_service.cc color_utils::HSL* tint) const { color_utils 1113 chrome/browser/ui/gtk/gtk_theme_service.cc color_utils::HSL* tint) const { color_utils 1119 chrome/browser/ui/gtk/gtk_theme_service.cc color_utils::SkColorToHSL(gfx::GdkColorToSkColor(color), tint); color_utils 162 chrome/browser/ui/gtk/gtk_theme_service.h typedef std::map<int, color_utils::HSL> TintMap; color_utils 203 chrome/browser/ui/gtk/gtk_theme_service.h const color_utils::HSL& tint, color_utils 225 chrome/browser/ui/gtk/gtk_theme_service.h const color_utils::HSL& tint) const; color_utils 229 chrome/browser/ui/gtk/gtk_theme_service.h void GetNormalButtonTintHSL(color_utils::HSL* tint) const; color_utils 232 chrome/browser/ui/gtk/gtk_theme_service.h void GetNormalEntryForegroundHSL(color_utils::HSL* tint) const; color_utils 236 chrome/browser/ui/gtk/gtk_theme_service.h void GetSelectedEntryForegroundHSL(color_utils::HSL* tint) const; color_utils 279 chrome/browser/ui/gtk/gtk_theme_service.h color_utils::HSL button_tint_; color_utils 280 chrome/browser/ui/gtk/gtk_theme_service.h color_utils::HSL entry_tint_; color_utils 281 chrome/browser/ui/gtk/gtk_theme_service.h color_utils::HSL selected_entry_tint_; color_utils 109 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc color_utils::HSL fg_hsl; color_utils 110 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc color_utils::SkColorToHSL(gfx::GdkColorToSkColor(foreground), &fg_hsl); color_utils 112 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc color_utils::HSL hue_hsl; color_utils 113 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc color_utils::SkColorToHSL(gfx::GdkColorToSkColor(kURLTextColor), &hue_hsl); color_utils 127 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc color_utils::HSL output = { hue_hsl.h, s, l }; color_utils 128 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc return gfx::SkColorToGdkColor(color_utils::HSLToSkColor(output, 255)); color_utils 137 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc color_utils::HSL fg_hsl; color_utils 138 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc color_utils::SkColorToHSL(gfx::GdkColorToSkColor(foreground), &fg_hsl); color_utils 140 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc color_utils::HSL bg_hsl; color_utils 141 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc color_utils::SkColorToHSL(gfx::GdkColorToSkColor(background), &bg_hsl); color_utils 143 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc color_utils::HSL hue_hsl; color_utils 144 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc color_utils::SkColorToHSL(gfx::GdkColorToSkColor(kURLTextColor), &hue_hsl); color_utils 157 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc color_utils::HSL output = { hue_hsl.h, s, l }; color_utils 158 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc return gfx::SkColorToGdkColor(color_utils::HSLToSkColor(output, 255)); color_utils 89 chrome/browser/ui/libgtk2ui/gtk2_ui.cc const color_utils::HSL kGtkFrameShift = { -1, -1, 0.58 }; color_utils 93 chrome/browser/ui/libgtk2ui/gtk2_ui.cc const color_utils::HSL kDefaultFrameShift = { -1, -1, 0.4 }; color_utils 113 chrome/browser/ui/libgtk2ui/gtk2_ui.cc const color_utils::HSL kDefaultTintButtons = { -1, -1, -1 }; color_utils 114 chrome/browser/ui/libgtk2ui/gtk2_ui.cc const color_utils::HSL kDefaultTintFrame = { -1, -1, -1 }; color_utils 115 chrome/browser/ui/libgtk2ui/gtk2_ui.cc const color_utils::HSL kDefaultTintFrameInactive = { -1, -1, 0.75f }; color_utils 116 chrome/browser/ui/libgtk2ui/gtk2_ui.cc const color_utils::HSL kDefaultTintFrameIncognito = { -1, 0.2f, 0.35f }; color_utils 117 chrome/browser/ui/libgtk2ui/gtk2_ui.cc const color_utils::HSL kDefaultTintFrameIncognitoInactive = { -1, 0.3f, 0.6f }; color_utils 118 chrome/browser/ui/libgtk2ui/gtk2_ui.cc const color_utils::HSL kDefaultTintBackgroundTab = { -1, 0.5, 0.75 }; color_utils 229 chrome/browser/ui/libgtk2ui/gtk2_ui.cc color_utils::HSL* tint) { color_utils 231 chrome/browser/ui/libgtk2ui/gtk2_ui.cc color_utils::HSL accent_tint; color_utils 232 chrome/browser/ui/libgtk2ui/gtk2_ui.cc color_utils::SkColorToHSL(accent_color, &accent_tint); color_utils 234 chrome/browser/ui/libgtk2ui/gtk2_ui.cc color_utils::HSL text_tint; color_utils 235 chrome/browser/ui/libgtk2ui/gtk2_ui.cc color_utils::SkColorToHSL(libgtk2ui::GdkColorToSkColor(text_color), color_utils 238 chrome/browser/ui/libgtk2ui/gtk2_ui.cc color_utils::HSL background_tint; color_utils 239 chrome/browser/ui/libgtk2ui/gtk2_ui.cc color_utils::SkColorToHSL(libgtk2ui::GdkColorToSkColor(background_color), color_utils 285 chrome/browser/ui/libgtk2ui/gtk2_ui.cc void GdkColorHSLShift(const color_utils::HSL& shift, GdkColor* frame_color) { color_utils 286 chrome/browser/ui/libgtk2ui/gtk2_ui.cc SkColor shifted = color_utils::HSLShift( color_utils 296 chrome/browser/ui/libgtk2ui/gtk2_ui.cc color_utils::HSL GetDefaultTint(int id) { color_utils 311 chrome/browser/ui/libgtk2ui/gtk2_ui.cc color_utils::HSL result = {-1, -1, -1}; color_utils 842 chrome/browser/ui/libgtk2ui/gtk2_ui.cc color_utils::HSL inactive_tab_text_hsl = color_utils 855 chrome/browser/ui/libgtk2ui/gtk2_ui.cc color_utils::HSLToSkColor(inactive_tab_text_hsl, 255); color_utils 989 chrome/browser/ui/libgtk2ui/gtk2_ui.cc color_utils::HSL default_tint = GetDefaultTint(id); color_utils 990 chrome/browser/ui/libgtk2ui/gtk2_ui.cc color_utils::HSL hsl; color_utils 991 chrome/browser/ui/libgtk2ui/gtk2_ui.cc color_utils::SkColorToHSL(GdkColorToSkColor(*color), &hsl); color_utils 1004 chrome/browser/ui/libgtk2ui/gtk2_ui.cc const color_utils::HSL& tint, color_utils 1138 chrome/browser/ui/libgtk2ui/gtk2_ui.cc color_utils::HSLShift(base, kGtkFrameShift); color_utils 1166 chrome/browser/ui/libgtk2ui/gtk2_ui.cc const color_utils::HSL& tint) const { color_utils 1260 chrome/browser/ui/libgtk2ui/gtk2_ui.cc void Gtk2UI::GetNormalButtonTintHSL(color_utils::HSL* tint) const { color_utils 1271 chrome/browser/ui/libgtk2ui/gtk2_ui.cc void Gtk2UI::GetNormalEntryForegroundHSL(color_utils::HSL* tint) const { color_utils 1282 chrome/browser/ui/libgtk2ui/gtk2_ui.cc void Gtk2UI::GetSelectedEntryForegroundHSL(color_utils::HSL* tint) const { color_utils 1288 chrome/browser/ui/libgtk2ui/gtk2_ui.cc color_utils::SkColorToHSL(GdkColorToSkColor(color), tint); color_utils 122 chrome/browser/ui/libgtk2ui/gtk2_ui.h typedef std::map<int, color_utils::HSL> TintMap; color_utils 153 chrome/browser/ui/libgtk2ui/gtk2_ui.h const color_utils::HSL& tint, color_utils 172 chrome/browser/ui/libgtk2ui/gtk2_ui.h const color_utils::HSL& tint) const; color_utils 184 chrome/browser/ui/libgtk2ui/gtk2_ui.h void GetNormalButtonTintHSL(color_utils::HSL* tint) const; color_utils 187 chrome/browser/ui/libgtk2ui/gtk2_ui.h void GetNormalEntryForegroundHSL(color_utils::HSL* tint) const; color_utils 191 chrome/browser/ui/libgtk2ui/gtk2_ui.h void GetSelectedEntryForegroundHSL(color_utils::HSL* tint) const; color_utils 217 chrome/browser/ui/libgtk2ui/gtk2_ui.h color_utils::HSL button_tint_; color_utils 218 chrome/browser/ui/libgtk2ui/gtk2_ui.h color_utils::HSL entry_tint_; color_utils 219 chrome/browser/ui/libgtk2ui/gtk2_ui.h color_utils::HSL selected_entry_tint_; color_utils 29 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc color_utils::AlphaBlend(libgtk2ui::GdkColorToSkColor(foreground), color_utils 38 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc color_utils::HSL fg_hsl; color_utils 39 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc color_utils::SkColorToHSL(libgtk2ui::GdkColorToSkColor(foreground), &fg_hsl); color_utils 41 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc color_utils::HSL hue_hsl; color_utils 42 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc color_utils::SkColorToHSL(libgtk2ui::GdkColorToSkColor(kURLTextColor), color_utils 57 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc color_utils::HSL output = { hue_hsl.h, s, l }; color_utils 58 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc return libgtk2ui::SkColorToGdkColor(color_utils::HSLToSkColor(output, 255)); color_utils 67 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc color_utils::HSL fg_hsl; color_utils 68 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc color_utils::SkColorToHSL(libgtk2ui::GdkColorToSkColor(foreground), color_utils 71 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc color_utils::HSL bg_hsl; color_utils 72 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc color_utils::SkColorToHSL(libgtk2ui::GdkColorToSkColor(background), color_utils 75 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc color_utils::HSL hue_hsl; color_utils 76 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc color_utils::SkColorToHSL(libgtk2ui::GdkColorToSkColor(kURLTextColor), color_utils 90 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc color_utils::HSL output = { hue_hsl.h, s, l }; color_utils 91 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc return libgtk2ui::SkColorToGdkColor(color_utils::HSLToSkColor(output, 255)); color_utils 85 chrome/browser/ui/metro_pin_tab_helper_win.cc SkColor dominant_color = color_utils::CalculateKMeanColorOfBitmap(bitmap); color_utils 93 chrome/browser/ui/metro_pin_tab_helper_win.cc color_utils::HSL shift = {-1, -1, kBoxFade}; color_utils 94 chrome/browser/ui/metro_pin_tab_helper_win.cc paint.setColor(color_utils::HSLShift(dominant_color, shift)); color_utils 187 chrome/browser/ui/sync/profile_signin_confirmation_helper.cc return color_utils::BlendTowardOppositeLuminance(kBackgroundColor, alpha); color_utils 664 chrome/browser/ui/views/autofill/autofill_dialog_views.cc color_utils::GetLuminanceForColor(background_color); color_utils 670 chrome/browser/ui/views/autofill/autofill_dialog_views.cc paint.setColor(color_utils::BlendTowardOppositeLuminance( color_utils 674 chrome/browser/ui/views/autofill/autofill_dialog_views.cc paint.setColor(color_utils::BlendTowardOppositeLuminance( color_utils 71 chrome/browser/ui/views/avatar_label.cc paint.setColor(color_utils::AlphaBlend( color_utils 96 chrome/browser/ui/views/collected_cookies_views.cc SkColor border_color = color_utils::GetSysSkColor(COLOR_3DSHADOW); color_utils 686 chrome/browser/ui/views/download/download_item_view.cc if (color_utils::RelativeLuminance(file_name_color) > 0.5) color_utils 19 chrome/browser/ui/views/infobars/infobar_background.cc color_utils::AlphaBlend(top_color_, bottom_color_, 128)); color_utils 74 chrome/browser/ui/views/location_bar/content_setting_image_view.cc color_utils::AlphaBlend(SkColorSetA(background_image_color, 255), color_utils 64 chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc color_utils::AlphaBlend(SkColorSetA(background_image_color, 255), color_utils 476 chrome/browser/ui/views/location_bar/location_bar_view.cc return color_utils::AlphaBlend( color_utils 502 chrome/browser/ui/views/location_bar/location_bar_view.cc return color_utils::GetReadableColor( color_utils 275 chrome/browser/ui/views/profile_reset_bubble_view.cc color_utils::HSL hsl_shift = { -1, 0, 0.8 }; color_utils 51 chrome/browser/ui/webui/extensions/extension_icon_source.cc color_utils::HSL shift = {-1, 0, 0.6}; color_utils 73 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc color_utils::GridSampler sampler; color_utils 78 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc return color_utils::CalculateKMeanColorOfPNG(png, 100, 665, &sampler); color_utils 38 chrome/browser/ui/webui/ntp/favicon_webui_handler.cc color_utils::GridSampler sampler; color_utils 40 chrome/browser/ui/webui/ntp/favicon_webui_handler.cc color_utils::CalculateKMeanColorOfPNG(png, 100, 665, &sampler); color_utils 114 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc color_utils::InvertColor(color) : color; color_utils 656 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc color_utils::HSL header_lighter; color_utils 657 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc color_utils::SkColorToHSL(color_header, &header_lighter); color_utils 660 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc color_utils::HSLToSkColor(header_lighter, SkColorGetA(color_header)); color_utils 18 ui/gfx/color_analysis.h namespace color_utils { color_utils 15 ui/gfx/color_analysis_unittest.cc using color_utils::FindClosestColor; color_utils 90 ui/gfx/color_analysis_unittest.cc class MockKMeanImageSampler : public color_utils::KMeanImageSampler { color_utils 166 ui/gfx/color_analysis_unittest.cc color_utils::CalculateKMeanColorOfPNG(png, 100, 600, &test_sampler); color_utils 184 ui/gfx/color_analysis_unittest.cc color_utils::CalculateKMeanColorOfPNG(png, 100, 600, &test_sampler); color_utils 202 ui/gfx/color_analysis_unittest.cc color_utils::CalculateKMeanColorOfPNG(png, 100, 600, &test_sampler); color_utils 208 ui/gfx/color_analysis_unittest.cc color_utils::GridSampler sampler; color_utils 257 ui/gfx/color_analysis_unittest.cc SkColor color = color_utils::CalculateKMeanColorOfBitmap(bitmap); color_utils 266 ui/gfx/color_analysis_unittest.cc color = color_utils::CalculateKMeanColorOfBitmap(bitmap); color_utils 280 ui/gfx/color_analysis_unittest.cc color_utils::ComputeColorCovariance(bitmap)); color_utils 283 ui/gfx/color_analysis_unittest.cc gfx::Matrix3F covariance = color_utils::ComputeColorCovariance(bitmap); color_utils 300 ui/gfx/color_analysis_unittest.cc gfx::Matrix3F covariance = color_utils::ComputeColorCovariance(bitmap); color_utils 322 ui/gfx/color_analysis_unittest.cc EXPECT_TRUE(color_utils::ApplyColorReduction( color_utils 332 ui/gfx/color_analysis_unittest.cc EXPECT_TRUE(color_utils::ApplyColorReduction( color_utils 340 ui/gfx/color_analysis_unittest.cc EXPECT_TRUE(color_utils::ApplyColorReduction( color_utils 348 ui/gfx/color_analysis_unittest.cc EXPECT_TRUE(color_utils::ApplyColorReduction( color_utils 370 ui/gfx/color_analysis_unittest.cc EXPECT_TRUE(color_utils::ApplyColorReduction( color_utils 383 ui/gfx/color_analysis_unittest.cc EXPECT_TRUE(color_utils::ApplyColorReduction( color_utils 411 ui/gfx/color_analysis_unittest.cc EXPECT_TRUE(color_utils::ApplyColorReduction( color_utils 422 ui/gfx/color_analysis_unittest.cc EXPECT_TRUE(color_utils::ApplyColorReduction( color_utils 442 ui/gfx/color_analysis_unittest.cc EXPECT_FALSE(color_utils::ComputePrincipalComponentImage(source, &result)); color_utils 459 ui/gfx/color_analysis_unittest.cc EXPECT_TRUE(color_utils::ComputePrincipalComponentImage(source, &result)); color_utils 240 ui/gfx/color_utils.cc color_utils::GetLuminanceForColor(color); color_utils 243 ui/gfx/color_utils.cc return color_utils::AlphaBlend(blend_color, color, alpha); color_utils 14 ui/gfx/color_utils.h namespace color_utils { color_utils 13 ui/gfx/color_utils_unittest.cc color_utils::HSL hsl = { 0, 0, 0 }; color_utils 14 ui/gfx/color_utils_unittest.cc color_utils::SkColorToHSL(SK_ColorRED, &hsl); color_utils 21 ui/gfx/color_utils_unittest.cc color_utils::HSL hsl = { 0, 0, 0 }; color_utils 22 ui/gfx/color_utils_unittest.cc color_utils::SkColorToHSL(SkColorSetARGB(255, 128, 128, 128), &hsl); color_utils 31 ui/gfx/color_utils_unittest.cc color_utils::HSL hsl = { 0, 1, 0.5 }; color_utils 32 ui/gfx/color_utils_unittest.cc SkColor result = color_utils::HSLToSkColor(hsl, 128); color_utils 46 ui/gfx/color_utils_unittest.cc color_utils::HSL hsl = { 0, 0, 0 }; color_utils 47 ui/gfx/color_utils_unittest.cc color_utils::SkColorToHSL(rgb, &hsl); color_utils 48 ui/gfx/color_utils_unittest.cc SkColor out = color_utils::HSLToSkColor(hsl, 255); color_utils 59 ui/gfx/color_utils_unittest.cc color_utils::HSL hsl = { 0, 0, 0 }; color_utils 60 ui/gfx/color_utils_unittest.cc color_utils::SkColorToHSL(rgb, &hsl); color_utils 61 ui/gfx/color_utils_unittest.cc SkColor out = color_utils::HSLToSkColor(hsl, 255); color_utils 74 ui/gfx/color_utils_unittest.cc color_utils::HSL hsl = { -1, -1, -1 }; color_utils 75 ui/gfx/color_utils_unittest.cc SkColor result = color_utils::HSLShift(input, hsl); color_utils 88 ui/gfx/color_utils_unittest.cc EXPECT_TRUE(color_utils::AlphaBlend(fore, back, 255) == color_utils 90 ui/gfx/color_utils_unittest.cc EXPECT_TRUE(color_utils::AlphaBlend(fore, back, 0) == color_utils 95 ui/gfx/color_utils_unittest.cc EXPECT_EQ(136U, SkColorGetA(color_utils::AlphaBlend(fore, back, 136))); color_utils 99 ui/gfx/color_utils_unittest.cc EXPECT_EQ(0U, SkColorGetA(color_utils::AlphaBlend(fore, back, 255))); color_utils 247 ui/gfx/image/image_skia_operations.cc const color_utils::HSL& hsl_shift) color_utils 265 ui/gfx/image/image_skia_operations.cc const color_utils::HSL hsl_shift_; color_utils 489 ui/gfx/image/image_skia_operations.cc const color_utils::HSL& hsl_shift) { color_utils 66 ui/gfx/image/image_skia_operations.h const color_utils::HSL& hsl_shift); color_utils 256 ui/gfx/skbitmap_operations.cc typedef void (*LineProcessor)(const color_utils::HSL&, color_utils 271 ui/gfx/skbitmap_operations.cc void LineProcDefault(const color_utils::HSL& hsl_shift, color_utils 276 ui/gfx/skbitmap_operations.cc out[x] = SkPreMultiplyColor(color_utils::HSLShift( color_utils 282 ui/gfx/skbitmap_operations.cc void LineProcCopy(const color_utils::HSL& hsl_shift, color_utils 293 ui/gfx/skbitmap_operations.cc void LineProcHnopSnopLdec(const color_utils::HSL& hsl_shift, color_utils 317 ui/gfx/skbitmap_operations.cc void LineProcHnopSnopLinc(const color_utils::HSL& hsl_shift, color_utils 364 ui/gfx/skbitmap_operations.cc void LineProcHnopSdecLnop(const color_utils::HSL& hsl_shift, color_utils 401 ui/gfx/skbitmap_operations.cc void LineProcHnopSdecLdec(const color_utils::HSL& hsl_shift, color_utils 440 ui/gfx/skbitmap_operations.cc void LineProcHnopSdecLinc(const color_utils::HSL& hsl_shift, color_utils 525 ui/gfx/skbitmap_operations.cc const color_utils::HSL& hsl_shift) { color_utils 79 ui/gfx/skbitmap_operations.h const color_utils::HSL& hsl_shift); color_utils 63 ui/gfx/skbitmap_operations_unittest.cc color_utils::HSL hsl_shift) { color_utils 79 ui/gfx/skbitmap_operations_unittest.cc tinted_pixels[x] = SkPreMultiplyColor(color_utils::HSLShift( color_utils 232 ui/gfx/skbitmap_operations_unittest.cc color_utils::HSL hsl = { -1, -1, -1 }; color_utils 270 ui/gfx/skbitmap_operations_unittest.cc color_utils::HSL hsl = { 0, -1, -1 }; color_utils 311 ui/gfx/skbitmap_operations_unittest.cc color_utils::HSL hsl = { h, s, l }; color_utils 28 ui/gfx/sys_color_change_listener.cc int foreground_luminance = color_utils::GetLuminanceForColor( color_utils 29 ui/gfx/sys_color_change_listener.cc color_utils::GetSysSkColor(COLOR_WINDOWTEXT)); color_utils 30 ui/gfx/sys_color_change_listener.cc int background_luminance = color_utils::GetLuminanceForColor( color_utils 31 ui/gfx/sys_color_change_listener.cc color_utils::GetSysSkColor(COLOR_WINDOW)); color_utils 92 ui/native_theme/common_theme.cc *color = color_utils::InvertColor(*color); color_utils 66 ui/native_theme/fallback_theme.cc color_utils::AlphaBlend(SK_ColorBLACK, color_utils 85 ui/native_theme/fallback_theme.cc color_utils::AlphaBlend(kTextfieldSelectionBackgroundFocused, color_utils 87 ui/native_theme/fallback_theme.cc static const SkColor kResultsTableNormalText = color_utils::AlphaBlend( color_utils 89 ui/native_theme/fallback_theme.cc static const SkColor kResultsTableHoveredText = color_utils::AlphaBlend( color_utils 91 ui/native_theme/fallback_theme.cc static const SkColor kResultsTableSelectedText = color_utils::AlphaBlend( color_utils 93 ui/native_theme/fallback_theme.cc static const SkColor kResultsTableNormalDimmedText = color_utils::AlphaBlend( color_utils 95 ui/native_theme/fallback_theme.cc static const SkColor kResultsTableHoveredDimmedText = color_utils::AlphaBlend( color_utils 98 ui/native_theme/fallback_theme.cc color_utils::AlphaBlend( color_utils 102 ui/native_theme/fallback_theme.cc static const SkColor kResultsTableNormalDivider = color_utils::AlphaBlend( color_utils 104 ui/native_theme/fallback_theme.cc static const SkColor kResultsTableHoveredDivider = color_utils::AlphaBlend( color_utils 106 ui/native_theme/fallback_theme.cc static const SkColor kResultsTabSelectedDivider = color_utils::AlphaBlend( color_utils 73 ui/native_theme/native_theme_base.cc SkColor BrightenColor(const color_utils::HSL& hsl, SkAlpha alpha, color_utils 75 ui/native_theme/native_theme_base.cc color_utils::HSL adjusted = hsl; color_utils 82 ui/native_theme/native_theme_base.cc return color_utils::HSLToSkColor(adjusted, alpha); color_utils 669 ui/native_theme/native_theme_base.cc color_utils::HSL base_hsl; color_utils 670 ui/native_theme/native_theme_base.cc color_utils::SkColorToHSL(base_color, &base_hsl); color_utils 77 ui/native_theme/native_theme_win.cc const SkColor face = color_utils::GetSysSkColor(COLOR_3DFACE); color_utils 78 ui/native_theme/native_theme_win.cc const SkColor highlight = color_utils::GetSysSkColor(COLOR_3DHILIGHT); color_utils 176 ui/native_theme/native_theme_win.cc color = color_utils::GetSysSkColor(default_sys_color); color_utils 407 ui/native_theme/native_theme_win.cc color_utils::GetSysSkColor(kSystemColors[i]); color_utils 515 ui/native_theme/native_theme_win.cc return color_utils::InvertColor(kDialogBackgroundColor); color_utils 609 ui/native_theme/native_theme_win.cc return color_utils::AlphaBlend(system_colors_[COLOR_HIGHLIGHT], color_utils 619 ui/native_theme/native_theme_win.cc return color_utils::AlphaBlend(system_colors_[COLOR_WINDOWTEXT], color_utils 622 ui/native_theme/native_theme_win.cc return color_utils::AlphaBlend( color_utils 626 ui/native_theme/native_theme_win.cc return color_utils::AlphaBlend(system_colors_[COLOR_HIGHLIGHTTEXT], color_utils 629 ui/native_theme/native_theme_win.cc return color_utils::GetReadableColor(SkColorSetRGB(0, 128, 0), color_utils 632 ui/native_theme/native_theme_win.cc return color_utils::GetReadableColor( color_utils 636 ui/native_theme/native_theme_win.cc return color_utils::GetReadableColor(SkColorSetRGB(0, 128, 0), color_utils 639 ui/native_theme/native_theme_win.cc return color_utils::AlphaBlend(system_colors_[COLOR_WINDOWTEXT], color_utils 642 ui/native_theme/native_theme_win.cc return color_utils::AlphaBlend( color_utils 646 ui/native_theme/native_theme_win.cc return color_utils::AlphaBlend(system_colors_[COLOR_HIGHLIGHTTEXT], color_utils 106 ui/views/background.cc color_utils::AlphaBlend(color1, color2, 128)); color_utils 119 ui/views/background.cc color_utils::AlphaBlend(colors[0], colors[count-1], 128)); color_utils 409 ui/views/controls/label.cc color_utils::GetReadableColor(requested_enabled_color_, color_utils 413 ui/views/controls/label.cc color_utils::GetReadableColor(requested_disabled_color_, color_utils 37 ui/views/controls/link.cc return color_utils::GetSysSkColor(COLOR_HOTLIGHT); color_utils 193 ui/views/controls/link.cc SetDisabledColor(color_utils::GetSysSkColor(COLOR_WINDOWTEXT)); color_utils 30 ui/views/controls/menu/menu_config_win.cc arrow_color = color_utils::GetSysSkColor(COLOR_MENUTEXT);