Home
last modified time | relevance | path

Searched refs:HSLShift (Results 1 – 15 of 15) sorted by relevance

/external/chromium_org/ui/gfx/
Dskbitmap_operations.cc224 namespace HSLShift { namespace
285 out[x] = SkPreMultiplyColor(color_utils::HSLShift( in LineProcDefault()
296 DCHECK(hsl_shift.s < 0 || fabs(hsl_shift.s - 0.5) < HSLShift::epsilon); in LineProcCopy()
297 DCHECK(hsl_shift.l < 0 || fabs(hsl_shift.l - 0.5) < HSLShift::epsilon); in LineProcCopy()
309 DCHECK(hsl_shift.s < 0 || fabs(hsl_shift.s - 0.5) < HSLShift::epsilon); in LineProcHnopSnopLdec()
310 DCHECK(hsl_shift.l <= 0.5 - HSLShift::epsilon && hsl_shift.l >= 0); in LineProcHnopSnopLdec()
333 DCHECK(hsl_shift.s < 0 || fabs(hsl_shift.s - 0.5) < HSLShift::epsilon); in LineProcHnopSnopLinc()
334 DCHECK(hsl_shift.l >= 0.5 + HSLShift::epsilon && hsl_shift.l <= 1); in LineProcHnopSnopLinc()
378 DCHECK(hsl_shift.s >= 0 && hsl_shift.s <= 0.5 - HSLShift::epsilon); in LineProcHnopSdecLnop()
379 DCHECK(hsl_shift.l < 0 || fabs(hsl_shift.l - 0.5) < HSLShift::epsilon); in LineProcHnopSdecLnop()
[all …]
Dcolor_utils.h46 GFX_EXPORT SkColor HSLShift(SkColor color, const HSL& shift);
Dcolor_utils_unittest.cc75 SkColor result = color_utils::HSLShift(input, hsl); in TEST()
Dcolor_utils.cc154 SkColor HSLShift(SkColor color, const HSL& shift) { in HSLShift() function
Dskbitmap_operations_unittest.cc79 tinted_pixels[x] = SkPreMultiplyColor(color_utils::HSLShift( in ReferenceCreateHSLShiftedBitmap()
/external/chromium/chrome/browser/themes/
Dbrowser_theme_pack.cc742 HSLShift(frame, GetTintInternal(ThemeService::TINT_FRAME)); in GenerateMissingColors()
746 HSLShift(frame, GetTintInternal( in GenerateMissingColors()
751 HSLShift(frame, GetTintInternal( in GenerateMissingColors()
756 HSLShift(frame, GetTintInternal( in GenerateMissingColors()
Dbrowser_theme_pack_unittest.cc37 (*colors)[color] = HSLShift( in GenerateDefaultFrameColor()
/external/chromium_org/chrome/browser/themes/
Dbrowser_theme_pack.cc1097 HSLShift(frame, GetTintInternal(ThemeProperties::TINT_FRAME)); in GenerateMissingColors()
1101 HSLShift(frame, GetTintInternal( in GenerateMissingColors()
1106 HSLShift(frame, GetTintInternal( in GenerateMissingColors()
1111 HSLShift(frame, GetTintInternal( in GenerateMissingColors()
Dbrowser_theme_pack_unittest.cc55 (*colors)[color] = HSLShift( in GenerateDefaultFrameColor()
/external/chromium_org/chrome/browser/ui/
Dmetro_pin_tab_helper_win.cc94 paint.setColor(color_utils::HSLShift(dominant_color, shift)); in CreateSiteSpecificLogo()
/external/chromium/chrome/browser/ui/gtk/
Dgtk_theme_service.cc236 SkColor shifted = color_utils::HSLShift(GdkToSkColor(frame_color), shift); in GdkColorHSLShift()
1007 : color_utils::HSLShift(base, kGtkFrameShift); in GenerateFrameImage()
Dbrowser_window_gtk.cc1760 SkColor frame_prelight_color = color_utils::HSLShift(frame_color, hsl); in SetBackgroundColor()
/external/chromium_org/chrome/browser/ui/libgtk2ui/
Dgtk2_ui.cc279 SkColor shifted = color_utils::HSLShift( in GdkColorHSLShift()
991 color_utils::HSLShift(base, kGtkFrameShift); in GenerateFrameImage()
/external/chromium_org/chrome/browser/ui/gtk/
Dgtk_theme_service.cc240 SkColor shifted = color_utils::HSLShift(gfx::GdkColorToSkColor(*frame_color), in GdkColorHSLShift()
1054 color_utils::HSLShift(base, kGtkFrameShift); in GenerateFrameImage()
Dbrowser_window_gtk.cc1782 SkColor frame_prelight_color = color_utils::HSLShift(frame_color, hsl); in SetBackgroundColor()