/external/skia/gm/ |
D | imagefiltersscaled.cpp | 110 SkVector::Make(SkScalarInvert(2), SkScalarInvert(2)), in onDraw() 134 canvas->scale(SkScalarInvert(RESIZE_FACTOR), in onDraw() 135 SkScalarInvert(RESIZE_FACTOR)); in onDraw()
|
D | imageresizetiled.cpp | 48 canvas->scale(SkScalarInvert(RESIZE_FACTOR), in onDraw() 49 SkScalarInvert(RESIZE_FACTOR)); in onDraw()
|
D | resizeimagefilter.cpp | 41 matrix.setScale(SkScalarInvert(deviceScaleX), in draw() 42 SkScalarInvert(deviceScaleY)); in draw()
|
D | imagefiltersclipped.cpp | 115 canvas->scale(SkScalarInvert(RESIZE_FACTOR_X), in onDraw() 116 SkScalarInvert(RESIZE_FACTOR_Y)); in onDraw()
|
D | glyph_pos.cpp | 96 perspective.setPerspX(-SkScalarInvert(340)); in onDraw()
|
D | dftext.cpp | 118 SkScalar scaleFactor = SkScalarInvert(scales[arraySize - i - 1]); in onDraw()
|
/external/skia/src/utils/ |
D | SkBoundaryPatch.cpp | 49 const SkScalar invR = SkScalarInvert(SkIntToScalar(rows - 1)); in evalPatch() 50 const SkScalar invC = SkScalarInvert(SkIntToScalar(cols - 1)); in evalPatch()
|
D | SkDashPath.cpp | 173 fTangent.scale(SkScalarInvert(pathLength)); in init()
|
/external/skia/src/core/ |
D | SkMaskGamma.cpp | 30 return SkScalarPow(luma, SkScalarInvert(gamma)); in fromLuma() 52 return 1.055f * SkScalarPow(luma, SkScalarInvert(2.4f)) in fromLuma()
|
D | SkMatrix.cpp | 349 this->setScale(SkScalarInvert(divx), SkScalarInvert(divy)); in setIDiv() 793 invX = SkScalarInvert(invX); in invertNonIdentity() 794 invY = SkScalarInvert(invY); in invertNonIdentity() 1383 float invScale = SkScalarInvert(scale.fX); in Poly4Proc() 1388 invScale = SkScalarInvert(scale.fY); in Poly4Proc() 1610 remaining->postScale(SkScalarInvert(sx), SkScalarInvert(sy)); in decomposeScale() 1741 SkScalar reciplen = SkScalarInvert(SkScalarSqrt(cosQ*cosQ + sinQ*sinQ)); in SkDecomposeUpper2x2() 1776 SkScalar reciplen = SkScalarInvert(SkScalarSqrt(cos1*cos1 + sin1*sin1)); in SkDecomposeUpper2x2()
|
D | SkScalerContext.cpp | 815 sA->preScale(SkScalarInvert(s->fX), SkScalarInvert(s->fY)); in computeMatrices() 822 GsA->preScale(SkScalarInvert(s->fX), SkScalarInvert(s->fY)); in computeMatrices()
|
D | SkGlyphCache.cpp | 352 matrix.preScale(SkScalarInvert(rec.fTextSize), SkScalarInvert(rec.fTextSize)); in dump()
|
D | SkGeometry.cpp | 783 SkScalar inva = SkScalarInvert(coeff[0]); in solve_cubic_poly() 1318 Sk2s scale = Sk2s(SkScalarInvert(SK_Scalar1 + fW)); in chop() 1568 offCurve.setLength(SkScalarInvert(cosThetaOver2)); in BuildUnitArc()
|
/external/skia/experimental/ |
D | SkSetPoly3To3.cpp | 49 SkScalar invDet = SkScalarInvert(det); in SkSetPoly3To3()
|
/external/skia/src/effects/ |
D | SkPerlinNoiseShader.cpp | 82 { SkScalarInvert(baseFrequencyX), SkScalarInvert(baseFrequencyY) }, in PaintingData() 87 fBaseFrequency.set(SkScalarInvert(vec[0].fX), SkScalarInvert(vec[0].fY)); in PaintingData() 133 static const SkScalar gInvBlockSizef = SkScalarInvert(SkIntToScalar(kBlockSize)); in init()
|
D | SkColorCubeFilter.cpp | 93 static const SkScalar inv8bit = SkScalarInvert(SkIntToScalar(255)); in initProcessingLuts() 333 pdman.set1f(fColorCubeInvSizeUni, SkScalarToFloat(SkScalarInvert(size))); in setData()
|
D | SkMagnifierImageFilter.cpp | 293 SkScalar invInset = fInset > 0 ? SkScalarInvert(fInset) : SK_Scalar1; in asFragmentProcessor() 339 SkScalar inv_inset = fInset > 0 ? SkScalarInvert(fInset) : SK_Scalar1; in onFilterImage()
|
D | SkDashPathEffect.cpp | 208 tangent.scale(SkScalarInvert(length)); in asPoints()
|
/external/skia/include/effects/ |
D | SkLightingImageFilter.h | 27 SkScalar scale = SkScalarInvert(SkScalarSqrt(dot(*this)) + SK_ScalarNearlyZero); in normalize()
|
/external/skia/src/gpu/ |
D | GrOvalRenderer.cpp | 952 SkScalar xRadRecip = SkScalarInvert(xRadius); in generateGeometry() 953 SkScalar yRadRecip = SkScalarInvert(yRadius); in generateGeometry() 954 SkScalar xInnerRadRecip = SkScalarInvert(geom.fInnerXRadius); in generateGeometry() 955 SkScalar yInnerRadRecip = SkScalarInvert(geom.fInnerYRadius); in generateGeometry() 1772 SkScalar xRadRecip = SkScalarInvert(args.fXRadius); in generateGeometry() 1773 SkScalar yRadRecip = SkScalarInvert(args.fYRadius); in generateGeometry() 1774 SkScalar xInnerRadRecip = SkScalarInvert(args.fInnerXRadius); in generateGeometry() 1775 SkScalar yInnerRadRecip = SkScalarInvert(args.fInnerYRadius); in generateGeometry()
|
D | GrPathUtils.cpp | 439 invDALengthSqd = SkScalarInvert(invDALengthSqd); in convert_noninflect_cubic_to_quads() 507 z = SkScalarInvert(z); in convert_noninflect_cubic_to_quads()
|
/external/skia/include/core/ |
D | SkScalar.h | 191 #define SkScalarInvert(x) (SK_Scalar1 / (x)) macro
|
/external/skia/src/effects/gradients/ |
D | SkTwoPointConicalGradient_gpu.cpp | 49 SkScalar invDiffLen = SkScalarInvert(diffLen); in set_matrix_edge_conical() 341 SkScalar invFocalX = SkScalarInvert(*focalX); in set_matrix_focal_conical() 360 SkScalar s = SkScalarInvert(oneMinusF2); in set_matrix_focal_conical()
|
D | SkTwoPointConicalGradient.cpp | 308 SkScalar invDiffLen = SkScalarInvert(diffLen); in asABitmap()
|
/external/skia/src/gpu/effects/ |
D | GrOvalEffect.cpp | 179 SkScalarInvert(radius)); in setData()
|