Home
last modified time | relevance | path

Searched refs:SkSize (Results 1 – 25 of 32) 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()
59 SkSize size = SkSize::Make(r.width(), r.height()); 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()
Dresizeimagefilter.cpp29 const SkSize& deviceSize, in draw()
66 SkSize deviceSize = SkSize::Make(16, 16); 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()
Dimage.cpp38 SkSize size = SkSize::Make(SkIntToScalar(surface->width()), in drawContents()
107 SkSize fSize;
/external/skia/src/core/
DSkMaskCache.cpp109 fSizes[0] = SkSize::Make(0, 0); in RectsBlurKey()
110 fSizes[1] = SkSize::Make(0, 0); in RectsBlurKey()
111 fSizes[2] = SkSize::Make(0, 0); in RectsBlurKey()
112 fSizes[3] = SkSize::Make(rects[0].x() - ir.x(), rects[0].y() - ir.y()); in RectsBlurKey()
114 fSizes[i] = SkSize::Make(rects[i].width(), rects[i].height()); in RectsBlurKey()
117 fSizes[2] = SkSize::Make(rects[0].x() - rects[1].x(), rects[0].y() - rects[1].y()); in RectsBlurKey()
127 SkSize fSizes[4];
DSkPictureShader.cpp31 const SkSize& scale, in BitmapShaderKey()
57 SkSize fScale;
164 SkSize scaledSize = SkSize::Make(SkScalarAbs(scale.x() * fTile.width()), in refBitmapShader()
192 SkSize tileScale = SkSize::Make(SkIntToScalar(tileSize.width()) / fTile.width(), in refBitmapShader()
DSkBitmapProcState.cpp135 SkSize scale; in processHQRequest()
185 SkSize invScaleSize; in processMediumRequest()
/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) {
DSkMatrix.h660 bool decomposeScale(SkSize* scale, SkMatrix* remaining = NULL) const;
/external/skia/samplecode/
DSamplePictFile.cpp40 , fTileSize(SkSize::Make(0, 0)) { in PictFileView()
52 void onTileSizeChanged(const SkSize &tileSize) override { in onTileSizeChanged()
123 SkSize fTileSize;
DSampleCode.h129 virtual void onTileSizeChanged(const SkSize& tileSize) {} in onTileSizeChanged()
DSampleApp.h238 SkSize tileSize() const;
DSampleFilterQuality.cpp133 SkSize fCell;
DSampleApp.cpp601 SkSize SampleWindow::tileSize() const { in tileSize()
604 return SkSize::Make(info->w > SK_Scalar1 ? info->w : this->width() * info->w, in tileSize()
997 SkSize tile = this->tileSize(); in draw()
/external/skia/include/utils/
DSkLayer.h34 const SkSize& getSize() const { return m_size; } in getSize()
118 SkSize m_size;
/external/skia/bench/
DPathBench.cpp776 SkSize size; in onPreDraw()
791 static const SkSize kQueryMin; // minimum query rect size, should be <= kQueryMax
792 static const SkSize kQueryMax; // max query rect size, should < kBounds
990 const SkSize ConservativelyContainsBench::kQueryMin = SkSize::Make(SkIntToScalar(1), SkIntToScalar(…
991 const SkSize ConservativelyContainsBench::kQueryMax = SkSize::Make(SkIntToScalar(40), SkIntToScalar…
/external/skia/include/effects/
DSkBlurImageFilter.h45 SkSize fSigma;
/external/skia/include/device/xps/
DSkXPSDevice.h64 const SkSize& trimSize,
161 SkSize fCurrentCanvasSize;
/external/skia/src/doc/
DSkDocument_XPS.cpp35 SkSize::Make(width, height)); in onBeginPage()
/external/skia/tests/
DSizeTest.cpp35 SkSize a, b; in DEF_TEST()
/external/skia/src/effects/
DSkBlurImageFilter.cpp26 static SkVector mapSigma(const SkSize& localSigma, const SkMatrix& ctm) { in mapSigma()
38 : INHERITED(1, &input, cropRect), fSigma(SkSize::Make(sigmaX, sigmaY)) { in SkBlurImageFilter()
/external/skia/src/gpu/
DSkGpuDevice.h179 const SkSize* dstSizePtr, // ignored iff srcRectPtr == NULL
DSkGpuDevice.cpp1146 const SkSize* dstSizePtr, in drawBitmapCommon()
1152 SkSize dstSize; in drawBitmapCommon()
1628 SkSize dstSize; in drawBitmapRect()
/external/skia/src/pdf/
DSkPDFShader.cpp1140 SkSize scale = SkSize::Make(SkIntToScalar(size.width()) / shaderRect.width(), in State()

12