/external/skia/src/effects/gradients/ |
SkTwoPointConicalGradient.cpp | 66 fCenterX = SkScalarToFloat(center0.fX); 67 fCenterY = SkScalarToFloat(center0.fY); 68 fDCenterX = SkScalarToFloat(center1.fX) - fCenterX; 69 fDCenterY = SkScalarToFloat(center1.fY) - fCenterY; 70 fRadius = SkScalarToFloat(rad0); 71 fDRadius = SkScalarToFloat(rad1) - fRadius; 79 fRelX = SkScalarToFloat(fx) - fCenterX; 80 fRelY = SkScalarToFloat(fy) - fCenterY; 81 fIncX = SkScalarToFloat(dfx); 82 fIncY = SkScalarToFloat(dfy) [all...] |
/frameworks/base/core/jni/android/graphics/ |
Camera.cpp | 62 return SkScalarToFloat(v->getCameraLocationX()); 67 return SkScalarToFloat(v->getCameraLocationY()); 72 return SkScalarToFloat(v->getCameraLocationZ()); 90 return SkScalarToFloat(dot);
|
Paint.cpp | 190 return SkScalarToFloat(GraphicsJNI::getNativePaint(env, paint)->getStrokeWidth()); 200 return SkScalarToFloat(GraphicsJNI::getNativePaint(env, paint)->getStrokeMiter()); 316 return SkScalarToFloat(GraphicsJNI::getNativePaint(env, paint)->getTextSize()); 326 return SkScalarToFloat(GraphicsJNI::getNativePaint(env, paint)->getTextScaleX()); 336 return SkScalarToFloat(GraphicsJNI::getNativePaint(env, paint)->getTextSkewX()); 348 return SkScalarToFloat(metrics.fAscent); 355 return SkScalarToFloat(metrics.fDescent); 365 env->SetFloatField(metricsObj, gFontMetrics_fieldID.top, SkScalarToFloat(metrics.fTop)); 366 env->SetFloatField(metricsObj, gFontMetrics_fieldID.ascent, SkScalarToFloat(metrics.fAscent)); 367 env->SetFloatField(metricsObj, gFontMetrics_fieldID.descent, SkScalarToFloat(metrics.fDescent)) [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/ |
NativeImageSkia.cpp | 344 SkScalarToFloat(srcRect.width()), SkScalarToFloat(srcRect.height()), 345 SkScalarToFloat(destRectTarget.width()), SkScalarToFloat(destRectTarget.height())); 422 float destBitmapWidth = SkScalarToFloat(destRectTarget.width()); 423 float destBitmapHeight = SkScalarToFloat(destRectTarget.height());
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
Path.cpp | 103 dst[i].setX(SkScalarToFloat(src[i].fX)); 104 dst[i].setY(SkScalarToFloat(src[i].fY)); 161 return SkScalarToFloat(length); 191 normal = rad2deg(SkScalarToFloat(SkScalarATan2(tangent.fY, tangent.fX))); 192 point = FloatPoint(SkScalarToFloat(position.fX), SkScalarToFloat(position.fY)); 225 result.setX(SkScalarToFloat(skResult.fX)); 226 result.setY(SkScalarToFloat(skResult.fY));
|
/external/chromium_org/third_party/skia/src/utils/win/ |
SkDWriteGeometrySink.cpp | 115 D2D1_POINT_2F prevPt = { SkScalarToFloat(lastPt.fX), SkScalarToFloat(lastPt.fY) };
|
/external/skia/src/utils/win/ |
SkDWriteGeometrySink.cpp | 115 D2D1_POINT_2F prevPt = { SkScalarToFloat(lastPt.fX), SkScalarToFloat(lastPt.fY) };
|
/external/chromium_org/third_party/skia/src/animator/ |
SkAnimateSet.cpp | 42 SkDebugf("dur=\"%g\" ", SkScalarToFloat(SkScalarDiv(dur,1000)));
|
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)); 380 SkDebugf(" %s=\"%g\" ", info->fName, SkScalarToFloat(SkScalarDiv(op.fS32, 1000)));
|
SkDump.cpp | 70 SkDebugf("%g\" />\n", SkScalarToFloat(value.fOperand.fScalar));
|
/external/chromium_org/third_party/skia/src/gpu/effects/ |
GrTextureDomain.cpp | 120 SkScalarToFloat(textureDomain.domain().left()), 121 SkScalarToFloat(textureDomain.domain().top()), 122 SkScalarToFloat(textureDomain.domain().right()), 123 SkScalarToFloat(textureDomain.domain().bottom())
|
/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));
|
/external/skia/src/animator/ |
SkAnimateSet.cpp | 42 SkDebugf("dur=\"%g\" ", SkScalarToFloat(SkScalarDiv(dur,1000)));
|
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)); 380 SkDebugf(" %s=\"%g\" ", info->fName, SkScalarToFloat(SkScalarDiv(op.fS32, 1000)));
|
/external/skia/src/gpu/effects/ |
GrTextureDomain.cpp | 120 SkScalarToFloat(textureDomain.domain().left()), 121 SkScalarToFloat(textureDomain.domain().top()), 122 SkScalarToFloat(textureDomain.domain().right()), 123 SkScalarToFloat(textureDomain.domain().bottom())
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/ |
SimpleFontDataSkia.cpp | 101 if (platformData().fontRenderStyle().useSubpixelPositioning && descent < SkScalarToFloat(metrics.fDescent) && ascent >= 1) { 121 float lineGap = SkScalarToFloat(metrics.fLeading); 269 return SkScalarToFloat(width);
|
/external/skia/gm/ |
gammatext.cpp | 80 CGContextSetFontSize(cg, SkScalarToFloat(paint.getTextSize())); 179 cgDrawText(cg, text, len, SkScalarToFloat(x), 180 static_cast<float>(HEIGHT) - SkScalarToFloat(y),
|
/external/chromium_org/third_party/skia/src/core/ |
SkPicturePlayback.cpp | [all...] |
SkMaskGamma.cpp | 88 const float adjustedContrast = SkScalarToFloat(contrast) * linDst;
|
/external/skia/src/core/ |
SkPicturePlayback.cpp | [all...] |
/external/chromium_org/third_party/skia/src/effects/ |
SkArithmeticMode.cpp | 413 *effect = GrArithmeticEffect::Create(SkScalarToFloat(fK[0]), 414 SkScalarToFloat(fK[1]), 415 SkScalarToFloat(fK[2]), 416 SkScalarToFloat(fK[3]),
|
SkGpuBlurUtils.cpp | 80 bounds[0] = SkScalarToFloat(srcRect.left()) / texture->width(); 81 bounds[1] = SkScalarToFloat(srcRect.right()) / texture->width(); 90 bounds[0] = SkScalarToFloat(srcRect.top()) / texture->height(); 91 bounds[1] = SkScalarToFloat(srcRect.bottom()) / texture->height();
|
/external/chromium_org/third_party/skia/src/utils/ |
SkNinePatch.cpp | 182 SkScalarToFloat(bounds.width()), SkScalarToFloat(bounds.height()), 184 SkScalarToFloat(stretchX), SkScalarToFloat(stretchY));
|
/external/chromium_org/third_party/skia/src/views/ |
SkEvent.cpp | 178 #ifndef SkScalarToFloat 179 #define SkScalarToFloat(x) ((x) / 65536.f) 213 SkDebugf("%f", SkScalarToFloat(values[0])); 215 SkDebugf(", %f", SkScalarToFloat(values[i]));
|