Home
last modified time | relevance | path

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

/external/chromium_org/ui/gfx/
Dskbitmap_operations.cc183 namespace HSLShift { namespace
244 out[x] = SkPreMultiplyColor(color_utils::HSLShift( in LineProcDefault()
255 DCHECK(hsl_shift.s < 0 || fabs(hsl_shift.s - 0.5) < HSLShift::epsilon); in LineProcCopy()
256 DCHECK(hsl_shift.l < 0 || fabs(hsl_shift.l - 0.5) < HSLShift::epsilon); in LineProcCopy()
268 DCHECK(hsl_shift.s < 0 || fabs(hsl_shift.s - 0.5) < HSLShift::epsilon); in LineProcHnopSnopLdec()
269 DCHECK(hsl_shift.l <= 0.5 - HSLShift::epsilon && hsl_shift.l >= 0); in LineProcHnopSnopLdec()
292 DCHECK(hsl_shift.s < 0 || fabs(hsl_shift.s - 0.5) < HSLShift::epsilon); in LineProcHnopSnopLinc()
293 DCHECK(hsl_shift.l >= 0.5 + HSLShift::epsilon && hsl_shift.l <= 1); in LineProcHnopSnopLinc()
337 DCHECK(hsl_shift.s >= 0 && hsl_shift.s <= 0.5 - HSLShift::epsilon); in LineProcHnopSdecLnop()
338 DCHECK(hsl_shift.l < 0 || fabs(hsl_shift.l - 0.5) < HSLShift::epsilon); in LineProcHnopSdecLnop()
[all …]
Dcolor_utils.h60 GFX_EXPORT SkColor HSLShift(SkColor color, const HSL& shift);
Dcolor_utils_unittest.cc108 SkColor result = HSLShift(input, hsl); in TEST()
Dcolor_utils.cc184 SkColor HSLShift(SkColor color, const HSL& shift) { in HSLShift() function
Dskbitmap_operations_unittest.cc76 tinted_pixels[x] = SkPreMultiplyColor(color_utils::HSLShift( in ReferenceCreateHSLShiftedBitmap()
/external/chromium_org/chrome/browser/themes/
Dbrowser_theme_pack.cc1119 HSLShift(frame, GetTintInternal(ThemeProperties::TINT_FRAME)); in GenerateMissingColors()
1123 HSLShift(frame, GetTintInternal( in GenerateMissingColors()
1128 HSLShift(frame, GetTintInternal( in GenerateMissingColors()
1133 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.cc93 paint.setColor(color_utils::HSLShift(dominant_color, shift)); in CreateSiteSpecificLogo()
/external/chromium_org/chrome/browser/ui/libgtk2ui/
Dgtk2_ui.cc300 SkColor shifted = color_utils::HSLShift( in GdkColorHSLShift()
1149 color_utils::HSLShift(base, kGtkFrameShift); in GenerateFrameImage()