/external/skia/include/gpu/ |
D | GrTextureParams.h | 38 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/ |
D | SkBitmapProcShader.cpp | 29 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 …]
|
D | SkBitmapProcShader.h | 21 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,
|
D | SkPictureShader.h | 25 static SkShader* Create(const SkPicture*, TileMode, TileMode, const SkMatrix*, 46 SkPictureShader(const SkPicture*, TileMode, TileMode, const SkMatrix*, const SkRect*); 52 TileMode fTmx, fTmy;
|
D | SkPictureShader.cpp | 31 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/ |
D | ShadowBitmapDrawable.java | 10 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/ |
D | SkImageShader.h | 16 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);
|
D | SkImageShader.cpp | 15 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/ |
D | SkGradientShader.h | 47 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()
|
D | SkMatrixConvolutionImageFilter.h | 25 enum TileMode { enum 60 TileMode tileMode, 74 TileMode tileMode, 96 TileMode fTileMode;
|
/external/skia/include/core/ |
D | SkShader.h | 49 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/ |
D | gradients_2pt_conical.cpp | 41 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 …]
|
D | tilemodes.cpp | 36 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()
|
D | tilemodes_scaled.cpp | 36 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()
|
D | gradientDirtyLaundry.cpp | 38 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()
|
D | shadertext.cpp | 49 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()
|
D | gradients.cpp | 44 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/ |
D | SampleShaderText.cpp | 31 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()
|
D | SampleGradients.cpp | 66 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/ |
D | SkLinearBitmapPipelineBench.cpp | 22 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()
|
D | GradientBench.cpp | 51 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/ |
D | GrBicubicEffect.h | 38 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/ |
D | Sk4fLinearGradient.h | 25 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/ |
D | SkDrawShader.cpp | 19 SK_MEMBER(tileMode, TileMode) 75 (SkShader::TileMode) tileMode, in getShader() 76 (SkShader::TileMode) tileMode, in getShader()
|
/external/skia/src/views/ |
D | SkParsePaint.cpp | 34 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()
|