Home
last modified time | relevance | path

Searched refs:fScale (Results 1 – 25 of 27) sorted by relevance

12

/external/skia/bench/
DSKPBench.cpp20 , fScale(scale) in SKPBench()
71 fSurfaces.top()->getCanvas()->scale(fScale, fScale); in onPerCanvasPreDraw()
115 trans.setTranslate(-fTileRects[j].fLeft/fScale, in drawMPDPicture()
116 -fTileRects[j].fTop/fScale); in drawMPDPicture()
129 const SkMatrix trans = SkMatrix::MakeTrans(-fTileRects[j].fLeft / fScale, in drawPicture()
130 -fTileRects[j].fTop / fScale); in drawPicture()
DPatchBench.cpp34 : fScale(scale) in PatchBench()
106 fScale.x(), fScale.y()); in onGetName()
127 canvas->scale(fScale.x(), fScale.y()); in onDraw()
150 SkVector fScale; member in PatchBench
DSKPBench.h43 const SkScalar fScale; variable
/external/skia/src/effects/
DSkDisplacementMapEffect.cpp187 , fScale(scale) in SkDisplacementMapEffect()
206 buffer.writeScalar(fScale); in flatten()
248 SkVector scale = SkVector::Make(fScale, fScale); in onFilterImage()
267 dst->outset(fScale * SK_ScalarHalf, fScale * SK_ScalarHalf); in computeFastBounds()
273 SkVector scale = SkVector::Make(fScale, fScale); in onFilterBounds()
287 str->appendf("scale: %f ", fScale); in toString()
362 const SkVector& scale() const { return fScale; } in scale()
388 SkVector fScale; member in GrDisplacementMapEffect
439 SkVector scale = SkVector::Make(fScale, fScale); in filterImageGPU()
487 , fScale(scale) { in GrDisplacementMapEffect()
[all …]
DSkTestImageFilters.cpp27 SkScalar scale = fScale; in onFilterImage()
81 buffer.writeScalar(fScale); in flatten()
/external/skia/samplecode/
DSampleFilterQuality.cpp132 AnimValue fScale, fAngle; member in FilterQualityView
142 fScale.set(1, SK_Scalar1 / 8, 1); in FilterQualityView()
169 case '3': fScale.inc(-SCALE_DELTA); this->inval(NULL); return true; in onQuery()
170 case '4': fScale.inc( SCALE_DELTA); this->inval(NULL); return true; in onQuery()
189 canvas->scale(fScale, fScale); in drawTheImage()
268 str.appendScalar(fScale); in onDrawContent()
DSampleVertices.cpp68 fScale = SK_Scalar1; in VerticesView()
88 SkScalar fScale; member in VerticesView
/external/skia/tests/
DPathOpsSkpClipTest.cpp175 fScale = 1; in init()
182 fScale = 1; in init()
200 if (fScale != 1) { in progress()
201 outStr.appendf(" scale=%d", fScale); in progress()
221 int fScale; member
481 fScale = 1; in testOne()
482 while (width / fScale > 32767 || height / fScale > 32767) { in testOne()
483 ++fScale; in testOne()
486 int dimX = SkScalarCeilToInt(width / fScale); in testOne()
487 int dimY = SkScalarCeilToInt(height / fScale); in testOne()
[all …]
/external/skia/gm/
Dlcdtext.cpp106 SkScalar fScale; in onDraw() member
120 ScaleAbout(canvas, rec[i].fScale, rec[i].fScale, loc.x(), loc.y()); in onDraw()
/external/skia/src/core/
DSkTextToPathIter.h23 SkScalar getPathScale() const { return fScale; } in getPathScale()
38 SkScalar fScale; variable
DSkBlitter_RGB16.cpp74 unsigned fScale; member in SkRGB16_Blitter
532 fScale = SkAlpha255To256(SkColorGetA(color)); in SkRGB16_Blitter()
546 fColor16 = SkPackRGB16( SkAlphaMul(r, fScale) >> (8 - SK_R16_BITS), in SkRGB16_Blitter()
547 SkAlphaMul(g, fScale) >> (8 - SK_G16_BITS), in SkRGB16_Blitter()
548 SkAlphaMul(b, fScale) >> (8 - SK_B16_BITS)); in SkRGB16_Blitter()
565 if (!fDoDither && 256 == fScale) { in justAnOpaqueColor()
585 unsigned scale = fScale; in blitAntiH()
634 SkRGB16_BlendBW(fDevice, mask, clip, 256 - fScale, fColor16); in blitMask()
646 unsigned scale256 = fScale; in blitMask()
666 unsigned scale5 = SkAlpha255To256(alpha) * fScale >> (8 + 3); in blitV()
DSkPictureShader.cpp37 , fScale(scale) { in BitmapShaderKey()
46 sizeof(fScale) + in BitmapShaderKey()
57 SkSize fScale; member
DSkMipMap.h27 float fScale; // < 1.0 member
DSkPaint.cpp776 SkCanonicalizePaint(const SkPaint& paint) : fPaint(&paint), fScale(0) { in SkCanonicalizePaint()
779 fScale = p->setupForAsPaths(); in SkCanonicalizePaint()
790 SkScalar getScale() const { return fScale; } in getScale()
794 SkScalar fScale; member in SkCanonicalizePaint
2314 fScale = paint.getTextSize() / SkPaint::kCanonicalTextSizeForPaths; in SkTextToPathIter()
2316 fPaint.setStrokeWidth(fPaint.getStrokeWidth() / fScale); in SkTextToPathIter()
2319 fScale = SK_Scalar1; in SkTextToPathIter()
2346 &count, NULL), fScale); in SkTextToPathIter()
2369 fXPos += SkScalarMul(SkFixedToScalar(fPrevAdvance + fAutoKern.adjust(glyph)), fScale); in next()
DSkMipMap.cpp274 levels[i].fScale = (float)width / src.width(); in Build()
/external/skia/include/effects/
DSkTestImageFilters.h26 : INHERITED(1, &input), fScale(scale) {} in SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS()
33 SkScalar fScale;
DSkDisplacementMapEffect.h62 SkScalar fScale; variable
/external/skia/src/gpu/
DGrAADistanceFieldPathRenderer.h58 SkScalar fScale; member
DGrAADistanceFieldPathRenderer.cpp428 pathData->fScale = scale; in addPathToAtlas()
469 SkScalar invScale = 1.0f / pathData->fScale; in writePathVertices()
/external/skia/src/effects/gradients/
DSkGradientShader.cpp169 recs->fScale = (1 << 24) / diff; in SkGradientShaderBase()
171 recs->fScale = 0; // ignore this segment in SkGradientShaderBase()
185 recs->fScale = scale; in SkGradientShaderBase()
190 recs->fScale = scale; in SkGradientShaderBase()
260 recsTemp[i].fScale = recSrc[offset].fScale; in FlipGradientColors()
DSkGradientShaderPriv.h234 uint32_t fScale; // (1 << 24) / range member
/external/skia/src/ports/
DSkFontHost_FreeType.cpp217 SkVector fScale; member in SkScalerContext_FreeType
813 fRec.computeMatrices(SkScalerContextRec::kFull_PreMatrixScale, &fScale, &fMatrix22Scalar); in SkScalerContext_FreeType()
817 fScaleX = SkScalarToFixed(fScale.fX); in SkScalerContext_FreeType()
818 fScaleY = SkScalarToFixed(fScale.fY); in SkScalerContext_FreeType()
1286 SkScalar scaleX = fScale.x(); in generateFontMetrics()
1287 SkScalar scaleY = fScale.y(); in generateFontMetrics()
/external/icu/icu4c/source/i18n/
Ddecimfmt.cpp401 fScale = 0; in init()
1126 …if (fMultiplier == NULL && fScale == 0 && fRoundingIncrement == 0 && areSignificantDigitsUsed() ==…
1319 } else if(fScale!=0) {
1660 if (fScale != 0) {
1663 if (fScale > 0) {
1664 for (int32_t i = fScale ; i > 0 ; i--) {
1671 for (int32_t i = fScale ; i < 0 ; i++) {
2312 if (fScale != 0) {
2315 if (fScale > 0) {
2316 for (int32_t i = fScale; i > 0; i--) {
[all …]
/external/pdfium/fpdfsdk/include/pdfwindow/
DPWL_Utils.h114 static CPDF_Rect ScaleRect(const CPDF_Rect& rcRect,FX_FLOAT fScale);
/external/icu/icu4c/source/i18n/unicode/
Ddecimfmt.h2264 int32_t fScale; variable

12