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()
556 SkScalar greyscaleAlpha = SkTPin(origA*(1 - 0.4f*luminance), 0.0f, 1.0f); in ComputeTonalColors() local567 SkScalar colorScale = colorAlpha*(SK_Scalar1 - greyscaleAlpha); in ComputeTonalColors()568 SkScalar tonalAlpha = colorScale + greyscaleAlpha; in ComputeTonalColors()