HomeSort by relevance Sort by last modified time
    Searched refs:fScale (Results 1 - 24 of 24) sorted by null

  /external/skia/src/utils/
SkUnitMappers.cpp 16 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/
SkUnitMappers.cpp 13 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/
SkTextToPathIter.h 23 SkScalar getPathScale() const { return fScale; }
38 SkScalar fScale;
SkBlitter_RGB16.cpp 69 unsigned fScale;
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...]
SkPaint.cpp     [all...]
  /external/skia/include/effects/
SkTestImageFilters.h 30 SkDownSampleImageFilter(SkScalar scale) : INHERITED(0), fScale(scale) {}
42 SkScalar fScale;
SkBicubicImageFilter.h 49 SkSize fScale;
SkDisplacementMapEffect.h 48 SkScalar fScale;
  /external/skia/include/utils/
SkUnitMappers.h 31 SkFract fScale; // computed from fSegments
  /external/skia/legacy/include/utils/
SkUnitMappers.h 30 SkFract fScale; // computed from fSegments
  /external/skia/src/effects/
SkTestImageFilters.cpp 74 SkScalar scale = fScale;
124 buffer.writeScalar(fScale);
128 fScale = buffer.readScalar();
SkDisplacementMapEffect.cpp 143 , 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;
306 fScale,
327 , fScale(scale) {
341 fScale == s.fScale;
    [all...]
SkBicubicImageFilter.cpp 27 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/
SkDraw.h 136 SkScalar getPathScale() const { return fScale; }
143 SkScalar fScale;
  /external/skia/legacy/include/effects/
SkTestImageFilters.h 135 SkDownSampleImageFilter(SkScalar scale) : fScale(scale) {}
151 SkScalar fScale;
  /external/skia/bench/
BitmapBench.cpp 188 bool fScale;
199 , fScale(addScale), fRotate(addRotate), fFilter(addFilter) {
206 if (fScale)
218 if (fScale) {
  /external/skia/legacy/src/ports/
SkFontHost_win.cpp 429 SkScalar fScale; // to get from canonical size to real size
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 * otm.otmTextMetrics.tmDescent
    [all...]
  /external/skia/src/ports/
SkFontHost_win.cpp 558 SkScalar fScale; // to get from canonical size to real size
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 * otm.otmDescent
    [all...]
  /external/skia/legacy/src/core/
SkBlitter_RGB16.cpp 69 unsigned fScale;
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...]
SkPaint.cpp     [all...]
  /external/skia/legacy/src/effects/
SkTestImageFilters.cpp 341 SkScalar scale = fScale;
391 buffer.writeScalar(fScale);
395 fScale = buffer.readScalar();
SkGradientShader.cpp 189 uint32_t fScale; // (1 << 24) / range
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);
    [all...]
  /external/skia/src/effects/gradients/
SkGradientShader.cpp 81 // 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);
SkGradientShaderPriv.h 143 uint32_t fScale; // (1 << 24) / range

Completed in 844 milliseconds