Home
last modified time | relevance | path

Searched refs:TileMode (Results 1 – 25 of 85) sorted by relevance

1234

/external/skia/include/gpu/
DGrTextureParams.h38 GrTextureParams(SkShader::TileMode tileXAndY, FilterMode filterMode) { in GrTextureParams()
42 GrTextureParams(const SkShader::TileMode tileModes[2], FilterMode filterMode) { in GrTextureParams()
61 void reset(SkShader::TileMode tileXAndY, FilterMode filterMode) { in reset()
66 void reset(const SkShader::TileMode tileModes[2], FilterMode filterMode) { in reset()
83 void setTileModeX(const SkShader::TileMode tm) { fTileModes[0] = tm; } in setTileModeX()
84 void setTileModeY(const SkShader::TileMode tm) { fTileModes[1] = tm; } in setTileModeY()
85 void setTileModeXAndY(const SkShader::TileMode tm) { fTileModes[0] = fTileModes[1] = tm; } in setTileModeXAndY()
87 SkShader::TileMode getTileModeX() const { return fTileModes[0]; } in getTileModeX()
89 SkShader::TileMode getTileModeY() const { return fTileModes[1]; } in getTileModeY()
107 SkShader::TileMode fTileModes[2];
/external/skia/src/core/
DSkBitmapProcShader.cpp29 SkBitmapProcShader::SkBitmapProcShader(const SkBitmap& src, TileMode tmx, TileMode tmy, in SkBitmapProcShader()
37 bool SkBitmapProcShader::onIsABitmap(SkBitmap* texture, SkMatrix* texM, TileMode xy[]) const { in onIsABitmap()
45 xy[0] = (TileMode)fTileModeX; in onIsABitmap()
46 xy[1] = (TileMode)fTileModeY; in onIsABitmap()
59 TileMode mx = (TileMode)buffer.readUInt(); in CreateProc()
60 TileMode my = (TileMode)buffer.readUInt(); in CreateProc()
76 TileMode tmx, TileMode tmy, in MakeContext()
98 return MakeContext(*this, (TileMode)fTileModeX, (TileMode)fTileModeY, in onCreateContext()
240 SkShader* SkCreateBitmapShader(const SkBitmap& src, SkShader::TileMode tmx, in SkCreateBitmapShader()
241 SkShader::TileMode tmy, const SkMatrix* localMatrix, in SkCreateBitmapShader()
[all …]
DSkBitmapProcShader.h21 SkBitmapProcShader(const SkBitmap& src, TileMode tx, TileMode ty,
58 bool onIsABitmap(SkBitmap*, SkMatrix*, TileMode*) const override;
67 static Context* MakeContext(const SkShader&, TileMode tmx, TileMode tmy,
82 SkShader* SkCreateBitmapShader(const SkBitmap& src, SkShader::TileMode, SkShader::TileMode,
DSkPictureShader.h25 static SkShader* Create(const SkPicture*, TileMode, TileMode, const SkMatrix*,
46 SkPictureShader(const SkPicture*, TileMode, TileMode, const SkMatrix*, const SkRect*);
52 TileMode fTmx, fTmy;
DSkPictureShader.cpp31 SkShader::TileMode tmx, in BitmapShaderKey()
32 SkShader::TileMode tmy, in BitmapShaderKey()
58 SkShader::TileMode fTmx, fTmy;
96 SkPictureShader::SkPictureShader(const SkPicture* picture, TileMode tmx, TileMode tmy, in SkPictureShader()
105 SkShader* SkPictureShader::Create(const SkPicture* picture, TileMode tmx, TileMode tmy, in Create()
116 TileMode mx = (TileMode)buffer.read32(); in CreateProc()
117 TileMode my = (TileMode)buffer.read32(); in CreateProc()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowBitmapDrawable.java10 import android.graphics.Shader.TileMode;
26 private TileMode tileModeX;
27 private TileMode tileModeY;
91 public void setTileModeX(TileMode mode) { in setTileModeX()
96 public TileMode getTileModeX() { in getTileModeX()
101 public void setTileModeY(TileMode mode) { in setTileModeY()
106 public TileMode getTileModeY() { in getTileModeY()
111 public void setTileModeXY(TileMode modeX, TileMode modeY) { in setTileModeXY()
/external/skia/src/image/
DSkImageShader.h16 static SkShader* Create(const SkImage*, TileMode tx, TileMode ty, const SkMatrix* localMatrix);
34 const TileMode fTileModeX;
35 const TileMode fTileModeY;
38 SkImageShader(const SkImage*, TileMode tx, TileMode ty, const SkMatrix* localMatrix);
DSkImageShader.cpp15 SkImageShader::SkImageShader(const SkImage* img, TileMode tmx, TileMode tmy, const SkMatrix* matrix) in SkImageShader()
23 const TileMode tx = (TileMode)buffer.readUInt(); in CreateProc()
24 const TileMode ty = (TileMode)buffer.readUInt(); in CreateProc()
54 SkShader* SkImageShader::Create(const SkImage* image, TileMode tx, TileMode ty, in Create()
106 SkShader::TileMode tm[] = { fTileModeX, fTileModeY }; in asFragmentProcessor()
/external/skia/include/effects/
DSkGradientShader.h47 SkShader::TileMode mode,
52 SkShader::TileMode mode) { in CreateLinear()
74 SkShader::TileMode mode,
79 SkShader::TileMode mode) { in CreateRadial()
92 SkShader::TileMode mode,
98 SkShader::TileMode mode) { in CreateTwoPointConical()
DSkMatrixConvolutionImageFilter.h25 enum TileMode { enum
60 TileMode tileMode,
74 TileMode tileMode,
96 TileMode fTileMode;
/external/skia/include/core/
DSkShader.h49 enum TileMode { enum
206 bool isABitmap(SkBitmap* outTexture, SkMatrix* outMatrix, TileMode xy[2]) const { in isABitmap()
262 TileMode fTileMode; //!< The tile mode used.
376 TileMode tmx, TileMode tmy,
396 TileMode tmx, TileMode tmy,
427 virtual bool onIsABitmap(SkBitmap*, SkMatrix*, TileMode[2]) const { in onIsABitmap()
/external/skia/gm/
Dgradients_2pt_conical.cpp41 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalOutside()
54 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalOutsideFlip()
67 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalInside()
80 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalInsideFlip()
93 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalInsideCenter()
106 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalZeroRad()
119 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalZeroRadFlip()
132 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalZeroRadCenter()
145 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalZeroRadOutside()
158 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalZeroRadFlipOutside()
[all …]
Dtilemodes.cpp36 SkShader::TileMode tmx, SkShader::TileMode tmy) { in setup()
90 …static const SkShader::TileMode gModes[] = { SkShader::kClamp_TileMode, SkShader::kRepeat_TileMode… in onDraw()
159 static SkShader* make_bm(SkShader::TileMode tx, SkShader::TileMode ty) { in make_bm()
165 static SkShader* make_grad(SkShader::TileMode tx, SkShader::TileMode ty) { in make_grad()
184 typedef SkShader* (*ShaderProc)(SkShader::TileMode, SkShader::TileMode);
209 static const SkShader::TileMode gModes[] = { in onDraw()
Dtilemodes_scaled.cpp36 SkShader::TileMode tmx, SkShader::TileMode tmy) { in setup()
94 …static const SkShader::TileMode gModes[] = { SkShader::kClamp_TileMode, SkShader::kRepeat_TileMode… in onDraw()
163 static SkShader* make_bm(SkShader::TileMode tx, SkShader::TileMode ty) { in make_bm()
169 static SkShader* make_grad(SkShader::TileMode tx, SkShader::TileMode ty) { in make_grad()
188 typedef SkShader* (*ShaderProc)(SkShader::TileMode, SkShader::TileMode);
213 static const SkShader::TileMode gModes[] = { in onDraw()
DgradientDirtyLaundry.cpp38 static SkShader* MakeLinear(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { in MakeLinear()
42 static SkShader* MakeRadial(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { in MakeRadial()
50 static SkShader* MakeSweep(const SkPoint pts[2], const GradData& data, SkShader::TileMode) { in MakeSweep() argument
58 typedef SkShader* (*GradMaker)(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm);
80 SkShader::TileMode tm = SkShader::kClamp_TileMode; in onDraw()
Dshadertext.cpp49 static SkShader* MakeLinear(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { in MakeLinear()
53 static SkShader* MakeRadial(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { in MakeRadial()
61 static SkShader* MakeSweep(const SkPoint pts[2], const GradData& data, SkShader::TileMode) { in MakeSweep() argument
68 static SkShader* Make2Conical(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { in Make2Conical()
80 typedef SkShader* (*GradMaker)(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm);
116 SkShader::TileMode tileModes[] = { in onDraw()
Dgradients.cpp44 SkShader::TileMode tm, const SkMatrix& localMatrix) { in MakeLinear()
50 SkShader::TileMode tm, const SkMatrix& localMatrix) { in MakeRadial()
59 SkShader::TileMode, const SkMatrix& localMatrix) { in MakeSweep() argument
68 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2Radial()
82 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2Conical()
95 SkShader::TileMode tm, const SkMatrix& localMatrix);
122 SkShader::TileMode tm = SkShader::kClamp_TileMode; in onDraw()
183 SkShader::TileMode tm = SkShader::kClamp_TileMode; in onDraw()
671 static SkShader* make_linear(const GradRun& run, SkShader::TileMode mode) { in make_linear()
676 static SkShader* make_radial(const GradRun& run, SkShader::TileMode mode) { in make_radial()
[all …]
/external/skia/samplecode/
DSampleShaderText.cpp31 static SkShader* MakeBitmapShader(SkShader::TileMode tx, SkShader::TileMode ty, in MakeBitmapShader()
57 static SkShader* MakeLinear(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { in MakeLinear()
61 static SkShader* MakeRadial(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { in MakeRadial()
69 static SkShader* MakeSweep(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { in MakeSweep()
76 static SkShader* Make2Conical(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { in Make2Conical()
88 typedef SkShader* (*GradMaker)(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm);
126 SkShader::TileMode tileModes[] = { in onDrawContent()
DSampleGradients.cpp66 static SkShader* MakeLinear(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { in MakeLinear()
70 static SkShader* MakeRadial(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { in MakeRadial()
78 static SkShader* MakeSweep(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { in MakeSweep()
85 static SkShader* Make2Conical(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { in Make2Conical()
98 SkShader::TileMode tm) { in Make2ConicalConcentric()
108 typedef SkShader* (*GradMaker)(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm);
150 shader = gGradMakers[j](pts, gGradData[i], (SkShader::TileMode)tm); in onDrawContent()
/external/skia/bench/
DSkLinearBitmapPipelineBench.cpp22 SkShader::TileMode xTile, in CommonBitmapFPBenchmark()
23 SkShader::TileMode yTile) in CommonBitmapFPBenchmark()
32 static SkString tileName(const char* pre, SkShader::TileMode mode) { in tileName()
106 SkShader::TileMode fXTile;
107 SkShader::TileMode fYTile;
118 SkShader::TileMode xTile, in SkBitmapFPGeneral()
119 SkShader::TileMode yTile) in SkBitmapFPGeneral()
164 SkShader::TileMode xTile, in SkBitmapFPOrigShader()
165 SkShader::TileMode yTile) in SkBitmapFPOrigShader()
DGradientBench.cpp51 SkShader::TileMode tm, float scale, bool force4f) { in MakeLinear()
58 SkShader::TileMode tm, float scale, bool force4f) { in MakeRadial()
69 SkShader::TileMode tm, float scale, bool force4f) { in MakeSweep()
79 SkShader::TileMode tm, float scale, bool force4f) { in MakeConical()
92 SkShader::TileMode tm, float scale, bool force4f) { in MakeConicalZeroRad()
105 SkShader::TileMode tm, float scale, bool force4f) { in MakeConicalOutside()
119 SkShader::TileMode tm, float scale, bool force4f) { in MakeConicalOutsideZeroRad()
132 SkShader::TileMode tm, float scale, bool force4f);
162 static const char* tilemodename(SkShader::TileMode tm) { in tilemodename()
194 SkShader::TileMode tm = SkShader::kClamp_TileMode, in GradientBench()
[all …]
/external/skia/src/gpu/effects/
DGrBicubicEffect.h38 static const SkShader::TileMode kTileModes[] = { SkShader::kClamp_TileMode,
52 const SkShader::TileMode tileModes[2]) { in Create()
62 const SkShader::TileMode tileModes[2]) { in Create()
86 const SkShader::TileMode tileModes[2]);
/external/skia/src/effects/gradients/
DSk4fLinearGradient.h25 template<typename DstType, TileMode>
31 template <typename DstType, bool premul, SkShader::TileMode tileMode>
34 template <typename DstType, bool premul, SkShader::TileMode tileMode>
/external/skia/src/animator/
DSkDrawShader.cpp19 SK_MEMBER(tileMode, TileMode)
75 (SkShader::TileMode) tileMode, in getShader()
76 (SkShader::TileMode) tileMode, in getShader()
/external/skia/src/views/
DSkParsePaint.cpp34 SkShader::TileMode mode = SkShader::kClamp_TileMode; in inflate_shader()
38 mode = (SkShader::TileMode)index; in inflate_shader()
51 SkShader::TileMode mode = SkShader::kRepeat_TileMode; in inflate_shader()
55 mode = (SkShader::TileMode)index; in inflate_shader()

1234