/cts/tests/tests/graphics/src/android/graphics/cts/ |
Shader_TileModeTest.java | 21 import android.graphics.Shader.TileMode; 33 assertEquals(TileMode.CLAMP, TileMode.valueOf("CLAMP")); 34 assertEquals(TileMode.MIRROR, TileMode.valueOf("MIRROR")); 35 assertEquals(TileMode.REPEAT, TileMode.valueOf("REPEAT")); 40 TileMode[] tileMode = TileMode.values() [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, SkShader::TileMode ty, 39 SkShader::TileMode tx, 40 SkShader::TileMode ty, 47 bool onIsABitmap(SkBitmap*, SkMatrix*, SkShader::TileMode*) const override; 49 SkImage* onIsAImage(SkMatrix*, SkShader::TileMode*) const override; 61 const SkShader::TileMode fTileModeX; 62 const SkShader::TileMode fTileModeY [all...] |
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*, 73 TileMode fTmx, fTmy;
|
/external/skqp/src/shaders/ |
SkBitmapProcShader.h | 19 static Context* MakeContext(const SkShaderBase&, TileMode tmx, TileMode tmy,
|
SkImageShader.h | 18 static sk_sp<SkShader> Make(sk_sp<SkImage>, TileMode tx, TileMode ty, 30 SkImageShader(sk_sp<SkImage>, TileMode tx, TileMode ty, const SkMatrix* localMatrix); 33 SkShader::TileMode tx, SkShader::TileMode ty, 40 bool onIsABitmap(SkBitmap*, SkMatrix*, TileMode*) const override; 42 SkImage* onIsAImage(SkMatrix*, TileMode*) const override; 54 const TileMode fTileModeX; 55 const TileMode fTileModeY [all...] |
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 | 43 SkShader::TileMode mode, 47 SkShader::TileMode mode) { 65 const SkScalar pos[], int count, SkShader::TileMode mode, 69 const SkScalar pos[], int count, SkShader::TileMode mode) { 88 SkShader::TileMode mode, 92 SkShader::TileMode mode) { 111 const SkScalar pos[], int count, SkShader::TileMode mode, 115 const SkScalar pos[], int count, SkShader::TileMode mode) { 129 int count, SkShader::TileMode mode, 134 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 | 43 SkShader::TileMode mode, 47 SkShader::TileMode mode) { 65 const SkScalar pos[], int count, SkShader::TileMode mode, 69 const SkScalar pos[], int count, SkShader::TileMode mode) { 88 SkShader::TileMode mode, 92 SkShader::TileMode mode) { 111 const SkScalar pos[], int count, SkShader::TileMode mode, 115 const SkScalar pos[], int count, SkShader::TileMode mode) { 129 int count, SkShader::TileMode mode, 134 int count, SkShader::TileMode mode) [all...] |
/external/skia/src/core/ |
SkImagePriv.h | 25 sk_sp<SkShader> SkMakeBitmapShader(const SkBitmap& src, SkShader::TileMode, SkShader::TileMode,
|
/external/skqp/src/core/ |
SkImagePriv.h | 25 sk_sp<SkShader> SkMakeBitmapShader(const SkBitmap& src, SkShader::TileMode, SkShader::TileMode,
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowBitmapDrawable.java | 10 import android.graphics.Shader.TileMode; 26 private TileMode tileModeX; 27 private TileMode tileModeY; 91 public void setTileModeX(TileMode mode) { 96 public TileMode getTileModeX() { 101 public void setTileModeY(TileMode mode) { 106 public TileMode getTileModeY() { 111 public void setTileModeXY(TileMode modeX, TileMode modeY) {
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
Shader_Delegate.java | 22 import android.graphics.Shader.TileMode; 60 * Returns the {@link TileMode} matching the given int. 61 * @param tileMode the tile mode int value 62 * @return the TileMode enum. 64 public static TileMode getTileMode(int tileMode) { 65 for (TileMode tm : TileMode.values()) { 66 if (tm.nativeInt == tileMode) { 72 return TileMode.CLAMP [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/include/core/ |
SkShader.h | 42 enum TileMode { 91 bool isABitmap(SkBitmap* outTexture, SkMatrix* outMatrix, TileMode xy[2]) const; 102 SkImage* isAImage(SkMatrix* localMatrix, TileMode xy[2]) const; 156 TileMode fTileMode; //!< The tile mode used. 255 static sk_sp<SkShader> MakeBitmapShader(const SkBitmap& src, TileMode tmx, TileMode tmy, 274 static sk_sp<SkShader> MakePictureShader(sk_sp<SkPicture> src, TileMode tmx, TileMode tmy,
|
/external/skqp/include/core/ |
SkShader.h | 42 enum TileMode { 88 bool isABitmap(SkBitmap* outTexture, SkMatrix* outMatrix, TileMode xy[2]) const; 99 SkImage* isAImage(SkMatrix* localMatrix, TileMode xy[2]) const; 153 TileMode fTileMode; //!< The tile mode used. 252 static sk_sp<SkShader> MakeBitmapShader(const SkBitmap& src, TileMode tmx, TileMode tmy, 271 static sk_sp<SkShader> MakePictureShader(sk_sp<SkPicture> src, TileMode tmx, TileMode tmy,
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
BitmapShaders.cpp | 50 image->makeShader(SkShader::TileMode::kRepeat_TileMode, 51 SkShader::TileMode::kRepeat_TileMode, nullptr); 56 image->makeShader(SkShader::TileMode::kMirror_TileMode, 57 SkShader::TileMode::kMirror_TileMode, nullptr);
|
/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...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
GradientStopsActivity.java | 48 colors, positions, Shader.TileMode.CLAMP); 58 colors, positions, Shader.TileMode.CLAMP); 68 colors, positions, Shader.TileMode.CLAMP); 77 colors, null, Shader.TileMode.CLAMP); 85 colors, null, Shader.TileMode.REPEAT); 93 colors, null, Shader.TileMode.MIRROR); 101 colors, null, Shader.TileMode.CLAMP); 109 colors, null, Shader.TileMode.CLAMP); 117 colors, null, Shader.TileMode.CLAMP);
|
ShadersActivity.java | 68 mRepeatShader = new BitmapShader(mTexture, Shader.TileMode.REPEAT, 69 Shader.TileMode.REPEAT); 71 mTranslatedShader = new BitmapShader(mTexture, Shader.TileMode.REPEAT, 72 Shader.TileMode.REPEAT); 78 mScaledShader = new BitmapShader(mTexture, Shader.TileMode.MIRROR, 79 Shader.TileMode.MIRROR); 85 Color.RED, Color.GREEN, Shader.TileMode.CLAMP); 93 Color.BLUE, Color.MAGENTA, Shader.TileMode.CLAMP); 96 Color.YELLOW, Color.MAGENTA, Shader.TileMode.MIRROR);
|
/external/skia/tests/ |
ShaderTest.cpp | 20 SkShader::TileMode expectedX, SkShader::TileMode expectedY, 22 SkShader::TileMode tileModes[2]; 37 tileModes[0] = tileModes[1] = (SkShader::TileMode)99; 55 const SkShader::TileMode tmx = SkShader::kRepeat_TileMode; 56 const SkShader::TileMode tmy = SkShader::kMirror_TileMode;
|
/external/skqp/tests/ |
ShaderTest.cpp | 20 SkShader::TileMode expectedX, SkShader::TileMode expectedY, 22 SkShader::TileMode tileModes[2]; 37 tileModes[0] = tileModes[1] = (SkShader::TileMode)99; 55 const SkShader::TileMode tmx = SkShader::kRepeat_TileMode; 56 const SkShader::TileMode tmy = SkShader::kMirror_TileMode;
|
/external/skia/src/shaders/gradients/ |
Sk4fLinearGradient.h | 25 template<typename dstType, ApplyPremul, TileMode> 31 template <typename dstType, ApplyPremul premul, SkShader::TileMode tileMode>
|