Home
last modified time | relevance | path

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

/external/skia/src/utils/
DSkShadowUtils.cpp512 SkScalar alphaAdjust = (2.6f + (-2.66667f + 1.06667f*origA)*origA)*origA; in ComputeTonalColors() local
514 colorAlpha = SkTPin(alphaAdjust*colorAlpha, 0.0f, 1.0f); in ComputeTonalColors()
/external/skqp/src/utils/
DSkShadowUtils.cpp485 SkScalar alphaAdjust = (2.6f + (-2.66667f + 1.06667f*origA)*origA)*origA; in ComputeTonalColors() local
487 colorAlpha = SkTPin(alphaAdjust*colorAlpha, 0.0f, 1.0f); in ComputeTonalColors()