Home
last modified time | relevance | path

Searched refs:SkScalarPin (Results 1 – 8 of 8) sorted by relevance

/external/skia/src/utils/
DSkCubicInterval.cpp52 x1 = SkScalarPin(x1, 0, SK_Scalar1); in SkEvalCubicInterval()
53 x2 = SkScalarPin(x2, 0, SK_Scalar1); in SkEvalCubicInterval()
54 unitX = SkScalarPin(unitX, 0, SK_Scalar1); in SkEvalCubicInterval()
/external/skia/src/gpu/effects/
DGrTextureDomain.cpp31 fDomain.fLeft = SkScalarPin(domain.fLeft, kFullRect.fLeft, kFullRect.fRight); in GrTextureDomain()
32 fDomain.fRight = SkScalarPin(domain.fRight, kFullRect.fLeft, kFullRect.fRight); in GrTextureDomain()
33 fDomain.fTop = SkScalarPin(domain.fTop, kFullRect.fTop, kFullRect.fBottom); in GrTextureDomain()
34 fDomain.fBottom = SkScalarPin(domain.fBottom, kFullRect.fTop, kFullRect.fBottom); in GrTextureDomain()
/external/skia/src/animator/
DSkOperandIterpolator.cpp42 blend = SkScalarPin(blend, 0, SK_Scalar1); in setKeyFrame()
/external/skia/include/core/
DSkScalar.h177 static inline SkScalar SkScalarPin(SkScalar x, SkScalar min, SkScalar max) { in SkScalarPin() function
/external/skia/src/effects/gradients/
DSkGradientShader.cpp162 curr = SkScalarPin(desc.fPos[i], 0, 1); in SkGradientShaderBase()
194 fOrigPos[0] = SkScalarPin(desc.fPos[0], 0, 1); in SkGradientShaderBase()
195 fOrigPos[1] = SkScalarPin(desc.fPos[1], fOrigPos[0], 1); in SkGradientShaderBase()
/external/skia/src/effects/
DSkColorMatrixFilter.cpp537 static_cast<uint8_t>(SkScalarPin(outputA, 0, 255)) << GrColor_SHIFT_A, in onComputeInvariantOutput()
DSkPerlinNoiseShader.cpp412 return SkScalarPin(turbulenceFunctionResult, 0, SK_Scalar1); in calculateTurbulenceValueForPoint()
DSkLightingImageFilter.cpp841 fSpecularExponent(SkScalarPin(specularExponent, kSpecularExponentMin, kSpecularExponentMax)) in SkSpotLight()