/cts/tests/tests/graphics/src/android/graphics/cts/ |
Shader_TileModeTest.java | 21 import android.graphics.Shader.TileMode; 26 assertEquals(TileMode.CLAMP, TileMode.valueOf("CLAMP")); 27 assertEquals(TileMode.MIRROR, TileMode.valueOf("MIRROR")); 28 assertEquals(TileMode.REPEAT, TileMode.valueOf("REPEAT")); 32 TileMode[] tileMode = TileMode.values() [all...] |
ShaderTest.java | 36 Shader shader = new BitmapShader(bitmap, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT);
|
ComposeShaderTest.java | 31 import android.graphics.Shader.TileMode; 43 Color.GREEN, Color.BLUE, Shader.TileMode.CLAMP); 45 Color.GREEN, Color.RED, Shader.TileMode.CLAMP); 79 BitmapShader blueShader = new BitmapShader(greenBitmap, TileMode.CLAMP, TileMode.CLAMP); 80 BitmapShader redShader = new BitmapShader(cyanBitmap, TileMode.CLAMP, TileMode.CLAMP);
|
/external/chromium_org/third_party/skia/src/core/ |
SkBitmapProcShader.h | 18 SkBitmapProcShader(const SkBitmap& src, TileMode tx, TileMode ty); 28 virtual BitmapType asABitmap(SkBitmap*, SkMatrix*, TileMode*) const SK_OVERRIDE; 30 static bool CanDo(const SkBitmap&, TileMode tx, TileMode ty);
|
/external/skia/src/core/ |
SkBitmapProcShader.h | 18 SkBitmapProcShader(const SkBitmap& src, TileMode tx, TileMode ty); 28 virtual BitmapType asABitmap(SkBitmap*, SkMatrix*, TileMode*) const SK_OVERRIDE; 30 static bool CanDo(const SkBitmap&, TileMode tx, TileMode ty);
|
/frameworks/base/graphics/java/android/graphics/ |
BitmapShader.java | 31 private TileMode mTileX; 32 private TileMode mTileY; 41 public BitmapShader(Bitmap bitmap, TileMode tileX, TileMode tileY) {
|
Shader.java | 39 public enum TileMode { 55 TileMode(int nativeInt) {
|
/external/chromium_org/third_party/skia/include/gpu/ |
GrTextureAccess.h | 35 GrTextureParams(SkShader::TileMode tileXAndY, FilterMode filterMode) { 39 GrTextureParams(const SkShader::TileMode tileModes[2], FilterMode filterMode) { 58 void reset(SkShader::TileMode tileXAndY, FilterMode filterMode) { 63 void reset(const SkShader::TileMode tileModes[2], FilterMode filterMode) { 80 void setTileModeX(const SkShader::TileMode tm) { fTileModes[0] = tm; } 81 void setTileModeY(const SkShader::TileMode tm) { fTileModes[1] = tm; } 82 void setTileModeXAndY(const SkShader::TileMode tm) { fTileModes[0] = fTileModes[1] = tm; } 84 SkShader::TileMode getTileModeX() const { return fTileModes[0]; } 86 SkShader::TileMode getTileModeY() const { return fTileModes[1]; } 105 SkShader::TileMode fTileModes[2] [all...] |
/external/skia/include/gpu/ |
GrTextureAccess.h | 35 GrTextureParams(SkShader::TileMode tileXAndY, FilterMode filterMode) { 39 GrTextureParams(const SkShader::TileMode tileModes[2], FilterMode filterMode) { 58 void reset(SkShader::TileMode tileXAndY, FilterMode filterMode) { 63 void reset(const SkShader::TileMode tileModes[2], FilterMode filterMode) { 80 void setTileModeX(const SkShader::TileMode tm) { fTileModes[0] = tm; } 81 void setTileModeY(const SkShader::TileMode tm) { fTileModes[1] = tm; } 82 void setTileModeXAndY(const SkShader::TileMode tm) { fTileModes[0] = fTileModes[1] = tm; } 84 SkShader::TileMode getTileModeX() const { return fTileModes[0]; } 86 SkShader::TileMode getTileModeY() const { return fTileModes[1]; } 105 SkShader::TileMode fTileModes[2] [all...] |
/external/robolectric/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/base/tools/layoutlib/bridge/src/android/graphics/ |
Shader_Delegate.java | 22 import android.graphics.Shader.TileMode; 57 * Returns the {@link TileMode} matching the given int. 58 * @param tileMode the tile mode int value 59 * @return the TileMode enum. 61 public static TileMode getTileMode(int tileMode) { 62 for (TileMode tm : TileMode.values()) { 63 if (tm.nativeInt == tileMode) { 69 return TileMode.CLAMP [all...] |
/external/chromium_org/third_party/skia/include/effects/ |
SkGradientShader.h | 50 SkShader::TileMode mode, 73 SkShader::TileMode mode, 103 SkShader::TileMode mode, 119 SkShader::TileMode mode,
|
SkMatrixConvolutionImageFilter.h | 24 /*! \enum TileMode */ 25 enum TileMode { 43 @param tileMode How accesses outside the image are treated. (@see 44 TileMode). 58 TileMode tileMode, 86 TileMode fTileMode;
|
/external/chromium_org/third_party/skia/src/gpu/effects/ |
GrBicubicEffect.h | 45 const SkShader::TileMode tm[] = { SkShader::kClamp_TileMode, SkShader::kClamp_TileMode }; 54 SkShader::TileMode tileModes[2]) { 64 const SkShader::TileMode tileModes[2]) { 71 const SkMatrix &matrix, const SkShader::TileMode tileModes[2]);
|
/external/skia/include/effects/ |
SkGradientShader.h | 50 SkShader::TileMode mode, 73 SkShader::TileMode mode, 103 SkShader::TileMode mode, 119 SkShader::TileMode mode,
|
SkMatrixConvolutionImageFilter.h | 24 /*! \enum TileMode */ 25 enum TileMode { 43 @param tileMode How accesses outside the image are treated. (@see 44 TileMode). 58 TileMode tileMode, 86 TileMode fTileMode;
|
/external/skia/src/gpu/effects/ |
GrBicubicEffect.h | 45 const SkShader::TileMode tm[] = { SkShader::kClamp_TileMode, SkShader::kClamp_TileMode }; 54 SkShader::TileMode tileModes[2]) { 64 const SkShader::TileMode tileModes[2]) { 71 const SkMatrix &matrix, const SkShader::TileMode tileModes[2]);
|
/external/chromium_org/third_party/skia/include/core/ |
SkShader.h | 60 enum TileMode { 262 TileMode xy[2]) const; 313 TileMode fTileMode; //!< The tile mode used. 346 TileMode tmx, TileMode tmy); 377 TileMode, TileMode,
|
/external/skia/include/core/ |
SkShader.h | 60 enum TileMode { 262 TileMode xy[2]) const; 313 TileMode fTileMode; //!< The tile mode used. 346 TileMode tmx, TileMode tmy); 377 TileMode, TileMode,
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
ResourceModifiers.java | 63 mRepeatShader = new BitmapShader(mBitmap, Shader.TileMode.REPEAT, 64 Shader.TileMode.REPEAT); 66 mTranslatedShader = new BitmapShader(mBitmap, Shader.TileMode.REPEAT, 67 Shader.TileMode.REPEAT); 73 mScaledShader = new BitmapShader(mBitmap, Shader.TileMode.MIRROR, 74 Shader.TileMode.MIRROR); 80 Color.RED, Color.GREEN, Shader.TileMode.CLAMP); 88 Color.BLUE, Color.RED, Shader.TileMode.CLAMP); 91 Color.YELLOW, Color.MAGENTA, Shader.TileMode.MIRROR);
|
/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/chromium_org/third_party/skia/src/animator/ |
SkDrawShader.cpp | 20 SK_MEMBER(tileMode, TileMode) 28 tileMode(SkShader::kClamp_TileMode) { 77 (SkShader::TileMode) tileMode, 78 (SkShader::TileMode) tileMode);
|
/external/skia/src/animator/ |
SkDrawShader.cpp | 20 SK_MEMBER(tileMode, TileMode) 28 tileMode(SkShader::kClamp_TileMode) { 77 (SkShader::TileMode) tileMode, 78 (SkShader::TileMode) tileMode);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
BitmapDrawable.java | 338 * @return {@link Shader.TileMode#CLAMP} if the bitmap does not repeat, 339 * {@link Shader.TileMode#REPEAT} or {@link Shader.TileMode#MIRROR} otherwise. 341 public Shader.TileMode getTileModeX() { 348 * @return {@link Shader.TileMode#CLAMP} if the bitmap does not repeat, 349 * {@link Shader.TileMode#REPEAT} or {@link Shader.TileMode#MIRROR} otherwise. 351 public Shader.TileMode getTileModeY() { 357 * does not repeat its bitmap. Using {@link Shader.TileMode#REPEAT} or 358 * {@link Shader.TileMode#MIRROR} the bitmap can be repeated (or tiled) if the bitma [all...] |