/external/chromium_org/ui/gfx/ |
H A D | color_utils_unittest.cc | 15 HSL hsl = {0, 0, 0}; local 16 SkColorToHSL(SK_ColorRED, &hsl); 17 EXPECT_DOUBLE_EQ(hsl.h, 0); 18 EXPECT_DOUBLE_EQ(hsl.s, 1); 19 EXPECT_DOUBLE_EQ(hsl.l, 0.5); 23 HSL hsl = {0, 0, 0}; local 24 SkColorToHSL(SkColorSetARGB(255, 128, 128, 128), &hsl); 25 EXPECT_DOUBLE_EQ(hsl.h, 0); 26 EXPECT_DOUBLE_EQ(hsl.s, 0); 27 EXPECT_EQ(static_cast<int>(hsl 33 HSL hsl = {0, 1, 0.5}; local 47 HSL hsl = {0, 0, 0}; local 60 HSL hsl = {0, 0, 0}; local 72 HSL hsl = {0.3, 0.4, 0.5}; local 92 HSL hsl = {0.3, 0.4, 0.5}; local 107 HSL hsl = {-1, -1, -1}; local [all...] |
H A D | color_utils.cc | 58 HSL hsl; local 59 SkColorToHSL(color, &hsl); 60 hsl.l = 1.0 - hsl.l; 61 return HSLToSkColor(hsl, 255); 92 void SkColorToHSL(SkColor c, HSL* hsl) { argument 99 hsl->l = (vmax + vmin) / 2; 101 hsl->h = hsl->s = 0; 109 hsl 124 HSLToSkColor(const HSL& hsl, SkAlpha alpha) argument 154 IsWithinHSLRange(const HSL& hsl, const HSL& lower_bound, const HSL& upper_bound) argument 185 HSL hsl; local [all...] |
H A D | color_utils.h | 29 GFX_EXPORT void SkColorToHSL(SkColor c, HSL* hsl); 30 GFX_EXPORT SkColor HSLToSkColor(const HSL& hsl, SkAlpha alpha); 32 // Determines whether the given |hsl| falls within the given range for each 33 // component. All components of |hsl| are expected to be in the range [0, 1]. 42 GFX_EXPORT bool IsWithinHSLRange(const HSL& hsl,
|
H A D | skbitmap_operations_unittest.cc | 224 color_utils::HSL hsl = { -1, -1, -1 }; local 225 SkBitmap shifted = ReferenceCreateHSLShiftedBitmap(src, hsl); 261 color_utils::HSL hsl = { 0, -1, -1 }; local 263 SkBitmap shifted = SkBitmapOperations::CreateHSLShiftedBitmap(src, hsl); 301 color_utils::HSL hsl = { h, s, l }; local 302 SkBitmap ref_shifted = ReferenceCreateHSLShiftedBitmap(src, hsl); 303 SkBitmap shifted = SkBitmapOperations::CreateHSLShiftedBitmap(src, hsl);
|
H A D | color_analysis.cc | 342 HSL hsl; local 343 SkColorToHSL(current_color, &hsl); 344 if (IsWithinHSLRange(hsl, lower_bound, upper_bound)) {
|
/external/chromium_org/ui/webui/resources/css/ |
H A 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%);
|
H A 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%);
|
H A 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/ |
H A 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(10 [all...] |
H A D | profilesPanel.css | 208 color: hsl(0, 100%, 58%); 212 color: hsl(0, 100%, 42%);
|
H A D | inspectorStyle.css | 2716 background-image: linear-gradient(hsl(0, 0%, 93%), hsl(0, 0%, 93%) 38%, hsl(0, 0%, 87%)); 2720 color: hsl(0, 0%, 27%); 2723 text-shadow: 0 1px 0 hsl(0, 0%, 94%); 2738 background-image: linear-gradient(hsl(0, 0%, 94%), hsl(0, 0%, 94%) 38%, hsl(0, 0%, 88%)); 2741 color: hsl(0, 0%, 0%); 2745 background-image: linear-gradient(hsl( [all...] |
/external/chromium_org/chrome/browser/resources/options/ |
H A D | startup_overlay.css | 33 background-color: hsl(214, 91%, 65%); 34 border: 2px solid hsl(214, 91%, 65%);
|
H A 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/themes/ |
H A D | custom_theme_supplier.cc | 20 bool CustomThemeSupplier::GetTint(int id, color_utils::HSL* hsl) const {
|
H A D | custom_theme_supplier.h | 53 virtual bool GetTint(int id, color_utils::HSL* hsl) const;
|
H A D | browser_theme_pack.cc | 834 bool BrowserThemePack::GetTint(int id, color_utils::HSL* hsl) const { 838 hsl->h = tints_[i].h; 839 hsl->s = tints_[i].s; 840 hsl->l = tints_[i].l; 995 color_utils::HSL hsl = { -1, -1, -1 }; local 997 if (tint_list->GetDouble(0, &hsl.h) && 998 tint_list->GetDouble(1, &hsl.s) && 999 tint_list->GetDouble(2, &hsl.l)) { 1002 temp_tints[id] = hsl; 1526 color_utils::HSL hsl; local [all...] |
H A D | browser_theme_pack.h | 82 virtual bool GetTint(int id, color_utils::HSL* hsl) const OVERRIDE;
|
H A D | theme_service.cc | 423 color_utils::HSL hsl; local 424 if (theme_supplier_.get() && theme_supplier_->GetTint(id, &hsl)) 425 return hsl;
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/common/ |
H A D | Color.js | 57 // Simple - #hex, rgb(), nickname, hsl() 59 var simple = /^(?:#([0-9a-f]{3,6})|rgb\(([^)]+)\)|(\w+)|hsl\(([^)]+)\))$/i; 96 if (match[4]) { // hsl 297 var hsl = this.hsla(); 298 return String.sprintf("hsl(%d, %d%, %d%)", Math.round(hsl[0] * 360), Math.round(hsl[1] * 100), Math.round(hsl[2] * 100)); 425 * @param {!Array.<number>} hsl 428 WebInspector.Color._hsl2rgb = function(hsl) [all...] |
/external/chromium_org/chrome/browser/resources/options/chromeos/ |
H A D | accounts_options_page.css | 69 border-color: hsl(0, 0%, 85%); 74 background-color: hsl(0, 0%, 90%);
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fShaderAlgorithmTests.cpp | 242 Vec3 hsl; 245 hsl = Vec3(0.0f, 0.0f, L); 261 hsl = Vec3(H, S, L); 263 c.color.xyz() = hsl;
|
/external/chromium_org/chrome/browser/resources/bookmark_manager/css/ |
H A 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/ |
H A D | css_checker.py | 126 hsl = r'hsl\([^\)]*(?:[, ]|(?<=\())(?:0?\.?)?0%' 134 if not re.search(hsl, first_line): 184 'hsl() or part of @keyframe.',
|
/external/chromium_org/chrome/browser/resources/ntp4/ |
H A D | footer_menu.css | 146 color: hsl(213, 90%, 24%) !important;
|
/external/chromium_org/chrome/browser/ui/libgtk2ui/ |
H A D | gtk2_ui.cc | 1014 color_utils::HSL hsl; local 1015 color_utils::SkColorToHSL(GdkColorToSkColor(*color), &hsl); 1018 hsl.s = default_tint.s; 1021 hsl.l = default_tint.l; 1023 tints_[id] = hsl;
|