/external/skia/src/gpu/glsl/ |
GrGLSLUtil.cpp | 13 dest[0] = SkScalarToFloat(src[SkMatrix::kMScaleX]); 14 dest[1] = SkScalarToFloat(src[SkMatrix::kMSkewY]); 15 dest[2] = SkScalarToFloat(src[SkMatrix::kMPersp0]); 18 dest[3] = SkScalarToFloat(src[SkMatrix::kMSkewX]); 19 dest[4] = SkScalarToFloat(src[SkMatrix::kMScaleY]); 20 dest[5] = SkScalarToFloat(src[SkMatrix::kMPersp1]); 23 dest[6] = SkScalarToFloat(src[SkMatrix::kMTransX]); 24 dest[7] = SkScalarToFloat(src[SkMatrix::kMTransY]); 25 dest[8] = SkScalarToFloat(src[SkMatrix::kMPersp2]); 30 dest[0] = SkScalarToFloat(src[SkMatrix::kMScaleX]) [all...] |
/external/skia/src/animator/ |
SkDrawRectangle.cpp | 58 SkScalarToFloat(fRect.fLeft), SkScalarToFloat(fRect.fTop), SkScalarToFloat(fRect.fRight), 59 SkScalarToFloat(fRect.fBottom)); 139 SkScalarToFloat(fRect.fLeft), SkScalarToFloat(fRect.fTop), SkScalarToFloat(fRect.fRight), 140 SkScalarToFloat(fRect.fBottom), SkScalarToFloat(rx), SkScalarToFloat(ry)) [all...] |
SkDisplayRandom.cpp | 38 SkDebugf("min=\"%g\" ", SkScalarToFloat(min)); 39 SkDebugf("max=\"%g\" ", SkScalarToFloat(max)); 40 SkDebugf("blend=\"%g\" ", SkScalarToFloat(blend));
|
SkDrawMatrix.cpp | 106 SkDebugf("sx=\"%g\" ", SkScalarToFloat(result)); 109 SkDebugf("sy=\"%g\" ", SkScalarToFloat(result)); 112 SkDebugf("skew-x=\"%g\" ", SkScalarToFloat(result)); 115 SkDebugf("skew-y=\"%g\" ", SkScalarToFloat(result)); 118 SkDebugf("tx=\"%g\" ", SkScalarToFloat(result)); 121 SkDebugf("ty=\"%g\" ", SkScalarToFloat(result)); 124 SkDebugf("perspect-x=\"%g\" ", SkScalarToFloat(result)); 127 SkDebugf("perspect-y=\"%g\" ", SkScalarToFloat(result));
|
SkAnimateField.cpp | 46 SkDebugf("repeat=\"%g\" ", SkScalarToFloat(repeat)); 56 SkDebugf("%g", SkScalarToFloat(blend[i]));
|
SkDisplayable.cpp | 208 SkDebugf("%g", SkScalarToFloat(op->fScalar)); 310 SkDebugf("%s=\"[%g,%g]\" ", info->fName, SkScalarToFloat(op.fScalar), SkScalarToFloat(op2.fScalar)); 370 SkDebugf("%s=\"%g\" ", info->fName, SkScalarToFloat(op.fScalar));
|
/frameworks/base/core/jni/android/graphics/ |
HarfBuzzNGFaceSkia.h | 50 return HBFloatToFixed(SkScalarToFloat(value));
|
Camera.cpp | 76 return SkScalarToFloat(v->getCameraLocationX()); 82 return SkScalarToFloat(v->getCameraLocationY()); 88 return SkScalarToFloat(v->getCameraLocationZ()); 110 return SkScalarToFloat(dot);
|
PathMeasure.cpp | 83 return static_cast<jfloat>(SkScalarToFloat(pair->fMeasure.getLength())); 89 ptr[0] = SkScalarToFloat(src[0]); 90 ptr[1] = SkScalarToFloat(src[1]);
|
/frameworks/base/libs/hwui/utils/ |
NinePatchImpl.cpp | 134 SkScalarToFloat(m[0]), SkScalarToFloat(m[1]), SkScalarToFloat(m[2]), 135 SkScalarToFloat(m[3]), SkScalarToFloat(m[4]), SkScalarToFloat(m[5])); 138 ALOGV("======== ninepatch bounds [%g %g]\n", SkScalarToFloat(bounds.width()), 139 SkScalarToFloat(bounds.height())); 201 SkScalarToFloat(bounds.fLeft), SkScalarToFloat(bounds.fTop) [all...] |
/external/skia/src/utils/ |
SkDumpCanvas.cpp | 31 SkScalarToFloat(r.fLeft), SkScalarToFloat(r.fTop), 32 SkScalarToFloat(r.width()), SkScalarToFloat(r.height())); 42 SkScalarToFloat(r.fLeft), SkScalarToFloat(r.fTop), 43 SkScalarToFloat(r.width()), SkScalarToFloat(r.height())); 233 SkScalarToFloat(matrix.getTranslateX()), 234 SkScalarToFloat(matrix.getTranslateY())) [all...] |
/external/skia/src/effects/ |
SkArithmeticMode.cpp | 160 return GrArithmeticFP::Create(SkScalarToFloat(fK[0]), 161 SkScalarToFloat(fK[1]), 162 SkScalarToFloat(fK[2]), 163 SkScalarToFloat(fK[3]), 169 return GrArithmeticXPFactory::Create(SkScalarToFloat(fK[0]), 170 SkScalarToFloat(fK[1]), 171 SkScalarToFloat(fK[2]), 172 SkScalarToFloat(fK[3]),
|
/external/skia/src/gpu/gl/ |
GrGLPathRendering.cpp | 198 coefficients[0] = SkScalarToFloat(matrix[SkMatrix::kMScaleX]); 199 coefficients[1] = SkScalarToFloat(matrix[SkMatrix::kMSkewX]); 200 coefficients[2] = SkScalarToFloat(matrix[SkMatrix::kMTransX]); 203 coefficients[3] = SkScalarToFloat(matrix[SkMatrix::kMSkewY]); 204 coefficients[4] = SkScalarToFloat(matrix[SkMatrix::kMScaleY]); 205 coefficients[5] = SkScalarToFloat(matrix[SkMatrix::kMTransY]); 209 coefficients[6] = SkScalarToFloat(matrix[SkMatrix::kMPersp0]); 210 coefficients[7] = SkScalarToFloat(matrix[SkMatrix::kMPersp1]); 211 coefficients[8] = SkScalarToFloat(matrix[SkMatrix::kMPersp2]);
|
GrGLPath.cpp | 85 coords[i * 2] = SkScalarToFloat(points[first_point + i].fX); 86 coords[i * 2 + 1] = SkScalarToFloat(points[first_point + i].fY); 135 coords[4] = SkScalarToFloat(iter.conicWeight()); 249 PathParameterf(pathID, GR_GL_PATH_STROKE_WIDTH, SkScalarToFloat(stroke.getWidth()))); 251 PathParameterf(pathID, GR_GL_PATH_MITER_LIMIT, SkScalarToFloat(stroke.getMiter())));
|
/external/skia/src/effects/gradients/ |
SkTwoPointConicalGradient.cpp | 83 fCenterX = SkScalarToFloat(center0.fX); 84 fCenterY = SkScalarToFloat(center0.fY); 85 fDCenterX = SkScalarToFloat(center1.fX) - fCenterX; 86 fDCenterY = SkScalarToFloat(center1.fY) - fCenterY; 87 fRadius = SkScalarToFloat(rad0); 88 fDRadius = SkScalarToFloat(rad1) - fRadius; 100 , fRelX(SkScalarToFloat(fx) - rec.fCenterX) 101 , fRelY(SkScalarToFloat(fy) - rec.fCenterY) 102 , fIncX(SkScalarToFloat(dfx)) 103 , fIncY(SkScalarToFloat(dfy) [all...] |
SkTwoPointConicalGradient_gpu.cpp | 298 SkScalarToFloat(radius0), 299 SkScalarToFloat(SkScalarMul(radius0, radius0)), 300 SkScalarToFloat(diffRadius) 572 SkScalarToFloat(focal), 573 SkScalarToFloat(oneMinus2F), 758 pdman.set1f(fFocalUni, SkScalarToFloat(focal)); [all...] |
/external/skia/samplecode/ |
SampleAnimBlur.cpp | 20 t *= SkScalarToFloat(2 * SK_ScalarPI) / periodInSec;
|
SampleDegenerateTwoPtRadials.cpp | 73 txt.appendf("gap at \"tangent\" pt = %f", SkScalarToFloat(delta));
|
/external/skia/src/utils/win/ |
SkDWriteGeometrySink.cpp | 116 D2D1_POINT_2F prevPt = { SkScalarToFloat(lastPt.fX), SkScalarToFloat(lastPt.fY) };
|
/external/skia/bench/ |
MorphologyBench.cpp | 42 fName.printf("morph_%.2f_%s", SkScalarToFloat(rad), name);
|
BlurRectBench.cpp | 83 name.printf("blurrect_direct_%.2f", SkScalarToFloat(rad)); 135 name.printf("blurrect_boxfilter_%.2f", SkScalarToFloat(rad)); 163 name.printf("blurrect_gaussian_%.2f", SkScalarToFloat(rad));
|
BlurBench.cpp | 45 fName.printf("blur_%.2f_%s_%s", SkScalarToFloat(rad), name, quality);
|
/external/skia/src/gpu/effects/ |
GrTextureDomain.cpp | 154 SkScalarToFloat(textureDomain.domain().left()), 155 SkScalarToFloat(textureDomain.domain().top()), 156 SkScalarToFloat(textureDomain.domain().right()), 157 SkScalarToFloat(textureDomain.domain().bottom())
|
GrMatrixConvolutionEffect.cpp | 150 fGain(SkScalarToFloat(gain)), 151 fBias(SkScalarToFloat(bias) / 255.0f), 156 fKernel[i] = SkScalarToFloat(kernel[i]); 200 float sigmaXDenom = 1.0f / (2.0f * SkScalarToFloat(SkScalarSquare(sigmaX))); 201 float sigmaYDenom = 1.0f / (2.0f * SkScalarToFloat(SkScalarSquare(sigmaY)));
|
/external/skia/src/ports/ |
SkScalerContext_win_dw.cpp | 233 fXform.m11 = SkScalarToFloat(fSkXform.getScaleX()); 234 fXform.m12 = SkScalarToFloat(fSkXform.getSkewY()); 235 fXform.m21 = SkScalarToFloat(fSkXform.getSkewX()); 236 fXform.m22 = SkScalarToFloat(fSkXform.getScaleY()); 240 fGsA.m11 = SkScalarToFloat(GsA.get(SkMatrix::kMScaleX)); 241 fGsA.m12 = SkScalarToFloat(GsA.get(SkMatrix::kMSkewY)); // This should be ~0. 242 fGsA.m21 = SkScalarToFloat(GsA.get(SkMatrix::kMSkewX)); 243 fGsA.m22 = SkScalarToFloat(GsA.get(SkMatrix::kMScaleY)); 416 run.fontEmSize = SkScalarToFloat(fTextSizeRender); 673 run.fontEmSize = SkScalarToFloat(fTextSizeRender) [all...] |