/external/skia/src/utils/ |
D | SkUnitMappers.cpp | 16 fScale = 0; in SK_DEFINE_INST_COUNT() 22 fScale = SK_Fract1 / (segments - 1); in SK_DEFINE_INST_COUNT() 28 x = x * fScale >> 14; in mapUnit16() 36 fScale = rb.read32(); in SkDiscreteMapper() 43 wb.write32(fScale); in flatten()
|
/external/skia/legacy/src/utils/ |
D | SkUnitMappers.cpp | 13 fScale = 0; in SkDiscreteMapper() 19 fScale = SK_Fract1 / (segments - 1); in SkDiscreteMapper() 25 x = x * fScale >> 14; in mapUnit16() 33 fScale = rb.readU32(); in SkDiscreteMapper() 48 wb.write32(fScale); in flatten()
|
/external/skia/src/effects/ |
D | SkDisplacementMapEffect.cpp | 143 , fScale(scale) in SkDisplacementMapEffect() 155 fScale = buffer.readScalar(); in SkDisplacementMapEffect() 162 buffer.writeScalar(fScale); in flatten() 193 computeDisplacement(fXChannelSelector, fYChannelSelector, fScale, dst, &displ, &color); in onFilterImage() 253 SkScalar scale() const { return fScale; } in scale() 273 SkScalar fScale; member in GrDisplacementMapEffect 306 fScale, in filterImageGPU() 327 , fScale(scale) { in GrDisplacementMapEffect() 341 fScale == s.fScale; in onIsEqual()
|
D | SkBicubicImageFilter.cpp | 27 fScale(scale) { in SkBicubicImageFilter() 47 fScale.fWidth = buffer.readScalar(); in SkBicubicImageFilter() 48 fScale.fHeight = buffer.readScalar(); in SkBicubicImageFilter() 54 buffer.writeScalar(fScale.fWidth); in flatten() 55 buffer.writeScalar(fScale.fHeight); in flatten() 91 SkRect dstRect = SkRect::MakeWH(SkScalarMul(SkIntToScalar(src.width()), fScale.fWidth), in onFilterImage() 92 SkScalarMul(SkIntToScalar(src.height()), fScale.fHeight)); in onFilterImage() 343 SkRect dstRect = SkRect::MakeWH(srcBM.width() * fScale.fWidth, in filterImageGPU() 344 srcBM.height() * fScale.fHeight); in filterImageGPU()
|
D | SkTestImageFilters.cpp | 74 SkScalar scale = fScale; in onFilterImage() 124 buffer.writeScalar(fScale); in flatten() 128 fScale = buffer.readScalar(); in SkDownSampleImageFilter()
|
/external/skia/src/core/ |
D | SkTextToPathIter.h | 23 SkScalar getPathScale() const { return fScale; } in getPathScale() 38 SkScalar fScale; variable
|
D | SkBlitter_RGB16.cpp | 69 unsigned fScale; member in SkRGB16_Blitter 528 fScale = SkAlpha255To256(SkColorGetA(color)); in SkRGB16_Blitter() 542 fColor16 = SkPackRGB16( SkAlphaMul(r, fScale) >> (8 - SK_R16_BITS), in SkRGB16_Blitter() 543 SkAlphaMul(g, fScale) >> (8 - SK_G16_BITS), in SkRGB16_Blitter() 544 SkAlphaMul(b, fScale) >> (8 - SK_B16_BITS)); in SkRGB16_Blitter() 548 if (!fDoDither && 256 == fScale) { in justAnOpaqueColor() 587 unsigned scale = fScale; in blitAntiH() 636 SkRGB16_BlendBW(fDevice, mask, clip, 256 - fScale, fColor16); in blitMask() 648 unsigned scale256 = fScale; in blitMask() 668 unsigned scale5 = SkAlpha255To256(alpha) * fScale >> (8 + 3); in blitV()
|
D | SkPaint.cpp | 2306 fScale = paint.getTextSize() / SkPaint::kCanonicalTextSizeForPaths; in SkTextToPathIter() 2308 fPaint.setStrokeWidth(SkScalarDiv(fPaint.getStrokeWidth(), fScale)); in SkTextToPathIter() 2311 fScale = SK_Scalar1; in SkTextToPathIter() 2338 &count, NULL), fScale); in SkTextToPathIter() 2361 fXPos += SkScalarMul(SkFixedToScalar(fPrevAdvance + fAutoKern.adjust(glyph)), fScale); in next()
|
/external/skia/include/effects/ |
D | SkTestImageFilters.h | 30 SkDownSampleImageFilter(SkScalar scale) : INHERITED(0), fScale(scale) {} in SkDownSampleImageFilter() 42 SkScalar fScale;
|
D | SkBicubicImageFilter.h | 49 SkSize fScale;
|
D | SkDisplacementMapEffect.h | 48 SkScalar fScale; variable
|
/external/skia/legacy/src/ports/ |
D | SkFontHost_win.cpp | 429 SkScalar fScale; // to get from canonical size to real size member in SkScalerContext_Windows 484 fScale = fRec.fTextSize / gCanonicalTextSize; in SkScalerContext_Windows() 486 fXform.eM11 = mul2float(fScale, fRec.fPost2x2[0][0]); in SkScalerContext_Windows() 487 fXform.eM12 = mul2float(fScale, fRec.fPost2x2[1][0]); in SkScalerContext_Windows() 488 fXform.eM21 = mul2float(fScale, fRec.fPost2x2[0][1]); in SkScalerContext_Windows() 489 fXform.eM22 = mul2float(fScale, fRec.fPost2x2[1][1]); in SkScalerContext_Windows() 669 mx->fTop = -fScale * otm.otmTextMetrics.tmAscent; in generateFontMetrics() 670 mx->fAscent = -fScale * otm.otmAscent; in generateFontMetrics() 671 mx->fDescent = -fScale * otm.otmDescent; in generateFontMetrics() 672 mx->fBottom = fScale * otm.otmTextMetrics.tmDescent; in generateFontMetrics() [all …]
|
/external/skia/src/ports/ |
D | SkFontHost_win.cpp | 558 SkScalar fScale; // to get from canonical size to real size member in SkScalerContext_Windows 677 fScale = fRec.fTextSize / gCanonicalTextSize; in SkScalerContext_Windows() 679 fXform.eM11 = mul2float(fScale, fRec.fPost2x2[0][0]); in SkScalerContext_Windows() 680 fXform.eM12 = mul2float(fScale, fRec.fPost2x2[1][0]); in SkScalerContext_Windows() 681 fXform.eM21 = mul2float(fScale, fRec.fPost2x2[0][1]); in SkScalerContext_Windows() 682 fXform.eM22 = mul2float(fScale, fRec.fPost2x2[1][1]); in SkScalerContext_Windows() 698 fScale = SK_Scalar1; in SkScalerContext_Windows() 913 mx->fTop = -fScale * otm.otmTextMetrics.tmAscent; in generateFontMetrics() 914 mx->fAscent = -fScale * otm.otmAscent; in generateFontMetrics() 915 mx->fDescent = -fScale * otm.otmDescent; in generateFontMetrics() [all …]
|
/external/skia/bench/ |
D | BitmapBench.cpp | 188 bool fScale; member in FilterBitmapBench 199 , fScale(addScale), fRotate(addRotate), fFilter(addFilter) { in FilterBitmapBench() 206 if (fScale) in onGetName() 218 if (fScale) { in onDraw()
|
/external/skia/legacy/include/core/ |
D | SkDraw.h | 136 SkScalar getPathScale() const { return fScale; } in getPathScale() 143 SkScalar fScale; variable
|
/external/skia/legacy/src/core/ |
D | SkBlitter_RGB16.cpp | 69 unsigned fScale; member in SkRGB16_Blitter 528 fScale = SkAlpha255To256(SkColorGetA(color)); in SkRGB16_Blitter() 542 fColor16 = SkPackRGB16( SkAlphaMul(r, fScale) >> (8 - SK_R16_BITS), in SkRGB16_Blitter() 543 SkAlphaMul(g, fScale) >> (8 - SK_G16_BITS), in SkRGB16_Blitter() 544 SkAlphaMul(b, fScale) >> (8 - SK_B16_BITS)); in SkRGB16_Blitter() 548 if (!fDoDither && 256 == fScale) { in justAnOpaqueColor() 587 unsigned scale = fScale; in blitAntiH() 636 SkRGB16_BlendBW(fDevice, mask, clip, 256 - fScale, fColor16); in blitMask() 648 unsigned scale256 = fScale; in blitMask() 668 unsigned scale5 = SkAlpha255To256(alpha) * fScale >> (8 + 3); in blitV()
|
D | SkPaint.cpp | 2107 fScale = paint.getTextSize() / SkPaint::kCanonicalTextSizeForPaths; in SkTextToPathIter() 2109 fPaint.setStrokeWidth(SkScalarDiv(fPaint.getStrokeWidth(), fScale)); in SkTextToPathIter() 2112 fScale = SK_Scalar1; in SkTextToPathIter() 2139 &count, NULL), fScale); in SkTextToPathIter() 2162 fXPos += SkScalarMul(SkFixedToScalar(fPrevAdvance + fAutoKern.adjust(glyph)), fScale); in next()
|
/external/skia/legacy/include/effects/ |
D | SkTestImageFilters.h | 135 SkDownSampleImageFilter(SkScalar scale) : fScale(scale) {} in SkDownSampleImageFilter() 151 SkScalar fScale;
|
/external/skia/include/utils/ |
D | SkUnitMappers.h | 31 SkFract fScale; // computed from fSegments variable
|
/external/skia/legacy/include/utils/ |
D | SkUnitMappers.h | 30 SkFract fScale; // computed from fSegments variable
|
/external/skia/legacy/src/effects/ |
D | SkTestImageFilters.cpp | 341 SkScalar scale = fScale; in onFilterImage() 391 buffer.writeScalar(fScale); in flatten() 395 fScale = buffer.readScalar(); in SkDownSampleImageFilter()
|
D | SkGradientShader.cpp | 189 uint32_t fScale; // (1 << 24) / range member 330 recs->fScale = (1 << 24) / (curr - prev); in Gradient_Shader() 332 recs->fScale = 0; // ignore this segment in Gradient_Shader() 344 recs->fScale = scale; in Gradient_Shader() 380 recs[i].fScale = buffer.readU32(); in Gradient_Shader() 417 buffer.write32(recs[i].fScale); in flatten()
|
/external/skia/src/effects/gradients/ |
D | SkGradientShader.cpp | 110 recs->fScale = (1 << 24) / (curr - prev); in SkGradientShaderBase() 112 recs->fScale = 0; // ignore this segment in SkGradientShaderBase() 124 recs->fScale = scale; in SkGradientShaderBase() 160 recs[i].fScale = buffer.readUInt(); in SkGradientShaderBase() 196 buffer.writeUInt(recs[i].fScale); in flatten()
|
D | SkGradientShaderPriv.h | 143 uint32_t fScale; // (1 << 24) / range member
|