Searched refs:SkScalarPin (Results 1 – 8 of 8) sorted by relevance
/external/skia/src/utils/ |
D | SkCubicInterval.cpp | 52 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/ |
D | GrTextureDomain.cpp | 31 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/ |
D | SkOperandIterpolator.cpp | 42 blend = SkScalarPin(blend, 0, SK_Scalar1); in setKeyFrame()
|
/external/skia/include/core/ |
D | SkScalar.h | 177 static inline SkScalar SkScalarPin(SkScalar x, SkScalar min, SkScalar max) { in SkScalarPin() function
|
/external/skia/src/effects/gradients/ |
D | SkGradientShader.cpp | 162 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/ |
D | SkColorMatrixFilter.cpp | 537 static_cast<uint8_t>(SkScalarPin(outputA, 0, 255)) << GrColor_SHIFT_A, in onComputeInvariantOutput()
|
D | SkPerlinNoiseShader.cpp | 412 return SkScalarPin(turbulenceFunctionResult, 0, SK_Scalar1); in calculateTurbulenceValueForPoint()
|
D | SkLightingImageFilter.cpp | 841 fSpecularExponent(SkScalarPin(specularExponent, kSpecularExponentMin, kSpecularExponentMax)) in SkSpotLight()
|