Searched refs:SkPin32 (Results 1 – 6 of 6) sorted by relevance
/external/skia/src/effects/ |
D | SkTableMaskFilter.cpp | 101 table[i] = SkPin32(sk_float_round2int(powf(x, g) * 255), 0, 255); in MakeGammaTable()
|
D | SkGradientShader.cpp | 1347 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/ |
D | SkTypes.h | 304 static inline int32_t SkPin32(int32_t value, int32_t min, int32_t max) { in SkPin32() function
|
D | SkScalar.h | 245 #define SkScalarPin(x, min, max) SkPin32(x, min, max)
|
/external/skia/src/core/ |
D | SkString.cpp | 491 minDigits = SkPin32(minDigits, 0, 8); in insertHex()
|
D | SkCanvas.cpp | 1539 c.fRight = SkPin32(center.fRight, c.fLeft, w); in internalDrawBitmapNine() 1540 c.fBottom = SkPin32(center.fBottom, c.fTop, h); in internalDrawBitmapNine()
|