Searched refs:SkFixedDiv (Results 1 – 12 of 12) sorted by relevance
/external/skia/src/views/ |
D | SkProgressView.cpp | 68 percent = SkFixedDiv(percent, fMax << 8); // now its 0.16 in onDraw() 74 percent = SkFixedDiv(value, fMax); in onDraw()
|
D | SkWidget.cpp | 287 SkFixed percent = SkFixedDiv(value, fMax);
|
/external/skia/src/core/ |
D | SkMatrix.cpp | 1291 dst->fMat[kMScaleX] = SkFixedDiv(srcPt[1].fY - srcPt[0].fY, scale); in Poly2Proc() 1292 dst->fMat[kMSkewY] = SkFixedDiv(srcPt[0].fX - srcPt[1].fX, scale); in Poly2Proc() 1294 dst->fMat[kMSkewX] = SkFixedDiv(srcPt[1].fX - srcPt[0].fX, scale); in Poly2Proc() 1295 dst->fMat[kMScaleY] = SkFixedDiv(srcPt[1].fY - srcPt[0].fY, scale); in Poly2Proc() 1308 dst->fMat[kMScaleX] = SkFixedDiv(srcPt[2].fX - srcPt[0].fX, scale.fX); in Poly3Proc() 1309 dst->fMat[kMSkewY] = SkFixedDiv(srcPt[2].fY - srcPt[0].fY, scale.fX); in Poly3Proc() 1311 dst->fMat[kMSkewX] = SkFixedDiv(srcPt[1].fX - srcPt[0].fX, scale.fY); in Poly3Proc() 1312 dst->fMat[kMScaleY] = SkFixedDiv(srcPt[1].fY - srcPt[0].fY, scale.fY); in Poly3Proc() 1364 dst->fMat[kMScaleX] = SkFixedDiv(SkFractMul(a2, srcPt[3].fX) + in Poly4Proc() 1366 dst->fMat[kMSkewY] = SkFixedDiv(SkFractMul(a2, srcPt[3].fY) + in Poly4Proc() [all …]
|
D | SkScan_Hairline.cpp | 97 SkFixed slope = SkFixedDiv(dy, dx); in HairLine() 114 SkFixed slope = SkFixedDiv(dx, dy); in HairLine()
|
D | SkMath.cpp | 234 uint32_t slow = SkFixedDiv(SK_Fixed1, a); in SkFixedFastInvert() 342 SkFixed div = SkFixedDiv(numer, denom); in SkFixedMod()
|
D | SkCordic.cpp | 82 return SkFixedDiv(sin, cos); in SkCordicTan()
|
D | SkFloat.cpp | 360 cc = SkFixedDiv(aa, bb); in UnitTest()
|
/external/skia/include/core/ |
D | SkFDot6.h | 63 return SkFixedDiv(a, b); in SkFDot6Div()
|
D | SkFixed.h | 116 #define SkFixedDiv(numer, denom) SkDivBits(numer, denom, 16) macro
|
D | SkScalar.h | 200 #define SkScalarDiv(a, b) SkFixedDiv(a, b)
|
/external/skia/tests/ |
D | MathTest.cpp | 248 SkFixed result = SkFixedDiv(100, 100); in TestMath() 250 result = SkFixedDiv(1, SK_Fixed1); in TestMath() 262 SkFixed result = SkFixedDiv(numer, denom); in TestMath()
|
/external/skia/src/utils/ |
D | SkCamera.cpp | 102 SkFixed scale = SkFixedDiv(SK_Fract1, mag); in normalize()
|