/external/chromium_org/third_party/skia/src/effects/ |
SkBlurImageFilter.cpp | 123 float pi = SkScalarToFloat(SK_ScalarPI); 124 int d = static_cast<int>(floorf(SkScalarToFloat(s) * 3.0f * sqrtf(2.0f * pi) / 4.0f + 0.5f));
|
SkDisplacementMapEffect.cpp | 534 uman.set2f(fScaleUni, SkScalarToFloat(scaleX), 536 SkScalarToFloat(scaleY) : SkScalarToFloat(-scaleY));
|
SkMatrixConvolutionImageFilter.cpp | 572 fGain(SkScalarToFloat(gain)), 573 fBias(SkScalarToFloat(bias) / 255.0f), 578 fKernel[i] = SkScalarToFloat(kernel[i]);
|
/external/skia/include/core/ |
SkScalar.h | 80 #define SkScalarToFloat(n) (n) 202 #define SkScalarToFloat(n) SkFixedToFloat(n)
|
/external/skia/src/effects/ |
SkBlurImageFilter.cpp | 123 float pi = SkScalarToFloat(SK_ScalarPI); 124 int d = static_cast<int>(floorf(SkScalarToFloat(s) * 3.0f * sqrtf(2.0f * pi) / 4.0f + 0.5f));
|
SkDisplacementMapEffect.cpp | 534 uman.set2f(fScaleUni, SkScalarToFloat(scaleX), 536 SkScalarToFloat(scaleY) : SkScalarToFloat(-scaleY));
|
SkMatrixConvolutionImageFilter.cpp | 572 fGain(SkScalarToFloat(gain)), 573 fBias(SkScalarToFloat(bias) / 255.0f), 578 fKernel[i] = SkScalarToFloat(kernel[i]);
|
/frameworks/base/core/jni/android/graphics/ |
Graphics.cpp | 246 env->SetFloatField(obj, gRectF_leftFieldID, SkScalarToFloat(r.fLeft)); 247 env->SetFloatField(obj, gRectF_topFieldID, SkScalarToFloat(r.fTop)); 248 env->SetFloatField(obj, gRectF_rightFieldID, SkScalarToFloat(r.fRight)); 249 env->SetFloatField(obj, gRectF_bottomFieldID, SkScalarToFloat(r.fBottom)); 282 env->SetFloatField(obj, gPointF_xFieldID, SkScalarToFloat(r.fX)); 283 env->SetFloatField(obj, gPointF_yFieldID, SkScalarToFloat(r.fY));
|
Matrix.cpp | 295 dstArray[i << 1] = SkScalarToFloat(dstPt[i].fX); 296 dstArray[(i << 1) + 1] = SkScalarToFloat(dstPt[i].fY); 317 return SkScalarToFloat(matrix->mapRadius(SkFloatToScalar(radius)));
|
/external/chromium_org/third_party/skia/src/animator/ |
SkAnimateBase.cpp | 94 SkDebugf("begin=\"%g\" ", SkScalarToFloat(SkScalarDiv(begin,1000)));
|
SkScriptDecompile.cpp | 158 SkDebugf(" scalar: %g", SkScalarToFloat(scalar));
|
/external/chromium_org/third_party/skia/src/opts/ |
SkBitmapFilter_opts_SSE2.cpp | 73 float yweight = SkScalarToFloat(s.getBitmapFilter()->lookupScalar(srcPt.fY - src_y)); 76 float xweight = SkScalarToFloat(s.getBitmapFilter()->lookupScalar(srcPt.fX - src_x)); 140 float yweight = SkScalarToFloat(s.getBitmapFilter()->lookupScalar(srcPt.fY - src_y)); 143 float xweight = SkScalarToFloat(s.getBitmapFilter()->lookupScalar(srcPt.fX - src_x));
|
/external/skia/src/animator/ |
SkAnimateBase.cpp | 94 SkDebugf("begin=\"%g\" ", SkScalarToFloat(SkScalarDiv(begin,1000)));
|
SkScriptDecompile.cpp | 158 SkDebugf(" scalar: %g", SkScalarToFloat(scalar));
|
/external/skia/src/opts/ |
SkBitmapFilter_opts_SSE2.cpp | 73 float yweight = SkScalarToFloat(s.getBitmapFilter()->lookupScalar(srcPt.fY - src_y)); 76 float xweight = SkScalarToFloat(s.getBitmapFilter()->lookupScalar(srcPt.fX - src_x)); 140 float yweight = SkScalarToFloat(s.getBitmapFilter()->lookupScalar(srcPt.fY - src_y)); 143 float xweight = SkScalarToFloat(s.getBitmapFilter()->lookupScalar(srcPt.fX - src_x));
|
/external/chromium_org/third_party/skia/src/ports/ |
SkFontHost_FreeType.cpp | 845 printf("========== strike [%g %g %g] [%g %g %g %g] hints %d format %d %s\n", SkScalarToFloat(fRec.fTextSize), 846 SkScalarToFloat(fRec.fPreScaleX), SkScalarToFloat(fRec.fPreSkewX), 847 SkScalarToFloat(fRec.fPost2x2[0][0]), SkScalarToFloat(fRec.fPost2x2[0][1]), 848 SkScalarToFloat(fRec.fPost2x2[1][0]), SkScalarToFloat(fRec.fPost2x2[1][1]), [all...] |
SkFontHost_win_dw.cpp | 722 fXform.m11 = SkScalarToFloat(fRec.fPost2x2[0][0]); 723 fXform.m12 = SkScalarToFloat(fRec.fPost2x2[1][0]); 724 fXform.m21 = SkScalarToFloat(fRec.fPost2x2[0][1]); 725 fXform.m22 = SkScalarToFloat(fRec.fPost2x2[1][1]); 729 fOffscreen.init(fTypeface->fDWriteFontFace.get(), fXform, SkScalarToFloat(fRec.fTextSize)); 804 run.fontEmSize = SkScalarToFloat(fRec.fTextSize); [all...] |
/external/skia/src/ports/ |
SkFontHost_FreeType.cpp | 907 printf("========== strike [%g %g %g] [%g %g %g %g] hints %d format %d %s\n", SkScalarToFloat(fRec.fTextSize), 908 SkScalarToFloat(fRec.fPreScaleX), SkScalarToFloat(fRec.fPreSkewX), 909 SkScalarToFloat(fRec.fPost2x2[0][0]), SkScalarToFloat(fRec.fPost2x2[0][1]), 910 SkScalarToFloat(fRec.fPost2x2[1][0]), SkScalarToFloat(fRec.fPost2x2[1][1]), [all...] |
SkFontHost_win_dw.cpp | 722 fXform.m11 = SkScalarToFloat(fRec.fPost2x2[0][0]); 723 fXform.m12 = SkScalarToFloat(fRec.fPost2x2[1][0]); 724 fXform.m21 = SkScalarToFloat(fRec.fPost2x2[0][1]); 725 fXform.m22 = SkScalarToFloat(fRec.fPost2x2[1][1]); 729 fOffscreen.init(fTypeface->fDWriteFontFace.get(), fXform, SkScalarToFloat(fRec.fTextSize)); 804 run.fontEmSize = SkScalarToFloat(fRec.fTextSize); [all...] |
/external/chromium_org/third_party/skia/src/gpu/gl/ |
GrGpuGL.cpp | [all...] |
/external/skia/src/gpu/gl/ |
GrGpuGL.cpp | [all...] |
/frameworks/base/libs/hwui/font/ |
Font.cpp | 309 float pathLength = SkScalarToFloat(measure.getLength()); 312 float textWidth = SkScalarToFloat(paint->measureText(text, len));
|
/external/chromium_org/third_party/skia/src/views/ |
SkTouchGesture.cpp | 193 const float curr = SkScalarToFloat(fGlobalM[0]);
|
/external/skia/src/views/ |
SkTouchGesture.cpp | 193 const float curr = SkScalarToFloat(fGlobalM[0]);
|
/external/skia/tests/ |
MathTest.cpp | 215 float x = SkScalarToFloat(p.fX); 216 float y = SkScalarToFloat(p.fY); 219 len /= SkScalarToFloat(targetLen);
|