Home
last modified time | relevance | path

Searched refs:SkPin32 (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/effects/
DSkTableMaskFilter.cpp101 table[i] = SkPin32(sk_float_round2int(powf(x, g) * 255), 0, 255); in MakeGammaTable()
DSkGradientShader.cpp1347 fy = SkPin32(fy, -0xFFFF >> 1, 0xFFFF >> 1); in shadeSpan16_radial_clamp()
1350 unsigned xx = SkPin32(fx, -0xFFFF >> 1, 0xFFFF >> 1); in shadeSpan16_radial_clamp()
1360 unsigned xx = SkPin32(fx, -0xFFFF >> 1, 0xFFFF >> 1); in shadeSpan16_radial_clamp()
1361 unsigned fi = SkPin32(fy, -0xFFFF >> 1, 0xFFFF >> 1); in shadeSpan16_radial_clamp()
1622 unsigned yy = SkPin32(fy, -0xFFFF >> 1, 0xFFFF >> 1); in shadeSpan_radial_clamp()
1625 unsigned xx = SkPin32(fx, -0xFFFF >> 1, 0xFFFF >> 1); in shadeSpan_radial_clamp()
1635 unsigned xx = SkPin32(fx, -0xFFFF >> 1, 0xFFFF >> 1); in shadeSpan_radial_clamp()
1636 unsigned fi = SkPin32(fy, -0xFFFF >> 1, 0xFFFF >> 1); in shadeSpan_radial_clamp()
/external/skia/include/core/
DSkTypes.h304 static inline int32_t SkPin32(int32_t value, int32_t min, int32_t max) { in SkPin32() function
DSkScalar.h245 #define SkScalarPin(x, min, max) SkPin32(x, min, max)
/external/skia/src/core/
DSkString.cpp491 minDigits = SkPin32(minDigits, 0, 8); in insertHex()
DSkCanvas.cpp1539 c.fRight = SkPin32(center.fRight, c.fLeft, w); in internalDrawBitmapNine()
1540 c.fBottom = SkPin32(center.fBottom, c.fTop, h); in internalDrawBitmapNine()