Searched refs:fScale (Results 1 - 24 of 24) sorted by relevance

/external/skia/src/utils/
H A DSkUnitMappers.cpp16 fScale = 0;
22 fScale = SK_Fract1 / (segments - 1);
28 x = x * fScale >> 14;
36 fScale = rb.read32();
43 wb.write32(fScale);
/external/skia/legacy/src/utils/
H A DSkUnitMappers.cpp13 fScale = 0;
19 fScale = SK_Fract1 / (segments - 1);
25 x = x * fScale >> 14;
33 fScale = rb.readU32();
48 wb.write32(fScale);
/external/skia/src/core/
H A DSkTextToPathIter.h23 SkScalar getPathScale() const { return fScale; }
38 SkScalar fScale; member in class:SkTextToPathIter
H A DSkBlitter_RGB16.cpp69 unsigned fScale; member in class:SkRGB16_Blitter
70 uint16_t fColor16; // already scaled by fScale
528 fScale = SkAlpha255To256(SkColorGetA(color));
542 fColor16 = SkPackRGB16( SkAlphaMul(r, fScale) >> (8 - SK_R16_BITS),
543 SkAlphaMul(g, fScale) >> (8 - SK_G16_BITS),
544 SkAlphaMul(b, fScale) >> (8 - SK_B16_BITS));
548 if (!fDoDither && 256 == fScale) {
587 unsigned scale = fScale;
636 SkRGB16_BlendBW(fDevice, mask, clip, 256 - fScale, fColor16);
648 unsigned scale256 = fScale;
[all...]
H A DSkPaint.cpp2306 fScale = paint.getTextSize() / SkPaint::kCanonicalTextSizeForPaths;
2308 fPaint.setStrokeWidth(SkScalarDiv(fPaint.getStrokeWidth(), fScale));
2311 fScale = SK_Scalar1;
2338 &count, NULL), fScale);
2361 fXPos += SkScalarMul(SkFixedToScalar(fPrevAdvance + fAutoKern.adjust(glyph)), fScale);
/external/skia/include/utils/
H A DSkUnitMappers.h31 SkFract fScale; // computed from fSegments member in class:SkDiscreteMapper
/external/skia/legacy/include/utils/
H A DSkUnitMappers.h30 SkFract fScale; // computed from fSegments member in class:SkDiscreteMapper
/external/skia/include/effects/
H A DSkTestImageFilters.h30 SkDownSampleImageFilter(SkScalar scale) : INHERITED(0), fScale(scale) {}
42 SkScalar fScale; member in class:SkDownSampleImageFilter
H A DSkBicubicImageFilter.h49 SkSize fScale; member in class:SkBicubicImageFilter
H A DSkDisplacementMapEffect.h48 SkScalar fScale; member in class:SkDisplacementMapEffect
/external/skia/src/effects/
H A DSkTestImageFilters.cpp74 SkScalar scale = fScale;
124 buffer.writeScalar(fScale);
128 fScale = buffer.readScalar();
H A DSkDisplacementMapEffect.cpp143 , fScale(scale)
155 fScale = buffer.readScalar();
162 buffer.writeScalar(fScale);
193 computeDisplacement(fXChannelSelector, fYChannelSelector, fScale, dst, &displ, &color);
253 SkScalar scale() const { return fScale; }
273 SkScalar fScale; member in class:GrDisplacementMapEffect
306 fScale,
327 , fScale(scale) {
341 fScale == s.fScale;
[all...]
H A DSkBicubicImageFilter.cpp27 fScale(scale) {
47 fScale.fWidth = buffer.readScalar();
48 fScale.fHeight = buffer.readScalar();
54 buffer.writeScalar(fScale.fWidth);
55 buffer.writeScalar(fScale.fHeight);
91 SkRect dstRect = SkRect::MakeWH(SkScalarMul(SkIntToScalar(src.width()), fScale.fWidth),
92 SkScalarMul(SkIntToScalar(src.height()), fScale.fHeight));
343 SkRect dstRect = SkRect::MakeWH(srcBM.width() * fScale.fWidth,
344 srcBM.height() * fScale.fHeight);
/external/skia/legacy/include/core/
H A DSkDraw.h136 SkScalar getPathScale() const { return fScale; }
143 SkScalar fScale; member in class:SkTextToPathIter
/external/skia/legacy/include/effects/
H A DSkTestImageFilters.h135 SkDownSampleImageFilter(SkScalar scale) : fScale(scale) {}
151 SkScalar fScale; member in class:SkDownSampleImageFilter
/external/skia/bench/
H A DBitmapBench.cpp188 bool fScale; member in class:FilterBitmapBench
199 , fScale(addScale), fRotate(addRotate), fFilter(addFilter) {
206 if (fScale)
218 if (fScale) {
/external/skia/legacy/src/ports/
H A DSkFontHost_win.cpp429 SkScalar fScale; // to get from canonical size to real size member in class:SkScalerContext_Windows
484 fScale = fRec.fTextSize / gCanonicalTextSize;
486 fXform.eM11 = mul2float(fScale, fRec.fPost2x2[0][0]);
487 fXform.eM12 = mul2float(fScale, fRec.fPost2x2[1][0]);
488 fXform.eM21 = mul2float(fScale, fRec.fPost2x2[0][1]);
489 fXform.eM22 = mul2float(fScale, fRec.fPost2x2[1][1]);
669 mx->fTop = -fScale * otm.otmTextMetrics.tmAscent;
670 mx->fAscent = -fScale * otm.otmAscent;
671 mx->fDescent = -fScale * otm.otmDescent;
672 mx->fBottom = fScale * ot
[all...]
/external/skia/src/ports/
H A DSkFontHost_win.cpp558 SkScalar fScale; // to get from canonical size to real size member in class:SkScalerContext_Windows
677 fScale = fRec.fTextSize / gCanonicalTextSize;
679 fXform.eM11 = mul2float(fScale, fRec.fPost2x2[0][0]);
680 fXform.eM12 = mul2float(fScale, fRec.fPost2x2[1][0]);
681 fXform.eM21 = mul2float(fScale, fRec.fPost2x2[0][1]);
682 fXform.eM22 = mul2float(fScale, fRec.fPost2x2[1][1]);
698 fScale = SK_Scalar1;
913 mx->fTop = -fScale * otm.otmTextMetrics.tmAscent;
914 mx->fAscent = -fScale * otm.otmAscent;
915 mx->fDescent = -fScale * ot
[all...]
/external/skia/legacy/src/core/
H A DSkBlitter_RGB16.cpp69 unsigned fScale; member in class:SkRGB16_Blitter
70 uint16_t fColor16; // already scaled by fScale
528 fScale = SkAlpha255To256(SkColorGetA(color));
542 fColor16 = SkPackRGB16( SkAlphaMul(r, fScale) >> (8 - SK_R16_BITS),
543 SkAlphaMul(g, fScale) >> (8 - SK_G16_BITS),
544 SkAlphaMul(b, fScale) >> (8 - SK_B16_BITS));
548 if (!fDoDither && 256 == fScale) {
587 unsigned scale = fScale;
636 SkRGB16_BlendBW(fDevice, mask, clip, 256 - fScale, fColor16);
648 unsigned scale256 = fScale;
[all...]
H A DSkPaint.cpp2107 fScale = paint.getTextSize() / SkPaint::kCanonicalTextSizeForPaths;
2109 fPaint.setStrokeWidth(SkScalarDiv(fPaint.getStrokeWidth(), fScale));
2112 fScale = SK_Scalar1;
2139 &count, NULL), fScale);
2162 fXPos += SkScalarMul(SkFixedToScalar(fPrevAdvance + fAutoKern.adjust(glyph)), fScale);
/external/skia/legacy/src/effects/
H A DSkTestImageFilters.cpp341 SkScalar scale = fScale;
391 buffer.writeScalar(fScale);
395 fScale = buffer.readScalar();
H A DSkGradientShader.cpp189 uint32_t fScale; // (1 << 24) / range member in struct:Gradient_Shader::Rec
301 // recs->fScale = 0; // unused;
330 recs->fScale = (1 << 24) / (curr - prev);
332 recs->fScale = 0; // ignore this segment
344 recs->fScale = scale;
380 recs[i].fScale = buffer.readU32();
417 buffer.write32(recs[i].fScale);
/external/skia/src/effects/gradients/
H A DSkGradientShader.cpp81 // recs->fScale = 0; // unused;
110 recs->fScale = (1 << 24) / (curr - prev);
112 recs->fScale = 0; // ignore this segment
124 recs->fScale = scale;
160 recs[i].fScale = buffer.readUInt();
196 buffer.writeUInt(recs[i].fScale);
H A DSkGradientShaderPriv.h143 uint32_t fScale; // (1 << 24) / range member in struct:SkGradientShaderBase::Rec

Completed in 456 milliseconds