Home
last modified time | relevance | path

Searched refs:SkSize (Results 1 – 25 of 38) sorted by relevance

12

/external/skia/gm/
Dshallowgradient.cpp11 typedef SkShader* (*MakeShaderProc)(const SkColor[], int count, const SkSize&);
13 static SkShader* shader_linear(const SkColor colors[], int count, const SkSize& size) { in shader_linear()
19 static SkShader* shader_radial(const SkColor colors[], int count, const SkSize& size) { in shader_radial()
25 static SkShader* shader_conical(const SkColor colors[], int count, const SkSize& size) { in shader_conical()
33 static SkShader* shader_sweep(const SkColor colors[], int count, const SkSize& size) { in shader_sweep()
62 SkSize size = SkSize::Make(r.width(), r.height()); in onDraw()
Dresizeimagefilter.cpp29 const SkSize& deviceSize, in draw()
66 SkSize deviceSize = SkSize::Make(16, 16); in onDraw()
Dfilterindiabox.cpp19 static SkSize computeSize(const SkBitmap& bm, const SkMatrix& mat) { in computeSize()
23 return SkSize::Make(bounds.width(), bounds.height()); in computeSize()
84 SkSize size = computeSize(fBM, fMatrix[i]); in onDraw()
Dfilterbitmap.cpp20 static SkSize computeSize(const SkBitmap& bm, const SkMatrix& mat) { in computeSize()
24 return SkSize::Make(bounds.width(), bounds.height()); in computeSize()
89 SkSize size = computeSize(fBM, fMatrix[i]); in onDraw()
Dshowmiplevels.cpp153 while (mm->extractLevel(SkSize::Make(scale, scale), &level)) { in drawLevels()
261 while (mm->extractLevel(SkSize::Make(scale, scale), &level)) { in drawLevels()
Dimage.cpp39 SkSize size = SkSize::Make(SkIntToScalar(surface->width()), in drawContents()
108 SkSize fSize;
/external/skia/src/core/
DSkMaskCache.cpp113 fSizes[0] = SkSize::Make(0, 0); in RectsBlurKey()
114 fSizes[1] = SkSize::Make(0, 0); in RectsBlurKey()
115 fSizes[2] = SkSize::Make(0, 0); in RectsBlurKey()
116 fSizes[3] = SkSize::Make(rects[0].x() - ir.x(), rects[0].y() - ir.y()); in RectsBlurKey()
118 fSizes[i] = SkSize::Make(rects[i].width(), rects[i].height()); in RectsBlurKey()
121 fSizes[2] = SkSize::Make(rects[0].x() - rects[1].x(), rects[0].y() - rects[1].y()); in RectsBlurKey()
131 SkSize fSizes[4];
DSkBitmapController.cpp94 SkSize scale; in processHQRequest()
161 SkSize invScaleSize; in processMediumRequest()
183 const SkSize scale = SkSize::Make(SkScalarInvert(invScaleSize.width()), in processMediumRequest()
187 const SkSize& invScaleFixup = level.fScale; in processMediumRequest()
DSkPictureShader.cpp33 const SkSize& scale, in BitmapShaderKey()
59 SkSize fScale;
178 SkSize scaledSize = SkSize::Make(SkScalarAbs(scale.x() * fTile.width()), in refBitmapShader()
206 SkSize tileScale = SkSize::Make(SkIntToScalar(tileSize.width()) / fTile.width(), in refBitmapShader()
DSkMipMap.h32 SkSize fScale; // < 1.0
35 bool extractLevel(const SkSize& scale, Level*) const;
DSkLinearBitmapPipeline.cpp77 explicit X(SkSize s) : fVal{s.fWidth} { } in X()
87 explicit Y(SkSize s) : fVal{s.fHeight} { } in Y()
364 ClampStrategy(SkSize max) in ClampStrategy()
393 RepeatStrategy(SkSize max) in RepeatStrategy()
425 SkSize dimensions, in choose_tiler()
684 SkSize size = SkSize::Make(srcPixmap.width(), srcPixmap.height()); in SkLinearBitmapPipeline()
DSkMipMap.cpp304 levels[i].fScale = SkSize::Make(SkIntToScalar(width) / src.width(), in Build()
367 bool SkMipMap::extractLevel(const SkSize& scaleSize, Level* levelPtr) const { in extractLevel()
/external/skia/include/core/
DSkSize.h77 struct SkSize : public SkTSize<SkScalar> { struct
78 static SkSize Make(SkScalar w, SkScalar h) { in Make() argument
79 SkSize s; in Make()
86 SkSize& operator=(const SkISize& src) {
DSkRSXform.h61 void toQuad(const SkSize& size, SkPoint quad[4]) const { in toQuad()
/external/skia/tests/
DMipMapTest.cpp31 REPORTER_ASSERT(reporter, !mm->extractLevel(SkSize::Make(SK_Scalar1, SK_Scalar1), in DEF_TEST()
33 REPORTER_ASSERT(reporter, !mm->extractLevel(SkSize::Make(SK_Scalar1 * 2, SK_Scalar1 * 2), in DEF_TEST()
44 if (mm->extractLevel(SkSize::Make(scale, scale), &level)) { in DEF_TEST()
DSizeTest.cpp35 SkSize a, b; in DEF_TEST()
/external/skia/samplecode/
DSamplePictFile.cpp52 , fTileSize(SkSize::Make(0, 0)) { in PictFileView()
65 void onTileSizeChanged(const SkSize &tileSize) override { in onTileSizeChanged()
150 SkSize fTileSize;
DSampleCode.h129 virtual void onTileSizeChanged(const SkSize& tileSize) {} in onTileSizeChanged()
/external/skia/include/utils/
DSkLayer.h34 const SkSize& getSize() const { return m_size; } in getSize()
118 SkSize m_size;
/external/skia/bench/
DPathBench.cpp777 SkSize size; in onDelayedSetup()
792 static const SkSize kQueryMin; // minimum query rect size, should be <= kQueryMax
793 static const SkSize kQueryMax; // max query rect size, should < kBounds
991 const SkSize ConservativelyContainsBench::kQueryMin = SkSize::Make(SkIntToScalar(1), SkIntToScalar(…
992 const SkSize ConservativelyContainsBench::kQueryMax = SkSize::Make(SkIntToScalar(40), SkIntToScalar…
/external/skia/include/effects/
DSkBlurImageFilter.h45 SkSize fSigma;
/external/skia/include/device/xps/
DSkXPSDevice.h66 const SkSize& trimSize,
163 SkSize fCurrentCanvasSize;
/external/skia/src/doc/
DSkDocument_XPS.cpp38 SkSize::Make(width, height)); in onBeginPage()
/external/skia/src/effects/
DSkBlurImageFilter.cpp28 static SkVector map_sigma(const SkSize& localSigma, const SkMatrix& ctm) { in map_sigma()
40 : INHERITED(1, &input, cropRect), fSigma(SkSize::Make(sigmaX, sigmaY)) { in SkBlurImageFilter()
/external/skia/experimental/fiddle/
Dfiddle_main.cpp136 SkSize size; in main()

12