Home
last modified time | relevance | path

Searched refs:SkFixedDiv (Results 1 – 12 of 12) sorted by relevance

/external/skia/src/views/
DSkProgressView.cpp68 percent = SkFixedDiv(percent, fMax << 8); // now its 0.16 in onDraw()
74 percent = SkFixedDiv(value, fMax); in onDraw()
DSkWidget.cpp287 SkFixed percent = SkFixedDiv(value, fMax);
/external/skia/src/core/
DSkMatrix.cpp1291 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 …]
DSkScan_Hairline.cpp97 SkFixed slope = SkFixedDiv(dy, dx); in HairLine()
114 SkFixed slope = SkFixedDiv(dx, dy); in HairLine()
DSkMath.cpp234 uint32_t slow = SkFixedDiv(SK_Fixed1, a); in SkFixedFastInvert()
342 SkFixed div = SkFixedDiv(numer, denom); in SkFixedMod()
DSkCordic.cpp82 return SkFixedDiv(sin, cos); in SkCordicTan()
DSkFloat.cpp360 cc = SkFixedDiv(aa, bb); in UnitTest()
/external/skia/include/core/
DSkFDot6.h63 return SkFixedDiv(a, b); in SkFDot6Div()
DSkFixed.h116 #define SkFixedDiv(numer, denom) SkDivBits(numer, denom, 16) macro
DSkScalar.h200 #define SkScalarDiv(a, b) SkFixedDiv(a, b)
/external/skia/tests/
DMathTest.cpp248 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/
DSkCamera.cpp102 SkFixed scale = SkFixedDiv(SK_Fract1, mag); in normalize()