Searched refs:greyscaleAlpha (Results 1 – 2 of 2) sorted by relevance
520 SkScalar greyscaleAlpha = SkTPin(origA*(1 - 0.4f*luminance), 0.0f, 1.0f); in ComputeTonalColors() local531 SkScalar colorScale = colorAlpha*(SK_Scalar1 - greyscaleAlpha); in ComputeTonalColors()532 SkScalar tonalAlpha = colorScale + greyscaleAlpha; in ComputeTonalColors()
493 SkScalar greyscaleAlpha = SkTPin(origA*(1 - 0.4f*luminance), 0.0f, 1.0f); in ComputeTonalColors() local504 SkScalar colorScale = colorAlpha*(SK_Scalar1 - greyscaleAlpha); in ComputeTonalColors()505 SkScalar tonalAlpha = colorScale + greyscaleAlpha; in ComputeTonalColors()