Searched refs:turbulenceFunctionResult (Results 1 – 2 of 2) sorted by relevance
476 SkScalar turbulenceFunctionResult = 0; in calculateTurbulenceValueForPoint() local484 turbulenceFunctionResult += numer / ratio; in calculateTurbulenceValueForPoint()498 turbulenceFunctionResult = SkScalarHalf(turbulenceFunctionResult + 1); in calculateTurbulenceValueForPoint()502 turbulenceFunctionResult *= SkIntToScalar(getPaintAlpha()) / 255; in calculateTurbulenceValueForPoint()506 return SkTPin(turbulenceFunctionResult, 0.0f, SK_Scalar1); in calculateTurbulenceValueForPoint()
537 SkScalar turbulenceFunctionResult = 0; in calculateTurbulenceValueForPoint() local545 turbulenceFunctionResult += numer / ratio; in calculateTurbulenceValueForPoint()559 turbulenceFunctionResult = SkScalarHalf(turbulenceFunctionResult + 1); in calculateTurbulenceValueForPoint()563 turbulenceFunctionResult *= SkIntToScalar(getPaintAlpha()) / 255; in calculateTurbulenceValueForPoint()567 return SkScalarPin(turbulenceFunctionResult, 0, SK_Scalar1); in calculateTurbulenceValueForPoint()