Home
last modified time | relevance | path

Searched refs:origA (Results 1 – 5 of 5) sorted by relevance

/external/skia/src/utils/
DSkShadowUtils.cpp500 SkScalar origA = SkColorGetA(inSpotColor)/255.f; in ComputeTonalColors() local
512 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()
/external/skqp/src/utils/
DSkShadowUtils.cpp473 SkScalar origA = SkColorGetA(inSpotColor)/255.f; in ComputeTonalColors() local
485 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()
/external/boringssl/src/ssl/test/runner/hrss/
Dhrss.go1006 func (out *poly) invert(origA *poly) {
1010 b.invertMod2(origA)
1014 a[i] = Q - origA[i]
/external/skia/tests/
DImageTest.cpp556 int32_t origA = (origColor >> 24) & 0xff; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
567 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()
/external/skqp/tests/
DImageTest.cpp556 int32_t origA = (origColor >> 24) & 0xff; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
567 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()