/cts/tests/tests/graphics/src/android/graphics/cts/ |
Shader_TileModeTest.java | 21 import android.graphics.Shader.TileMode; 34 assertEquals(TileMode.CLAMP, TileMode.valueOf("CLAMP")); 35 assertEquals(TileMode.MIRROR, TileMode.valueOf("MIRROR")); 36 assertEquals(TileMode.REPEAT, TileMode.valueOf("REPEAT")); 41 TileMode[] tileMode = TileMode.values() [all...] |
RadialGradientTest.java | 30 import android.graphics.Shader.TileMode; 49 Color.RED, Color.BLUE, TileMode.CLAMP); 73 RadialGradient gradient = new RadialGradient(50, 50, 25, red, blue, TileMode.CLAMP); 141 new RadialGradient(0.5f, 0.5f, 1, colors, null, TileMode.CLAMP); 147 new RadialGradient(0.5f, 0.5f, 1, colors, null, TileMode.CLAMP); 152 new RadialGradient(0.5f, 0.5f, 1, new int[0], null, TileMode.CLAMP); 157 new RadialGradient(0.5f, 0.5f, 1, new long[0], null, TileMode.CLAMP); 162 new RadialGradient(0.5f, 0.5f, 1, new int[1], null, TileMode.CLAMP); 167 new RadialGradient(0.5f, 0.5f, 1, new long[1], null, TileMode.CLAMP); 175 new RadialGradient(0.5f, 0.5f, 1, colors, null, TileMode.CLAMP) [all...] |
/external/skia/src/shaders/ |
SkBitmapProcShader.h | 19 static Context* MakeContext(const SkShaderBase&, TileMode tmx, TileMode tmy,
|
SkImageShader.h | 19 SkShader::TileMode tx, 20 SkShader::TileMode ty, 34 SkShader::TileMode tx, 35 SkShader::TileMode ty, 43 SkImage* onIsAImage(SkMatrix*, SkShader::TileMode*) const override; 53 const SkShader::TileMode fTileModeX; 54 const SkShader::TileMode fTileModeY;
|
SkPictureShader.h | 28 static sk_sp<SkShader> Make(sk_sp<SkPicture>, TileMode, TileMode, const SkMatrix*, 47 SkPictureShader(sk_sp<SkPicture>, TileMode, TileMode, const SkMatrix*, const SkRect*, 72 TileMode fTmx, fTmy;
|
/external/skqp/src/shaders/ |
SkBitmapProcShader.h | 19 static Context* MakeContext(const SkShaderBase&, TileMode tmx, TileMode tmy,
|
SkImageShader.h | 19 SkShader::TileMode tx, 20 SkShader::TileMode ty, 34 SkShader::TileMode tx, 35 SkShader::TileMode ty, 43 SkImage* onIsAImage(SkMatrix*, SkShader::TileMode*) const override; 53 const SkShader::TileMode fTileModeX; 54 const SkShader::TileMode fTileModeY;
|
SkPictureShader.h | 28 static sk_sp<SkShader> Make(sk_sp<SkPicture>, TileMode, TileMode, const SkMatrix*, 47 SkPictureShader(sk_sp<SkPicture>, TileMode, TileMode, const SkMatrix*, const SkRect*, 72 TileMode fTmx, fTmy;
|
/external/skia/include/effects/ |
SkBlurImageFilter.h | 15 /*! \enum TileMode */ 16 enum TileMode { 30 TileMode tileMode = TileMode::kClampToBlack_TileMode);
|
SkGradientShader.h | 72 SkShader::TileMode mode, 76 SkShader::TileMode mode) { 94 const SkScalar pos[], int count, SkShader::TileMode mode, 98 const SkScalar pos[], int count, SkShader::TileMode mode) { 117 SkShader::TileMode mode, 121 SkShader::TileMode mode) { 140 const SkScalar pos[], int count, SkShader::TileMode mode, 144 const SkScalar pos[], int count, SkShader::TileMode mode) { 158 int count, SkShader::TileMode mode, 163 int count, SkShader::TileMode mode) [all...] |
/external/skqp/include/effects/ |
SkBlurImageFilter.h | 15 /*! \enum TileMode */ 16 enum TileMode { 30 TileMode tileMode = TileMode::kClampToBlack_TileMode);
|
SkGradientShader.h | 72 SkShader::TileMode mode, 76 SkShader::TileMode mode) { 94 const SkScalar pos[], int count, SkShader::TileMode mode, 98 const SkScalar pos[], int count, SkShader::TileMode mode) { 117 SkShader::TileMode mode, 121 SkShader::TileMode mode) { 140 const SkScalar pos[], int count, SkShader::TileMode mode, 144 const SkScalar pos[], int count, SkShader::TileMode mode) { 158 int count, SkShader::TileMode mode, 163 int count, SkShader::TileMode mode) [all...] |
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowLinearGradient.java | 17 private Shader.TileMode tile; 21 float x0, float y0, float x1, float y1, int color0, int color1, Shader.TileMode tile) { 55 public Shader.TileMode getTile() {
|
/external/skia/tests/ |
ShaderTest.cpp | 20 SkShader::TileMode expectedX, SkShader::TileMode expectedY, 22 SkShader::TileMode tileModes[2]; 27 tileModes[0] = tileModes[1] = (SkShader::TileMode)99; 45 const SkShader::TileMode tmx = SkShader::kRepeat_TileMode; 46 const SkShader::TileMode tmy = SkShader::kMirror_TileMode;
|
/external/skqp/tests/ |
ShaderTest.cpp | 20 SkShader::TileMode expectedX, SkShader::TileMode expectedY, 22 SkShader::TileMode tileModes[2]; 27 tileModes[0] = tileModes[1] = (SkShader::TileMode)99; 45 const SkShader::TileMode tmx = SkShader::kRepeat_TileMode; 46 const SkShader::TileMode tmy = SkShader::kMirror_TileMode;
|
/external/skia/src/core/ |
SkImagePriv.h | 25 sk_sp<SkShader> SkMakeBitmapShader(const SkBitmap& src, SkShader::TileMode, SkShader::TileMode,
|
/external/skia/src/shaders/gradients/ |
Sk4fLinearGradient.h | 24 template<ApplyPremul, TileMode> 31 template <ApplyPremul premul, SkShader::TileMode tileMode>
|
/external/skqp/src/core/ |
SkImagePriv.h | 25 sk_sp<SkShader> SkMakeBitmapShader(const SkBitmap& src, SkShader::TileMode, SkShader::TileMode,
|
/external/skqp/src/shaders/gradients/ |
Sk4fLinearGradient.h | 24 template<ApplyPremul, TileMode> 31 template <ApplyPremul premul, SkShader::TileMode tileMode>
|
/external/skia/modules/canvaskit/htmlcanvas/ |
pattern.js | 12 this._tileX = CanvasKit.TileMode.Repeat; 17 this._tileY = CanvasKit.TileMode.Decal; 20 this._tileX = CanvasKit.TileMode.Decal; 21 this._tileY = CanvasKit.TileMode.Repeat; 24 this._tileX = CanvasKit.TileMode.Repeat; 25 this._tileY = CanvasKit.TileMode.Repeat; 28 this._tileX = CanvasKit.TileMode.Decal; 29 this._tileY = CanvasKit.TileMode.Decal;
|
/external/skqp/experimental/canvaskit/htmlcanvas/ |
pattern.js | 12 this._tileX = CanvasKit.TileMode.Repeat; 17 this._tileY = CanvasKit.TileMode.Decal; 20 this._tileX = CanvasKit.TileMode.Decal; 21 this._tileY = CanvasKit.TileMode.Repeat; 24 this._tileX = CanvasKit.TileMode.Repeat; 25 this._tileY = CanvasKit.TileMode.Repeat; 28 this._tileX = CanvasKit.TileMode.Decal; 29 this._tileY = CanvasKit.TileMode.Decal;
|
/external/skia/include/core/ |
SkShader.h | 42 enum TileMode { 90 SkImage* isAImage(SkMatrix* localMatrix, TileMode xy[2]) const; 144 TileMode fTileMode; //!< The tile mode used. 243 static sk_sp<SkShader> MakeBitmapShader(const SkBitmap& src, TileMode tmx, TileMode tmy, 262 static sk_sp<SkShader> MakePictureShader(sk_sp<SkPicture> src, TileMode tmx, TileMode tmy,
|
/external/skqp/include/core/ |
SkShader.h | 42 enum TileMode { 90 SkImage* isAImage(SkMatrix* localMatrix, TileMode xy[2]) const; 144 TileMode fTileMode; //!< The tile mode used. 243 static sk_sp<SkShader> MakeBitmapShader(const SkBitmap& src, TileMode tmx, TileMode tmy, 262 static sk_sp<SkShader> MakePictureShader(sk_sp<SkPicture> src, TileMode tmx, TileMode tmy,
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/ |
ResourceModifier.java | 62 repeatShader = new BitmapShader(bitmap, Shader.TileMode.REPEAT, 63 Shader.TileMode.REPEAT); 65 translatedShader = new BitmapShader(bitmap, Shader.TileMode.REPEAT, 66 Shader.TileMode.REPEAT); 72 scaledShader = new BitmapShader(bitmap, Shader.TileMode.MIRROR, 73 Shader.TileMode.MIRROR); 79 Color.RED, Color.GREEN, Shader.TileMode.CLAMP); 87 Color.BLUE, Color.RED, Shader.TileMode.CLAMP); 90 Color.YELLOW, Color.MAGENTA, Shader.TileMode.MIRROR); 118 bitmapColors, null, Shader.TileMode.REPEAT) [all...] |
/external/skia/gm/ |
tilemodes.cpp | 39 SkShader::TileMode tmx, SkShader::TileMode tmy) { 94 constexpr SkShader::TileMode gModes[] = { 159 static sk_sp<SkShader> make_bm(SkShader::TileMode tx, SkShader::TileMode ty) { 165 static sk_sp<SkShader> make_grad(SkShader::TileMode tx, SkShader::TileMode ty) { 184 typedef sk_sp<SkShader> (*ShaderProc)(SkShader::TileMode, SkShader::TileMode); 209 constexpr SkShader::TileMode gModes[] = [all...] |