Home
last modified time | relevance | path

Searched refs:colorAlpha (Results 1 – 2 of 2) sorted by relevance

/third_party/flutter/skia/src/utils/
DSkShadowUtils.cpp513 SkScalar colorAlpha = (3.544762f + (-4.891428f + 2.3466f*luminance)*luminance)*luminance; in ComputeTonalColors() local
514 colorAlpha = SkTPin(alphaAdjust*colorAlpha, 0.0f, 1.0f); in ComputeTonalColors()
531 SkScalar colorScale = colorAlpha*(SK_Scalar1 - greyscaleAlpha); in ComputeTonalColors()
/third_party/skia/src/utils/
DSkShadowUtils.cpp549 SkScalar colorAlpha = (3.544762f + (-4.891428f + 2.3466f*luminance)*luminance)*luminance; in ComputeTonalColors() local
550 colorAlpha = SkTPin(alphaAdjust*colorAlpha, 0.0f, 1.0f); in ComputeTonalColors()
567 SkScalar colorScale = colorAlpha*(SK_Scalar1 - greyscaleAlpha); in ComputeTonalColors()