Searched refs:origA (Results 1 – 5 of 5) sorted by relevance
500 SkScalar origA = SkColorGetA(inSpotColor)/255.f; in ComputeTonalColors() local512 SkScalar alphaAdjust = (2.6f + (-2.66667f + 1.06667f*origA)*origA)*origA; in ComputeTonalColors()520 SkScalar greyscaleAlpha = SkTPin(origA*(1 - 0.4f*luminance), 0.0f, 1.0f); in ComputeTonalColors()
473 SkScalar origA = SkColorGetA(inSpotColor)/255.f; in ComputeTonalColors() local485 SkScalar alphaAdjust = (2.6f + (-2.66667f + 1.06667f*origA)*origA)*origA; in ComputeTonalColors()493 SkScalar greyscaleAlpha = SkTPin(origA*(1 - 0.4f*luminance), 0.0f, 1.0f); in ComputeTonalColors()
1006 func (out *poly) invert(origA *poly) {1010 b.invertMod2(origA)1014 a[i] = Q - origA[i]
556 int32_t origA = (origColor >> 24) & 0xff; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local567 int32_t tol = (origA == 0 || origA == 255) ? 0 : 1; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()568 if (origA != readA || SkTAbs(readB - origB) > tol || SkTAbs(readG - origG) > tol || in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()