/external/chromium_org/ui/gfx/ |
D | color_utils_unittest.cc | 15 HSL hsl = {0, 0, 0}; in TEST() local 16 SkColorToHSL(SK_ColorRED, &hsl); in TEST() 17 EXPECT_DOUBLE_EQ(hsl.h, 0); in TEST() 18 EXPECT_DOUBLE_EQ(hsl.s, 1); in TEST() 19 EXPECT_DOUBLE_EQ(hsl.l, 0.5); in TEST() 23 HSL hsl = {0, 0, 0}; in TEST() local 24 SkColorToHSL(SkColorSetARGB(255, 128, 128, 128), &hsl); in TEST() 25 EXPECT_DOUBLE_EQ(hsl.h, 0); in TEST() 26 EXPECT_DOUBLE_EQ(hsl.s, 0); in TEST() 27 EXPECT_EQ(static_cast<int>(hsl.l * 100), in TEST() [all …]
|
D | color_utils.cc | 58 HSL hsl; in LumaInvertColor() local 59 SkColorToHSL(color, &hsl); in LumaInvertColor() 60 hsl.l = 1.0 - hsl.l; in LumaInvertColor() 61 return HSLToSkColor(hsl, 255); in LumaInvertColor() 92 void SkColorToHSL(SkColor c, HSL* hsl) { in SkColorToHSL() argument 99 hsl->l = (vmax + vmin) / 2; in SkColorToHSL() 101 hsl->h = hsl->s = 0; in SkColorToHSL() 109 hsl->h = db - dg; in SkColorToHSL() 111 hsl->h = (1.0 / 3.0) + dr - db; in SkColorToHSL() 113 hsl->h = (2.0 / 3.0) + dg - dr; in SkColorToHSL() [all …]
|
D | color_utils.h | 29 GFX_EXPORT void SkColorToHSL(SkColor c, HSL* hsl); 30 GFX_EXPORT SkColor HSLToSkColor(const HSL& hsl, SkAlpha alpha); 42 GFX_EXPORT bool IsWithinHSLRange(const HSL& hsl,
|
D | skbitmap_operations_unittest.cc | 224 color_utils::HSL hsl = { -1, -1, -1 }; in TEST() local 225 SkBitmap shifted = ReferenceCreateHSLShiftedBitmap(src, hsl); in TEST() 261 color_utils::HSL hsl = { 0, -1, -1 }; in TEST() local 263 SkBitmap shifted = SkBitmapOperations::CreateHSLShiftedBitmap(src, hsl); in TEST() 301 color_utils::HSL hsl = { h, s, l }; in TEST() local 302 SkBitmap ref_shifted = ReferenceCreateHSLShiftedBitmap(src, hsl); in TEST() 303 SkBitmap shifted = SkBitmapOperations::CreateHSLShiftedBitmap(src, hsl); in TEST()
|
D | color_analysis.cc | 342 HSL hsl; in CalculateKMeanColorOfBuffer() local 343 SkColorToHSL(current_color, &hsl); in CalculateKMeanColorOfBuffer() 344 if (IsWithinHSLRange(hsl, lower_bound, upper_bound)) { in CalculateKMeanColorOfBuffer()
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
D | networkLogView.css | 346 border-color: hsl(0, 0%, 60%); 347 background: linear-gradient(0deg, hsl(0, 0%, 65%), hsl(0, 0%, 80%)); 358 background: hsl(0, 0%, 90%); 362 border-color: hsl(215, 49%, 60%); 363 background: linear-gradient(0deg, hsl(215, 72%, 65%), hsl(215, 100%, 80%)); 367 background: hsl(215, 99%, 80%); 371 border-color: hsl(99, 34%, 60%); 372 background: linear-gradient(0deg, hsl(100, 50%, 65%), hsl(90, 50%, 80%)); 376 background: hsl(99, 100%, 80%); 380 border-color: hsl(272, 31%, 60%); [all …]
|
D | dialog.css | 27 background-image: linear-gradient(hsl(0, 0%, 93%), hsl(0, 0%, 93%) 38%, hsl(0, 0%, 87%)); 31 color: hsl(0, 0%, 27%); 34 text-shadow: 0 1px 0 hsl(0, 0%, 94%);
|
D | helpScreen.css | 406 border: 1px solid hsl(0, 0%, 85%); 427 background-color: hsl(0, 0%, 82%); 431 background-color: hsl(215, 54%, 93%); 435 background-color: hsl(215, 51%, 82%); 523 color: hsl(210, 16%, 22%);
|
D | profilesPanel.css | 208 color: hsl(0, 100%, 58%); 212 color: hsl(0, 100%, 42%);
|
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/plugin_settings/domui/css/ |
D | list.css | 42 border-color: hsl(214, 91%, 65%); 53 border-color: hsl(214, 91%, 85%); 55 background-color: hsl(214, 91%, 97%); 60 border-color: hsl(0, 0%, 85%); 61 background-color: hsl(0,0%,90%); 69 background-color: hsl(214,91%,89%); 70 border-color: hsl(214, 91%, 65%); 77 background-color: hsl(214, 91%, 87%); 78 border-color: hsl(214, 91%, 65%);
|
/external/chromium_org/ui/webui/resources/css/ |
D | list.css | 45 border-color: hsl(214, 91%, 65%); 56 background-color: hsl(214, 91%, 97%); 57 border-color: hsl(214, 91%, 85%); 63 background-color: hsl(0, 0%, 90%); 66 border-color: hsl(0, 0%, 85%); 72 background-color: hsl(214, 91%, 89%); 73 border-color: hsl(214, 91%, 65%); 80 background-color: hsl(214, 91%, 87%); 81 border-color: hsl(214, 91%, 65%);
|
D | table.css | 10 border-color: hsl(214, 91%, 65%); 15 background-color: hsl(214,91%,89%); 16 border-color: hsl(214, 91%, 65%); 21 background-color: hsl(214, 91%, 87%); 22 border-color: hsl(214, 91%, 65%);
|
D | tree.css | 63 background-color: hsl(214, 91%, 97%); 64 border-color: hsl(214, 91%, 85%); 81 background-color: hsl(0, 0%, 90%); 82 border-color: hsl(0, 0%, 85%); 88 background-color: hsl(214, 91%, 89%);
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/common/ |
D | Color.js | 297 var hsl = this.hsla(); 298 …n String.sprintf("hsl(%d, %d%, %d%)", Math.round(hsl[0] * 360), Math.round(hsl[1] * 100), Math.rou… 428 WebInspector.Color._hsl2rgb = function(hsl) argument 430 var h = hsl[0]; 431 var s = hsl[1]; 432 var l = hsl[2]; 468 return [r, g, b, hsl[3]];
|
/external/deqp/modules/gles2/functional/ |
D | es2fShaderAlgorithmTests.cpp | 242 Vec3 hsl; in init() 245 hsl = Vec3(0.0f, 0.0f, L); in init() 261 hsl = Vec3(H, S, L); in init() 263 c.color.xyz() = hsl; in init()
|
/external/chromium_org/chrome/browser/resources/options/ |
D | startup_overlay.css | 33 background-color: hsl(214, 91%, 65%); 34 border: 2px solid hsl(214, 91%, 65%);
|
D | language_options.css | 116 background-color: hsl(214, 91%, 65%); 117 border: 3px solid hsl(214, 91%, 65%); 135 background-color: hsl(52, 100%, 80%);
|
/external/chromium_org/chrome/browser/resources/options/chromeos/ |
D | accounts_options_page.css | 69 border-color: hsl(0, 0%, 85%); 74 background-color: hsl(0, 0%, 90%);
|
/external/chromium_org/chrome/browser/themes/ |
D | browser_theme_pack.cc | 834 bool BrowserThemePack::GetTint(int id, color_utils::HSL* hsl) const { in GetTint() 838 hsl->h = tints_[i].h; in GetTint() 839 hsl->s = tints_[i].s; in GetTint() 840 hsl->l = tints_[i].l; in GetTint() 995 color_utils::HSL hsl = { -1, -1, -1 }; in BuildTintsFromJSON() local 997 if (tint_list->GetDouble(0, &hsl.h) && in BuildTintsFromJSON() 998 tint_list->GetDouble(1, &hsl.s) && in BuildTintsFromJSON() 999 tint_list->GetDouble(2, &hsl.l)) { in BuildTintsFromJSON() 1002 temp_tints[id] = hsl; in BuildTintsFromJSON() 1526 color_utils::HSL hsl; local [all …]
|
D | custom_theme_supplier.cc | 20 bool CustomThemeSupplier::GetTint(int id, color_utils::HSL* hsl) const { in GetTint()
|
D | custom_theme_supplier.h | 53 virtual bool GetTint(int id, color_utils::HSL* hsl) const;
|
D | theme_service.cc | 423 color_utils::HSL hsl; in GetTint() local 424 if (theme_supplier_.get() && theme_supplier_->GetTint(id, &hsl)) in GetTint() 425 return hsl; in GetTint()
|
/external/chromium_org/chrome/browser/resources/bookmark_manager/css/ |
D | bmm.css | 30 color: hsl(0, 0%, 70%); 100 border: 1px solid hsl(214, 91%, 85%); 114 border-color: hsl(214, 91%, 65%); 257 border: 1px solid hsl(214, 91%, 85%);
|
/external/chromium-trace/trace-viewer/third_party/web_dev_style/web_dev_style/ |
D | css_checker.py | 126 hsl = r'hsl\([^\)]*(?:[, ]|(?<=\())(?:0?\.?)?0%' 134 if not re.search(hsl, first_line):
|
/external/chromium_org/chrome/browser/ui/libgtk2ui/ |
D | gtk2_ui.cc | 1014 color_utils::HSL hsl; in SetThemeTintFromGtk() local 1015 color_utils::SkColorToHSL(GdkColorToSkColor(*color), &hsl); in SetThemeTintFromGtk() 1018 hsl.s = default_tint.s; in SetThemeTintFromGtk() 1021 hsl.l = default_tint.l; in SetThemeTintFromGtk() 1023 tints_[id] = hsl; in SetThemeTintFromGtk()
|